/* ===== VARIABLES ===== */
:root {
  --cream:     #FFF9E9;   /* fondo principal */
  --cream-dk:  #FAEBB0;   /* amarillo suave */
  --tan:       #E1D5BB;   /* fondo de la portada (igual a la imagen) */
  --text:      #2a2320;
  --muted:     #7c6f64;
  --teal:      #18566c;   /* acento oscuro */
  --teal-dk:   #103948;
  --terra:     #bc5631;   /* terracota */
  --pink:      #e56488;
  --red:       #d13b3b;
  --sun:       #f4b400;
  --white:     #ffffff;
  --wa:        #25D366;   /* WhatsApp */
  --wa-dk:     #1da851;
  --radius:    16px;
  --shadow:    0 14px 40px rgba(41,28,20,.10);
  --maxw:      1160px;
}

/* ===== RESET / BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Mulish', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.1; font-weight: 500; }

/* ===== BOTONES ===== */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px rgba(24,86,108,.3); }
.btn-primary:hover { background: var(--teal-dk); }
.btn-buy {
  background: var(--terra); color: var(--white);
  width: 100%; text-align: center; font-size: 1.05rem; padding: 17px;
  box-shadow: 0 10px 24px rgba(188,86,49,.32);
}
.btn-buy:hover { background: #a2461f; }
.btn-whatsapp {
  background: var(--wa); color: var(--white);
  width: 100%; text-align: center; font-size: 1.02rem; padding: 15px; margin-top: 12px;
}
.btn-whatsapp:hover { background: var(--wa-dk); }
.btn-outline { border: 1.5px solid var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,249,233,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(41,28,20,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo img { height: 30px; width: auto; }
.header-ig { font-size: .9rem; color: var(--muted); transition: color .2s; }
.header-ig:hover { color: var(--terra); }

/* ===== HERO (portada) ===== */
.hero {
  background: var(--tan);
  text-align: center;
  padding: 30px 24px 44px;
}
.hero-logo img { width: min(440px, 74vw); height: auto; margin: 0 auto 22px; }
.hero-art { width: 100%; max-width: 940px; height: auto; margin: 0 auto; }

/* ===== SECCIONES ===== */
.section-eyebrow {
  text-align: center; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: .74rem; color: var(--terra); font-weight: 700; margin-bottom: 10px;
}
.section-title { text-align: center; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 40px; }

/* ===== PRODUCTO ===== */
.product { padding: 64px 0 80px; }
.product-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }

/* Carrusel */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-dk); }
.carousel-track { display: flex; transition: transform .45s ease; }
.slide { min-width: 100%; }
.slide img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  font-size: 1rem; color: var(--text); display: grid; place-items: center; transition: background .2s;
}
.carousel-btn:hover { background: var(--white); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; border: none; transition: background .2s, transform .2s; }
.dot.active { background: var(--white); transform: scale(1.25); }

/* Info producto */
.price { font-family: 'Fraunces', serif; font-size: 2.2rem; color: var(--teal); font-weight: 600; }
.price .cur { font-size: 1rem; color: var(--muted); font-weight: 400; letter-spacing: 1px; }
.tax-note { color: var(--muted); font-size: .88rem; margin: 4px 0 22px; }
.product-desc { color: var(--text); margin-bottom: 28px; font-size: 1.05rem; }
.sizes { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.sizes-label { color: var(--muted); font-size: .9rem; margin-right: 4px; }
.size-btn {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid #e3d6c2; background: var(--white); cursor: pointer;
  font-family: 'Mulish', sans-serif; font-weight: 600; font-size: .95rem; transition: all .2s;
}
.size-btn:hover, .size-btn.active { border-color: var(--terra); background: var(--terra); color: var(--white); }
.perks { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.perks li { color: var(--muted); font-size: .94rem; padding-left: 26px; position: relative; }
.perks li::before { content: "✦"; position: absolute; left: 0; color: var(--terra); font-weight: 700; }

/* ===== FOOTER ===== */
.site-footer { background: var(--teal-dk); color: #cfe0e6; padding: 54px 0; text-align: center; }
.footer-logo { height: 40px; width: auto; margin: 0 auto 14px; }
.footer-tagline { font-family: 'Fraunces', serif; font-style: italic; color: var(--cream-dk); margin-bottom: 22px; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 22px; }
.footer-links a { color: var(--white); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: opacity .2s; }
.footer-links a:hover { opacity: .7; }
.footer-copy { font-size: .85rem; color: #9fc0c9; }

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .product-inner { grid-template-columns: 1fr; gap: 34px; }
  .product { padding: 48px 0 64px; }
}
@media (max-width: 480px) {
  .header-ig { display: none; }
  .hero-caption { padding: 20px 22px 24px; }
  .btn { padding: 14px 26px; }
}
