/* =====================================================================
   VELUMI — Hoja de estilos de la tienda
   Estructura y movimiento replicados de la plantilla de referencia
   (ver docs/ingenieria-inversa.md), con la identidad de Velumi.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Paleta oficial (03_Color/velumi-colores.css) */
  --espresso: #302824;
  --marfil: #F7F3EC;
  --champagne: #D8C3A3;
  --taupe: #9A8170;
  --nude: #E4D2C9;
  --bronce: #6E5646;
  --white: #ffffff;

  /* Derivados para estados (equivalen a --tint-* de la plantilla) */
  --champagne-tint: #E9DCC6;
  --nude-tint: #EFE3DC;
  --espresso-tint: #48413C;
  --metal: linear-gradient(90deg, #9A8170 0%, #D8C3A3 38%, #B39780 70%, #6E5646 100%);
  --metal-dark: linear-gradient(100deg, #6E5646 0%, #9A8170 40%, #B39780 65%, #6E5646 100%);

  /* Estados */
  --exito: #5E7A5A;
  --aviso: #B07A2E;
  --error: #A4453C;

  /* Layout */
  --page-width: 100%;
  --page-margin: 3rem;
  --full-height: 100svh;
  --radius: 1rem;

  /* Tipografía */
  --font-display: "Tenor Sans", "Optima", "Candara", serif;
  --font-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --h1: 6vw;
  --h2: 52px;
  --h3: 30px;
  --h4: 20px;

  /* Curva de toda la interfaz (idéntica a la plantilla) */
  --curve: cubic-bezier(0.38, 0.19, 0.18, 1);
}

@media screen and (max-width: 768px) {
  :root {
    --radius: 0.5rem;
    --page-margin: 1rem;
    --h1: 44px;
    --h2: 30px;
    --h3: 22px;
    --h4: 16px;
  }
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; margin: 0; }
*::selection { background-color: var(--champagne); color: var(--espresso); }

html { -webkit-text-size-adjust: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1;
  background-color: var(--marfil);
  color: var(--espresso);
  overflow-x: clip;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
button { background: transparent; border: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
a { color: inherit; }

p { font-size: 17px; font-weight: 400; line-height: 1.45; text-wrap: pretty; }
p.big-text { font-size: 21px; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; overflow-wrap: break-word; }

.h1, .h2, .h3, .h4, .ff-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
}
.h1 { font-size: var(--h1); }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); }
.h4 { font-size: var(--h4); letter-spacing: 0.06em; }

/* Palabras destacadas: degradado metálico de la marca */
.accent-text {
  background: var(--metal-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.on-dark .accent-text {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
}

.fluid-cover img, .fluid-cover svg, .fluid-cover video { width: 100%; height: 100%; object-fit: cover; }
.fluid-contain img, .fluid-contain svg, .fluid-contain video { width: 100%; height: 100%; object-fit: contain; }

.flex-row { display: flex; gap: 1rem; }
.flex-col { display: flex; flex-direction: column; gap: 1rem; }
.flex-aic { align-items: center; }

.section-padded { padding: 4rem 0; }
.full-height { height: 100svh; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Grid de contenido (equivale a .shopify-section) */
.section {
  --content-width: min(calc(var(--page-width) - var(--page-margin) * 2), calc(100% - var(--page-margin) * 2));
  --content-margin: minmax(var(--page-margin), 1fr);
  --content-grid: var(--content-margin) var(--content-width) var(--content-margin);
  position: relative;
  display: grid;
  grid-template-columns: var(--content-grid);
  width: 100%;
}
.section > * { grid-column: 2; }
.section > .full-width { grid-column: 1 / -1; }
.full-width-padded { padding-left: var(--page-margin); padding-right: var(--page-margin); }

.product-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

@media screen and (max-width: 768px) {
  .product-grid--3 { grid-template-columns: 1fr; }
  .section-padded { padding-top: 3rem; padding-bottom: 3rem; }
  p { font-size: 16px; }
  p.big-text { font-size: 18px; }
}

/* ---------- 3. Botón con mancha que nace del cursor ---------- */
.button {
  --bgc: var(--champagne);
  --blob: var(--champagne-tint);
  --fg: var(--espresso);
  --fg-hover: var(--espresso);
  background-color: var(--bgc);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 0;
  background-clip: padding-box;
  font-family: var(--font-display);
  isolation: isolate;
  display: inline-block;
}
.button > a, .button > button, .button > .inner {
  display: block;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border: none;
  background: none;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: color 0.6s var(--curve);
  font-family: var(--font-display);
}
.button::after {
  content: "";
  position: absolute;
  top: var(--y, 0);
  left: var(--x, 0);
  width: 200%;
  aspect-ratio: 1;
  background-color: var(--blob);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  translate: -50% -50%;
  scale: 0;
  transition: scale 0.6s var(--curve);
  z-index: 1;
}
.button:hover::after, .button:focus-within::after { scale: 1.05; }
.button:hover > a, .button:hover > button, .button:hover > .inner { color: var(--fg-hover); }

.button--dark { --bgc: var(--espresso); --blob: var(--bronce); --fg: var(--marfil); --fg-hover: var(--marfil); }
.button--light { --bgc: var(--marfil); --blob: var(--champagne); }
.button--outline { --bgc: transparent; --blob: var(--espresso); --fg: var(--espresso); --fg-hover: var(--marfil); box-shadow: inset 0 0 0 2px var(--espresso); }
.button--outline-light { --bgc: transparent; --blob: var(--marfil); --fg: var(--marfil); --fg-hover: var(--espresso); box-shadow: inset 0 0 0 2px var(--marfil); }

@media screen and (max-width: 768px) {
  .button > a, .button > button, .button > .inner { padding: 0.85rem 1.5rem; }
}

/* ---------- 4. Cursor (mancha que sigue al mouse + telón de transición) ---------- */
.mouse-follow {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1002;
  will-change: transform;
}
.mouse-follow .blob {
  position: absolute;
  top: 0;
  left: 0;
  translate: -50% -50%;
  background-color: var(--color, var(--champagne));
  width: 10px;
  height: 10px;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: blob 5s ease-in-out infinite, blobSpin 10s linear infinite;
  transition: width 1s var(--curve), height 1s var(--curve), background-color 0.5s var(--curve);
  will-change: transform, border-radius, width, height;
}
body:has(a:hover, .button:hover, [data-link-color]:hover, button:hover) .mouse-follow .blob { width: 30px; height: 30px; }
.mouse-follow.pageload .blob { width: 250vmax; height: 250vmax; pointer-events: all; }
.mouse-follow .drag-hint {
  position: absolute;
  top: 0;
  left: 0;
  translate: -50% calc(-100% - 22px);
  opacity: 0;
  transition: opacity 0.6s var(--curve);
  background: var(--espresso);
  color: var(--marfil);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 0.55rem 1rem;
  border-radius: 99px;
  white-space: nowrap;
}
@media (hover: hover) and (min-width: 769px) {
  body:has(.product-selection--scroller:hover) .mouse-follow .drag-hint { opacity: 1; }
}
@media screen and (max-width: 768px) {
  .mouse-follow .blob,
  body:has(a:hover, .button:hover, [data-link-color]:hover) .mouse-follow .blob { width: 0; height: 0; }
  .mouse-follow.pageload .blob { width: 250vmax; height: 250vmax; }
  .mouse-follow .drag-hint { display: none; }
}
@keyframes blob {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  50% { border-radius: 30% 70% 40% 60% / 60% 40% 70% 30%; }
}
@keyframes blobSpin { to { transform: rotate(360deg); } }

/* ---------- 5. Animaciones de aparición ---------- */
.js [data-reveal] { visibility: hidden; }
:is([data-reveal~="words"], [data-reveal~="lines"]) .word-wrapper:not(.is-space) {
  display: inline-block;
  overflow: hidden;
  padding: 0.12em 0.04em;
  margin: -0.12em -0.04em;
}
:is([data-reveal~="words"], [data-reveal~="lines"]) .line-wrapper { overflow: hidden; padding-block: 0.1em; margin-block: -0.1em; }
:is([data-reveal~="words"], [data-reveal~="lines"]) .word-wrapper:not(.is-space) .word-inner,
:is([data-reveal~="words"], [data-reveal~="lines"]) .line-inner { display: inline-block; will-change: transform; }
[data-reveal~="frame"] { will-change: transform, opacity; }
[data-reveal~="frame"] img, [data-reveal~="frame"] video, [data-reveal~="frame"] svg { scale: var(--reveal-inner, 1); }

[data-appear*="circle"] {
  clip-path: circle(0% at 50% 50%);
  scale: 1.15;
  will-change: clip-path, scale;
}

/* Destellos (equivalen a las estrellas "glitter") */
.sparkle svg { animation: glitter calc(1.6s + var(--rnd, 0.5) * 2.2s) linear infinite calc(var(--rnd, 0.5) * 0.8s); }
@keyframes glitter {
  0%, 15% { scale: 0; }
  50% { scale: 1; }
  85%, 100% { scale: 0; }
}

/* ---------- 6. Goteo (canvas + filtro goo) ---------- */
[data-drip-section] { position: relative; isolation: isolate; }
.drip-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  filter: url(#goo);
  will-change: filter, transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  pointer-events: none;
}
@media screen and (min-width: 769px) {
  .is-safari .drip-canvas { filter: none; will-change: transform; }
}

/* ---------- 7. Encabezado ---------- */
.site-header {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px var(--page-margin);
}
.site-header .header-bar {
  width: 100%;
  min-height: 4rem;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background-color: var(--espresso);
  border-radius: var(--radius);
  padding: 4px;
  position: relative;
}
.site-header .header-logo { padding-left: 1rem; }
.site-header .header-logo img { width: 150px; height: auto; }
.site-header a, .site-header .nav-link {
  position: relative;
  text-decoration: none;
  color: var(--marfil);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.6s var(--curve), color 0.6s var(--curve);
  cursor: pointer;
}
.site-header a:hover, .site-header .nav-link:hover { opacity: 1; color: var(--champagne); }
.site-header svg { width: 1.4rem; }
.header__menu, .header__icons { display: flex; align-items: center; gap: 1.5rem; }
.header__icons { gap: 1rem; }
.site-header .Cart_Button {
  --bgc: var(--marfil);
  --blob: var(--champagne);
  border-radius: calc(var(--radius) - 2px);
}
.site-header .Cart_Button > .inner { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.1rem; color: var(--espresso); font-size: 14px; }
.site-header .Cart_Button:hover > .inner { color: var(--espresso); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 3;
  min-width: 20px;
  height: 20px;
  border-radius: 20px;
  background: var(--champagne);
  color: var(--espresso);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  opacity: 0;
  scale: 0.4;
  transition: opacity 0.4s var(--curve), scale 0.6s var(--curve);
}
.cart-count.Open { opacity: 1; scale: 1; }
.cart-count.bump { animation: characteristic-pop 0.8s var(--curve); }
.cart-wrap { position: relative; display: flex; }
.cart-count { pointer-events: none; }

/* Mega menú */
.mega-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--espresso);
  background-color: var(--marfil);
  color: var(--espresso);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  transition: opacity 0.4s var(--curve), translate 0.4s var(--curve);
  pointer-events: none;
  opacity: 0;
  translate: 0 1rem;
}
.mega-menu.open { opacity: 1; translate: 0 0; pointer-events: all; }
.site-header .mega-menu a.mega-img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tile, var(--nude));
  display: block;
  opacity: 1;
  color: var(--espresso);
}
.mega-menu .mega-img img { object-fit: contain !important; padding: 12%; transition: scale 0.6s var(--curve); }
.mega-menu .mega-img:hover img { scale: 1.06; }
.mega-menu .abs-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  z-index: 2;
  font-size: 18px;
}

/* Búsqueda */
.search-btn { display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--marfil); padding: 0.25rem; }
.search-btn svg { width: 1.25rem; height: 1.25rem; }
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 950;
  background-color: var(--espresso);
  padding: 8px var(--page-margin);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: calc(4rem + 16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-110%);
  transition: opacity 0.4s var(--curve), transform 0.4s var(--curve);
}
.search-overlay.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.search-form { flex: 1; display: flex; align-items: center; gap: 1rem; }
.search-input {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(247, 243, 236, 0.3);
  color: var(--marfil);
  font-family: var(--font-display);
  font-size: var(--h3);
  padding: 0.5rem 0;
  outline: none;
}
.search-input::placeholder { color: var(--marfil); opacity: 0.4; }
.search-input:focus { border-bottom-color: var(--champagne); }
.search-submit, .search-close { display: flex; align-items: center; color: var(--marfil); cursor: pointer; opacity: 0.7; padding: 0.25rem; transition: opacity 0.3s; }
.search-submit:hover, .search-close:hover { opacity: 1; }
.search-submit svg, .search-close svg { width: 1.4rem; height: 1.4rem; }

/* Menú móvil */
.burger-btn, .mobile-nav { display: none; }
@media screen and (max-width: 768px) {
  .site-header .header-logo { flex-grow: 1; padding-left: 0.6rem; }
  .site-header .header-logo img { width: 118px; }
  .header__menu { min-width: max-content; }
  .header__menu > *:not(.header__icons) { display: none; }
  .header__menu .header__icons { display: flex; }
  .site-header .header-bar { gap: 1rem; min-height: 0; }
  .site-header .Cart_Button .label { display: none; }
  .site-header .Cart_Button > .inner { padding: 0.55rem; }
  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
  }
  .burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--marfil);
    border-radius: 2px;
    transition: rotate 0.35s var(--curve), translate 0.35s var(--curve), opacity 0.35s var(--curve), scale 0.35s var(--curve);
  }
  .burger-btn.open span:nth-child(1) { rotate: 45deg; translate: 0 7px; }
  .burger-btn.open span:nth-child(2) { opacity: 0; scale: 0; }
  .burger-btn.open span:nth-child(3) { rotate: -45deg; translate: 0 -7px; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    position: fixed;
    inset: 0;
    z-index: 800;
    isolation: isolate;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-nav.open { visibility: visible; pointer-events: all; }
  .mobile-nav__bg { position: absolute; inset: 0; z-index: -1; background-color: var(--espresso); will-change: clip-path; }
  .mobile-nav a {
    color: var(--marfil);
    text-decoration: none;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 34px;
    letter-spacing: 0.04em;
    opacity: 0;
    visibility: hidden;
  }
}

/* ---------- 8. Carrito lateral ---------- */
.Cart_Drawer_Overlay {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(48, 40, 36, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--curve);
}
.Cart_Drawer {
  position: fixed;
  z-index: 1000;
  top: 8px;
  right: 8px;
  bottom: 8px;
  width: min(460px, calc(100% - 16px));
  background: var(--marfil);
  border-radius: var(--radius);
  border: 2px solid var(--espresso);
  display: flex;
  flex-direction: column;
  translate: calc(100% + 24px) 0;
  transition: translate 0.8s var(--curve);
}
body:has(.Cart_Drawer.Open) .Cart_Drawer_Overlay { opacity: 1; pointer-events: all; }
.Cart_Drawer.Open { translate: 0 0; }
.Cart_Drawer_Header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--nude); }
.Close_Cart_Drawer { width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; transition: background-color 0.4s var(--curve), rotate 0.6s var(--curve); }
.Close_Cart_Drawer:hover { background: var(--nude); rotate: 90deg; }
.Cart_Drawer_Content { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.Empty_Cart_Message { font-size: 18px; margin: 1rem 0; }
.Cart_Items { display: flex; flex-direction: column; gap: 1rem; }
.Cart_Item { display: flex; gap: 1rem; align-items: center; padding: 0.75rem; border-radius: var(--radius); background: var(--white); animation: cart-in 0.6s var(--curve); }
.Cart_Item .thumb { width: 84px; aspect-ratio: 1; border-radius: calc(var(--radius) * 0.75); background: var(--tile, var(--nude)); flex-shrink: 0; padding: 6px; }
.Cart_Item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.Cart_Item .info { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.Cart_Item .name { font-family: var(--font-display); text-transform: uppercase; font-size: 14px; line-height: 1.2; letter-spacing: 0.04em; }
.Cart_Item .price { font-weight: 500; }
.Cart_Item .row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.Cart_Item .remove { font-size: 13px; text-decoration: underline; cursor: pointer; opacity: 0.7; }
.Cart_Item .remove:hover { opacity: 1; }
.mini-qty { display: flex; align-items: center; border: 1.5px solid var(--espresso); border-radius: 99px; }
.mini-qty button { width: 30px; height: 30px; cursor: pointer; font-size: 18px; }
.mini-qty span { min-width: 22px; text-align: center; font-weight: 500; }
.Cart_Drawer_Footer { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--nude); display: flex; flex-direction: column; gap: 0.9rem; }
.Cart_Drawer_Footer .subtotal { display: flex; justify-content: space-between; font-family: var(--font-display); text-transform: uppercase; font-size: 18px; }
.Cart_Drawer_Footer small { opacity: 0.75; font-size: 13px; line-height: 1.4; }
.Cart_Drawer_Footer .button { width: 100%; text-align: center; }
@keyframes cart-in { from { opacity: 0; translate: 24px 0; } }

/* ---------- 9. Hero ---------- */
.hero-wrapper { padding-top: 8px; }
.hero--section {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  color: var(--marfil);
  height: calc(100svh - 16px);
  min-height: 620px;
}
.hero--image-wrapper { position: absolute; inset: 0; }
.hero--image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 40, 36, 0.05) 30%, rgba(48, 40, 36, 0.55) 100%);
}
.hero--image-wrapper img { scale: 1.06; translate: 0 var(--parallax, 0); }
.hero--absolute {
  position: absolute;
  inset: 0;
  padding: var(--page-margin) var(--page-margin) 6rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  z-index: 11;
}
.hero--title { flex-grow: 1; display: flex; flex-direction: column; gap: 1.25rem; }
.hero--title .eyebrow { font-family: var(--font-display); letter-spacing: 0.3em; font-size: 14px; text-transform: uppercase; opacity: 0.9; }
.hero--title .h1 { max-width: 14ch; font-size: min(var(--h1), 92px); }
.hero--product-cta { width: 25%; min-width: 320px; max-width: 380px; }
.product-cta {
  width: 100%;
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background-color: var(--espresso);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.9rem;
}
.product-cta .badge {
  position: absolute;
  background-color: var(--champagne);
  color: var(--espresso);
  top: 0;
  left: 0;
  translate: -40% -40%;
  width: 96px;
  aspect-ratio: 1;
  clip-path: url(#seal);
  display: grid;
  place-items: center;
  rotate: -15deg;
  font-size: 15px;
  text-align: center;
  line-height: 1;
  animation: badge-spin 18s linear infinite;
}
@keyframes badge-spin { to { rotate: 345deg; } }
.product-cta .fluid-contain { width: 100%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--nude); padding: 8%; }
.product-cta .fluid-contain img { transition: scale 0.8s var(--curve), rotate 0.8s var(--curve); rotate: -6deg; }
.product-cta:hover .fluid-contain img { scale: 1.06; rotate: 0deg; }
.product-cta .h4 { font-size: 15px; line-height: 1.25; }
.product-cta .price { font-family: var(--font-body); font-weight: 500; font-size: 17px; color: var(--champagne); }
.dp-row { justify-content: space-between; position: absolute; width: 100%; padding: 0 2.5rem; bottom: 0; left: 0; }
.dp-row .dp { padding-top: var(--top); translate: calc(-8px + 16px * var(--rnd, 0.5)) 0; }
.dp { width: 1px; height: 1px; }

@media screen and (max-width: 768px) {
  .hero--section { height: calc(92svh - 16px); min-height: 560px; }
  .hero--absolute { flex-direction: column; justify-content: space-between; align-items: stretch; padding-top: 6.5rem; padding-bottom: 2.5rem; }
  .hero--product-cta { min-width: 100%; max-width: 100%; }
  .product-cta { flex-direction: row; padding: 0.9rem; text-align: left; gap: 0.9rem; }
  .product-cta .fluid-contain { width: 34%; flex-shrink: 0; }
  .product-cta .cta-body { align-items: flex-start !important; }
  .product-cta .badge { width: 70px; top: -6px; left: auto; right: -8px; translate: 0 -40%; font-size: 12px; }
  .product-cta .button > a { padding: 0.65rem 1.1rem; font-size: 13px; }
}
.cta-body { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

/* ---------- 10. Texto con "pastillas" de imagen ---------- */
.text--section { padding-top: 6rem; padding-bottom: 10rem; }
.text--content { width: 78%; }
.text--content .h2 { line-height: 1.12; }
.text-circle {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-left: 0.2em;
  background-color: var(--color);
  vertical-align: middle;
  overflow: hidden;
  rotate: -12deg;
  transition: scale 0.6s var(--curve), rotate 0.6s var(--curve);
  cursor: pointer;
  position: relative;
  z-index: 1;
  clip-path: url(#arch);
  will-change: transform, scale, rotate;
}
.text-circle:nth-child(3n + 1 of .text-circle) { clip-path: url(#drop); }
.text-circle:nth-child(3n + 2 of .text-circle) { clip-path: url(#pill); }
.text-circle img { width: 100%; height: 100%; object-fit: contain; padding: 8%; display: block; opacity: 0; transition: opacity 0.4s var(--curve); }
@media (hover: hover) {
  .text-circle:hover { rotate: 0deg; scale: 4; z-index: 2; }
  .text-circle:hover img { opacity: 1; }
}
@media screen and (max-width: 768px) {
  .text--section { padding-top: 3rem; padding-bottom: 6rem; }
  .text--content { width: 100%; }
}

/* ---------- 11. Selección de productos (carrusel infinito) ---------- */
.section.product-selection {
  --ps-bg: var(--nude);
  --ps-text: var(--espresso);
  --ps-invert: 0;
  --ps-accent: var(--champagne);
  background-color: var(--ps-bg);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--ps-text);
  padding-top: 3rem;
  padding-bottom: 3rem;
  transition: background-color 0.8s var(--curve), color 0.8s var(--curve);
}
.product-selection--swipers { padding-bottom: 2rem; position: relative; }
.product-selection--header { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; position: relative; }
.product-selection--header .header--left { width: 65%; gap: 2rem; }
.product-selection--header .header--right { width: 25%; min-width: 320px; position: relative; aspect-ratio: 1; }
.product-selection--nav { flex-wrap: wrap; }
.product-selection--nav-button {
  --bgc: transparent;
  --blob: var(--ps-text);
  font-family: var(--font-display);
  box-shadow: inset 0 0 0 2px var(--ps-text);
  transition: box-shadow 0.8s var(--curve);
}
.product-selection--nav-button > .inner { color: var(--ps-text); }
.product-selection--nav-button::after { transition: scale 0.6s var(--curve), background-color 0.8s var(--curve); }
.product-selection--nav-button:hover > .inner, .product-selection--nav-button.current > .inner { color: var(--ps-bg); }
.product-selection--nav-button.current::after { scale: 1.05; }
.product-selection--info {
  border-radius: var(--radius);
  background-color: var(--espresso);
  color: var(--marfil) !important;
  padding: 1.25rem 1.25rem 2rem;
  position: absolute;
  z-index: 12;
  top: 50%;
  left: 45%;
  rotate: calc(var(--rnd, 0.5) * 10deg + 6deg);
  width: 75%;
  max-width: 270px;
  translate: -50% -60%;
  scale: 0.85;
  transition: all 0.6s var(--curve);
}
.product-selection--info .dp { position: absolute; top: var(--top); left: var(--left); }
.product-selection--info p { font-size: 17px; }
.header--right-wrapper {
  width: 100%;
  height: 200%;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  opacity: 0;
  transition: all 0.6s var(--curve);
}
.header--right-wrapper.current { opacity: 1; transition: all 0.6s var(--curve) 0.4s; }
.header--right-wrapper.current .product-selection--info { translate: -50% -50%; scale: 1; transition: all 0.6s var(--curve) 0.4s; }

.product-selection-item-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  translate: 0 -6rem;
  transition: all 0.6s var(--curve);
  pointer-events: none;
}
.product-selection-item-wrapper.current { opacity: 1; translate: 0 0; transition: all 0.6s var(--curve) 0.4s; pointer-events: all; }
.product-selection-item-wrapper.first { position: relative; }

.product-selection--scroller { overflow-x: hidden; padding: 120px 0; cursor: ew-resize; touch-action: pan-y; }
.product-selection--scroller * { user-select: none; -webkit-user-drag: none; }
.product-selection--inner { display: flex; gap: 6rem; width: max-content; will-change: transform; backface-visibility: hidden; }
.product-selection--product { display: flex; flex-direction: column; gap: 1rem; width: 300px; height: 300px; padding: 1rem; position: relative; }
.product-selection--product .sparkles { pointer-events: none; opacity: 0; transition: opacity 0.6s var(--curve); }
.product-selection--product.is-active .sparkles { opacity: 1; }
.product-selection--product .sparkle {
  position: absolute;
  top: 5%;
  left: 12%;
  z-index: 5;
  color: var(--ps-text);
  transition: color 0.8s var(--curve);
  translate: -50% -50%;
  scale: calc(0.5 + 1 * var(--rnd, 0.5));
}
.product-selection--product .sparkle:nth-child(2) { top: 52%; left: 5%; }
.product-selection--product .sparkle:nth-child(3) { top: 45%; left: 88%; }
.product-selection--product .sparkle:nth-child(4) { top: 75%; left: 80%; }
.product-selection--product .product-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  rotate: -8deg;
  transition: rotate 0.6s var(--curve);
  will-change: transform, rotate;
  backface-visibility: hidden;
}
.product-selection--product .product-image::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  scale: calc((var(--scale, 0) - 0.3) * 0.82);
  background-color: var(--ps-accent);
  clip-path: var(--ps-shape, url(#arch));
  transition: background-color 0.8s var(--curve);
}
.product-selection--product .product-image img { scale: 1.02; filter: drop-shadow(0 18px 22px rgba(48, 40, 36, 0.18)); }
.product-selection--product.is-active .product-image { rotate: none; }

.product-selection--indicators { margin: 0 0 1.5rem; display: flex; justify-content: center; gap: 0.5rem; }
.product-selection--indicators .nav-btn {
  border-radius: 1rem;
  width: 1rem;
  height: 1rem;
  background-color: color-mix(in srgb, var(--ps-text) 18%, transparent);
  cursor: pointer;
  position: relative;
  transition: width 0.6s var(--curve), background-color 0.8s var(--curve);
}
.product-selection--indicators .nav-btn .inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 1rem;
  background-color: var(--ps-text);
  transition: width 0.6s var(--curve), background-color 0.8s var(--curve);
  cursor: pointer;
}
.product-selection--indicators .nav-btn.current { width: 3rem; }
.product-selection--indicators .nav-btn.current .inner { width: 100%; transition: width 4.4s linear 0.6s; }
.product-selection--button { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.product-selection--button .current-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 18px; min-height: 1.2em; text-align: center; transition: opacity 0.4s var(--curve); }
.product-selection--button .button { --bgc: var(--ps-text); --blob: var(--marfil); --fg: var(--ps-bg); --fg-hover: var(--espresso); transition: background-color 0.8s var(--curve); }

@media screen and (max-width: 768px) {
  .product-selection--header { flex-direction: column; }
  .product-selection--header .header--left { width: 100%; gap: 1.25rem; }
  .product-selection--header .header--right { display: none; }
  .product-selection--scroller { padding: 70px 0; }
  .product-selection--inner { gap: 4rem; }
  .product-selection--product { width: 46vw; height: 46vw; }
}

/* ---------- 12. Características (palabras grandes + tarjetas flotantes) ---------- */
.characteristics--section { margin-top: -2rem; border-radius: var(--radius); overflow: hidden; background-color: var(--espresso); color: var(--marfil); position: relative; z-index: 2; }
.characteristics--big {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: start;
  align-items: center;
  padding: 8rem 0;
  position: relative;
  user-select: none;
}
.characteristics--big .big { cursor: default; }
.characteristics--big .h1 { transition: color 0.6s var(--curve); text-align: center; }
.characteristics--big .big:hover .h1, .characteristics--big .big.current .h1 { color: var(--champagne); }
.characteristics--absolute {
  pointer-events: none;
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--curve);
  will-change: transform;
}
.characteristics--big .current .characteristics--absolute { opacity: 1; }
.characteristics--absolute .left-img,
.characteristics--absolute .right-img,
.characteristics--absolute .info-card {
  position: absolute;
  border-radius: var(--radius);
  transition: rotate 1s var(--curve);
  will-change: transform, rotate;
  backface-visibility: hidden;
}
.characteristics--absolute .left-img { width: 240px; aspect-ratio: 0.8; left: 2rem; top: 5rem; rotate: var(--rot, -12deg); overflow: hidden; background: var(--tile, var(--nude)); }
.characteristics--absolute .right-img { width: 150px; aspect-ratio: 0.8; right: 3rem; bottom: 3rem; rotate: var(--rot, 12deg); overflow: hidden; background: var(--tile, var(--champagne)); }
.characteristics--absolute .is-product img { object-fit: contain; padding: 10%; }
.characteristics--absolute .info-card { z-index: 12; padding: 1.75rem 1.25rem 2rem; background-color: var(--bronce); width: 250px; right: 2rem; top: 4rem; rotate: var(--rot, 12deg); display: flex; flex-direction: column; gap: 0.75rem; }
.characteristics--absolute .info-card p { font-size: 15px; }
.characteristics--absolute .info-card .dp { position: absolute; top: var(--top); left: var(--left); }
.characteristics--big .pop { animation: characteristic-pop 1s var(--curve); }
.characteristics--small { overflow-x: hidden; }
.small-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  background-color: var(--champagne);
  color: var(--espresso);
  gap: 2rem;
  padding: 1.1rem 0;
  animation: marquee-scroll 30s linear infinite;
  letter-spacing: 0.12em;
}
.small-inner .separator { width: 8px; height: 8px; background-color: var(--espresso); border-radius: 50%; }
@keyframes marquee-scroll { 0% { translate: 0 0; } 100% { translate: -33.333% 0; } }
@keyframes characteristic-pop {
  0% { transform: scale(1, 1); }
  10% { transform: scale(0.9, 1.1); }
  20% { transform: scale(1.05, 0.95); }
  35% { transform: scale(0.98, 1.02); }
  45% { transform: scale(1.02, 0.98); }
  70%, 100% { transform: scale(1, 1); }
}
@media screen and (max-width: 768px) {
  .characteristics--big { padding: 16rem var(--page-margin) 10rem; gap: 0.5rem; }
  .characteristics--big .big { width: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .characteristics--big .h1 { font-size: 34px; }
  .characteristics--absolute .left-img { width: 100px; left: auto; right: 1rem; top: auto; bottom: 1.5rem; }
  .characteristics--absolute .right-img { display: none; }
  .characteristics--absolute .info-card { width: 210px; padding: 1rem; right: auto; left: 1rem; top: 1.5rem; rotate: var(--rot, -6deg); }
  .characteristics--absolute .info-card .h3 { font-size: 17px; }
  .characteristics--absolute .info-card p { font-size: 13px; line-height: 1.35; }
}

/* ---------- 13. Tarjeta de producto ---------- */
.featured-collection .section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.featured-collection .section-header h2 { width: 45%; min-width: 480px; }
.product-item { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--espresso); background: var(--marfil); }
.product-card { padding: 1rem; display: flex; justify-content: space-between; flex-direction: column; gap: 1rem; height: 100%; }
.product-card > a { color: var(--espresso); text-decoration: none; }
.product-card--media {
  --mx: 0;
  --my: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  width: 100%;
  background: var(--tile, var(--nude));
  transform: perspective(900px) rotateX(calc(var(--my) * -9deg)) rotateY(calc(var(--mx) * 11deg));
  transition: rotate 0.6s var(--curve), scale 0.6s var(--curve);
  will-change: transform;
  backface-visibility: hidden;
}
.product-card--media img { object-fit: contain !important; padding: 9%; translate: calc(var(--mx) * -3%) calc(var(--my) * -3%); transition: scale 0.6s var(--curve); }
.product-card > a:hover .product-card--media { rotate: -4deg; scale: 1.03; }
.product-card > a:hover .product-card--media img { scale: 1.08; }
.product-card .tag { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; background: var(--espresso); color: var(--marfil); font-family: var(--font-display); letter-spacing: 0.12em; font-size: 12px; padding: 0.45rem 0.75rem; border-radius: 99px; text-transform: uppercase; }
.product-card h3 { margin: 1rem 0 0.25rem; line-height: 1.15; }
.product-card .line { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.product-card .separator { display: inline-block; width: 4px; height: 4px; background-color: var(--espresso); border-radius: 4px; }
.product-card .meta, .product-card .infos { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.product-card .infos .price { font-weight: 600; font-size: 18px; }
.product-card .infos s { opacity: 0.55; font-size: 15px; }
.product-card .btns { margin-top: 0.5rem; display: flex; gap: 0.5rem; align-items: stretch; }
.product-card .atc { flex-grow: 1; }
.product-card .atc .button { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; }
.product-card .atc .button > button { width: 100%; text-align: center; font-size: 15px; }

.Quantity_Selector_Inputs { display: flex; gap: 0.5rem; align-items: stretch; }
.Quantity_Selector_Inputs input { display: none; }
.Quantity_Selector_Minus, .Quantity_Selector_Plus {
  width: 56px;
  height: 56px;
  background-color: var(--espresso);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--marfil);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.8rem;
  font-family: var(--font-body);
  font-weight: 300;
  transition: background-color 0.6s var(--curve);
}
.Quantity_Selector_Minus:hover { background-color: var(--espresso-tint); }
.Quantity_Selector_Plus { background-color: var(--champagne); color: var(--espresso); }
.Quantity_Selector_Plus:hover { background-color: var(--champagne-tint); }
@media screen and (max-width: 768px) {
  .featured-collection .section-header { flex-direction: column; align-items: flex-start; }
  .featured-collection .section-header h2 { width: 100%; min-width: 0; }
  .Quantity_Selector_Minus, .Quantity_Selector_Plus { width: 48px; height: 48px; }
}

/* ---------- 14. Imagen que se expande con el scroll (sección fijada) ---------- */
.scroll-image-section { overflow: hidden; height: var(--full-height); padding: 4rem; position: relative; isolation: isolate; }
.scroll-image-section .relative { width: 100%; height: 100%; position: relative; }
.scroll-image-frame {
  --progress: 0;
  position: absolute;
  padding: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 25%;
  min-width: 360px;
  height: 60%;
  min-height: 540px;
  will-change: width, height;
  backface-visibility: hidden;
  justify-content: center;
  align-items: center;
  color: var(--marfil);
}
.scroll-image {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 50vw;
  height: calc(var(--full-height) * 0.8);
  filter: blur(calc(var(--progress) * 12px)) brightness(calc(1 - var(--progress) * 0.35));
  will-change: width, height, filter;
}
.scroll-image img { scale: 1.05; }
/* Velo oscuro progresivo para que el texto se lea sobre cualquier foto */
.scroll-image::after { content: ""; position: absolute; inset: 0; background: var(--espresso); opacity: calc(var(--progress, 0) * 0.45); }
.scroll-image-frame .scroll-image::after { opacity: calc(var(--progress, 0) * 0.45); }
.scroll-image-content { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }
.scroll-image-content > .inner { width: 60%; min-width: 920px; max-width: 100%; justify-content: center; align-items: center; text-align: center; gap: 1.5rem; }
.scroll-image-content h2 { opacity: calc(var(--progress, 0) * 4); }
.scroll-image-content p { opacity: calc(-1 + var(--progress, 0) * 4); max-width: 62ch; }
.scroll-image-content .cta-button { opacity: calc(-2 + var(--progress, 0) * 4); }
.scroll-image-content .cta-button + .cta-button { opacity: calc(-3 + var(--progress, 0) * 4); }
.scroll-image-section .background-image {
  position: absolute;
  inset: 0;
  scale: 1.05;
  z-index: -1;
  filter: blur(calc(var(--progress) * 12px));
  will-change: filter;
}
@media screen and (max-width: 768px) {
  .scroll-image-section { height: 100lvh; padding: 1rem var(--page-margin); }
  .scroll-image-section .background-image { scale: 1; }
  .scroll-image-section .relative { height: calc(100svh - 2rem); }
  .scroll-image-frame { width: 70%; min-width: 0; height: 55%; min-height: 0; padding: 1.5rem var(--page-margin); }
  .scroll-image { width: 80vw; height: 60svh; }
  .scroll-image-content { flex-shrink: 0; }
  .scroll-image-content > .inner { width: calc(100vw - var(--page-margin) * 4); min-width: 0; gap: 1rem; }
  .scroll-image-content h2 { font-size: 30px; line-height: 1.1; }
  .scroll-image-content p { font-size: 14px; line-height: 1.45; }
  .scroll-image-frame .flex-row { flex-direction: column; gap: 0.75rem; align-items: stretch; }
  .scroll-image-frame .cta-button .button { width: 100%; text-align: center; }
}

/* ---------- 15. Testimonios (marquesina) ---------- */
.testimonials-header { width: 50%; min-width: 720px; max-width: 100%; margin-bottom: 1rem; padding-top: 5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.testimonials-header .note { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.testimonials-section { padding-bottom: 4rem; }
.testimonials-scroller { overflow-x: hidden; }
.testimonials-inner { display: flex; align-items: stretch; flex-wrap: nowrap; width: max-content; gap: 1rem; padding: 1rem 0; animation: marquee-scroll 60s linear infinite; }
.testimonials-scroller:hover .testimonials-inner { animation-play-state: paused; }
.testimonial {
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-radius: var(--radius);
  background-color: var(--nude);
  color: var(--espresso);
  width: 24vw;
  padding: 2rem;
  min-height: 20vw;
}
.testimonial:nth-child(3n + 2) { background-color: var(--champagne); }
.testimonial:nth-child(3n) { background-color: var(--espresso); color: var(--marfil); }
.testimonial .stars { letter-spacing: 0.35em; font-size: 18px; }
.testimonial p { font-family: var(--font-display); font-size: 20px; line-height: 1.35; }
.testimonial h3 { font-family: var(--font-body); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
@media screen and (max-width: 768px) {
  .testimonials-header { min-width: 0; width: 100%; }
  .testimonial { width: 80vw; min-height: 80vw; }
  .testimonials-inner { animation-duration: 45s; }
}

/* ---------- 16. Newsletter ---------- */
.newsletter-signup-section { padding: 5rem 12%; position: relative; min-height: 50svh; overflow-x: clip; display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.newsletter-header { text-align: center; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.newsletter-header p { max-width: 52ch; }
.newsletter-form-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
.newsletter-form-wrap form { width: 80%; }
.newsletter-form { display: flex; gap: 0.5rem; width: 100%; }
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0 1.25rem;
  height: 60px;
  border: 2px solid var(--espresso);
  border-radius: var(--radius);
  background: transparent;
  outline: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--espresso);
}
.newsletter-form input[type="email"]::placeholder { color: var(--espresso); opacity: 0.5; }
.newsletter-form input[type="email"]:focus { border-color: var(--bronce); }
.newsletter-form .button { height: 60px; display: flex; align-items: center; }
.newsletter-success { font-size: 15px; opacity: 0.8; min-height: 1em; }
.newsletter-signup-section .sparkles { position: absolute; inset: 2rem; pointer-events: none; color: var(--bronce); }
.newsletter-signup-section .sparkle { position: absolute; top: 22%; left: 4%; translate: -50% -50%; scale: calc(1 + var(--rnd, 0.5) * 1.5); }
.newsletter-signup-section .sparkle:nth-child(2) { top: 80%; left: 8%; scale: calc(0.6 + var(--rnd, 0.5) * 0.8); }
.newsletter-signup-section .sparkle:nth-child(3) { top: 6%; left: 64%; scale: calc(0.5 + var(--rnd, 0.5) * 0.6); }
.newsletter-signup-section .sparkle:nth-child(4) { top: 30%; left: 95%; scale: calc(0.8 + var(--rnd, 0.5) * 1.2); }
.newsletter-signup-section .sparkle:nth-child(5) { top: 88%; left: 91%; }
@media screen and (max-width: 768px) {
  .newsletter-signup-section { padding: 3rem var(--page-margin); min-height: 0; }
  .newsletter-signup-section .sparkles { inset: 0.75rem; }
  .newsletter-signup-section .sparkle:nth-child(2), .newsletter-signup-section .sparkle:nth-child(3) { display: none; }
  .newsletter-form-wrap form { width: 100%; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .button { justify-content: center; }
}

/* ---------- 17. Redes ---------- */
.socials-section .grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.socials-image { width: 100%; aspect-ratio: 3 / 4; rotate: calc(var(--rnd, 0.5) * 8deg - 4deg); border-radius: var(--radius); overflow: hidden; background: var(--nude); transition: rotate 0.8s var(--curve); }
.socials-image:hover { rotate: 0deg; }
.socials-image.is-product img { object-fit: contain; padding: 12%; }
.socials-section h2 a { position: relative; display: inline-block; color: var(--espresso); text-decoration: none; padding: 0 0.3em; isolation: isolate; }
.socials-section h2 a::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 2rem; background-color: var(--champagne); transition: width 0.6s var(--curve); width: 100%; }
.socials-section h2 a:hover::before { width: 80%; }
@media screen and (max-width: 768px) {
  .socials-section .grid--4 { grid-template-columns: 1fr 1fr; }
}

/* ---------- 18. Pie de página ---------- */
.site-footer {
  margin-top: calc(var(--radius) * -1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: var(--espresso);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--marfil);
  font-size: 17px;
  z-index: 3;
}
.site-footer .top { z-index: 2; position: relative; padding-bottom: 5rem; padding-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.footer-col-2 { grid-column: span 2; }
.footer-col-3 { grid-column: span 3; }
.footer-col-4 { grid-column: span 4; }
.footer-title { margin-bottom: 1.5rem; color: var(--champagne); font-size: 20px; letter-spacing: 0.12em; }
.footer-logo { width: 64px; margin-bottom: 1.5rem; }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.site-footer a { text-decoration: none; color: var(--marfil); font-weight: 500; transition: color 0.4s var(--curve); }
.site-footer a:hover { color: var(--champagne); }
.site-footer p { font-size: 16px; opacity: 0.85; }
.newsletter-fields { display: flex; gap: 0.5rem; width: 100%; }
.newsletter-fields input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  outline: none;
  min-width: 0;
}
.newsletter-fields input[type="email"]::placeholder { opacity: 0.7; color: inherit; }
.newsletter-btn { padding: 0.75rem 1.25rem; border-radius: var(--radius); background-color: var(--champagne); color: var(--espresso); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; white-space: nowrap; transition: background-color 0.3s var(--curve); }
.newsletter-btn:hover { background-color: var(--champagne-tint); }
.footer-big-text { z-index: 2; position: relative; width: 100%; overflow: hidden; font-family: var(--font-display); line-height: 0.8; white-space: nowrap; text-align: center; user-select: none; }
.footer-big-text span {
  display: inline-block;
  font-size: 16vw;
  padding-top: 0.08em;
  letter-spacing: 0.12em;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-footer .bottom { z-index: 2; position: relative; padding: 1rem 0 1.25rem; margin-top: 1rem; display: grid; grid-template-columns: 1fr 2fr 1fr; font-size: 14px; }
.footer__copyright { display: flex; justify-content: flex-start; }
.footer-policies { display: flex; justify-content: center; }
.footer-credits { display: flex; justify-content: flex-end; text-align: right; }
@media screen and (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-col-2, .footer-col-3, .footer-col-4 { grid-column: auto; }
  .site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 12px; }
  .newsletter-fields { flex-wrap: wrap; }
}

/* ---------- 19. Página de tienda (colección) ---------- */
.collection-header { padding-top: 8rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.collection-header .h1 { max-width: 9ch; }
.collection-header p { max-width: 46ch; }
.collection-nav { flex-wrap: wrap; justify-content: flex-end; }
.col-button .button { --bgc: transparent; --blob: var(--espresso); --fg-hover: var(--marfil); box-shadow: inset 0 0 0 2px var(--espresso); }
.col-button.current .button::after { scale: 1.05; }
.col-button.current .button > .inner { color: var(--marfil); }
.collection-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 3rem 0 5rem; }
.collection-products .product-item { transition: opacity 0.5s var(--curve), translate 0.6s var(--curve); }
.collection-products .product-item.is-hidden { display: none; }
.collection-count { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
@media screen and (max-width: 1024px) { .collection-products { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 768px) {
  .collection-header { flex-direction: column; align-items: flex-start; padding-top: 7rem; }
  .collection-nav { justify-content: flex-start; }
  .collection-products { grid-template-columns: 1fr; }
}

/* ---------- 20. Página de producto ---------- */
.product-page { padding-top: 7rem; padding-bottom: 4rem; }
.product-page .breadcrumbs { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; margin-bottom: 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.product-page .breadcrumbs a { text-decoration: none; }
.product-page .breadcrumbs a:hover { text-decoration: underline; }
.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: start; }
.Product--media { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; position: sticky; top: 6.5rem; }
.Product--navigation-scroller { display: flex; flex-direction: column; gap: 0.75rem; overflow-y: auto; scrollbar-width: none; }
.Product--navigation-scroller::-webkit-scrollbar { display: none; }
.Product--thumbnail { aspect-ratio: 1; border-radius: calc(var(--radius) * 0.75); background: var(--tile, var(--nude)); padding: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.4s var(--curve); flex-shrink: 0; }
.Product--thumbnail.Active { border-color: var(--espresso); }
.Product--thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.Product--media-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; aspect-ratio: 1; background: var(--tile, var(--nude)); }
.Product--media-main::-webkit-scrollbar { display: none; }
.Product--image { flex: 0 0 100%; scroll-snap-align: start; display: grid; place-items: center; padding: 8%; }
.Product--image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(48, 40, 36, 0.18)); }
.Product--image.is-editorial { padding: 0; }
.Product--image.is-editorial img { object-fit: cover; filter: none; }
.Product--info { display: flex; flex-direction: column; gap: 1.5rem; }
.Product--info .vendor { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; }
.Product--info .h2 { line-height: 1.08; }
.Product--price { display: flex; align-items: baseline; gap: 0.75rem; font-size: 26px; font-weight: 500; }
.Product--price s { font-size: 18px; opacity: 0.5; font-weight: 400; }
.Product--price .save { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--champagne); padding: 0.35rem 0.6rem; border-radius: 99px; }
.Product--benefits { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.Product--benefits li { display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.4; }
.Product--benefits li::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 0.4em; background: var(--metal); clip-path: url(#sparkle-clip); scale: 1.6; }
.Product--buy { display: flex; gap: 0.5rem; align-items: stretch; }
.Product--buy .button { flex: 1; display: flex; }
.Product--buy .button > button { width: 100%; text-align: center; }
.Product--trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.Product--trust .item { border: 1.5px solid var(--nude); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; line-height: 1.35; }
.Product--trust .item strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 400; font-size: 13px; }
.Accordion { border-top: 1.5px solid var(--espresso); }
.Accordion--tab-trigger { border-bottom: 1.5px solid var(--espresso); padding: 1.1rem 0; cursor: pointer; overflow: hidden; }
.Accordion--tab-trigger .title { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 16px; }
.Accordion--tab-trigger .title::after { content: "+"; font-size: 22px; transition: rotate 0.6s var(--curve); }
.Accordion--tab-trigger:has(.Open) .title::after { rotate: 45deg; }
.Accordion--tab { max-height: 0; transition: max-height 0.5s var(--curve); }
.Accordion--tab.Open { max-height: var(--height, 1000px); }
.Accordion--tab-content { padding-top: 1rem; }
.Accordion--tab-content p, .Accordion--tab-content li { font-size: 16px; line-height: 1.5; }
.Accordion--tab-content ul { padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--nude); vertical-align: top; }
.spec-table td:first-child { opacity: 0.7; width: 42%; padding-right: 1rem; }
.Related_Products_Section { padding-top: 2rem; }
@media screen and (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
  .Product--media { grid-template-columns: 1fr; position: static; }
  .Product--navigation-scroller { flex-direction: row; order: 2; }
  .Product--thumbnail { width: 72px; }
  .Product--trust { grid-template-columns: 1fr; }
}

/* ---------- 21. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  translate: -50% 140%;
  z-index: 1001;
  background: var(--espresso);
  color: var(--marfil);
  padding: 0.9rem 1.4rem;
  border-radius: 99px;
  font-size: 15px;
  transition: translate 0.6s var(--curve);
}
.toast.show { translate: -50% 0; }

/* ---------- 22. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .small-inner, .testimonials-inner, .mouse-follow .blob, .sparkle svg, .product-cta .badge { animation: none !important; }
  .drip-canvas { display: none; }
}
