/* ==========================================================================
   Estilos específicos para Fichas de Producto (AngelRos Premium UI)
   ========================================================================== */

.product-page {
  background: radial-gradient(circle at top center, rgba(250, 237, 205, 0.4), var(--color-brand-paper));
  padding-top: 2rem;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.product-breadcrumb {
  max-width: var(--max-w-7xl);
  margin: 0 auto 2rem auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgb(52 58 64 / 0.6);
  font-family: var(--font-sans);
}
.product-breadcrumb a {
  color: var(--color-brand-primary);
  text-decoration: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-breadcrumb a:hover {
  opacity: 0.7;
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   Product Hero
   -------------------------------------------------------------------------- */
.product-hero {
  max-width: var(--max-w-7xl);
  margin: 0 auto 5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Galería */
.product-gallery {
  position: sticky;
  top: 6rem;
}
.product-gallery__main {
  background: white;
  border-radius: var(--border-radius-3xl);
  box-shadow: 0 24px 60px rgba(52, 58, 64, 0.08);
  overflow: hidden;
  border: 1px solid rgba(250, 237, 205, 0.9);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.product-gallery__main:hover img {
  transform: scale(1.04);
}

/* Summary */
.product-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.product-summary__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-brand-primary);
}
.product-summary h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--color-brand-ink);
  line-height: 1.1;
  text-wrap: balance;
}
.product-summary__lead {
  font-size: 1.25rem;
  color: rgb(52 58 64 / 0.75);
  line-height: 1.6;
}
.product-summary__price-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(212, 163, 115, 0.3);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius-2xl);
  margin: 1rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.product-summary__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-brand-ink);
  margin-bottom: 0.25rem;
}
.product-summary__transfer {
  font-size: 1rem;
  color: var(--color-brand-primary);
  font-weight: 500;
}
.product-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: rgb(52 58 64 / 0.8);
}
.product-summary__meta strong {
  color: var(--color-brand-ink);
}
.product-whatsapp-cta {
  margin-top: 1rem;
  font-size: 1.15rem;
  padding: 1.25rem;
  border-radius: var(--border-radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-brand-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.8s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 10px 20px rgba(212, 163, 115, 0.3);
  will-change: transform;
}
.product-whatsapp-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(212, 163, 115, 0.45);
}
.product-whatsapp-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(212, 163, 115, 0.35);
  filter: brightness(1.05);
}
.product-summary__microcopy {
  font-size: 0.9rem;
  color: rgb(52 58 64 / 0.6);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Product Info Blocks
   -------------------------------------------------------------------------- */
.product-info-block {
  max-width: var(--max-w-4xl);
  margin: 0 auto 5rem auto;
  padding: 0 1.5rem;
}
.product-info-block h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-brand-ink);
  margin-bottom: 2rem;
  text-align: center;
}
.product-info-block p,
.product-info-block ul {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgb(52 58 64 / 0.85);
  margin-bottom: 1.5rem;
}
.product-info-block ul {
  padding-left: 1.5rem;
}
.product-info-block li {
  margin-bottom: 0.75rem;
}
.product-info-block li::marker {
  color: var(--color-brand-primary);
}

/* Grid Beneficios */
.product-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.benefit-card {
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid rgba(250, 237, 205, 0.85);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-2xl);
  text-align: center;
  box-shadow: 0 14px 40px rgba(52, 58, 64, 0.05);
}
.benefit-card__icon {
  font-size: 2rem;
  color: var(--color-brand-primary);
  margin-bottom: 1rem;
}
.benefit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-brand-ink);
  margin-bottom: 1rem;
}
.benefit-card p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Cuidados */
.product-care {
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(250, 237, 205, 0.3));
  border-radius: var(--border-radius-3xl);
  padding: 4rem 2rem;
  max-width: var(--max-w-5xl);
  border: 1px solid rgba(212, 163, 115, 0.2);
}

/* --------------------------------------------------------------------------
   Related Products
   -------------------------------------------------------------------------- */
.related-products {
  max-width: var(--max-w-7xl);
  margin: 6rem auto 4rem auto;
  padding: 0 1.5rem;
}
.related-products h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-brand-ink);
  margin-bottom: 3rem;
  text-align: center;
}
.related-products .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* --------------------------------------------------------------------------
   Sticky Mobile CTA
   -------------------------------------------------------------------------- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sticky-mobile-cta.is-visible {
  transform: translateY(0);
}
.sticky-mobile-cta .btn {
  width: 100%;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-gallery {
    position: relative;
    top: 0;
  }
  .product-gallery__main {
    aspect-ratio: 1 / 1;
  }
  .product-summary {
    text-align: center;
  }
  .product-summary__price-box {
    text-align: center;
  }
  .sticky-mobile-cta {
    display: block;
  }
  .product-whatsapp-cta {
    display: none; /* Hide desktop CTA when mobile sticky handles it? Or keep both. Keep both. */
  }
  .product-summary .product-whatsapp-cta {
    display: flex; /* Override to keep both */
  }
}