/* Shared product landing pages — CheckTomate, AccountTomate, BookTomate */

.page-product-landing {
  overflow-x: clip;
}

.page-product-landing .site-header .container {
  gap: 0.75rem 1rem;
}

.page-product-landing .nav {
  flex-wrap: wrap;
}

.page-product-landing .site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.page-product-landing .site-header-actions .btn-ghost {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .page-product-landing .site-header .container {
    flex-wrap: wrap;
  }

  .page-product-landing .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-product-landing .site-header-actions .btn-ghost {
    font-size: 0.82rem;
    padding-inline: 0.75rem;
  }

  .page-product-landing .site-header-actions .btn-primary {
    font-size: 0.82rem;
    padding-inline: 0.85rem;
  }
}

/* ——— Footer estándar ——— */
.product-landing-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .product-landing-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.product-landing-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.product-landing-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  font-size: 0.92rem;
}

.product-landing-footer-nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.product-landing-footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.product-landing-footer-copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* Hero visual genérico (sin datos técnicos) */
.product-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
}

.product-hero-card {
  width: min(100%, 22rem);
  padding: 1.5rem 1.35rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(189, 10, 41, 0.08), rgba(20, 20, 20, 0.04));
  border: 1px solid rgba(189, 10, 41, 0.18);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
}

.product-hero-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  opacity: 0.7;
  margin: 0 0 0.75rem;
}

.product-hero-card-ok {
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--tomato-hover, #bd0a29);
}

.product-kicker {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--tomato-hover, #bd0a29);
}

.product-steps {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  max-width: 36rem;
  line-height: 1.7;
}

.page-product-landing details {
  margin: 0.75rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
}

.page-product-landing details summary {
  cursor: pointer;
  font-weight: 600;
}

[data-theme="dark"] .page-product-landing details {
  border-color: rgba(255, 255, 255, 0.12);
}

/* CheckTomate: header móvil con CTA */
@media (max-width: 767px) {
  .page-product-checktomate .site-header {
    height: auto;
    min-height: var(--header-h);
    padding-block: 0.6rem;
  }

  .page-product-checktomate .site-header .container {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 0.5rem 0.65rem;
  }

  .page-product-checktomate .site-header-actions {
    display: contents;
  }

  .page-product-checktomate .brand--header {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .page-product-checktomate .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .page-product-checktomate .site-header-actions .btn-ghost {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .page-product-checktomate #open-trial {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
  }
}
