/* ==========================================================================
   TECHY LLATAS AVENDAÑO — Sistema de Diseño
   Archivo : assets/css/app.css
   Theme   : techy-child (child de Storefront)
   Versión : 4.0 — Refactor limpio. Todos los patches integrados en sección.
   PHASE 1 CSS INVENTORY (no funcional):
   - base/tokens: secciones 1-3.
   - layout: header, wrappers, fullbleed, responsive global.
   - components: botones .btn, brand cards, info cards, mobile nav.
   - pages: home hero, stats, marcas, about, footer.
   - contact: bloque legacy .t-contact / .contact-* pendiente de normalizar.
   - brand overrides: nav/header/footer/logo por data-brand y .header--*.
   - legacy/probable legacy: contacto home y toggle de catalogo suelto.
   - fixes: bloque CONTROLLED FIXES al final; no mover sin validar cascada.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {

  /* --- Paleta cromática --- */
  --ink:          #0c0c0c;
  --carbon:       #1a1a1a;
  --graphite:     #3a3a3a;
  --smoke:        #6b6b6b;
  --mist:         #9d9d9d;
  --line:         #e2e2e2;
  --surface-1:    #f7f7f6;
  --surface-0:    #fbfbfa;
  --white:        #ffffff;

  /* Dorado champagne */
  --gold:         #c5a97e;
  --gold-soft:    #dfc9a0;
  --gold-deep:    #a08550;

  /* Colores de marca — usados en nav, cards, strip */
  --lashes:       #b59b5f;
  --lperu:        #009DDA;
  --medical:      #D8852B;
  --loquay:       #E4007D;

  /* --- Tipografía --- */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Escala tipográfica fluid */
  --fs-2xs:  clamp(9px,  0.85vw,  11px);
  --fs-xs:   clamp(11px, 0.9vw,   12px);
  --fs-sm:   clamp(12px, 1vw,     13px);
  --fs-base: clamp(14px, 1.1vw,   15px);
  --fs-md:   clamp(15px, 1.3vw,   17px);
  --fs-lg:   clamp(20px, 2vw,     26px);
  --fs-xl:   clamp(28px, 3.2vw,   42px);
  --fs-2xl:  clamp(36px, 4.2vw,   56px);
  --fs-3xl:  clamp(44px, 5.6vw,   74px);
  --fs-4xl:  clamp(52px, 7vw,     96px);

  /* --- Espaciado modular (× base 8px) --- */
  --sp-1:   8px;
  --sp-2:   16px;
  --sp-3:   24px;
  --sp-4:   32px;
  --sp-6:   48px;
  --sp-8:   64px;
  --sp-12:  96px;
  --sp-16:  128px;

  /* --- Radios --- */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   40px;
  --r-2xl:  72px;
  --r-pill: 9999px;

  /* --- Sombras --- */
  --shadow-1: 0 1px 4px  rgba(0,0,0,.04);
  --shadow-2: 0 4px 12px rgba(0,0,0,.06);
  --shadow-3: 0 8px 24px rgba(0,0,0,.08);
  --shadow-4: 0 16px 48px rgba(0,0,0,.10);
  --shadow-5: 0 32px 80px rgba(0,0,0,.13);
  --shadow-gold: 0 12px 36px rgba(197,169,126,.30);

  /* --- Transiciones --- */
  --ease:    cubic-bezier(.165,.84,.44,1);
  --ease-in: cubic-bezier(.4,0,1,1);
  --t1:  .18s;
  --t2:  .32s;
  --t3:  .56s;

  /* --- Layout --- */
  --max-w:    1400px;
  --pad-x:    60px;
  --pad-x-md: 40px;
  --pad-x-sm: 20px;

  --tc-header-height: 68px;
  --tc-adminbar-height: 0px;
  --tc-subnav-height: 42px;
  --tc-header-sticky-top: 0px;
  --tc-subnav-fixed-top: var(--tc-header-height);
  --tc-anchor-offset: calc(var(--tc-subnav-fixed-top) + var(--tc-subnav-height) + 18px);

}


/* --------------------------------------------------------------------------
   2. RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--tc-anchor-offset);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.admin-bar {
  --tc-adminbar-height: 32px;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--carbon);
  background-color: var(--surface-0);
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

@media (max-width: 782px) {
  body.admin-bar {
    --tc-adminbar-height: 46px;
  }
}

@media (max-width: 640px) {
  :root {
    --tc-header-height: 64px;
    --tc-subnav-height: 40px;
    --tc-subnav-fixed-top: var(--tc-adminbar-height);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Suprimir elementos de Storefront que no usamos */
.site-header,
.storefront-handheld-footer-bar,
.woocommerce-store-notice { display: none !important; }

/* Evitar que Storefront cree scroll container en wrappers de contenido */
.site-content,
.entry-content,
.page-content { overflow: visible !important; }

/* Todos los iconos FA — centrado universal */
.fas, .far, .fab, .fal, .fad,
[class*="fa-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   3. UTILIDADES GLOBALES
   -------------------------------------------------------------------------- */

.t-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.t-eyebrow {
  display: inline-block;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Fullbleed — rompe el contenedor de Storefront */
.t-fullbleed {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.t-gold { color: var(--gold); }


/* --------------------------------------------------------------------------
   4. SISTEMA DE BOTONES
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--r-pill);
  line-height: 1;
  transition:
    background    var(--t2) var(--ease),
    color         var(--t2) var(--ease),
    border-color  var(--t2) var(--ease),
    transform     var(--t2) var(--ease),
    box-shadow    var(--t2) var(--ease);
}

.btn i, .btn svg {
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Sólido */
.btn-solid {
  padding: 14px 36px;
  background: var(--carbon);
  color: var(--white);
  border: 1.5px solid var(--carbon);
  box-shadow: var(--shadow-2);
}
.btn-solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Outline */
.btn-outline {
  padding: 13px 34px;
  background: transparent;
  color: var(--carbon);
  border: 1.5px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--carbon);
  background: var(--carbon);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

/* Ghost claro — sobre fondos oscuros */
.btn-ghost-light {
  padding: 13px 34px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  border: 1.5px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.40);
  transform: translateY(-2px);
}

/* Compacto para cards */
.btn-card {
  padding: 10px 22px;
  font-size: 9px;
  letter-spacing: .15em;
}

/* Variante dorado */
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4b. BRAND SUBNAV
   -------------------------------------------------------------------------- */
.brand-subnav {
  --brand-subnav-bg: rgba(251,251,250,.88);
  --brand-subnav-fg: var(--carbon);
  --brand-subnav-muted: var(--smoke);
  --brand-subnav-line: rgba(0,0,0,.08);
  --brand-subnav-accent: var(--gold);
  --brand-subnav-active-bg: rgba(197,169,126,.12);
  --brand-subnav-shadow: 0 12px 32px rgba(0,0,0,.08);

  position: fixed;
  top: var(--tc-subnav-fixed-top);
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
  background: var(--brand-subnav-bg);
  border-bottom: 1px solid var(--brand-subnav-line);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition:
    background-color var(--t2) var(--ease),
    border-color var(--t2) var(--ease),
    box-shadow var(--t2) var(--ease);
}

.tc-brand-subnav-spacer {
  height: var(--tc-subnav-height);
  flex: 0 0 auto;
}

.brand-subnav.is-stuck,
.brand-subnav.has-scrolled {
  box-shadow: var(--brand-subnav-shadow);
}

.brand-subnav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--pad-x);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.brand-subnav__inner::-webkit-scrollbar {
  display: none;
}

.brand-subnav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  color: var(--brand-subnav-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  scroll-snap-align: center;
  transition:
    background var(--t2) var(--ease),
    border-color var(--t2) var(--ease),
    color var(--t2) var(--ease),
    box-shadow var(--t2) var(--ease),
    transform var(--t2) var(--ease);
}

.brand-subnav__link:hover,
.brand-subnav__link:focus-visible,
.brand-subnav__link.is-current {
  border-color: var(--brand-subnav-accent);
  background: var(--brand-subnav-active-bg);
  color: var(--brand-subnav-fg);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0,0,0,.08);
}

.brand-subnav__link:focus-visible {
  outline: 2px solid var(--brand-subnav-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .brand-subnav,
  .brand-subnav__link {
    transition: none;
  }

  .brand-subnav__link:hover,
  .brand-subnav__link:focus-visible,
  .brand-subnav__link.is-current {
    transform: none;
  }
}

.brand-subnav--imperio-medical {
  --brand-subnav-bg: rgba(13,8,5,.9);
  --brand-subnav-fg: #fff7ef;
  --brand-subnav-muted: rgba(255,247,239,.64);
  --brand-subnav-line: rgba(216,133,43,.24);
  --brand-subnav-accent: #D8852B;
  --brand-subnav-active-bg: rgba(216,133,43,.16);
  --brand-subnav-shadow: 0 14px 34px rgba(13,8,5,.28);
}

.brand-subnav--lash-peru {
  --brand-subnav-bg: rgba(250,253,255,.9);
  --brand-subnav-fg: #04141f;
  --brand-subnav-muted: rgba(4,20,31,.62);
  --brand-subnav-line: rgba(0,157,218,.18);
  --brand-subnav-accent: #009DDA;
  --brand-subnav-active-bg: rgba(0,157,218,.12);
  --brand-subnav-shadow: 0 14px 34px rgba(0,94,130,.12);
}

.brand-subnav--imperio-lashes {
  --brand-subnav-bg: rgba(10,8,5,.9);
  --brand-subnav-fg: #faf8f5;
  --brand-subnav-muted: rgba(250,248,245,.62);
  --brand-subnav-line: rgba(197,169,126,.24);
  --brand-subnav-accent: #c5a97e;
  --brand-subnav-active-bg: rgba(197,169,126,.14);
  --brand-subnav-shadow: 0 14px 34px rgba(0,0,0,.34);
}

.brand-subnav--loquay-peru {
  --brand-subnav-bg: rgba(255,255,255,.92);
  --brand-subnav-fg: #0b0b0d;
  --brand-subnav-muted: rgba(11,11,13,.58);
  --brand-subnav-line: rgba(11,11,13,.12);
  --brand-subnav-accent: #0b0b0d;
  --brand-subnav-active-bg: rgba(11,11,13,.08);
  --brand-subnav-shadow: 0 14px 32px rgba(0,0,0,.10);
}

.brand-subnav ~ :where(section[id], header[id], .lp-retail[id], .tc-catalog-body[id]),
body[class*="brand-"] :where(section[id], header[id], .lp-retail[id], .tc-catalog-body[id]) {
  scroll-margin-top: var(--tc-anchor-offset);
}


/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */

.t-header {
  position: sticky;
  top: var(--tc-header-sticky-top);
  z-index: 1000;
  width: 100%;
  background: rgba(251,251,250,.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t2) ease;
  overflow: visible; /* Permite que el ghost logo salga del bounding box */
}

.t-header.is-scrolled { box-shadow: var(--shadow-2); }

.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: calc(var(--pad-x) + 12px); /* ~72px — más generoso */
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

/* ── Logo zona ── */
.header-logo a {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  transition: opacity var(--t2) ease;
}
.header-logo a:hover { opacity: .65; }

.logo-first-name {
  font-weight: 800;
  color: var(--ink);
}
.logo-last-name {
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 55%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(197,169,126,.25));
}

/* Logo imagen de marca:
   !important en height/max-height porque Storefront aplica
   img { height: auto !important } que sobreescribe atributos HTML. */
.header-brand-img {
  display:           block;
  height:            46px  !important;
  max-height:        46px  !important;
  width:             auto;
  max-width:         200px;
  object-fit:        contain;
  object-position:   left center;
  flex-shrink:       0;
}

/* Loquay — wordmark horizontal (ratio ~4:1).
   Altura moderada + más ancho, para que el texto sea legible
   sin dominar sobre los logos badge de las demás marcas. */
.header--loquay-peru .header-brand-img {
  height:    30px !important;
  max-height:30px !important;
  max-width: 210px;
}

/* Breadcrumb ← Imperio */
.header-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color var(--t2) ease;
  margin-top: 4px;
}
.header-back:hover { color: var(--gold); }
.header-back i { font-size: 10px; }

/* ── Nav marcas ── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-brand {
  position: relative;
  padding: 6px 18px;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color var(--t2) ease;
  overflow: visible;
}

/* Subrayado deslizante */
.nav-brand::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t2) var(--ease);
}

.nav-brand:hover { color: var(--carbon); }
.nav-brand:hover::after { transform: scaleX(1); }

/* Acentos de hover y estado activo — slugs reales de brands.php */
.nav-brand[data-brand="imperio-lashes"]:hover,
.nav-brand[data-brand="imperio-lashes"].nav-brand--active  { color: var(--lashes);  }
.nav-brand[data-brand="lash-peru"]:hover,
.nav-brand[data-brand="lash-peru"].nav-brand--active       { color: var(--lperu);   }
.nav-brand[data-brand="imperio-medical"]:hover,
.nav-brand[data-brand="imperio-medical"].nav-brand--active { color: var(--medical); }
.nav-brand[data-brand="loquay-peru"]:hover,
.nav-brand[data-brand="loquay-peru"].nav-brand--active     { color: var(--loquay);  }

/* Subrayado por marca */
.nav-brand[data-brand="imperio-lashes"]::after  { background: var(--lashes);  }
.nav-brand[data-brand="lash-peru"]::after       { background: var(--lperu);   }
.nav-brand[data-brand="imperio-medical"]::after { background: var(--medical); }
.nav-brand[data-brand="loquay-peru"]::after     { background: var(--loquay);  }

/* Ghost logo — flota desde abajo al hacer hover.
   Anclado en top:50% para salir del stacking context del backdrop-filter.
   z-index positivo evita que quede detrás del blur. */
.nav-brand-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 14px));
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition:
    opacity   var(--t3) var(--ease),
    transform var(--t3) var(--ease);
}
.nav-brand:hover .nav-brand-ghost {
  opacity: .28;
  transform: translate(-50%, -50%);
}

/* Separador */
.nav-sep {
  width: 1px;
  height: 14px;
  background: var(--line);
  flex-shrink: 0;
}

/* ── Acciones ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.header-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--carbon);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  transition: all var(--t2) ease;
}
.header-account:hover {
  background: var(--carbon);
  border-color: var(--carbon);
  color: var(--white);
}
.header-account i { font-size: 12px; line-height: 1; }

/* Hamburger */
.header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.header-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--carbon);
  border-radius: 2px;
  transition: all var(--t2) ease;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(251,251,250,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
}
.mobile-nav.is-open { display: flex; }

.mobile-nav .nav-brand {
  font-size: 20px;
  letter-spacing: .12em;
  padding: 16px 40px;
  color: var(--carbon);
}
.mobile-nav .nav-brand::after { display: none; }

.mobile-nav-close {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 22px;
  color: var(--carbon);
  background: transparent;
  border-radius: var(--r-sm);
  padding: 8px;
  transition: color var(--t2) ease, background var(--t2) ease;
}
.mobile-nav-close:hover {
  color: var(--ink);
  background: rgba(0,0,0,.06);
}


/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.t-hero {
  position: relative;
  min-height: 0; /* Altura determinada por contenido, no forzada */
  background-color: var(--surface-0);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 56%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(197,169,126,.07) 0%, transparent 65%);
}
.hero-bg::after {
  content: 'TLA';
  position: absolute;
  bottom: -6%;
  right: -2%;
  font-family: var(--font);
  font-size: 30vw;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(197,169,126,.048);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-top: 24px;
  padding-bottom: 36px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.hero-visual {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 88%;
  padding-bottom: 88%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,169,126,.09) 0%, rgba(197,169,126,.03) 55%, transparent 70%);
  pointer-events: none;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,.09));
}

.hero-copy {
  flex: 1;
  padding-bottom: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(197,169,126,.07);
  border: 1px solid rgba(197,169,126,.25);
  border-radius: var(--r-pill);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--sp-4);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Hero — Playfair Display, una sola línea, degradado negro→dorado→claro ── */
.t-hero h1 {
  white-space: nowrap;
  line-height: .96;
  margin-bottom: var(--sp-4);
}

.hero-name,
.hero-name-last {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .96;
  background: linear-gradient(110deg, var(--ink) 0%, var(--gold) 48%, #f4e6cb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-name {
  display: inline;
  font-size: clamp(32px, 4.6vw, 70px);
  margin-right: .26em;
}

.hero-name-last {
  display: inline;
  font-size: clamp(32px, 4.6vw, 70px);
  font-weight: 700;
}

.hero-claim {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--graphite);
  letter-spacing: -.01em;
  line-height: 1.4;
  margin-bottom: var(--sp-3);
}

.hero-lead {
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--smoke);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--sp-4);
}
.hero-lead strong { color: var(--carbon); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

/* Social pills expandibles */
.hero-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  max-width: 40px;
  line-height: 1;
  transition:
    max-width var(--t3) var(--ease),
    border-color var(--t2) ease,
    box-shadow var(--t2) ease;
  box-shadow: var(--shadow-1);
}
.social-pill:hover { max-width: 220px; box-shadow: var(--shadow-2); }

.social-pill i {
  font-size: 14px;
  color: var(--carbon);
  min-width: 18px;
  width: 18px;
  height: 18px;
  text-align: center;
  flex-shrink: 0;
  transition: color var(--t2) ease;
}

.social-pill-info {
  display: flex;
  flex-direction: column;
  margin-left: 9px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--t2) ease .12s;
}
.social-pill:hover .social-pill-info { opacity: 1; }

.pill-name {
  font-size: 9px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--carbon); line-height: 1.2;
}
.pill-sub {
  font-size: 8px; font-weight: 400; color: var(--mist); margin-top: 1px; letter-spacing: .03em;
}

/* Colores de red social */
.social-pill.is-wsp:hover   { border-color: #25D366; } .social-pill.is-wsp:hover i   { color: #25D366; }
.social-pill.is-face:hover  { border-color: #1877F2; } .social-pill.is-face:hover i  { color: #1877F2; }
.social-pill.is-insta:hover { border-color: #E1306C; } .social-pill.is-insta:hover i { color: #E1306C; }
.social-pill.is-tiktok:hover{ border-color: #010101; } .social-pill.is-tiktok:hover i{ color: #010101; }


/* --------------------------------------------------------------------------
   7. STATS
   -------------------------------------------------------------------------- */
.t-stats {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 30px var(--sp-4);
  text-align: center;
  position: relative;
}
.stat-cell + .stat-cell::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 36px;
  background: var(--line);
}

.stat-num {
  display: block;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.05em;
  color: var(--gold);
  margin-bottom: 8px;
}
.stat-num sup { font-size: .45em; font-weight: 700; vertical-align: super; letter-spacing: 0; }

.stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--graphite);
  line-height: 1.4;
}


/* --------------------------------------------------------------------------
   8. FRANJA DE MARCAS (STRIP)
   -------------------------------------------------------------------------- */
.t-brands-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--surface-1);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.brands-strip-eyebrow {
  text-align: center;
  margin-bottom: var(--sp-4);
}

.brands-track-mask {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 72px;
  flex-shrink: 0;
  padding: 0 36px;
  animation: scroll-brands 26s linear infinite; /* 38s → 26s: más dinámico */
}

.brand-track-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform var(--t2) var(--ease);
}
.brand-track-item:hover { transform: translateY(-3px); }

/* Sistema de logos en strip — control por altura, ancho libre.
   Cada marca tiene su propio max-width según su aspect ratio.
   Storefront override: !important en height/max-height. */
.brand-track-item img {
  height:    59px  !important;
  max-height:59px  !important;
  width:     auto;
  max-width: 130px;
  object-fit: contain;
}

/* Overrides por marca según ratio real del logo */
.brand-track-item[data-brand="imperio-lashes"] img { max-width: 100px; }
.brand-track-item[data-brand="lash-peru"]      img { max-width: 130px; }
.brand-track-item[data-brand="imperio-medical"] img { max-width: 130px; }

/* Loquay — wordmark puro (~4:1): menos alto, más ancho */
.brand-track-item[data-brand="loquay-peru"] img {
  height:    41px  !important;
  max-height:41px  !important;
  max-width: 160px;
}

.brand-track-name {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color var(--t2) ease;
}
.brand-track-item:hover .brand-track-name { color: var(--carbon); }

.brand-track-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   9. TARJETAS DE MARCA
   -------------------------------------------------------------------------- */

.t-brand-cards {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--sp-16) 0;
  background: var(--surface-0);
}

.brand-cards-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* Header de sección */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--ink);
}

.section-title span {
  display: block;
  font-weight: 300;
  color: var(--smoke);
  letter-spacing: -.02em;
}

/* Grid */
.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Tarjeta base */
.brand-card {
  --card-accent: var(--gold);

  position: relative;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background-color: #1c1c1e;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition:
    transform var(--t2) var(--ease),
    box-shadow var(--t2) var(--ease);
  box-shadow: var(--shadow-3);
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-5);
}

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, .08) 0%,
    rgba(0, 0, 0, .60) 50%,
    rgba(0, 0, 0, .88) 100%
  );
  transition: background var(--t2) ease;
}

.brand-card:hover .card-overlay {
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, .05) 0%,
    rgba(0, 0, 0, .55) 50%,
    rgba(0, 0, 0, .90) 100%
  );
}

.card-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--card-accent);
  opacity: .06;
  transition: opacity var(--t2) ease;
  pointer-events: none;
}

.brand-card:hover .card-tint {
  opacity: .11;
}

/* Colores por marca (slugs cortos usados en brand-cards.php actual) */
.brand-card[data-brand="lashes"] {
  --card-bg: linear-gradient(135deg, #1e1a13 0%, #2e2418 100%);
  --card-accent: var(--lashes);
}

.brand-card[data-brand="lperu"] {
  --card-bg: linear-gradient(135deg, #0b1720 0%, #112535 100%);
  --card-accent: var(--lperu);
}

.brand-card[data-brand="medical"] {
  --card-bg: linear-gradient(135deg, #1f1508 0%, #2e1e0c 100%);
  --card-accent: var(--medical);
}

.brand-card[data-brand="loquay"] {
  --card-bg: linear-gradient(135deg, #200012 0%, #30001e 100%);
  --card-accent: var(--loquay);
}

.brand-card.no-photo {
  background-image: var(--card-bg) !important;
}

.brand-card.no-photo .card-overlay {
  background: transparent;
}

/* Línea de acento inferior */
.card-accent-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  background: var(--card-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t3) var(--ease);
}

.brand-card:hover .card-accent-line {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   LOGO — COMPATIBLE CON EL MARKUP ACTUAL
   -------------------------------------------------------------------------- */

.card-logo {
  position: absolute;
  top: 30px;
  left: 32px;
  z-index: 2;

  display: block;
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 42px;
  object-fit: contain;

  filter: brightness(0) invert(1);
  opacity: .9;

  transition:
    opacity var(--t2) ease,
    transform var(--t2) ease;
}

.brand-card:hover .card-logo {
  opacity: 1;
  transform: scale(1.04);
}

/* Ajustes por marca */
.brand-card[data-brand="lashes"] .card-logo {
  max-height: 36px;
  max-width: 170px;
  top: 31px;
  left: 32px;
}

.brand-card[data-brand="lperu"] .card-logo,
.brand-card[data-brand="medical"] .card-logo {
  max-height: 50px;
  max-width: 185px;
  top: 25px;
  left: 32px;
}

.brand-card[data-brand="loquay"] .card-logo {
  max-height: 31px;
  max-width: 185px;
  top: 32px;
  left: 32px;
}

/* --------------------------------------------------------------------------
   CONTENIDO — RESERVANDO ZONA SUPERIOR REAL
   -------------------------------------------------------------------------- */

.card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  /* Clave: espacio superior reservado para el bloque logo */
  padding: 96px 32px 28px;
}

/* Ajuste fino por marca para alinear visualmente el texto con el logo */
.brand-card[data-brand="lashes"] .card-body {
  padding-top: 92px;
}

.brand-card[data-brand="lperu"] .card-body,
.brand-card[data-brand="medical"] .card-body {
  padding-top: 98px;
}

.brand-card[data-brand="loquay"] .card-body {
  padding-top: 92px;
}

.card-eyebrow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
  margin: 0 0 10px;
  transition: color var(--t2) ease;
}

.brand-card:hover .card-eyebrow {
  color: rgba(255,255,255,.76);
}

.card-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 12px;
}

.card-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.68;
  color: rgba(255,255,255,.58);
  margin: 0 0 var(--sp-3);
  max-width: 78%;
  transition: color var(--t2) ease;
}

.brand-card:hover .card-desc {
  color: rgba(255,255,255,.78);
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .brand-cards-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-body {
    padding: 90px 24px 24px;
  }

  .brand-card[data-brand="lashes"] .card-body,
  .brand-card[data-brand="loquay"] .card-body {
    padding-top: 86px;
  }

  .brand-card[data-brand="lperu"] .card-body,
  .brand-card[data-brand="medical"] .card-body {
    padding-top: 92px;
  }

  .card-desc {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .brand-card {
    aspect-ratio: auto;
    min-height: 280px;
  }

  .card-logo {
    top: 24px;
    left: 24px;
    max-height: 34px;
    max-width: 150px;
  }

  .brand-card[data-brand="lashes"] .card-logo {
    max-height: 30px;
  }

  .brand-card[data-brand="lperu"] .card-logo,
  .brand-card[data-brand="medical"] .card-logo {
    max-height: 38px;
  }

  .brand-card[data-brand="loquay"] .card-logo {
    max-height: 24px;
    max-width: 150px;
  }

  .card-body {
    padding: 82px 24px 22px;
  }

  .brand-card[data-brand="lashes"] .card-body,
  .brand-card[data-brand="loquay"] .card-body {
    padding-top: 78px;
  }

  .brand-card[data-brand="lperu"] .card-body,
  .brand-card[data-brand="medical"] .card-body {
    padding-top: 84px;
  }

  .card-title {
    margin-bottom: 8px;
  }

  .card-desc {
    font-size: 12.5px;
    line-height: 1.62;
  }
}

/* --------------------------------------------------------------------------
   10. CONTACTO + MAPA
   Wallhack: sección 100vw para que el mapa llegue al borde del viewport.
   -------------------------------------------------------------------------- */
/* LEGACY REVIEW:
   Contacto global .t-contact/.contact-* usado por paginas legacy/home.
   Candidato Fase 2: migrar a componente shared junto con tc-contact-*.
   No eliminar ni cambiar en Fase 1. */
.t-contact {
  position: relative;
  z-index: 1;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: visible;
  background: var(--surface-1);
  padding-top: 52px;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
}

.contact-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 48px;
}

.contact-title {
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.0;
  color: var(--ink);
  margin-top: var(--sp-2);
  margin-bottom: 16px;
}
.contact-title span {
  display: block;
  font-weight: 400;
  color: var(--gold);
}

.contact-sub {
  font-size: var(--fs-base);
  color: var(--smoke);
  line-height: 1.72;
  max-width: 440px;
  margin-bottom: 28px;
}
.contact-sub strong { color: var(--carbon); font-weight: 600; }

.contact-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color var(--t2) ease, box-shadow var(--t2) ease;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}
.info-card:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-2); }

.info-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(197,169,126,.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 2px;
}
.info-card-icon i { font-size: 14px; color: var(--gold); }

.info-card-body {
  flex: 1;
  min-width: 0;
}

.info-card-label {
  font-size: 8px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}

.info-card-note {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.55;
  color: var(--smoke);
}

.info-card-note strong {
  font-weight: 700;
  color: var(--carbon);
}

.info-card-text { font-size: var(--fs-sm); color: var(--carbon); line-height: 1.65; }
.info-card-text strong { font-weight: 700; }

.location-card {
  align-items: stretch;
}

.location-card .info-card-icon {
  align-self: flex-start;
}

.location-card .info-card-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-align: left;
}

.location-card-note {
  margin-top: 14px;
  margin-bottom: 18px;
}

.location-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 16px;
  border: 1px solid rgba(197,169,126,.34);
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(197,169,126,.14), rgba(255,255,255,.88));
  color: var(--carbon);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: var(--shadow-1);
  transition:
    background var(--t2) var(--ease),
    border-color var(--t2) var(--ease),
    color var(--t2) var(--ease),
    transform var(--t2) var(--ease),
    box-shadow var(--t2) var(--ease);
}

.location-card-cta:hover {
  border-color: var(--gold);
  background: var(--carbon);
  color: var(--white);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.location-card-cta i {
  font-size: 10px;
}

.contact-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.contact-social-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: all var(--t2) ease;
}
.contact-social-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.contact-social-card i { font-size: 17px; color: var(--carbon); transition: color var(--t2) ease; }
.contact-social-card:hover i { color: var(--gold); }

.social-card-label { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--carbon); }
.social-card-sub   { display: block; font-size: 9px; color: var(--mist); margin-top: 1px; letter-spacing: .03em; }

/* Mapa — sale del padding del wrap hacia el borde del viewport */
.map-panel {
  position: relative;
  align-self: stretch;
  min-height: 400px;
  margin-right: calc(-1 * var(--pad-x));
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.map-panel iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; display: block;
}


/* --------------------------------------------------------------------------
   11. HISTORIA / ABOUT
   Wallhack: sección 100vw para que la imagen llegue al borde izquierdo.
   -------------------------------------------------------------------------- */
.t-about {
  position: relative;
  z-index: 1;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: visible;
  background: var(--white);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-top: 1px solid var(--line);
}

.about-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-left: 0;          /* Imagen llega al borde izquierdo del contenedor */
  padding-right: var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

/* Columna imagen — margen negativo para llegar al borde del viewport */
.about-media {
  position: relative;
  margin-left: calc(-1 * ((100vw - min(var(--max-w), 100vw)) / 2));
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.about-img-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: var(--surface-1);
}
.about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform var(--t3) ease;
}
.about-media:hover .about-img-frame img { transform: scale(1.03); }

.about-float-badge {
  position: absolute;
  bottom: 40px;
  right: -12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 26px;
  box-shadow: var(--shadow-3);
  min-width: 190px;
  z-index: 2;
}

.badge-num {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 4px;
}
.badge-num sup { font-size: .45em; font-weight: 800; }
.badge-num-unit {
  font-size: .38em;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.badge-desc {
  font-size: 9px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--smoke); line-height: 1.4;
  max-width: 150px;
}

.about-copy { display: flex; flex-direction: column; }

.about-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; letter-spacing: -.05em;
  line-height: 1.0; color: var(--ink);
  margin-top: var(--sp-2); margin-bottom: 4px;
}
.about-title-sub {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400; letter-spacing: -.02em;
  color: var(--gold); line-height: 1.1; margin-bottom: var(--sp-4);
}

.about-body {
  font-size: var(--fs-base); font-weight: 400;
  line-height: 1.78; color: var(--smoke); margin-bottom: var(--sp-3);
}
.about-body .hl { color: var(--carbon); font-weight: 600; }

.about-divider { width: 48px; height: 1px; background: var(--gold-soft); margin: var(--sp-4) 0; }

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: var(--sp-6);
}
.about-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.about-stat-num {
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--carbon);
}
.about-stat-num sup { font-size: .45em; font-weight: 800; }

.about-stat-label {
  font-size: var(--fs-2xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--graphite);
}

.about-copy .btn-solid { padding: 15px 48px; }

/* ── MISIÓN / VISIÓN ── */
.about-mv {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.about-mv-block {
  display: flex;
  flex-direction: column;
}

.about-mv-label {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.about-mv-sep {
  width: 100%;
  height: 1px;
  background: var(--line);
}

/* Stat con valor textual largo (Cientos) — escala reducida */
.about-stat-num.is-text {
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: -.01em;
}


/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.t-footer {
  background: var(--ink);
  padding: 80px var(--pad-x) 28px;
  font-family: var(--font);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}

/* Logo imagen de marca en footer */
.footer-brand-logo {
  display:           block;
  height:            58px  !important;
  max-height:        58px  !important;
  width:             auto;
  max-width:         220px;
  object-fit:        contain;
  object-position:   left center;
  margin-bottom:     12px;
}

/* Loquay — wordmark */
.footer--loquay-peru .footer-brand-logo {
  height:    36px !important;
  max-height:36px !important;
  max-width: 240px;
}

/* Fallback tipográfico cuando no hay imagen */
.footer-brand-name {
  font-size: 15px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e8e8e8 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 6px;
}

.footer-brand-sub {
  font-size: 10px; letter-spacing: .20em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; display: block; margin-bottom: var(--sp-3);
}

.footer-tagline {
  font-size: var(--fs-sm); line-height: 1.72;
  color: #585858; max-width: 300px; margin-bottom: var(--sp-4);
}

.footer-parent-link { color: var(--gold); }

.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.45); font-size: 12px; line-height: 1;
  transition: all var(--t2) ease;
}
.footer-socials a i { font-size: 12px; line-height: 1; }
.footer-socials a:hover {
  background: var(--gold); border-color: var(--gold);
  color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-gold);
}

/* Columnas de links */
.footer-col-title {
  font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .20em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  margin-bottom: var(--sp-4); display: block; line-height: 1;
}

.footer-link-list { display: flex; flex-direction: column; gap: 13px; }
.footer-link-list a {
  font-size: 13px; font-weight: 400; line-height: 1.4;
  color: #585858; display: inline-block;
  transition: color var(--t2) ease, padding-left var(--t2) ease;
}
.footer-link-list a:hover { color: var(--gold); padding-left: 4px; }

/* Barra inferior */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-3); flex-wrap: wrap;
}
.footer-copy,
.footer-credit { font-size: var(--fs-xs); color: #484848; margin: 0; }
.footer-credit a { color: var(--gold); font-weight: 700; transition: color var(--t2) ease; }
.footer-credit a:hover { color: var(--white); }


/* --------------------------------------------------------------------------
   13. ANIMACIONES GLOBALES
   -------------------------------------------------------------------------- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

@keyframes scroll-brands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Fade-in via Intersection Observer (JS añade .is-visible) */
.js-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-fade.is-visible { opacity: 1; transform: translateY(0); }


/* --------------------------------------------------------------------------
   14. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  :root { --pad-x: var(--pad-x-md); }

  .section-header { flex-direction: column; align-items: flex-start; }

  .map-panel { margin-right: calc(-1 * var(--pad-x-md)); }
}

@media (max-width: 1024px) {
  /* Header */
  .header-nav { display: none; }
  .header-hamburger { display: flex; }
  .header-inner { padding-inline: var(--pad-x-md); }

  /* Hero */
  .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .hero-visual { flex: 0; width: 100%; max-width: 440px; justify-content: center; }
  .hero-visual::before { left: 5%; width: 90%; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-lead { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-social { justify-content: center; }
  .hero-portrait { max-height: 50vw; }
  /* Hero título — vuelve a stack en tablet/móvil */
  .t-hero h1      { white-space: normal; }
  .hero-name      { display: block; margin-right: 0; margin-bottom: 2px; }
  .hero-name-last { display: block; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2)::before,
  .stat-cell:nth-child(3)::before { display: none; }
  .stat-cell:nth-child(3),
  .stat-cell:nth-child(4) { border-top: 1px solid var(--line); }

  /* Brand cards */
  .brand-cards-grid { grid-template-columns: 1fr; }

  /* Contacto */
  .t-contact { width: 100%; left: auto; transform: none; }
  .contact-wrap { grid-template-columns: 1fr; padding-inline: var(--pad-x-md); gap: var(--sp-6); }
  .map-panel { margin-right: 0; border-radius: 0; min-height: 300px; order: -1; }
  .contact-panel { padding-bottom: var(--sp-6); align-items: center; text-align: center; }
  .contact-sub { max-width: 100%; }
  .contact-info-row,
  .contact-social-row { width: 100%; max-width: 480px; }

  /* About */
  .t-about { width: 100%; left: auto; transform: none; overflow: clip; }
  .about-wrap { padding-left: var(--pad-x-md); padding-right: var(--pad-x-md); grid-template-columns: 1fr; gap: var(--sp-6); }
  .about-media { margin-left: 0; }
  .about-img-frame { border-radius: 0; aspect-ratio: 16 / 9; max-height: none; }
  .about-float-badge { right: 16px; bottom: 16px; }
  .about-copy { align-items: center; text-align: center; }
  .about-divider { margin-inline: auto; }
  .about-stats-row { justify-content: center; flex-wrap: wrap; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --pad-x: var(--pad-x-sm); }

  .hero-portrait { max-height: 55vw; }
  .hero-name, .hero-name-last { letter-spacing: -.03em; }

  .brand-card { min-height: 360px; aspect-ratio: auto; }

  .contact-wrap { padding-inline: var(--pad-x-sm); }
  .contact-info-row, .contact-social-row { grid-template-columns: 1fr; }
  .map-panel { min-height: 240px; }

  .about-wrap { padding-left: var(--pad-x-sm); padding-right: var(--pad-x-sm); }
  .about-stats-row { gap: var(--sp-4); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* --------------------------------------------------------------------------
   15. HEADER RE-ALIGNMENT — v4.2
   Layout corregido: LEFT (back + logo) / CENTER (nav) / RIGHT (actions)

   ANTES (v4.1): left=back / center=logo+nav / right=actions
   AHORA (v4.2): left=back+logo / center=nav / right=actions

   Grid:  [ auto ][ 1fr ][ auto ]
          back+logo   nav   search+cart+account
   -------------------------------------------------------------------------- */

/* ── Contenedor ── */
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

/* ── Izquierda: back + separador + logo ── */
.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Separador fino entre ← Imperio y el logo imagen */
.header-divider {
  display: block;
  width: 1px;
  height: 18px;
  background: var(--line);
  flex-shrink: 0;
  opacity: .65;
}

/* En headers dark (Lashes, Medical, Loquay) el separador usa blanco */
.header--dark .header-divider {
  background: rgba(255,255,255,.22);
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.header-back {
  margin-top: 0;
  white-space: nowrap;
}

/* ── Centro: solo navegación ── */
.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.header-nav {
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}

/* ── Derecha: acciones ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  justify-self: end;
}


/* ── Responsive tablet/móvil ── */
@media (max-width: 1024px) {
  .header-inner {
    /* Mantener 3 columnas: left(logo) / center(vacío) / right(actions)
       La columna 1fr vacía crea el espacio entre logo y acciones */
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  /* Back y separador: se ocultan en móvil */
  .header-back    { display: none; }
  .header-divider { display: none; }

  /* header-left sin gap extra una vez que back y divider están ocultos */
  .header-left { gap: 0; }

  /* La nav ya está oculta por .header-nav { display:none } de sección 14.
     Ocultamos también el contenedor centro para no generar clutter. */
  .header-center { display: none; }

  /* Logo: tamaños móvil */
  .header-brand-img {
    max-width: 170px;
    height: 40px !important;
    max-height: 40px !important;
  }
}

@media (max-width: 1180px) {
  .brand-subnav__inner {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .brand-subnav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: stretch;
    justify-content: center;
    align-content: center;
    padding: 7px 10px;
    min-height: 0;
    overflow-x: visible;
    overscroll-behavior-x: auto;
    scroll-snap-type: none;
  }

  .brand-subnav__link {
    flex: 0 1 calc((100% - 15px) / 4);
    min-width: 0;
    max-width: 96px;
    min-height: 30px;
    padding-inline: 6px;
    font-size: 8px;
    letter-spacing: .08em;
    line-height: 1.12;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
    scroll-snap-align: none;
  }

  .header-inner {
    padding-inline: 16px;
    gap: 10px;
    height: 64px;
  }

  .header-brand-img {
    max-width: 150px;
    height: 36px !important;
    max-height: 36px !important;
  }

  .header-account {
    padding: 9px 16px;
    font-size: 10px;
    letter-spacing: .12em;
  }
}

@media (max-width: 380px) {
  .brand-subnav__link {
    flex-basis: calc((100% - 10px) / 3);
    max-width: 110px;
    min-height: 28px;
    font-size: 7.5px;
  }
}
/* ==========================================================================
   MOBILE FIXES — Home Hero + Home About
   ========================================================================== */
@media (max-width: 767px) {

  /* ----------------------------------------------------------------------
     HOME HERO
     ---------------------------------------------------------------------- */
  .hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-inline: var(--pad-x-sm);
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .hero-visual {
    flex: none;
    width: 100%;
    justify-content: center;
    align-items: flex-end;
    order: 2;
  }

  .hero-visual::before {
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    padding-bottom: 82%;
  }

  .hero-portrait {
    width: min(92vw, 360px);
    max-width: 360px;
    max-height: 46vh;
    margin-inline: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-copy {
    width: 100%;
    order: 1;
  }

  .hero-badge {
    margin-bottom: 18px;
  }

  .hero-actions,
  .hero-social {
    justify-content: center;
  }

  /* ----------------------------------------------------------------------
     HOME ABOUT
     ---------------------------------------------------------------------- */
  .about-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-inline: var(--pad-x-sm);
  }

  .about-media {
    width: 100%;
    order: 1;
  }

  .about-img-frame {
    width: 100%;
    max-width: 100%;
  }

  .about-img-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
  }

  .about-float-badge {
  width: min(56vw, 205px);
  padding: 14px 16px;
  border-radius: 20px;
  left: auto;
  right: 14px;
  bottom: 12px;
  transform: none;
}

  .about-float-badge .badge-num {
  font-size: 34px;
  line-height: 1;
}

.about-float-badge .badge-desc {
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: .11em;
}

  .about-copy {
    width: 100%;
    order: 2;
  }

  .about-title,
  .about-title-sub {
    text-align: left;
  }

  .about-stats-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   MOBILE FIX — Contacto Home (selectores reales)
   ========================================================================== */
@media (max-width: 767px) {

  .contact-wrap {
    padding-inline: var(--pad-x-sm);
    gap: 24px;
  }

  .contact-panel {
    padding-bottom: 24px;
    align-items: center;
    text-align: center;
  }

  .contact-title {
    font-size: clamp(46px, 11vw, 58px);
    line-height: .94;
    letter-spacing: -.05em;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
  }

  .contact-title span {
    display: block;
    font-size: clamp(34px, 9vw, 44px);
    line-height: .98;
    letter-spacing: -.04em;
  }

  .contact-sub {
    font-size: 16px;
    line-height: 1.75;
    max-width: 100%;
    margin-bottom: 24px;
    text-align: center;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
  }

  .info-card {
    padding: 18px 18px;
    min-height: auto;
  }

  .info-card-icon {
    margin-bottom: 12px;
  }

  .info-card-label {
    font-size: 9px;
    letter-spacing: .16em;
    margin-bottom: 8px;
  }

  .info-card strong,
  .info-card p,
  .info-card li,
  .info-card a {
    font-size: 16px;
    line-height: 1.55;
  }

  .location-card-cta {
    width: auto;
    max-width: 100%;
    margin-inline: 0;
    padding: 10px 16px;
    font-size: 10px;
    line-height: 1;
  }
}

/* ==========================================================================
   OVERFLOW / CONTAINMENT FIX — Hero home + Footer brand name
   Corrige texto desbordando viewport en hero y fallback tipográfico footer.
   ========================================================================== */

/* ── Hero: contención completa ─────────────────────────────────────────── */
.t-hero {
  overflow: hidden;
}
.hero-inner {
  overflow: hidden;
}
.hero-copy {
  min-width: 0;       /* evita que flex child desborde */
  overflow: hidden;
}
.t-hero h1 {
  overflow-wrap: break-word;
  word-break:    break-word;
  hyphens:       auto;
  max-width:     100%;
}

/* Tamaño controlado: ajusta los valores de clamp según gusto visual */
.hero-name {
  display:     block;
  font-size:   clamp(36px, 6.5vw, 96px);
  line-height: 1.0;
  white-space: normal;
  max-width:   100%;
}
.hero-name-last {
  display:     block;
  font-size:   clamp(32px, 5.5vw, 82px);
  line-height: 1.0;
  white-space: normal;
  max-width:   100%;
}

/* ── Footer: fallback tipográfico home ─────────────────────────────────── */
.footer-brand-name {
  display:       block;
  font-size:     clamp(18px, 2.2vw, 28px);
  font-weight:   700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height:   1.2;
  max-width:     100%;
  overflow-wrap: break-word;
  word-break:    break-word;
}

/* ==========================================================================
   MOBILE FIXES v4.1
   ========================================================================== */
/* CONTROLLED FIXES:
   Patches acumulados al final para mobile nav, catalog toggle y dark mobile nav.
   Mantener orden y selectores hasta tener snapshots por viewport. */

/* Fix 1 — Mobile nav: z-index por encima del header sticky
   .t-header tiene z-index: 1000. El nav móvil a 999 queda debajo del header,
   tapando el botón ✕. Lo subimos 1 nivel. --------------------------------- */
.mobile-nav {
  z-index: 1001;
}
@media (max-width: 768px) {
  .mobile-nav-close {
    top: 55px;
    right: 14px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    z-index: 1002;
  }

  .mobile-nav-close i,
  .mobile-nav-close svg {
    font-size: 20px;
    line-height: 1;
  }
}

.tc-catalog-view-toggle {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

/* LEGACY REVIEW:
   Toggle de catalogo suelto en app.css. Candidato a shared/catalog-specific
   si el template activo todavia lo necesita. */
.tc-toggle-btn {
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s ease;
}

.tc-toggle-btn.active {
	background: #0ea5e9; /* tu color principal */
	color: #fff;
	border-color: #0ea5e9;
}

/* ==========================================================================
   MOBILE NAV — Contexto oscuro (dark brands)
   Sibling combinator: .t-header.header--dark precede a .mobile-nav en el DOM.
   Cubre imperio-lashes e imperio-medical (y cualquier futura dark brand).
   ========================================================================== */

/* Fondo oscuro */
.t-header.header--dark ~ .mobile-nav {
  background: rgba(10,10,10,.97);
}

/* Ítems de marca: color claro */
.t-header.header--dark ~ .mobile-nav .nav-brand {
  color: rgba(255,255,255,.60);
}
.t-header.header--dark ~ .mobile-nav .nav-brand:hover {
  color: var(--white);
}

/* Inicio: misma paleta que los brand items */
.t-header.header--dark ~ .mobile-nav .nav-brand--home {
  color: rgba(255,255,255,.60);
}
.t-header.header--dark ~ .mobile-nav .nav-brand--home:hover {
  color: var(--white);
}

/* Botón cerrar: visible sobre fondo oscuro */
.t-header.header--dark ~ .mobile-nav .mobile-nav-close {
  color: rgba(255,255,255,.80);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.t-header.header--dark ~ .mobile-nav .mobile-nav-close:hover {
  color: var(--white);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
}

/* Hamburger — estado cerrado en dark brands */
.t-header.header--dark .header-hamburger {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.t-header.header--dark .header-hamburger span {
  background: rgba(255,255,255,.85);
}

/* QA mobile header: keep account/hamburger inside 390-430px viewports. */
@media (max-width: 640px) {
  .header-inner {
    padding-inline: 12px;
  }

  .header-actions {
    gap: 6px;
    min-width: 0;
  }

  .header-account {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    font-size: 0;
    letter-spacing: 0;
    flex: 0 0 38px;
  }

  .header-account i {
    font-size: 14px;
  }

  .header-hamburger {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
}


/* ==========================================================================
   WooCommerce visual polish — Mi cuenta + footer en flujo de compra
   Scope visual: cart / checkout / account. No altera lógica WooCommerce.
   ========================================================================== */

body.woocommerce-cart .t-footer,
body.woocommerce-checkout .t-footer,
body.woocommerce-account .t-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 34%),
    var(--ink);
}

body.woocommerce-cart .footer-tagline,
body.woocommerce-checkout .footer-tagline,
body.woocommerce-account .footer-tagline,
body.woocommerce-cart .footer-link-list a,
body.woocommerce-checkout .footer-link-list a,
body.woocommerce-account .footer-link-list a {
  color: rgba(255, 255, 255, .68);
}

body.woocommerce-cart .footer-link-list a:hover,
body.woocommerce-checkout .footer-link-list a:hover,
body.woocommerce-account .footer-link-list a:hover {
  color: var(--gold);
}

body.woocommerce-cart .footer-col-title,
body.woocommerce-checkout .footer-col-title,
body.woocommerce-account .footer-col-title {
  color: rgba(255, 255, 255, .92);
}

body.woocommerce-cart .footer-copy,
body.woocommerce-cart .footer-credit,
body.woocommerce-checkout .footer-copy,
body.woocommerce-checkout .footer-credit,
body.woocommerce-account .footer-copy,
body.woocommerce-account .footer-credit {
  color: rgba(255, 255, 255, .58);
}

body.woocommerce-cart .footer-bottom,
body.woocommerce-checkout .footer-bottom,
body.woocommerce-account .footer-bottom {
  border-top-color: rgba(255, 255, 255, .10);
}

body.woocommerce-cart .footer-socials a,
body.woocommerce-checkout .footer-socials a,
body.woocommerce-account .footer-socials a {
  color: rgba(255, 255, 255, .72);
  border-color: rgba(255, 255, 255, .16);
}

body.woocommerce-account .site-main {
  background: #f5f5f7;
}

body.woocommerce-account .entry-header,
body.woocommerce-account .entry-content {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 24px;
}

body.woocommerce-account .entry-header {
  padding-top: 72px;
}

body.woocommerce-account .entry-title,
body.woocommerce-account .woocommerce h2 {
  color: #1d1d1f;
  font-weight: 800;
  letter-spacing: 0;
}

body.woocommerce-account .entry-title {
  font-size: clamp(28px, 3.2vw, 42px);
}

body.woocommerce-account .woocommerce h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

body.woocommerce-account .woocommerce {
  margin-bottom: 96px;
}

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
}

body.woocommerce-account .woocommerce-form-login {
  padding: 28px;
}

body.woocommerce-account .woocommerce-form-row label,
body.woocommerce-account .woocommerce-form-login .woocommerce-form__label {
  color: #53565c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.woocommerce-account .woocommerce-Input.input-text {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: #1d1d1f;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, .14);
  border-radius: 10px;
  box-shadow: none;
}

body.woocommerce-account .woocommerce-Input.input-text:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 14%, transparent);
}

body.woocommerce-account .woocommerce-button.button,
body.woocommerce-account .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 26px;
  text-decoration: none;
}

body.woocommerce-account .woocommerce-button.button:hover,
body.woocommerce-account .button:hover {
  filter: brightness(.92);
}

body.woocommerce-account .lost_password a,
body.woocommerce-account .woocommerce a {
  color: var(--brand-primary);
  text-underline-offset: 3px;
}

body.woocommerce-account .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.woocommerce-account .woocommerce-form__input-checkbox {
  accent-color: var(--brand-primary);
}

@media (max-width: 640px) {
  body.woocommerce-account .entry-header {
    padding-top: 48px;
  }

  body.woocommerce-account .entry-header,
  body.woocommerce-account .entry-content {
    padding-inline: 18px;
  }

  body.woocommerce-account .woocommerce-form-login {
    padding: 22px;
  }

  body.woocommerce-account .woocommerce-button.button,
  body.woocommerce-account .button {
    width: 100%;
  }
}
