/* ============================================================
   27ABRAZOS — theme.css
   Design system portado del prototipo (rediseño 2026).
   Fuente de verdad: data/design/tokens.css + reference/home.html
   + reference/shop.html.
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --bg: #FAFAF7;
  --bg-2: #F2EFE8;
  --bg-3: #E8E4DA;
  --ink: #0F0F0F;
  --ink-2: #1F1F1F;
  --ink-soft: #6B6B6B;
  --ink-mute: #A8A8A8;
  --hairline: #E5E2D8;
  --hairline-strong: #C9C5BA;

  --turquoise: #3EB5A8;
  --turquoise-deep: #1F8478;
  --turquoise-light: #B8E0DA;
  --turquoise-paper: #E8F3F0;
  --turquoise-glow: rgba(62, 181, 168, 0.15);
  --ruby: #C44536;

  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  /* Versión páginas interiores */
  --pad-x: clamp(1.5rem, 4vw, 4rem);
  --max: 1480px;

  --ease-1: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== RESET / BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (max-width: 880px) { body { cursor: auto; } }
@media (hover: none) { body { cursor: auto; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; border: none; background: none; color: inherit; }
@media (max-width: 880px) { button { cursor: pointer; } }
ul, ol { list-style: none; }

::selection { background: var(--turquoise); color: var(--ink); }

/* ===== TIPOGRAFÍA / UTILIDADES DE TIPO ===== */
em.it, .it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--turquoise-deep);
}
h1, h2, h3, .display {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
h1 em, h2 em, h3 em, .display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--turquoise-deep);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--turquoise); border-radius: 50%; flex-shrink: 0; }
.eyebrow.tq { color: var(--turquoise-deep); }
.accent-line {
  display: inline-block;
  width: 30px; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(255,255,255,0.5);
}
.pill .dot {
  width: 6px; height: 6px;
  background: var(--turquoise);
  border-radius: 50%;
}

/* ===== HELPERS (container / grid / hairline) ===== */
.container, .abz-container {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  width: 100%;
}
.abz-layout {
  display: grid;
  /* minmax(0,1fr) y no 1fr: 1fr equivale a minmax(auto,1fr) y su mínimo
     min-content impide que la columna baje de su contenido, de modo que
     los carruseles horizontales (.drag-track con 27 tarjetas) expanden la
     columna y desbordan el ancho de toda la página en lugar de hacer scroll
     interno. minmax(0,1fr) fija el mínimo a 0 y la columna respeta el viewport. */
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
/* Refuerzo: el item del grid (content-wrapper) debe poder encogerse. */
.abz-content { min-width: 0; }
.abz-layout:has(> #left-column:not(:empty)) {
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 0 var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.abz-layout:has(> #right-column:not(:empty)) {
  grid-template-columns: minmax(0, 1fr) 280px;
  padding: 0 var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 880px) {
  .abz-layout:has(> #left-column:not(:empty)),
  .abz-layout:has(> #right-column:not(:empty)) { grid-template-columns: 1fr; padding: 0; }
}
.hairline { border: none; border-top: 1px solid var(--hairline); }
.hairline-strong { border: none; border-top: 1px solid var(--hairline-strong); }
#left-column:empty, #right-column:empty { display: none; }

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.3s, transform 0.5s var(--ease-1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--turquoise);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-1);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn svg { transition: transform 0.4s var(--ease-1); width: 14px; height: 10px; }
.btn:hover svg { transform: translateX(4px); }
.btn.outline {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn.outline:hover { color: var(--bg); }
.btn.tq { background: var(--turquoise); color: var(--ink); }
.btn.tq::before { background: var(--ink); }
.btn.tq:hover { color: var(--bg); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--turquoise);
  color: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s var(--ease-1);
}
.btn-cta:hover { background: var(--turquoise-light); transform: translateY(-2px); }
.btn-cta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}
.link-arrow:hover { color: var(--turquoise-deep); border-color: var(--turquoise-deep); }

/* ===== TOP PROMO BAR ===== */
.top-promo {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 9px var(--pad-x);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}
.top-promo .track {
  display: inline-flex;
  gap: 4rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.top-promo .track span::before {
  content: "✦";
  color: var(--turquoise-light);
  margin-right: 1rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== HEADER (sticky glass) ===== */
header.top {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.5s var(--ease-1), backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
  background: var(--bg);
}
header.top.scrolled {
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(15, 15, 15, 0.06);
}

nav.main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--pad-x);
  gap: 2rem;
}
nav.main .links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--ink-2);
}
nav.main .links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
nav.main .links a .chev {
  width: 8px; height: 8px;
  transition: transform 0.4s var(--ease-1);
}
nav.main .links a[data-mega][aria-expanded="true"] .chev { transform: rotate(180deg); }
nav.main .links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--turquoise);
  transition: width 0.4s var(--ease-1);
}
nav.main .links a:hover { color: var(--turquoise-deep); }
nav.main .links a:hover::after { width: 100%; }
nav.main .links a.active { color: var(--turquoise-deep); }

/* ===== LOGO TIPOGRÁFICO ===== */
.brand {
  text-align: center;
  line-height: 1;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.32em;
  color: var(--ink);
  text-transform: uppercase;
  padding-left: 0.32em;
  transition: letter-spacing 0.4s var(--ease-1);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
}
.brand:hover { letter-spacing: 0.42em; }
.brand .num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1em;
}
.brand .word { display: inline-block; }

/* ===== ICONOS HEADER ===== */
nav.main .icons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}
nav.main .icons a,
nav.main .icons button {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
  position: relative;
  color: var(--ink-2);
}
nav.main .icons a:hover,
nav.main .icons button:hover { color: var(--turquoise-deep); }
nav.main .icons .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--turquoise);
  border-radius: 50%;
}
nav.main .icons svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}
nav.main .icons .cart-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--turquoise-deep);
  letter-spacing: 0;
}

.menu-toggle { display: none; cursor: pointer; color: var(--ink); }
.menu-toggle:hover { color: var(--turquoise-deep); }
@media (max-width: 880px) {
  nav.main { padding: 16px var(--pad-x); }
  nav.main .links { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
  .menu-toggle .bars { display: flex; flex-direction: column; gap: 3px; }
  .menu-toggle .bars span { display: block; width: 18px; height: 1.5px; background: currentColor; }
  nav.main .icons .label-hide { display: none; }
  nav.main .icons { gap: 0.9rem; }
}

/* ===== MEGAMENÚ ===== */
.mega {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(2rem, 3.5vw, 3rem) var(--pad-x);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-1), transform 0.5s var(--ease-1), visibility 0.4s;
  z-index: 99;
}
.mega.open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }
.mega-tienda {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.15fr;
  gap: 2rem;
}
.mega-col { display: flex; flex-direction: column; }
.mega-col .visual {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 1rem;
  position: relative;
}
.mega-col .visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-1);
}
.mega-col:hover .visual img { transform: scale(1.06); }
.mega-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  line-height: 1.2;
}
.mega-col h4 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
  margin-top: 4px;
}
.mega-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.mega-col ul a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.3s, padding-left 0.3s var(--ease-1);
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 0;
}
.mega-col ul a::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--turquoise-deep);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease-1);
  font-size: 11px;
}
.mega-col ul a:hover { color: var(--turquoise-deep); padding-left: 16px; }
.mega-col ul a:hover::before { opacity: 1; transform: translateX(0); }
.mega-feature {
  background: var(--turquoise-paper);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(62, 181, 168, 0.2);
}
.mega-feature .visual {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
  background: var(--bg);
}
.mega-feature .visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease-1);
}
.mega-feature:hover .visual img { transform: scale(1.05); }
.mega-feature .label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--turquoise-deep); font-weight: 600; margin-bottom: 0.6rem;
}
.mega-feature h5 {
  font-family: var(--sans); font-weight: 300; font-size: 1.6rem;
  line-height: 1; letter-spacing: -0.025em; margin-bottom: 0.6rem;
  color: var(--ink);
}
.mega-feature h5 em {
  font-family: var(--serif); font-style: italic; color: var(--turquoise-deep); font-weight: 400;
}
.mega-feature p {
  font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-bottom: 1rem; flex: 1;
}
.mega-feature .feature-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  align-self: flex-start; transition: color 0.3s, border-color 0.3s;
}
.mega-feature .feature-cta:hover { color: var(--turquoise-deep); border-color: var(--turquoise-deep); }

.mega-abrazos {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
}
.mega-abrazos-head {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: end;
  padding-bottom: 1rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--hairline);
}
.mega-abrazos-head h4 {
  font-family: var(--sans); font-size: 1.6rem; font-weight: 300;
  letter-spacing: -0.02em; color: var(--ink);
}
.mega-abrazos-head h4 em { font-family: var(--serif); font-style: italic; color: var(--turquoise-deep); font-weight: 400; }
.abrazos-grid-mega {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; align-content: start;
}
.abrazo-link-mega {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  font-size: 12px; color: var(--ink-2);
  transition: background 0.3s, color 0.3s, padding-left 0.3s var(--ease-1);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
  border-radius: 2px; position: relative;
}
.abrazo-link-mega .num {
  font-family: var(--serif); font-style: italic; font-size: 12px;
  color: var(--ink-mute); font-weight: 400; letter-spacing: 0;
  width: 22px; flex-shrink: 0; text-transform: none;
  transition: color 0.3s;
}
.abrazo-link-mega:hover { background: var(--turquoise-paper); color: var(--turquoise-deep); padding-left: 16px; }
.abrazo-link-mega:hover .num { color: var(--turquoise); }
.abrazo-link-mega.special { color: var(--turquoise-deep); font-weight: 600; }
.abrazo-link-mega.special::after {
  content: "✦"; margin-left: auto; font-size: 10px; color: var(--turquoise);
}
@media (max-width: 980px) { .mega { display: none; } }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 18px var(--pad-x);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--ink-soft); transition: color 0.3s; }
.breadcrumbs a:hover { color: var(--turquoise-deep); }
.breadcrumbs .sep { color: var(--ink-mute); }
.breadcrumbs .here { color: var(--ink); }

/* ===== PAGE INTRO ===== */
.page-intro {
  padding: clamp(3rem, 7vw, 6rem) var(--pad-x) clamp(2.5rem, 5vw, 4rem);
  max-width: 1100px;
}
.page-intro .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-intro .top .count {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
}
.page-intro .top .count strong {
  font-family: var(--sans);
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
  margin-right: 4px;
}
.page-intro h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
  margin-bottom: 2rem;
  color: var(--ink);
}
.page-intro h1 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--turquoise-deep);
  font-weight: 400;
}
.page-intro .lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  max-width: 60ch;
  color: var(--ink-2);
}
.page-intro .lede em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--turquoise-deep);
}

/* ===== SECTION BASE ===== */
.section {
  padding: clamp(3.5rem, 7vw, 7rem) var(--pad-x);
  position: relative;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 18ch;
}
.section-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--turquoise-deep);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.section-head .right {
  text-align: right;
  max-width: 36ch;
}
.section-head .right p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.section-head a.link-arrow { margin-top: 14px; }

/* ===== MARQUEE ===== */
.marquee {
  background: var(--bg-2);
  color: var(--ink-2);
  overflow: hidden;
  padding: 13px 0;
  border-block: 1px solid var(--hairline);
}
.marquee-track {
  display: flex;
  gap: 2.4rem;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-track span {
  font-size: 12px; font-weight: 400; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 2.4rem;
}
.marquee-track span em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--turquoise-deep); font-size: 1.15em; margin: 0 0.05em;
}
.marquee-track span::after {
  content: "·"; color: var(--turquoise); font-size: 1.6em; line-height: 0;
  margin-left: 2.4rem; transform: translateY(-1px); display: inline-block;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== PRODUCT CARD ===== */
.products { padding-bottom: clamp(3rem, 6vw, 6rem); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.4rem) clamp(1rem, 2vw, 2rem);
}
.product-card {
  cursor: none;
  position: relative;
  transition: transform 0.6s var(--ease-1);
}
@media (max-width: 880px) { .product-card { cursor: pointer; } }
.product-card .img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 14px;
}
.product-card .img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.6s var(--ease-1), transform 1s var(--ease-1);
}
.product-card .img-wrap img.alt { opacity: 0; }
.product-card:hover .img-wrap img.main { opacity: 0; }
.product-card:hover .img-wrap img.alt { opacity: 1; transform: scale(1.04); }
.product-card .img-wrap img.main:only-child { opacity: 1; }
.product-card:hover .img-wrap img.main:only-child { opacity: 1; transform: scale(1.04); }

.product-card .quick {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  background: var(--bg);
  padding: 12px 14px;
  transform: translateY(calc(100% + 12px));
  transition: transform 0.5s var(--ease-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 3;
  border-radius: 999px;
}
.product-card:hover .quick { transform: translateY(0); }
.product-card .quick:hover { background: var(--turquoise); }

.product-card .tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--bg);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.product-card .tag.tq { background: var(--turquoise); color: var(--ink); }

.product-card h4 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.product-card h4 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--turquoise-deep);
}
.product-card .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--ink-soft);
}
.product-card .meta-row .price { color: var(--ink); font-weight: 500; }
.product-card .abrazo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
  font-weight: 500;
}
.product-card .abrazo-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--turquoise);
  border-radius: 50%;
}
@media (max-width: 880px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== DRAG CAROUSEL (genérico) ===== */
[data-drag-track] {
  display: flex;
  gap: 8px;
  padding: 4px 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
[data-drag-track]::-webkit-scrollbar { display: none; }
[data-drag-track].dragging { cursor: grabbing; scroll-snap-type: none; }

/* ===== NEWSLETTER (sección) ===== */
.news {
  padding: clamp(4rem, 7vw, 6rem) var(--pad-x);
  background: var(--turquoise-paper);
  text-align: center;
}
.news .ey { margin-bottom: 1.5rem; }
.news h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0 auto 1.5rem;
}
.news h2 em {
  font-family: var(--serif); font-style: italic;
  color: var(--turquoise-deep); font-weight: 400;
}
.news p {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}
.news form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}
.news input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.news input::placeholder { color: var(--ink-mute); }
.news button {
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease-1);
}
.news button:hover { gap: 14px; }
.news button svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.news .small {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
}

/* Newsletter inline (variante footer/home) */
.news-inline {
  display: flex;
  gap: 0;
  max-width: 420px;
  border-bottom: 1px solid rgba(250,250,247,0.4);
}
.news-inline input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 0;
  font: inherit;
  font-size: 14px;
  color: var(--bg);
  outline: none;
}
.news-inline input::placeholder { color: rgba(250,250,247,0.45); }
.news-inline button {
  background: transparent;
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease-1);
}
.news-inline button:hover { gap: 14px; color: var(--turquoise-light); }

/* ===== FOOTER ===== */
footer.foot {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) 2rem;
}
footer.foot .top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250,250,247,0.18);
  margin-bottom: 2rem;
}
@media (max-width: 720px) {
  footer.foot .top { grid-template-columns: 1fr 1fr; }
}
footer.foot .brand-block .word {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.32em;
  margin-bottom: 1rem;
  display: block;
  text-transform: uppercase;
}
footer.foot .brand-block .tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--turquoise-light);
  font-size: 18px;
  margin-bottom: 1.2rem;
}
footer.foot .brand-block p {
  font-size: 13px;
  color: rgba(250,250,247,0.6);
  line-height: 1.6;
  max-width: 36ch;
}
footer.foot h5 {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.55);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
footer.foot ul { list-style: none; }
footer.foot ul li {
  padding: 4px 0;
  font-size: 13px;
  color: rgba(250,250,247,0.78);
}
footer.foot ul li a { transition: color 0.3s; }
footer.foot ul li a:hover { color: var(--turquoise-light); }
footer.foot .bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(250,250,247,0.45);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 1rem;
}
footer.foot .bottom a { transition: color 0.3s; }
footer.foot .bottom a:hover { color: var(--turquoise-light); }
/* Módulos nativos enganchados a displayFooter heredan el tono */
footer.foot .foot-modules { padding-bottom: 2rem; }
footer.foot .foot-modules a { color: rgba(250,250,247,0.78); font-size: 13px; }
footer.foot .foot-modules a:hover { color: var(--turquoise-light); }
footer.foot .foot-modules h2,
footer.foot .foot-modules .h3,
footer.foot .foot-modules p.h3 {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.55);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
footer.foot .foot-modules:empty { display: none; }

/* ===== CURSOR PERSONALIZADO ===== */
.cursor-dot, .cursor-blob {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  transition: transform 0.1s ease, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
  background: white;
}
.cursor-blob {
  width: 36px; height: 36px;
  border: 1px solid var(--turquoise);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-1), width 0.5s var(--ease-1), height 0.5s var(--ease-1), background 0.5s, border-color 0.4s;
}
body.hover-link .cursor-blob {
  width: 60px; height: 60px;
  background: var(--turquoise-glow);
  border-color: var(--turquoise);
}
body.hover-link .cursor-dot {
  transform: translate(-50%, -50%) scale(0);
}
@media (max-width: 880px) {
  .cursor-dot, .cursor-blob { display: none; }
}
@media (hover: none) {
  .cursor-dot, .cursor-blob { display: none; }
}

/* ===== FADE-UP ===== */
/* El estado oculto SOLO se aplica cuando el JS ha marcado <html class="abz-anim">.
   Si el JS falla o tarda, el contenido es visible por defecto (nunca desaparece). */
.fade-up {
  transition: opacity 1s var(--ease-1), transform 1s var(--ease-1);
}
.abz-anim .fade-up {
  opacity: 0;
  transform: translateY(40px);
}
.abz-anim .fade-up.in,
.abz-anim .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .abz-anim .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ===== DRAWER MÓVIL ===== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(4px) saturate(1.2);
  -webkit-backdrop-filter: blur(4px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-1), visibility 0.4s;
  z-index: 200;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(420px, 90vw);
  background: var(--bg);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.45s var(--ease-1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 4px 0 40px rgba(15, 15, 15, 0.12);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
  flex-shrink: 0;
}
.drawer-head .brand-mini {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}
.drawer-head .brand-mini .num { font-weight: 600; margin-right: 2px; }
.drawer-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  cursor: pointer;
  color: var(--ink);
}
.drawer-close:hover {
  background: var(--turquoise-paper);
  border-color: var(--turquoise);
  transform: rotate(90deg);
}
.drawer-close svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer-nav > li {
  border-bottom: 1px solid var(--hairline);
}
.drawer-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s, background 0.3s;
  font-family: inherit;
}
.drawer-item:hover, .drawer-item:focus-visible {
  color: var(--turquoise-deep);
  background: var(--turquoise-paper);
  outline: none;
}
.drawer-item em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  color: var(--turquoise-deep);
  margin-left: 6px;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 15px;
}
.drawer-item .chev {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease-1);
  flex-shrink: 0;
  margin-left: 12px;
  color: var(--ink-mute);
}
.drawer-item[aria-expanded="true"] .chev {
  transform: rotate(180deg);
  color: var(--turquoise);
}
.drawer-item .arrow-go {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mute);
  margin-left: 12px;
  transition: color 0.3s, transform 0.3s;
}
.drawer-item:hover .arrow-go {
  color: var(--turquoise-deep);
  transform: translateX(4px);
}
.drawer-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-1);
  background: var(--bg-2);
}
.drawer-sub.open { max-height: 2400px; }
.drawer-subgroup {
  padding: 1.2rem 24px 1.2rem;
  border-bottom: 1px solid var(--hairline);
}
.drawer-subgroup:last-child { border-bottom: none; }
.drawer-subgroup h5 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--turquoise-deep);
  font-weight: 400;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.drawer-subgroup ul { list-style: none; padding: 0; margin: 0; }
.drawer-subgroup ul li a {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: color 0.3s, padding-left 0.3s var(--ease-1);
}
.drawer-subgroup ul li a:hover,
.drawer-subgroup ul li a:focus-visible {
  color: var(--turquoise-deep);
  padding-left: 12px;
  outline: none;
}
.drawer-abrazos {
  list-style: none;
  padding: 0.4rem 0;
  margin: 0;
}
.drawer-abrazos li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 24px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, padding-left 0.3s var(--ease-1);
}
.drawer-abrazos li a .num {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  color: var(--ink-mute);
  font-size: 13px;
  width: 24px;
  flex-shrink: 0;
  letter-spacing: 0;
  transition: color 0.3s;
}
.drawer-abrazos li a:hover {
  background: var(--turquoise-paper);
  color: var(--turquoise-deep);
  padding-left: 32px;
}
.drawer-abrazos li a:hover .num { color: var(--turquoise); }
.drawer-abrazos li a.special {
  color: var(--turquoise-deep);
  font-weight: 600;
}
.drawer-abrazos li a.special::after {
  content: "✦";
  margin-left: auto;
  font-size: 11px;
  color: var(--turquoise);
}
.drawer-foot {
  border-top: 1px solid var(--hairline);
  padding: 1.4rem 1.5rem 2rem;
  flex-shrink: 0;
  background: var(--bg-2);
}
.drawer-icons {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.drawer-icon-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  text-align: center;
}
.drawer-icon-btn:hover {
  background: var(--turquoise-paper);
  color: var(--turquoise-deep);
  border-color: var(--turquoise);
}
.drawer-icon-btn svg {
  width: 17px; height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.drawer-tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--turquoise-deep);
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.drawer-foot .desc {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.drawer-social {
  display: flex;
  gap: 1.2rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.drawer-social a {
  color: var(--ink-soft);
  transition: color 0.3s;
}
.drawer-social a:hover { color: var(--turquoise-deep); }
body.drawer-open {
  overflow: hidden;
  touch-action: none;
}
@media (min-width: 881px) {
  .drawer, .drawer-backdrop { display: none !important; }
}

/* ===== FORMULARIOS (inputs underline estilo prototipo) ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-strong);
  border-radius: 0;
  padding: 12px 0;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-bottom-color: var(--turquoise-deep);
}
input::placeholder, textarea::placeholder { color: var(--ink-mute); }
label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
input[type="checkbox"], input[type="radio"] {
  width: auto;
  accent-color: var(--turquoise-deep);
  -webkit-appearance: auto;
  appearance: auto;
}
.form-control-comment { font-size: 12px; color: var(--ink-mute); }

/* ===== NOTIFICACIONES / ALERTS PS ===== */
#notifications { padding: 0 var(--pad-x); }
#notifications .notifications-container { max-width: var(--max); margin: 0 auto; padding: 0; }
.alert {
  margin: 1.2rem 0;
  padding: 14px 18px;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-2);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 3px solid var(--ink-mute);
}
.alert ul { list-style: none; margin: 0; padding: 0; }
.alert-success {
  background: var(--turquoise-paper);
  border-color: rgba(62, 181, 168, 0.35);
  border-left-color: var(--turquoise-deep);
  color: var(--turquoise-deep);
}
.alert-danger {
  background: #FBEFED;
  border-color: rgba(196, 69, 54, 0.3);
  border-left-color: var(--ruby);
  color: var(--ruby);
}
.alert-warning {
  background: var(--bg-2);
  border-left-color: var(--hairline-strong);
  color: var(--ink-2);
}
.alert-info {
  background: var(--turquoise-paper);
  border-left-color: var(--turquoise);
  color: var(--ink-2);
}

/* ===== PÁGINA 404 ===== */
.abz-404 .page-intro { padding-bottom: clamp(4rem, 8vw, 7rem); }
.abz-404 .actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.abz-404 .search-widget { max-width: 460px; margin-top: 2.5rem; }

/* ===== WRAPPER / CONTENIDO GENÉRICO ===== */
#wrapper { min-height: 40vh; }
.page-home { padding: 0; }
#main .page-header h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  margin: clamp(2rem, 4vw, 3.5rem) var(--pad-x) 1.5rem;
}
#main .page-content,
#main .page-footer { padding: 0 var(--pad-x) 2rem; }
.abz-hidden-hook { display: none !important; }

/* ===== UTILIDADES DE VISIBILIDAD (fallbacks classic) ===== */
/* Los partials de classic (líneas de pedido, etc.) usan estas clases
   de Bootstrap 4 alpha; se replican para que no se dupliquen bloques. */
@media (max-width: 543px) { .hidden-xs-down { display: none !important; } }
@media (max-width: 767px) { .hidden-sm-down { display: none !important; } }
@media (max-width: 991px) { .hidden-md-down { display: none !important; } }
@media (max-width: 1199px) { .hidden-lg-down { display: none !important; } }
@media (min-width: 544px) { .hidden-sm-up { display: none !important; } }
@media (min-width: 768px) { .hidden-md-up { display: none !important; } }
@media (min-width: 992px) { .hidden-lg-up { display: none !important; } }
/* La fuente Material Icons de classic no se carga en este tema:
   se ocultan para evitar glifos rotos en plantillas heredadas. */
.material-icons { display: none !important; }

/* ===== ACCOUNT ===== */
/* Tarjetas de autenticación (login / registro / contraseña) */
.auth-page { padding: clamp(3rem, 7vw, 6rem) var(--pad-x) clamp(4rem, 8vw, 7rem); }
.auth-wrap { max-width: 480px; margin: 0 auto; }
.auth-head { margin-bottom: 2rem; }
.auth-head .eyebrow { margin-bottom: 1.2rem; }
.auth-head h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 0.95;
  margin: 1rem 0 1rem;
}
.auth-head .sub {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 42ch;
}
.auth-card {
  border: 1px solid var(--hairline);
  background: var(--bg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.auth-fields .form-group { margin-bottom: 1.4rem; }
.auth-fields .form-group:last-child { margin-bottom: 0; }
.abz-label { margin-bottom: 2px; }
.abz-label .optional {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  font-weight: 400;
}
.abz-label.required::after { content: " *"; color: var(--turquoise-deep); }
.abz-password { position: relative; display: flex; align-items: center; }
.abz-password input { padding-right: 64px; }
.abz-show-pass {
  position: absolute;
  right: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.3s;
}
.abz-show-pass:hover { color: var(--turquoise-deep); }
.abz-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.abz-check input { margin-top: 3px; flex-shrink: 0; }
.abz-check .abz-check-label {
  font-size: 13px;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 400;
  line-height: 1.5;
}
.abz-radio-row { display: flex; gap: 1.6rem; flex-wrap: wrap; padding: 8px 0; }
.abz-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--ink-2);
  cursor: pointer;
  margin: 0;
}
.abz-birthday { display: flex; gap: 12px; }
.abz-field select.form-control-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='1.6'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 14px;
  padding-right: 24px;
}
.form-footer { margin-top: 2rem; }
.form-footer .btn { width: 100%; justify-content: center; }
.forgot-password { margin-top: 0.9rem; }
.forgot-password a,
.auth-alt a,
.account-link {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.forgot-password a:hover,
.auth-alt a:hover,
.account-link:hover { color: var(--turquoise-deep); border-color: var(--turquoise-deep); }
.account-link.danger:hover { color: var(--ruby); border-color: var(--ruby); }
.auth-alt {
  margin-top: 1.6rem;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.auth-success { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.abz-form-errors { margin: 1rem 0 1.4rem; }
.abz-form-errors ul,
.help-block ul { list-style: none; margin: 0; padding: 0; }
.abz-form-errors li,
.help-block li {
  font-size: 13px;
  color: var(--ruby);
  background: #FBEFED;
  border-left: 2px solid var(--ruby);
  padding: 10px 14px;
  margin-bottom: 6px;
}
.has-error input, .has-error select, .has-error textarea { border-bottom-color: var(--ruby); }

/* Shell de páginas de cuenta */
.account-page { padding: clamp(3rem, 6vw, 5rem) var(--pad-x) clamp(3rem, 6vw, 5rem); }
.account-shell { max-width: 1100px; margin: 0 auto; }
.account-head { margin-bottom: 2.5rem; }
.account-head .eyebrow { margin-bottom: 1.2rem; }
.account-head h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin: 1rem 0 1.2rem;
}
.account-sub {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 52ch;
}
.account-foot {
  padding: 0 var(--pad-x) clamp(3rem, 6vw, 5rem);
  max-width: calc(1100px + 2 * var(--pad-x));
  margin: 0 auto;
}
.account-links { display: flex; gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--hairline); padding-top: 1.6rem; }

/* Dashboard: grid de tarjetas hairline */
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 980px) { .account-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .account-grid { grid-template-columns: 1fr; } }
.account-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  background: var(--bg);
  padding: 1.6rem 1.6rem 1.4rem;
  transition: transform 0.4s var(--ease-1), border-color 0.4s;
}
.account-card:hover { transform: translateY(-3px); border-color: var(--turquoise); }
.account-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--turquoise);
  margin-bottom: 1.4rem;
}
.account-card .link-item { display: flex; flex-direction: column; gap: 6px; }
.account-card .link-item svg {
  width: 22px; height: 22px;
  stroke: var(--ink);
  fill: none;
  margin-bottom: 0.6rem;
}
.account-card .link-item strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.account-card .link-item small {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
/* Módulos enganchados a displayCustomerAccount (markup de classic) */
.account-grid > a:not(.account-card) {
  border: 1px solid var(--hairline);
  background: var(--bg);
  padding: 1.6rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  transition: transform 0.4s var(--ease-1), border-color 0.4s;
}
.account-grid > a:not(.account-card):hover { transform: translateY(-3px); border-color: var(--turquoise); }

/* Tablas editoriales (sin zebra, hairlines) */
.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.account-table thead th {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: left;
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--hairline-strong);
}
.account-table tbody td,
.account-table tbody th {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: middle;
  color: var(--ink-2);
  font-weight: 400;
}
.account-table tbody th.ref { font-weight: 500; color: var(--ink); }
.account-table .price { font-weight: 500; color: var(--ink); }
.account-table .order-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: baseline; border-bottom: none; }
.account-table tr:last-child td, .account-table tr:last-child th { border-bottom: none; }
.orders-table tbody tr { transition: background 0.3s; }
.orders-table tbody tr:hover { background: rgba(232, 243, 240, 0.4); }

/* Estados como píldoras */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  white-space: nowrap;
}
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
/* Píldoras de classic (fallbacks) — se neutraliza el fondo de color */
.account-page .label-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}

/* Historial — tarjetas móvil */
.orders-table { display: table; }
.order-cards { display: none; }
@media (max-width: 880px) {
  .orders-table { display: none; }
  .order-cards { display: block; }
}
.order-card-line {
  border: 1px solid var(--hairline);
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.order-card-line .ref { font-weight: 500; color: var(--ink); font-size: 15px; }
.order-card-line .date, .order-card-line .total { font-size: 13px; color: var(--ink-soft); margin: 4px 0; }
.order-card-line .total { color: var(--ink); font-weight: 500; }
.order-card-line .status-pill { margin-top: 6px; }
.order-card-line .actions { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-end; justify-content: center; flex-shrink: 0; }

/* Detalle de pedido */
.account-box {
  border: 1px solid var(--hairline);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1rem;
  background: var(--bg);
}
.account-box h3, .order-detail-page .box h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.account-box-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.order-meta { list-style: none; margin: 0; padding: 0; }
.order-meta li { padding: 8px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--hairline); }
.order-meta li:last-child { border-bottom: none; }
.order-meta .lbl {
  display: inline-block;
  min-width: 160px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.order-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 720px) { .order-addresses { grid-template-columns: 1fr; } }
.order-addresses address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
/* Partials heredados de classic dentro del detalle */
.order-detail-page .box {
  border: 1px solid var(--hairline);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1rem;
  background: var(--bg);
}
.account-page table.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: none;
}
.account-page table.table th,
.account-page table.table td {
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 14px 16px 14px 0;
  text-align: left;
  vertical-align: middle;
  background: transparent;
}
.account-page table.table thead th {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline-strong);
}
.account-page table.table tr:last-child td { border-bottom: none; }
.account-page .order-message-form textarea { width: 100%; }

/* Direcciones */
.addresses-grid { margin-bottom: 2rem; }
.address-card .alias {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--turquoise-deep);
  margin-bottom: 0.8rem;
}
.address-card address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 1.2rem;
}
.address-card .address-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 1.4rem;
}
.address-card:hover { transform: none; }

/* Formularios anchos de cuenta (dirección / datos personales) */
.account-form-wrap { max-width: 640px; }
.account-form-wrap .form-footer .btn { width: auto; }

/* ===== CMS ===== */
.page-cms { padding: clamp(3rem, 7vw, 6rem) var(--pad-x) clamp(4rem, 8vw, 7rem); }
.cms-shell { max-width: 72ch; margin: 0 auto; }
.cms-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); padding-bottom: 2rem; border-bottom: 1px solid var(--hairline); }
.cms-head .eyebrow { margin-bottom: 1.4rem; }
.cms-head h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 0.95;
  margin: 1rem 0 1rem;
}
.cms-head .lede { font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.cms-body { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.cms-body h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.2rem;
  color: var(--ink);
}
.cms-body h2 em { font-family: var(--serif); font-style: italic; color: var(--turquoise-deep); font-weight: 400; }
.cms-body h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.8rem;
  color: var(--ink);
}
.cms-body p { margin-bottom: 1.2rem; }
.cms-body p em, .cms-body li em { font-family: var(--serif); font-style: italic; color: var(--turquoise-deep); }
.cms-body a { border-bottom: 1px solid var(--hairline-strong); padding-bottom: 1px; transition: color 0.3s, border-color 0.3s; }
.cms-body a:hover { color: var(--turquoise-deep); border-color: var(--turquoise-deep); }
.cms-body ul, .cms-body ol { margin: 0 0 1.6rem; }
.cms-body ul li, .cms-body ol li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15.5px;
}
.cms-body ul li:first-child, .cms-body ol li:first-child { border-top: 1px solid var(--hairline); }
.cms-body ol { counter-reset: cms-ol; }
.cms-body ol li { counter-increment: cms-ol; display: flex; gap: 14px; }
.cms-body ol li::before {
  content: counter(cms-ol, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  color: var(--turquoise);
  flex-shrink: 0;
}
.cms-body dl { margin: 0 0 1.6rem; border-top: 1px solid var(--hairline); }
.cms-body dl div { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
@media (max-width: 600px) { .cms-body dl div { grid-template-columns: 1fr; gap: 2px; } }
.cms-body dt {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: 4px;
}
.cms-body dd { margin: 0; font-size: 15.5px; }
.cms-body blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--turquoise-deep);
  border-left: 2px solid var(--turquoise);
  padding-left: 1.4rem;
  margin: 2rem 0;
}
.cms-body .cms-note {
  background: var(--turquoise-paper);
  border-left: 2px solid var(--turquoise);
  padding: 1rem 1.4rem;
  font-size: 14.5px;
  margin: 1.6rem 0;
}

/* ===== CONTACT ===== */
.page-contact { padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: 0 var(--pad-x);
  max-width: 1100px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  border: 1px solid var(--hairline);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg);
}
.contact-form .form-footer .btn { width: auto; }
.form-control-file { font-size: 13px; color: var(--ink-soft); padding: 10px 0; border-bottom: 1px solid var(--hairline-strong); width: 100%; }
.contact-aside { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-block .lbl {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.contact-list li:first-child { border-top: 1px solid var(--hairline); }
.contact-list li span { color: var(--ink-soft); font-size: 12.5px; }
.contact-list a { font-weight: 500; transition: color 0.3s; }
.contact-list a:hover { color: var(--turquoise-deep); }
.contact-store { padding: 1.4rem 0; border-top: 1px solid var(--hairline); }
.contact-store .num { display: block; font-size: 13px; color: var(--turquoise); margin-bottom: 0.5rem; }
.contact-store h4 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 0.3rem; }
.contact-store h4 em { font-family: var(--serif); font-style: italic; color: var(--turquoise-deep); font-weight: 400; }
.contact-store .desc {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 0.9rem;
}
.contact-store address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-bottom: 0.9rem; }
.contact-store .hours {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 0.8rem 1rem;
  background: var(--bg-2);
  border-left: 2px solid var(--hairline);
  margin-bottom: 1rem;
}
.contact-store .hours .hlbl {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 4px;
}

/* ===== RESPONSIVE GENERAL ===== */
@media (max-width: 720px) {
  .section-head .right { text-align: left; }
}

/* ===== CATALOG ===== */
/* Listado: intro */
.abz-listing .listing-intro { padding-bottom: clamp(2rem, 4vw, 3rem); }
.abz-listing .listing-intro .lede p { margin-bottom: 0.6em; }
.abz-listing .listing-intro .lede p:last-child { margin-bottom: 0; }

/* Listado: contenedor + toolbar */
.listing-products {
  padding: 0 var(--pad-x) clamp(3.5rem, 7vw, 7rem);
  max-width: var(--max);
  margin: 0 auto;
}
.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 14px 0;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.listing-toolbar .toolbar-range {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
}
.listing-toolbar .toolbar-sort {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  position: relative;
}
.listing-toolbar .toolbar-sort label {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
.listing-toolbar .abz-sort-select {
  width: auto;
  border-bottom: 1px solid var(--hairline-strong);
  padding: 4px 26px 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
}
.listing-toolbar .toolbar-sort svg {
  position: absolute;
  right: 2px; bottom: 12px;
  width: 10px; height: 7px;
  color: var(--ink-soft);
  pointer-events: none;
}

/* Grid: 4 col desktop ancho, 3 col portátil, 2 móvil (base en .product-grid) */
@media (max-width: 1280px) and (min-width: 881px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
.product-grid .js-product { min-width: 0; }
.product-grid .product-card { display: block; }
.product-card .img-wrap { display: block; }
.product-card .product-title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.product-card .product-title em,
.product-card .product-title .it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--turquoise-deep);
}
.product-card .meta-row .regular-price {
  text-decoration: line-through;
  color: var(--ink-mute);
  font-weight: 400;
  margin-right: 6px;
}
.product-card .meta-row .sold-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.product-card .quick span { color: var(--turquoise-deep); }

/* Paginación */
.abz-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
}
.abz-pagination .page-summary {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
}
.abz-pagination .page-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.abz-pagination .page-list a,
.abz-pagination .page-list .spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.abz-pagination .page-list a:hover { border-color: var(--hairline-strong); color: var(--turquoise-deep); }
.abz-pagination .page-list li.current a {
  border-color: var(--ink);
  color: var(--ink);
  pointer-events: none;
}
.abz-pagination .page-list a.arrow {
  font-size: 15px;
  border-color: var(--hairline);
}
.abz-pagination .page-list a.arrow:hover { border-color: var(--turquoise); background: var(--turquoise-paper); }
.abz-pagination .page-list a.disabled { opacity: 0.35; pointer-events: none; }
.abz-pagination .spacer { color: var(--ink-mute); }

/* Estado vacío editorial */
.listing-empty {
  max-width: 620px;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.listing-empty h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin: 1.2rem 0 1.2rem;
}
.listing-empty p,
.listing-empty .empty-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 52ch;
}
.category-additional { padding-top: 0; }

/* ===== PRODUCT ===== */
.abz-product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  padding: clamp(2rem, 4.5vw, 4rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 880px) {
  .abz-product { grid-template-columns: 1fr; gap: 2rem; }
}

/* Galería */
.abz-product-gallery .product-cover {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-2);
}
.abz-product-gallery .product-cover img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.abz-product-gallery .product-images {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.abz-product-gallery .thumb-container {
  width: clamp(64px, 7vw, 84px);
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-2);
  flex-shrink: 0;
}
.abz-product-gallery .thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border-bottom: 2px solid transparent;
  transition: opacity 0.3s, border-color 0.3s;
}
.abz-product-gallery .thumb:hover { opacity: 1; }
.abz-product-gallery .thumb.selected,
.abz-product-gallery .thumb.js-thumb-selected {
  opacity: 1;
  border-bottom-color: var(--turquoise);
}

/* Columna info sticky */
.abz-product-sticky { position: sticky; top: 120px; }
@media (max-width: 880px) { .abz-product-sticky { position: static; } }

.abz-product-info .eyebrow { margin-bottom: 1.2rem; }
.abz-product-info .eyebrow .it { font-size: 14px; letter-spacing: 0; text-transform: none; }
.abz-product-info h1.product-name {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 0.98;
  margin-bottom: 1.2rem;
}
.abz-product-info .product-flags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 0.8rem;
}
.abz-product-info .product-flags:empty { display: none; }
.abz-product-info .product-flag {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.abz-product-info .product-flag.discount,
.abz-product-info .product-flag.on-sale { border-color: var(--turquoise); color: var(--turquoise-deep); }

/* Precio */
.product-prices { margin-bottom: 1.4rem; }
.product-prices .current-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.product-prices .current-price-value {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.product-prices .regular-price {
  font-size: 1.1rem;
  color: var(--ink-mute);
  text-decoration: line-through;
}
.product-prices .discount {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ruby);
}
.product-prices .tax-shipping-delivery-label {
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.product-prices .delivery-information { margin-left: 8px; color: var(--ink-soft); }

/* Descripción corta */
.abz-short-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 1.6rem;
}
.abz-short-desc p { margin-bottom: 0.6em; }
.abz-short-desc em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--turquoise-deep);
}

/* Variantes: píldoras */
.product-variants-item { margin-bottom: 1.4rem; }
.product-variants-item .control-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.product-variants-item .control-label .selected-value {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 6px;
}
.abz-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.abz-pill-opt { display: block; margin: 0; }
.abz-pill-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; height: 0;
}
.abz-pill-opt .pill-face {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s var(--ease-1);
  user-select: none;
}
@media (min-width: 881px) { .abz-pill-opt .pill-face { cursor: none; } }
.abz-pill-opt:hover .pill-face {
  border-color: var(--turquoise);
  color: var(--turquoise-deep);
}
.abz-pill-opt input:checked + .pill-face {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.abz-pill-opt input:focus-visible + .pill-face {
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}
.abz-pill-opt .pill-swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(15,15,15,0.15);
  background-size: cover;
  flex-shrink: 0;
}

/* Cantidad + añadir */
.product-add-to-cart { margin: 1.6rem 0 0.6rem; }
.product-quantity {
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.product-quantity .qty { width: 86px; flex-shrink: 0; }
.product-quantity .qty-label { margin-bottom: 2px; }
.product-quantity .qty input#quantity_wanted {
  width: 100%;
  text-align: left;
  font-size: 16px;
  padding: 11px 0;
  -moz-appearance: textfield;
}
.product-quantity .qty input::-webkit-outer-spin-button,
.product-quantity .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* TouchSpin (lo inyecta core.js): versión mínima, botones +/- discretos */
.product-quantity .bootstrap-touchspin {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--hairline-strong);
}
.product-quantity .bootstrap-touchspin input#quantity_wanted { border-bottom: none; }
.product-quantity .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-quantity .btn-touchspin {
  padding: 0 6px;
  font-size: 13px;
  line-height: 1.1;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  transition: color 0.3s;
}
.product-quantity .btn-touchspin:hover { color: var(--turquoise-deep); }
.product-quantity .add { flex: 1; min-width: 220px; }
.product-quantity .add .btn {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
}
.product-quantity .add .btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

/* Disponibilidad */
.product-availability { margin-top: 0.9rem; }
.product-availability .availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.product-availability .availability .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  flex-shrink: 0;
}
.product-availability .availability.last-items .dot { background: #D9A441; }
.product-availability .availability.unavailable .dot { background: var(--ruby); }
.product-minimal-quantity { font-size: 12px; color: var(--ink-mute); margin-top: 6px; }
.product-minimal-quantity:empty { display: none; }

/* Banda pieza vendida (portfolio) */
.sold-band {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 1.4rem;
}
.sold-band .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ruby);
  flex-shrink: 0;
}
.sold-cta {
  border-top: 1px solid var(--hairline);
  padding-top: 1.4rem;
  margin: 1.4rem 0 1.8rem;
}
.sold-cta p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: 1.1rem;
}

/* Personalización (inputs underline) */
.product-customization { margin: 0 0 1.6rem; }
.customization-card {
  border: 1px solid var(--hairline);
  padding: 1.4rem;
  background: rgba(255,255,255,0.4);
}
.customization-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--turquoise-deep);
  margin-bottom: 4px;
}
.customization-hint { font-size: 12px; color: var(--ink-soft); margin-bottom: 1.1rem; }
.product-customization-item { margin-bottom: 1rem; }
.product-customization-item textarea { resize: vertical; min-height: 48px; }
.customization-message { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.custom-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-soft); }
.save-customization { margin-top: 0.4rem; background: transparent; }

/* Accordion hairline */
.abz-accordion { margin-top: 2rem; border-top: 1px solid var(--hairline); }
.abz-acc-item { border-bottom: 1px solid var(--hairline); }
.abz-acc-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s;
}
@media (min-width: 881px) { .abz-acc-item summary { cursor: none; } }
.abz-acc-item summary::-webkit-details-marker { display: none; }
.abz-acc-item summary:hover { color: var(--turquoise-deep); }
.abz-acc-item .acc-icon {
  position: relative;
  width: 12px; height: 12px;
  flex-shrink: 0;
}
.abz-acc-item .acc-icon::before,
.abz-acc-item .acc-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease-1);
}
.abz-acc-item .acc-icon::before { left: 0; top: 5px; width: 12px; height: 1.5px; }
.abz-acc-item .acc-icon::after { left: 5px; top: 0; width: 1.5px; height: 12px; }
.abz-acc-item[open] .acc-icon::after { transform: rotate(90deg); }
.abz-acc-item .acc-body {
  padding: 0 0 1.4rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
}
.abz-acc-item .acc-body p { margin-bottom: 0.7em; }
.abz-acc-item .acc-body .acc-ref { font-size: 12px; color: var(--ink-mute); margin-top: 0.8em; }

/* La piedra escondida */
.piedra-block {
  margin-top: 2rem;
  padding: 1.6rem;
  background: var(--turquoise-paper);
  border: 1px solid rgba(62, 181, 168, 0.2);
}
.piedra-block h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.05;
  margin: 0.9rem 0 0.8rem;
}
.piedra-block p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.piedra-block p.small {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--turquoise-deep);
  font-size: 14px;
}

/* Pack */
.product-pack { margin: 1.4rem 0; }
.product-pack .pack-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

/* Descuentos por volumen */
.product-discounts:empty { display: none; }
.product-discounts { margin: 1rem 0; font-size: 13px; }
.product-discounts .table-product-discounts { width: 100%; border-collapse: collapse; }
.product-discounts th, .product-discounts td {
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--hairline);
  font-weight: 400;
}
.product-discounts th { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

/* Info adicional / reaseguro */
.product-additional-info:empty { display: none; }
.product-additional-info { margin-top: 1rem; font-size: 13px; color: var(--ink-soft); }

/* Cross-sells "Combínalo con" */
.product-accessories {
  border-top: 1px solid var(--hairline);
  max-width: var(--max);
  margin: 0 auto;
}
.product-accessories .section-head { margin-bottom: clamp(1.5rem, 3.5vw, 3rem); }
.accessories-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1280px) and (min-width: 881px) { .accessories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) { .accessories-grid { grid-template-columns: repeat(2, 1fr); } }

/* Cabecera de categoría de abrazo: número grande junto al nombre */
.page-intro h1 .cat-num {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink-mute);
  letter-spacing: -0.02em;
  margin-right: 0.08em;
}
