/* ==========================================================================
   Sol&Surf — estilos globales
   Colores y tipografías de la marca en :root. Cambia aquí y se actualiza todo.
   ========================================================================== */

:root {
  --aqua: #8ed3da;
  --aqua-soft: #d7f0f2;
  --aqua-deep: #2f8f9b;
  --lemon: #f1e740;
  --pink: #e57ead;
  --pink-soft: #fbe3ee;
  --cream: #f7f4ec;
  --sand: #ede3cf;
  --moka: #5a3a2a;
  --ink: #151515;
  --ink-soft: #55524c;
  --line: rgba(21, 21, 21, 0.12);
  --white: #fff;

  --font-display: "Fredoka", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 18px 50px -20px rgba(21, 21, 21, 0.35);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--aqua-deep); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.no-scroll { overflow: hidden; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.title-xl { font-size: clamp(44px, 8vw, 104px); }
.title-lg { font-size: clamp(34px, 5.4vw, 64px); }
.title-md { font-size: clamp(26px, 3.4vw, 40px); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-soft); max-width: 56ch; }
.script { font-family: var(--font-display); font-weight: 700; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--lemon { --bg: var(--lemon); --fg: var(--ink); }
.btn--pink { --bg: var(--pink); --fg: var(--white); }
.btn--aqua { --bg: var(--aqua); --fg: var(--ink); }
.btn--white { --bg: var(--white); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); }
.btn--whatsapp { --bg: #25d366; --fg: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barra de anuncios ---------- */
.announce {
  background: var(--lemon); color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  overflow: hidden; height: 34px; display: flex; align-items: center;
  position: relative; z-index: 51;
}
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee__group span { display: inline-flex; align-items: center; gap: 36px; white-space: nowrap; }
.marquee__group span::after { content: "☀"; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.header.is-scrolled { border-color: var(--line); }
.header--overlay { position: fixed; left: 0; right: 0; top: 34px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--white); }
.header--overlay.is-scrolled { top: 0; background: rgba(247, 244, 236, 0.94); color: var(--ink); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header__nav { display: none; gap: 28px; font-size: 14px; font-weight: 500; }
.header__nav a { position: relative; padding-block: 6px; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__logo { justify-self: center; display: block; width: clamp(128px, 15vw, 172px); }
.header__logo img { width: 100%; height: auto; }
.header__logo .logo-light { display: none; }
.header--overlay:not(.is-scrolled) .logo-dark { display: none; }
.header--overlay:not(.is-scrolled) .logo-light { display: block; }
.header__actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; transition: background 0.25s; }
.icon-btn:hover { background: rgba(21, 21, 21, 0.07); }
.header--overlay:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, 0.18); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--pink); color: var(--white);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform 0.35s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }
.cart-count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.lang-switch { display: inline-flex; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px currentColor; padding: 3px; font-size: 11px; font-weight: 700; }
.lang-switch button { padding: 4px 9px; border-radius: var(--radius-pill); letter-spacing: 0.06em; }
.lang-switch button.is-active { background: currentColor; }
.lang-switch button.is-active span { color: var(--cream); }
.header--overlay:not(.is-scrolled) .lang-switch button.is-active span { color: var(--ink); }
.menu-toggle { justify-self: start; }

@media (min-width: 960px) {
  .header__nav { display: flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 599px) {
  .header__actions .lang-switch { display: none; }
  .header__logo { width: 124px; }
  .hero .hero__dots { display: none; }
  .hero .hero__ui { bottom: 18px; }
  .hero .btn { min-height: 46px; padding: 0 22px; }
}
.mobile-menu .lang-switch { justify-self: start; font-size: 13px; }
.mobile-menu .lang-switch button.is-active span { color: var(--aqua); }

/* ---------- Menú móvil ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--aqua); color: var(--ink);
  display: flex; flex-direction: column;
  padding: 20px var(--gutter) 32px;
  clip-path: circle(0% at 32px 32px);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at 32px 32px); visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__links { margin-top: 40px; display: grid; gap: 6px; }
.mobile-menu__links a { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1.15; display: inline-block; opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(2) a { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(3) a { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(4) a { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(5) a { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(6) a { transition-delay: 0.25s; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 14px; font-size: 14px; }
.mobile-menu__sun { position: absolute; right: -60px; bottom: 90px; width: 240px; opacity: 0.25; animation: spin 40s linear infinite; pointer-events: none; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(100svh, 56vw); min-height: 560px; overflow: hidden; background: var(--ink); color: var(--white); }
@media (max-width: 767px) { .hero { height: auto; min-height: 0; aspect-ratio: 4 / 5; } }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide img { transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.45)); z-index: 2; pointer-events: none; }
.hero__ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); }
.hero__ui .container { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 36px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.4); overflow: hidden; position: relative; }
.hero__dots button span { position: absolute; inset: 0; background: var(--lemon); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active span { animation: progress var(--slide-ms, 6000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__scroll { display: none; }
@media (min-width: 960px) {
  .hero__scroll { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
  .hero__scroll i { width: 1px; height: 44px; background: rgba(255, 255, 255, 0.6); position: relative; overflow: hidden; }
  .hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--lemon); animation: drip 2s var(--ease) infinite; }
}
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- Marquee grande ---------- */
.big-marquee { background: var(--ink); color: var(--lemon); overflow: hidden; padding-block: 18px; }
.big-marquee .marquee { animation-duration: 26s; }
.big-marquee .marquee__group { gap: 40px; padding-right: 40px; }
.big-marquee .marquee__group span { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 5vw, 56px); text-transform: none; letter-spacing: -0.01em; gap: 40px; }
.big-marquee .marquee__group span::after { content: ""; width: clamp(28px, 4vw, 44px); height: clamp(28px, 4vw, 44px); background: url("../img/sol.svg") center / contain no-repeat; animation: spin 10s linear infinite; }
.big-marquee .marquee__group span:nth-child(even) { color: var(--aqua); }
.big-marquee--pink { background: var(--pink); color: var(--white); }
.big-marquee--pink .marquee__group span:nth-child(even) { color: var(--lemon); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Categorías ---------- */
.cats__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.cats__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cats__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; isolation: isolate; color: var(--white); }
@media (max-width: 719px) { .cat-card { aspect-ratio: 5 / 4; } }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -1; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%); z-index: -1; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.cat-card__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; }
.cat-card__count { font-size: 13px; opacity: 0.85; margin-top: 6px; }
.cat-card__arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--lemon); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform 0.45s var(--ease); }
.cat-card__arrow svg { width: 20px; }
.cat-card:hover .cat-card__arrow { transform: rotate(-45deg); }

/* ---------- Tarjeta de producto ---------- */
.products-grid { display: grid; gap: 28px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; } }
@media (min-width: 900px) { .products-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 16px; } }
.p-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.p-card__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 3; background: var(--sand); }
.p-card__link { position: absolute; inset: 0; }
.p-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); }
.p-card__media img + img { opacity: 0; }
@media (hover: hover) {
  .p-card:hover .p-card__media img:first-child { opacity: 0; }
  .p-card:hover .p-card__media img + img { opacity: 1; transform: scale(1.04); }
}
.p-card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--lemon); color: var(--ink); border-radius: var(--radius-pill); padding: 5px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.p-card__tag--soldout { background: var(--ink); color: var(--white); }
.p-card__quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; padding: 6px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-radius: var(--radius-pill); transform: translateY(calc(100% + 14px)); transition: transform 0.45s var(--ease); }
.p-card__quick span { flex: none; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; align-self: center; padding-inline: 8px 2px; color: var(--ink-soft); }
.p-card__quick button { flex: 1; height: 36px; border-radius: var(--radius-pill); font-weight: 600; font-size: 13px; transition: background 0.2s, color 0.2s; }
.p-card__quick button:hover { background: var(--ink); color: var(--white); }
.p-card__quick button[disabled] { opacity: 0.3; text-decoration: line-through; pointer-events: none; }
@media (hover: hover) { .p-card:hover .p-card__quick { transform: none; } }
.p-card__info { display: flex; justify-content: space-between; gap: 4px 10px; }
.p-card__info > div:first-child { min-width: 0; }
@media (max-width: 599px) { .p-card__info { flex-direction: column; } .p-card__price { order: 2; } }
.p-card__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.2; }
.p-card__color { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.p-card__price { font-weight: 600; font-size: 15px; white-space: nowrap; }
.p-card__price s { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.p-card__swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); position: relative; }
.swatch.is-active::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ink); }

/* ---------- Bloque Golden Grid (banner partido) ---------- */
.feature-banner { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.feature-banner img { width: 100%; height: clamp(420px, 70vw, 820px); object-fit: cover; }
.feature-banner__body { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.feature-banner__body .container { padding-bottom: clamp(28px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.feature-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 50%); pointer-events: none; }
.feature-banner__body { z-index: 1; }
.feature-banner .title-xl span { color: var(--lemon); }

/* ---------- Colección Golden Grid ---------- */
.golden { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .golden { grid-template-columns: 1fr 1fr; min-height: 640px; } }
.golden__panel { background: var(--lemon); padding: clamp(48px, 7vw, 96px) var(--gutter); display: flex; align-items: center; position: relative; overflow: hidden; }
.golden__panel .title-xl span { color: var(--pink); }
.golden__sun { position: absolute; width: clamp(200px, 28vw, 420px); right: -12%; bottom: -18%; opacity: 0.9; animation: spin 50s linear infinite; pointer-events: none; }
.golden__panel > div { position: relative; z-index: 1; max-width: 520px; }
.golden__media { overflow: hidden; }
.golden__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .golden__media img { aspect-ratio: auto; } }

/* ---------- Tecnologías ---------- */
.tech { background: var(--aqua); position: relative; }
.wave-edge { display: block; width: 100%; height: clamp(28px, 4vw, 60px); color: var(--aqua); }
.wave-edge--flip { transform: rotate(180deg); }
.tech__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .tech__grid { grid-template-columns: repeat(5, 1fr); } }
.tech-item { background: rgba(255, 255, 255, 0.45); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 14px; align-content: start; transition: transform 0.45s var(--ease), background 0.3s; }
.tech-item:hover { transform: translateY(-6px) rotate(-1deg); background: var(--white); }
.tech-item__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--lemon); display: grid; place-items: center; }
.tech-item__icon svg { width: 26px; height: 26px; }
.tech-item h3 { font-size: 20px; }
.tech-item p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 899px) { .tech-item:last-child { grid-column: span 2; } }

/* ---------- Historia (split) ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media .sticker { position: absolute; right: -14px; top: -18px; width: clamp(96px, 12vw, 140px); animation: spin 24s linear infinite; }
.split__media .float-img { position: absolute; left: -18px; bottom: -28px; width: 42%; border: 6px solid var(--cream); border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 899px) { .split__media .float-img { left: 10px; } }
.split__body { display: grid; gap: 22px; justify-items: start; }
.quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; }

/* ---------- Moods / lookbook ---------- */
.moods { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .moods { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.mood { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; color: var(--white); }
.mood img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mood:hover img { transform: scale(1.05); }
.mood__label { position: absolute; left: 20px; bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 0.95; color: var(--lemon); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25); }
.mood__label small { display: block; font-size: 0.55em; color: var(--white); font-weight: 600; }

.insta { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 900px) { .insta { grid-template-columns: repeat(6, 1fr); gap: 10px; } }
.insta a { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.insta a::after { content: ""; position: absolute; inset: 0; background: rgba(229, 126, 173, 0.0); transition: background 0.3s; }
.insta a:hover img { transform: scale(1.08); }
.insta a:hover::after { background: rgba(229, 126, 173, 0.35); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--pink); color: var(--white); border-radius: calc(var(--radius) * 1.6); padding: clamp(32px, 6vw, 80px); position: relative; overflow: hidden; display: grid; gap: 24px; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.newsletter .sun-bg { position: absolute; right: -80px; top: -80px; width: 320px; opacity: 0.18; animation: spin 50s linear infinite; pointer-events: none; }
.newsletter p { opacity: 0.92; max-width: 44ch; margin-top: 12px; }
.newsletter__form { display: flex; gap: 8px; background: var(--white); padding: 6px; border-radius: var(--radius-pill); position: relative; z-index: 1; }
.newsletter__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; color: var(--ink); outline: none; }
.newsletter__form .btn { min-height: 46px; padding: 0 22px; }
.newsletter > * { min-width: 0; }
@media (max-width: 520px) {
  .newsletter__form { flex-direction: column; border-radius: var(--radius); padding: 8px; }
  .newsletter__form input { height: 46px; }
}
.newsletter__msg { font-size: 14px; font-weight: 500; min-height: 1.4em; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(56px, 8vw, 96px); margin-top: clamp(56px, 9vw, 120px); position: relative; overflow: hidden; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__brand img { width: min(280px, 80%); }
.footer__brand p { margin-top: 18px; color: rgba(247, 244, 236, 0.7); max-width: 34ch; font-size: 14px; }
.footer h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--aqua); margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a { color: rgba(247, 244, 236, 0.85); transition: color 0.2s; font-size: 14px; }
.footer a:hover { color: var(--lemon); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(247, 244, 236, 0.3); transition: background 0.25s, color 0.25s; }
.footer__social a:hover { background: var(--lemon); color: var(--ink); }
.footer__social svg { width: 20px; height: 20px; }
.footer__pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.footer__pay span { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 6px 10px; border-radius: 6px; background: rgba(247, 244, 236, 0.1); }
.footer__bottom { margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(247, 244, 236, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: rgba(247, 244, 236, 0.55); }
.footer__giant { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 9vw, 130px); line-height: 0.85; color: var(--aqua); text-align: left; letter-spacing: -0.03em; margin-top: 40px; white-space: nowrap; user-select: none; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6); transition: transform 0.35s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Carrito (drawer) ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(21, 21, 21, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.55s var(--ease); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 26px; }
.drawer__ship { padding: 14px 22px; background: var(--aqua-soft); font-size: 13px; }
.drawer__ship strong { font-weight: 600; }
.ship-bar { height: 6px; background: rgba(255, 255, 255, 0.8); border-radius: 6px; overflow: hidden; margin-top: 8px; }
.ship-bar i { display: block; height: 100%; background: var(--aqua-deep); border-radius: 6px; transition: width 0.6s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__empty { text-align: center; padding: 56px 10px; display: grid; gap: 18px; justify-items: center; }
.drawer__empty img { width: 110px; opacity: 0.9; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.line-item img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
.line-item__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.2; }
.line-item__meta { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.line-item__price { font-weight: 600; font-size: 14px; text-align: right; }
.line-item__remove { font-size: 12px; color: var(--ink-soft); text-decoration: underline; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line); margin-top: 10px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--white); }
.drawer__row { display: flex; justify-content: space-between; font-size: 14px; }
.drawer__row--total { font-size: 18px; font-weight: 700; }
.drawer__note { font-size: 12px; color: var(--ink-soft); text-align: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; transition: transform 0.5s var(--ease), visibility 0.5s; background: var(--ink); color: var(--white); padding: 12px 18px 12px 12px; border-radius: var(--radius-pill); display: flex; align-items: center; gap: 12px; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
.toast img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* ---------- Página: cabecera interna ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 48px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .title-xl { margin-top: 14px; }
.page-hero .lead { margin-top: 16px; }
.page-hero__sun { position: absolute; right: -60px; top: -40px; width: clamp(180px, 26vw, 360px); opacity: 0.9; animation: spin 60s linear infinite; pointer-events: none; z-index: -1; }
.breadcrumbs { font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Tienda ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 18px; border-block: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 44px); position: sticky; top: var(--header-h); z-index: 10; background: var(--cream); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 500; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); box-shadow: none; }
.select { height: 40px; padding: 0 38px 0 16px; border-radius: var(--radius-pill); border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23151515' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 16px center no-repeat; appearance: none; font-size: 14px; }
.shop-count { font-size: 13px; color: var(--ink-soft); }
.empty-state { text-align: center; padding: 60px 0; color: var(--ink-soft); }

/* ---------- Producto ---------- */
.pdp { display: grid; gap: clamp(24px, 4vw, 64px); padding-top: clamp(20px, 3vw, 36px); }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.gallery { display: grid; gap: 10px; }
.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 3; background: var(--sand); }
.gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); display: grid; place-items: center; z-index: 2; transition: transform 0.3s var(--ease); }
.gallery__nav:hover { transform: translateY(-50%) scale(1.08); }
.gallery__nav svg { width: 18px; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__counter { position: absolute; right: 14px; bottom: 14px; background: rgba(21, 21, 21, 0.7); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.gallery__thumbs button { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; opacity: 0.55; transition: opacity 0.25s, box-shadow 0.25s; }
.gallery__thumbs button.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) {
  .gallery__thumbs { display: flex; overflow-x: auto; scrollbar-width: none; padding: 2px; }
  .gallery__thumbs::-webkit-scrollbar { display: none; }
  .gallery__thumbs button { flex: 0 0 58px; }
}
@media (min-width: 960px) {
  .gallery { grid-template-columns: 76px 1fr; align-items: start; position: sticky; top: calc(var(--header-h) + 20px); }
  .gallery__thumbs { grid-template-columns: 1fr; order: -1; }
}
.pdp__info { display: grid; gap: 22px; align-content: start; }
.pdp__title { font-size: clamp(36px, 4.4vw, 56px); }
.pdp__price { font-size: 22px; font-weight: 600; display: flex; gap: 12px; align-items: baseline; }
.pdp__price s { font-size: 16px; font-weight: 400; color: var(--ink-soft); }
.pdp__installments { font-size: 13px; color: var(--ink-soft); margin-top: -14px; }
.opt-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.opt-label span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.opt-label button { text-transform: none; letter-spacing: 0; font-weight: 500; text-decoration: underline; font-size: 13px; }
.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.color-opt { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; transition: box-shadow 0.2s; }
.color-opt img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.color-opt.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
.sizes { display: flex; gap: 10px; }
.size-opt { width: 60px; height: 52px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.size-opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.size-opt.is-active { background: var(--ink); color: var(--white); box-shadow: none; }
.size-opt[disabled] { opacity: 0.35; text-decoration: line-through; pointer-events: none; }
.size-hint { font-size: 13px; color: var(--pink); min-height: 1.3em; margin-top: 8px; font-weight: 500; }
.pdp__actions { display: grid; gap: 10px; grid-template-columns: auto 1fr; }
.pdp__actions .btn--whatsapp { grid-column: 1 / -1; }
.qty--lg { margin: 0; height: 52px; }
.qty--lg button { width: 44px; height: 52px; }
.perks { display: grid; gap: 10px; padding: 18px; border-radius: var(--radius); background: var(--white); font-size: 13.5px; }
.perks li { display: flex; gap: 12px; align-items: center; }
.perks svg { width: 20px; height: 20px; flex: none; color: var(--aqua-deep); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding-block: 18px; font-weight: 600; font-size: 15px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i { width: 14px; height: 14px; position: relative; }
.accordion summary i::before, .accordion summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; background: currentColor; transition: transform 0.3s var(--ease); }
.accordion summary i::after { transform: rotate(90deg); }
.accordion details[open] summary i::after { transform: rotate(0); }
.accordion__body { padding-bottom: 20px; color: var(--ink-soft); font-size: 14.5px; display: grid; gap: 12px; }
.accordion__body ul { display: grid; gap: 6px; }
.accordion__body li { padding-left: 18px; position: relative; }
.accordion__body li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }

.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 600; }
.size-table td:first-child { font-weight: 700; font-family: var(--font-display); font-size: 18px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0.3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(21, 21, 21, 0.55); }
.modal__card { position: relative; background: var(--cream); border-radius: var(--radius); width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; padding: clamp(22px, 4vw, 36px); transform: translateY(20px) scale(0.98); transition: transform 0.45s var(--ease); }
.modal.is-open .modal__card { transform: none; }
.modal__close { position: absolute; right: 12px; top: 12px; }
.modal h3 { font-size: 30px; margin-bottom: 16px; }
.modal__note { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: clamp(24px, 4vw, 56px); padding-block: clamp(24px, 4vw, 48px) 0; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.card { background: var(--white); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.card h2 { font-size: 26px; margin-bottom: 18px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field select, .field textarea { height: 50px; padding: 0 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--cream); outline: none; transition: border-color 0.2s, background 0.2s; width: 100%; }
.field textarea { height: 96px; padding: 12px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); }
.field.has-error input, .field.has-error select { border-color: #d6455d; }
.field small { color: #d6455d; font-size: 12px; min-height: 1em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.summary .line-item { grid-template-columns: 64px 1fr auto; }
.summary .line-item img { width: 64px; }
.pay-options { display: grid; gap: 10px; margin-top: 6px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pay-methods span { font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 6px; background: var(--cream); }
.form-error { background: #fde7ea; color: #a3203a; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; display: none; }
.form-error.is-visible { display: block; }

/* ---------- Gracias ---------- */
.result { text-align: center; display: grid; justify-items: center; gap: 18px; padding-block: clamp(60px, 10vw, 140px); }
.result__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--lemon); display: grid; place-items: center; }
.result__icon svg { width: 44px; height: 44px; }
.result__icon--wait { background: var(--aqua); }
.result__icon--fail { background: var(--pink-soft); }

/* ---------- Texto largo (legal, FAQ, nosotros) ---------- */
.prose { max-width: 760px; font-size: 15.5px; color: var(--ink-soft); }
.prose h2 { color: var(--ink); font-size: clamp(24px, 3vw, 32px); margin: 44px 0 14px; }
.prose h3 { color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 17px; margin: 28px 0 10px; }
.prose p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; margin: 12px 0; }
.prose li { padding-left: 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; color: var(--ink); }

.faq-list { max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2vw, 23px); }

.contact-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; transition: transform 0.4s var(--ease); }
.contact-card:hover { transform: translateY(-6px); }
.contact-card__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 24px; }
.contact-card p { color: var(--ink-soft); font-size: 14px; }

.values { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; }
.value:nth-child(1) { background: var(--lemon); }
.value:nth-child(2) { background: var(--aqua); }
.value:nth-child(3) { background: var(--pink); color: var(--white); }
.value h3 { font-size: 26px; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
