:root{
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --font-display: 'Syne', sans-serif;
  --bg:#FFFFFF; --surface:#F5F5F7; --text:#111111; --muted:#86868B; --border:#E5E5EA;
  --brand-1:#000000; --brand-2:#333333; --brand-3:#666666; --accent-1:#000000; --accent-2:#333333;
  --header-h:64px;
  --feature-icon-size:60px;
  --radius:12px;
  --radius-lg:18px;
  --gap:12px;
  --max-width:1100px;
  --transition:150ms ease-out;
  --shadow-1: 0 4px 14px rgba(0,0,0,.06);
  --shadow-2: 0 8px 24px rgba(0,0,0,.12);
  --text-strong: #000000;
  --muted-2: color-mix(in oklab, var(--muted) 65%, transparent);
  --bp-sm: 640px;
  --bp-md: 1024px;
}
*{box-sizing:border-box}

img {
  /* Image Protection */
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}
html,body{height:100%}
body{
  margin:0;color:var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  background:var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .side-brand span {
  font-family: var(--font-heading);
}
/* Fondo limpio */
.bg-gradient { display: none; }
.bg-noise { display: none; }

/* HERO */
.hero{
  position:relative; 
  min-height:clamp(600px, 80vh, 900px); 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
}

.hero-content{
  position:relative; 
  width: min(1000px, 92%);
  margin: 0 auto;
}

.eyebrow{
  font-family: var(--font-display);
  font-weight: 700; 
  letter-spacing: -0.01em; 
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.15rem;
}

.hero .display-title{
  font-family: var(--font-display);
  margin: 0 0 24px;
  font-size: clamp(1.9rem, 8.2vw, 5.25rem);
  line-height: .98;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
  overflow-wrap: anywhere;
  hyphens: none;
  max-width: 100%;
}

.hero .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-row{
  display:flex; 
  gap: 16px; 
  justify-content: center;
  margin-bottom: 60px;
}

/* Bullets con iconos - Horizontal line */
.hero-bullets.with-icons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  margin: 0; 
  padding: 0; 
  list-style:none;
}
.hero-bullets.with-icons li{ 
  display:flex; 
  align-items:center; 
  gap: 10px; 
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}
.hero-bullets.with-icons .ico{ 
  width: 32px; height: 32px; 
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.hero-bullets.with-icons .ico svg{ 
  width: 16px; height: 16px; display: block; 
  stroke-width: 1.75;
}

/* FEATURES */
.features{padding:clamp(28px,6vw,64px) 0}
.features-grid{
  list-style:none; margin:0; padding:0;
  display:grid; gap:clamp(12px,2vw,18px);
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.glass-card{
  padding:clamp(18px,2.4vw,24px); border-radius:16px; border:1px solid var(--border);
  background: var(--surface);
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.glass-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
  border-color: color-mix(in oklab, var(--border) 55%, var(--text));
}
.feature-head{display:flex; flex-direction:column; align-items:flex-start; gap:14px; margin:0 0 14px}
.feature-ico{
  width: 48px; height: 48px;
  flex:0 0 auto; display:flex; align-items:center; justify-content:center; 
  color: var(--text);
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.feature-ico svg{ width:22px; height:22px; stroke-width: 1.5; }
.glass-card h3{margin:.2rem 0 .1rem; font-size:1.06rem}
.glass-card p{margin:0; color:var(--muted)}
/* [HOME-FEATS-PUSH-01-CSS] margen interno solo para index */
@media (min-width:1024px){
  body.home-page .features{                 /* solo index.html */
    padding-inline: var(--pad-x);           /* mismo gutter que page-wrap */
    box-sizing: border-box;
  }
}
/* Teléfonos (≤639px): 2 columnas compactas */
@media (max-width: 639px){
  .home-page .features{ padding-inline: 14px; }
  .home-page .features-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .home-page .feature-ico{ --feature-icon-size: 32px; }
  .home-page .glass-card{ border-radius: 16px; }
}

/* Tablets (640–819px): 2 columnas aireadas */
@media (min-width: 640px) and (max-width: 819px){
  .home-page .features{ padding-inline: clamp(16px, 4vw, 28px); }
  .home-page .features-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .home-page .feature-ico{ --feature-icon-size: 36px; }
  .home-page .glass-card{ padding: clamp(14px, 2.2vw, 20px); }
}

/* Tablets grandes (820–1023px): 3 columnas */
@media (min-width: 820px) and (max-width: 1023px){
  .home-page .features{ padding-inline: clamp(16px, 4vw, 32px); }
  .home-page .features-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .home-page .feature-ico{ --feature-icon-size: 40px; }
}

/* Desktop (≥1024px): mantiene tu margen interno del index */
@media (min-width:1024px){
  .home-page .features{
    padding-inline: var(--pad-x);
    box-sizing: border-box;
  }
}
/* Botones */
.btn{ display:inline-flex; align-items:center; gap:.5rem; font-weight:700; padding:.7rem 1rem; border-radius:var(--radius); cursor:pointer; border:1px solid var(--border); transition: transform 150ms ease-out, box-shadow 150ms ease-out, background 150ms ease-out; text-wrap:balance; }
.btn:active{ transform:scale(0.98); }
.btn.primary{ background: var(--text); color:var(--bg); border-color:var(--text); box-shadow: var(--shadow-1); }
.btn.secondary{ background: var(--surface); color:var(--text); border-color:var(--border); box-shadow: none; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; pointer-events:none; transform:none; box-shadow:none; }

/* BOTÓN CERRAR SIEMPRE SOBRE LA IMAGEN (lightbox) */
#lightbox-close{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  left:auto !important;
  bottom:auto !important;
  transform:none !important;
  margin:0 !important;
  width:40px; height:40px;
  display:grid; place-items:center;
  color:#fff; background:rgba(0,0,0,.45); border-radius:8px; font-size:22px; cursor:pointer; z-index:3;
  transition: background var(--transition), transform var(--transition);
}
#lightbox-close:hover{ background:rgba(255,255,255,.06); transform:translateY(-2px); }

@media (max-width:920px){
  #lightbox-overlay .lightbox-content > img{ max-height: calc(100vh - 180px); }
  #lightbox-close{ top:-30px !important; right:-10px !important; width:36px; height:36px; font-size:20px; }
}

/* ===== Mis Favoritos — rejilla + botones mini (sin dependencias de sidebar/tabbar) ===== */
.fav-page .fav-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:24px clamp(14px,2vw,24px) 8px }
.fav-page .fav-title{ margin:0; display:flex; align-items:center; gap:.5rem; font-size:clamp(22px,2.4vw,30px) }
.fav-page #favoritos-gallery{ display:grid; grid-template-columns:repeat(12, 1fr); gap:16px; padding:0 clamp(14px,2vw,24px) 30px; }
.fav-page #favoritos-gallery .gallery-item{
  grid-column: span 4; position:relative; overflow:hidden;
  border:1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 75%, transparent);
  border-radius:14px; box-shadow:0 8px 30px rgba(0,0,0,.25);
  transition:transform .18s ease, box-shadow .18s ease;
}
.fav-page #favoritos-gallery .gallery-item:hover{ transform:translateY(-2px); box-shadow:0 16px 40px rgba(0,0,0,.35) }
.fav-page .gallery-img-wrapper img{ width:100%; height:auto; display:block }
.fav-page .card-actions{ position:absolute; inset:auto auto 10px 10px; display:flex; gap:.4rem }
.fav-page .btn-mini{ inline-size:36px; block-size:36px; display:grid; place-items:center; border-radius:10px; border:1px solid var(--border); background: color-mix(in oklab, var(--surface) 85%, transparent); color:var(--text); }
.fav-page .btn-mini svg{ width:18px; height:18px }
@media (max-width:1200px){ .fav-page #favoritos-gallery .gallery-item{ grid-column: span 6 } }
@media (max-width:780px){  .fav-page #favoritos-gallery .gallery-item{ grid-column: span 12 } }
body.fav-page .page-wrap{ margin-left:0; padding:16px 14px 24px; min-height:100vh; }

/* Badges / etc */
.badge{ position:absolute; top:-6px; right:-10px; background:linear-gradient(135deg,#7d2ae8,#9d50bb); color:#fff; font-size:.7rem; font-weight:bold; border-radius:50%; padding:3px 6px; display:inline-flex; align-items:center; justify-content:center; min-width:18px; min-height:18px; box-shadow:0 2px 5px rgba(0,0,0,.4); transition:transform .2s ease, background .3s ease; z-index:5; }
.badge:not([hidden]){ animation:pop .3s ease; }
@keyframes pop{ 0%{transform:scale(.5);opacity:0}60%{transform:scale(1.2);opacity:1}100%{transform:scale(1)} }
#cart-btn{ position:relative; }
#cart-badge{ position:absolute; top:0; right:0; transform:translate(50%,-50%); background:#ca2b2b; color:#fff; font-size:1rem; font-weight:bold; border-radius:50%; line-height:1; min-width:10px; text-align:center; padding:3px 7px; }

/* Canvas premium viewer */
#pv-overlay{position:fixed;inset:0;background:rgba(0,0,0,.88);display:none;align-items:center;justify-content:center;z-index:9999}
#pv-overlay.active{display:flex}
#pv-overlay .pv-inner{position:relative;max-width:90vw;max-height:90vh}
#pv-canvas{display:block;width:100%;height:auto;border-radius:12px}
.pv-close{position:absolute;top:-12px;right:-12px;width:36px;height:36px;border-radius:50%;border:0;background:#111;color:#fff;font-size:22px;cursor:pointer}

/* === SOBRE MÍ === */

/* Móvil (≤639px) */
@media (max-width: 639px){
  .about{ padding: clamp(8px, 2vw, 28px) 0; }
}

/* Tablet (640–1023px) */
@media (min-width: 640px) and (max-width: 1023px){
  .about{ padding: clamp(16px, 2.5vw, 64px) 0; } /* intermedio */
}

/* Escritorio (≥1024px) */
@media (min-width: 1024px){
  .about{ padding: clamp(20px, 2vw, 96px) 0; }
}

/* Sin padding horizontal extra */
.about{ padding-inline: 0; }


.about .about-wrap{padding:clamp(16px,2.4vw,22px); border-radius:18px; margin: 20px}
.about-head h2{margin:0 0 .25rem; font-size:clamp(22px,3.4vw,34px)}
.about-grid{ margin-top:clamp(14px,2.8vw,22px); display:grid; gap:clamp(12px,2vw,18px); grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.about .bullets{margin:.4rem 0 0; padding-left:18px}
.about .bullets li{margin:.2rem 0}
.kpis{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; text-align:center}
.kpis div{padding:14px; border:1px solid var(--border); border-radius:14px; background: color-mix(in oklab, var(--surface) 78%, transparent)}
.kpis strong{font-size:1.6rem; display:block}
.kpis span{color:var(--muted); font-size:.85rem}

/* === SERVICIOS + CTA === */
.services{padding:clamp(24px,6vw,56px) 0}
@media (min-width:1024px){
  .services.mj-container{
    margin-left:86px;              /* ancho sidebar colapsado */
    padding-inline:24px;           /* gutter horizontal (ajústalo o pon 0 si lo quieres full-bleed) */
    box-sizing:border-box;
  }
  /* cuando el sidebar se expande al hover */
  .mj-nav:hover ~ .page-wrap + .services.mj-container{
    margin-left:220px;             /* ancho sidebar expandido */
  }
}
/* Móvil (<1024px): centrar sección Servicios y dar aire lateral */
@media (max-width:1023px){
  .services.mj-container{
    margin-inline:auto;
    padding-inline:36px;       /* ajusta a tu gusto: 12–20px */
  }
}

.section-title{margin:0 0 12px;font-size:clamp(22px,3vw,30px)}
.svc-grid{ display:grid;gap:clamp(12px,2vw,18px); grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.svc-card{padding:16px;border-radius:14px}
.svc-card h3{margin:0 0 .4rem}
.svc-card .bullets{margin:.3rem 0 0;padding-left:18px}
.cta-sticky{ position:sticky;bottom:14px;margin-top:16px; display:flex;gap:.6rem;align-items:center;justify-content:space-between; padding:14px 16px;border-radius:14px }
.cta-sticky p{margin:0;font-weight:600}
@media (max-width:640px){ .cta-sticky{flex-direction:column;align-items:stretch;gap:10px} }

/* === BG + glass extra === */
body::before{
  display: none;
}
.glass--xl{
  --glass-bg: rgba(255,255,255,0.7);
  background:var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border:1px solid rgba(0,0,0,.05);
  box-shadow:var(--shadow-2);
}
.soft-shadow{ box-shadow: var(--shadow-1) }
.hover-lift{ transition: transform 150ms ease-out, box-shadow 150ms ease-out }
.hover-lift:hover{ transform: scale(1.02); box-shadow:var(--shadow-2) }
.gradient-text{ color: var(--text); }

/* ===== NAV UNIFICADO (desktop + móvil) ===== */

/* Evita barras horizontales por el nav */
html,body{ overflow-x:hidden; }

/* ---------------- Desktop / Tablet (≥1024px) ---------------- */
@media (min-width:1024px){
  :root{
    --nav-height: 60px;
    --nav-margin-top: 24px;
    --pad-x: 24px;
  }

  /* Nav flotante superior horizontal */
  .mj-side{
    position:fixed; 
    top: var(--nav-margin-top); 
    left: 50%; 
    transform: translateX(-50%);
    bottom: auto;
    width: auto;
    height: var(--nav-height);
    overflow: hidden;
    z-index:1200; 
    display:flex; 
    flex-direction:row; 
    align-items:center;
    gap: 8px; 
    padding: 8px 12px;
    background:rgba(255,255,255,.85); 
    backdrop-filter:blur(30px) saturate(200%);
    border:1px solid rgba(0,0,0,.06); 
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    transition: box-shadow 200ms;
  }
  .mj-nav:hover .mj-side{ 
    box-shadow: 0 16px 50px rgba(0,0,0,.12);
  }

  /* Empuje GLOBAL superior */
  body { 
    padding-left: 0 !important; 
    padding-top: calc(var(--nav-height) + var(--nav-margin-top) + 20px); 
  }
  /* Contenedores comunes con padding lateral coherente */
  .page-wrap,
  .productos-grid{
    padding-inline:var(--pad-x);
    box-sizing:border-box;
  }

  /* FALLBACK si el navegador no soporta :has() */
  @supports not selector(body:has(.mj-nav:hover)){
    .page-wrap,
    .productos-grid{
      margin-left: 0;
    }
  }
}

/* ---------- Marca / enlaces / lista (comunes) ---------- */
.side-brand{ display:flex; align-items:center; justify-content:center; padding:0; text-decoration:none; color:inherit; }
.side-brand img{ width:32px; height:32px; display:block; transition: transform 0.2s ease; }
.side-brand.is-active img, .side-brand[aria-current="page"] img{ transform: scale(1.15); }
.side-brand span{ display:none; }

.nav-logo-item { padding: 0 8px; display:flex; align-items:center; }
/* Lista navegable: área horizontal */
.side-nav{
  list-style:none; margin:0; padding: 0;
  display:flex; flex-direction:row; gap:4px;
  align-items: center;
  position: relative;
}

.side-nav a,
.side-nav button{
  display:flex; align-items:center; padding:.45rem .9rem; border-radius:999px;
  color:var(--muted);
  text-decoration:none; transition:background 150ms, color 150ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position:relative;
  z-index: 1;
  font-weight: 600;
  font-size: .9rem;
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.side-nav a:not(.side-brand):hover,
.side-nav button:not(.side-brand):hover{
  color:var(--text);
  transform: scale(1.05);
}

/* Ocultamos los iconos por completo en desktop */
@media (min-width: 1024px) {
  .side-ico { display: none !important; }
}

.side-footer{ display: none !important; }

/* ---------------- Móvil (<1024px): Tabbar inferior ---------------- */
#mobile-tabbar{
  position:fixed; left:0; right:0; bottom:0; z-index:1000;
  display:flex; justify-content:space-around; align-items:center; gap:6px;
  padding:8px max(12px, env(safe-area-inset-right))
          calc(10px + env(safe-area-inset-bottom))
          max(12px, env(safe-area-inset-left));
  background:rgba(255,255,255,.8); backdrop-filter:blur(20px) saturate(180%); border-top:1px solid var(--border);
}
#mobile-tabbar .tab{
  flex:1 1 0; display:flex; flex-direction:column; align-items:center; gap:4px;
  text-decoration:none; color:var(--muted); font-size:12px; line-height:1; padding:6px 0; border-radius:12px;
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#mobile-tabbar .tab:hover{ background:rgba(0,0,0,.04); }
#mobile-tabbar .ico{ width:22px; height:22px; display:grid; place-items:center; }
#mobile-tabbar .ico svg{ width:22px; height:22px; display:block; }
#mobile-tabbar .tab.logo{ flex:0 0 auto; width:58px; height:58px; border-radius:16px; background:transparent; display:grid; place-items:center; }
#mobile-tabbar .tab.logo img{ width:40px; height:40px; display:block; }

/* Visibilidad por breakpoint */
@media (min-width:1024px){ #mobile-tabbar{ display:none !important; } }
@media (max-width:1023px){ .mj-side{ display:none !important; } body{ padding-left:0 !important; padding-bottom:76px; } }

/* Navegación móvil de marca personal: cinco accesos, con Inicio en el logo
   central para que el recorrido principal se entienda de un vistazo. */
@media (max-width: 1023px) {
  body { padding-bottom: 104px; }

  #mobile-tabbar {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    min-height: 70px;
    justify-content: space-between;
    gap: 3px;
    padding: 6px;
    border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 34px rgba(17, 17, 17, .16);
  }

  #mobile-tabbar .tab {
    position: relative;
    min-width: 0;
    min-height: 58px;
    padding: 4px 2px;
    gap: 3px;
    color: #777980;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: -.015em;
    border-radius: 10px;
  }

  #mobile-tabbar .tab-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  }

  #mobile-tabbar .tab-icon .lucide {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
  }

  #mobile-tabbar .tab-label {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  #mobile-tabbar .tab:hover { background: transparent; color: var(--text); }

  #mobile-tabbar .tab.is-active,
  #mobile-tabbar .tab[aria-current="page"] {
    color: var(--text);
    font-weight: 800;
  }

  #mobile-tabbar .tab.is-active .tab-icon,
  #mobile-tabbar .tab[aria-current="page"] .tab-icon {
    background: var(--personal-lime, #dff85a);
    color: #111;
    transform: translateY(-1px);
  }

  #mobile-tabbar .tab:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 2px;
  }

  #mobile-tabbar .tab-logo {
    flex: 0 0 54px;
    display: grid;
    place-items: center;
  }

  #mobile-tabbar .tab-logo-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    background: var(--text);
    color: #fff;
    box-shadow: 0 5px 12px rgba(17, 17, 17, .14);
    transition: background 160ms ease, box-shadow 160ms ease;
  }

  #mobile-tabbar .tab-logo-mark img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
    /* El PNG original es negro; lo convertimos explícitamente en blanco
       sobre el botón oscuro, incluso si una hoja de estilos externa carga
       después de la navegación. */
    filter: brightness(0) invert(1) !important;
  }

  #mobile-tabbar .tab-logo.is-active .tab-logo-mark,
  #mobile-tabbar .tab-logo[aria-current="page"] .tab-logo-mark {
    background: var(--personal-secondary, #d9ef67);
    box-shadow: 0 5px 12px rgba(217, 239, 103, .4);
  }

  #mobile-tabbar .tab-logo.is-active .tab-logo-mark img,
  #mobile-tabbar .tab-logo[aria-current="page"] .tab-logo-mark img {
    filter: brightness(0) !important;
  }
}

@media (max-width: 360px) {
  #mobile-tabbar .tab { font-size: 8.5px; }
  #mobile-tabbar .tab-icon { width: 26px; height: 26px; }
  #mobile-tabbar .tab-icon .lucide { width: 19px; height: 19px; }
  #mobile-tabbar .tab-logo { flex-basis: 48px; }
  #mobile-tabbar .tab-logo-mark { width: 38px; height: 38px; }
}

@media (min-width: 1024px) {
  .mj-side {
    width: min(780px, calc(100vw - 48px));
  }
  .side-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 58px repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .side-nav > li { min-width: 0; display: flex; justify-content: center; }
  .side-nav a { justify-content: center; min-width: 0; padding-inline: .45rem; white-space: nowrap; }
  .nav-logo-item { padding: 0; }
}

/* Accesibilidad: menos animación si el usuario lo prefiere */
@media (prefers-reduced-motion:reduce){
  .mj-side{ transition:none }
  .side-brand span, .side-label{ transition:none }
}

/* tamaños consistentes */
.mj-side .side-ico svg{width:22px;height:22px;display:block}

/* por defecto iconos “fill” */
.mj-side .side-ico svg path{fill:currentColor}

/* corrección específica para Lucide (trazo) */
.mj-side .side-ico .lucide *{
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;

  vector-effect:non-scaling-stroke;
}

/* --------- ESTADO ACTIVO UNIFICADO --------- */
/* Sidebar (acepta .is-active o aria-current) */
.mj-side .side-nav a.is-active:not(.side-brand),
.mj-side .side-nav a[aria-current="page"]:not(.side-brand){
  color:var(--personal-ink);
  box-shadow:none;
}

.nav-indicator {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: color-mix(in srgb, var(--personal-lime) 40%, transparent);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: opacity 200ms ease;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}
.nav-indicator.ready {
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), width 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease;
}
.nav-indicator.active {
  opacity: 1;
}
.mj-side .side-nav a.is-active::before,
.mj-side .side-nav a[aria-current="page"]::before{
  content:none;
}

/* Tabbar móvil */
#mobile-tabbar .tab.is-active,
#mobile-tabbar .tab[aria-current="page"]{ color:var(--text); font-weight:700; }
#mobile-tabbar .tab.is-active .ico,
#mobile-tabbar .tab[aria-current="page"] .ico{
  border-radius:10px;
  background:rgba(0,0,0,.06);
  box-shadow:none;
}
 /* [FIX-FONDOS-PUSH-LOCK-350] */
@media (min-width:1024px){
  /* 1) No usamos padding en <body> (evita solape) */
  body{ padding-left:0 !important; }

  /* 3) Empuje real por hermanos (afecta a TODAS las páginas) */
  .mj-nav + .page-wrap{
    margin-left: 0 !important;
  }
}

/* ========================================================
   FOOTER PROFESIONAL
   ======================================================== */
.site-footer {
  margin-top: 80px;
  padding: 80px 24px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.site-footer .footer-logo img {
  width: 48px;
  height: auto;
  display: block;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: color 150ms;
}
.footer-links a:hover {
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}
.footer-credit {
  font-weight: 500;
}
@media (min-width: 640px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* EDITORIAL LAYOUT (El Concepto) */
.about-main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 92px) clamp(20px, 5vw, 64px) clamp(20px, 5vw, 64px);
}
.editorial-layout {
  display: block;
}

.editorial-content {
  max-width: 760px;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.editorial-eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.editorial-title {
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 5.4vw, 5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 1.5rem;
}

.editorial-subtitle {
  max-width: 61ch;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
}

.editorial-body {
  margin-top: clamp(48px, 8vw, 88px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
}

.editorial-block h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 .9rem;
  color: var(--text);
}

.editorial-block p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.7;
  color: var(--muted);
}

.editorial-kpis {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kpi-item strong {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.editorial-actions {
  justify-content: flex-start;
  margin: 2rem 0 0;
}

@media (max-width: 640px) {
  .about-main { padding-top: 28px; }
  .editorial-title { font-size: clamp(2.3rem, 12vw, 3.25rem); }
  .editorial-body { grid-template-columns: 1fr; gap: 32px; }
  .editorial-kpis { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .kpi-item span { font-size: .68rem; }
  .editorial-actions { gap: 10px; margin-bottom: 0; }
}

.kpi-item span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--muted);
  font-weight: 600;
}

/* ========================================================
   PÁGINAS LEGALES
   ======================================================== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px clamp(16px, 4vw, 24px) 56px;
}
.legal-eyebrow {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin: 0 0 10px;
}
.legal h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.legal-updated {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 36px;
}
.legal h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 2.4rem 0 .8rem;
  scroll-margin-top: 120px;
}
.legal h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.6rem 0 .5rem;
}
.legal p,
.legal li {
  color: #2b2b2e;
  line-height: 1.75;
  font-size: 1rem;
}
.legal ul,
.legal ol {
  padding-left: 1.3rem;
  margin: .6rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.legal a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--muted); }
.legal strong { color: var(--text-strong); }

/* Índice de navegación interno (opcional) */
.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 32px;
}
.legal-toc p { margin: 0 0 10px; font-weight: 700; color: var(--text); }
.legal-toc ul { margin: 0; padding-left: 1.1rem; }
.legal-toc a { font-size: .95rem; }

/* Aviso para huecos a rellenar */
.legal-note {
  background: color-mix(in oklab, var(--surface) 70%, #fff);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 28px;
  font-size: .9rem;
  color: var(--muted);
}
.legal-note strong { color: var(--text); }
.legal mark {
  background: #ffe9a8;
  color: #4a3b00;
  padding: 0 .25em;
  border-radius: 3px;
  font-style: normal;
}

/* Datos identificativos: siguen siendo accesibles, pero se separan del
   contenido principal de la política para no dominar visualmente la página. */
.legal-identity {
  margin-top: 3.5rem;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.legal-identity .legal-eyebrow { margin-bottom: 8px; font-size: .67rem; }
.legal-identity h2 { margin: 0 0 .55rem; font-size: 1rem; }
.legal-identity p,
.legal-identity li { font-size: .82rem; line-height: 1.6; color: var(--muted); }
.legal-identity ul { margin: .5rem 0 .75rem; gap: .2rem; }
.legal-identity strong { color: inherit; }

/* ========================================================
   FOOTER — fila de enlaces legales
   ======================================================== */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  transition: color 150ms;
}
.footer-legal a:hover { color: var(--text); }
@media (min-width: 640px) {
  .footer-legal { justify-content: flex-start; }
}

/* ========================================================
   BANNER DE COOKIES
   ======================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.cookie-text {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}
.cookie-text a { color: var(--text); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  min-height: 44px;
  padding: .6rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform 120ms, background 150ms;
}
.cookie-btn:active { transform: scale(.97); }
.cookie-btn-choice { background: var(--surface); color: var(--text); }
.cookie-btn-choice:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.cookie-preferences {
  margin-top: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-manage-button {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(0,0,0,.11);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.cookie-manage-button:hover { border-color: var(--text); }
.cookie-manage-button span:first-child { font-size: 20px; line-height: 12px; }
.cookie-modal-open { overflow: hidden; }
.cookie-modal-layer { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 18px; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.48); backdrop-filter: blur(3px); }
.cookie-modal {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
}
.cookie-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-modal-eyebrow { margin: 0 0 5px; color: var(--muted); font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cookie-modal h2 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; font-size: clamp(1.45rem, 4vw, 1.9rem); }
.cookie-modal > p { margin: 14px 0 20px; color: var(--muted); line-height: 1.55; }
.cookie-icon-button { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--border); cursor: pointer; }
.cookie-category h3 { margin: 0 0 4px; font-size: 1rem; }
.cookie-category p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.cookie-category.is-necessary { cursor: default; }
.cookie-control { display: grid; justify-items: end; gap: 5px; flex: 0 0 auto; }
.cookie-control small,
.cookie-status { color: var(--muted); font-size: .74rem; font-weight: 700; text-align: right; }
.cookie-control input { width: 44px; height: 24px; accent-color: var(--text); cursor: pointer; }
.cookie-control input:disabled { cursor: not-allowed; opacity: .5; }
.cookie-modal-policy { margin: 18px 0 !important; font-size: .86rem; }
.cookie-modal-policy a { color: var(--text); font-weight: 700; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-modal-actions .cookie-btn { flex: 1 1 140px; }
.cookie-table-wrap { margin: 16px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.cookie-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .86rem; }
.cookie-table th, .cookie-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.45; }
.cookie-table th { background: var(--surface); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table code { font-size: .8em; overflow-wrap: anywhere; }

/* Sobre el tabbar en móvil/tablet */
@media (max-width: 1023px) {
  .cookie-banner { bottom: calc(76px + 12px); }
  .cookie-manage-button { bottom: calc(76px + 12px); }
}
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
  .cookie-modal-layer { padding: 10px; }
  .cookie-modal { max-height: calc(100vh - 20px); }
  .cookie-category { align-items: flex-start; }
  .cookie-control { margin-top: 4px; }
  .cookie-modal-actions .cookie-btn { flex-basis: 100%; }
  .cookie-manage-button { left: 10px; }
}

/* ========================================================
   HERO — ajustes móvil (evita doble margen y desbordes)
   ======================================================== */
@media (max-width: 640px) {
  .hero {
    padding: 100px 16px 48px;  /* .page-wrap no aporta gutter en móvil */
    min-height: 70vh;
  }
  .hero .display-title {
    font-size: clamp(1.8rem, 8.5vw, 2.9rem);
  }
  .hero .subtitle { font-size: 1rem; }
  .cta-row { margin-bottom: 44px; }
  .hero-bullets.with-icons { gap: 16px 24px; }
}

/* ========================================================
   TABBAR — reparto flexible y contador de carrito en escritorio
   ======================================================== */
#mobile-tabbar .tab { flex: 1 1 0; min-width: 0; }
.side-cart { position: relative; }
[data-cart-count][hidden] { display: none !important; }
.side-cart-badge {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  background: var(--text); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 1;
}
.tab-badge {
  position: absolute; top: -6px; right: -10px;
  display: inline-grid; place-items: center;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--text); color: #fff; border-radius: 999px;
  font-size: 10px; font-weight: 700; line-height: 1;
}
#mobile-tabbar .ico { position: relative; }

/* ========================================================
   PÁGINA DE CARRITO
   ======================================================== */
.cart-page { max-width: var(--max-width); margin: 0 auto; padding: 8px clamp(16px, 4vw, 24px) 56px; }
.cart-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.cart-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.cart-count { color: var(--muted); font-weight: 600; font-size: .6em; }
.cart-continue { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cart-continue:hover { color: var(--muted); }

/* El atributo [hidden] debe ocultar SIEMPRE, aunque una clase defina display.
   Sin esto, .cart-layout (grid) y .cart-empty (flex) se mostraban a la vez. */
[hidden] { display: none !important; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 14px; }

.cart-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: center;
}
.cart-row-img {
  width: 92px; height: 112px; object-fit: cover;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
}
.cart-row-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-row-title { margin: 0; font-size: 1.05rem; font-weight: 700; }
.cart-row-size { color: var(--muted); font-size: .85rem; }
.cart-row-unit { color: var(--muted); font-size: .85rem; }

.qty-control {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: 999px; overflow: hidden;
  width: fit-content; margin-top: 4px;
}
.qty-control button {
  width: 34px; height: 34px; border: 0; background: var(--bg);
  font-size: 18px; cursor: pointer; color: var(--text);
}
.qty-control button:hover { background: var(--surface-2, #f0f1f3); }
.qty-num { min-width: 34px; text-align: center; font-weight: 700; font-size: .95rem; }

.cart-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-row-total { font-size: 1.05rem; white-space: nowrap; }
.cart-row-del {
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
}
.cart-row-del:hover { color: var(--danger, #b42318); background: rgba(180,35,24,.08); }

.cart-summary {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.cart-summary h2 { margin: 0 0 6px; font-size: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; }
.summary-muted { color: var(--muted); font-size: .85rem; }
.summary-total { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; font-size: 1.15rem; }
.summary-total strong { font-size: 1.3rem; }
.cart-checkout { width: 100%; justify-content: center; margin-top: 8px; border-radius: 999px; padding: .9rem 1rem; }
.cart-note { color: var(--muted); font-size: .8rem; text-align: center; margin: 0; }
.summary-tax { color: var(--muted); font-size: .78rem; text-align: center; margin: 2px 0 0; line-height: 1.4; }
.envio-free { color: #157347; font-weight: 600; }

/* Producto: nota de impuestos/envío bajo el precio y línea de entrega */
.precio-nota { color: var(--muted); font-size: .82rem; margin: -6px 0 10px; }
.envio-info {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--muted); font-size: 0.9rem; line-height: 1.5;
  margin: 24px 0 0; padding: 0;
  background: transparent; border: none;
}
.envio-info svg { flex: 0 0 auto; color: var(--text); }
.envio-info strong { color: var(--text); }

.cart-empty {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; padding: 60px 20px;
}
.cart-empty .ico { color: var(--muted); }
.cart-empty .ico svg { width: 48px; height: 48px; }
.cart-empty h2 { margin: 0; }
.cart-empty p { color: var(--muted); margin: 0 0 8px; }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 480px) {
  .cart-row { grid-template-columns: 72px minmax(0,1fr); }
  .cart-row-img { width: 72px; height: 90px; }
  .cart-row-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ========================================================
   CARRITO — estados de seguridad/disponibilidad
   ======================================================== */
.cart-notice {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--text);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 70%, #fff);
  color: var(--muted);
  font-size: .9rem;
}
.cart-row.is-unavailable { opacity: .6; }
.cart-row.is-unavailable .cart-row-img { filter: grayscale(1); }
.cart-row-badge {
  align-self: flex-start;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(180, 35, 24, .1);
  color: var(--danger, #b42318);
  font-size: 11px;
  font-weight: 700;
}
.cart-checkout.is-disabled {
  opacity: .5;
  pointer-events: none;
  cursor: not-allowed;
}

/* ========================================================
   CHECKOUT / CONFIRMACIÓN
   ======================================================== */
.cart-fallback {
  display: block;
  text-align: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: .85rem;
  text-decoration: underline;
}
.cart-checkout[disabled] { opacity: .5; cursor: not-allowed; }

.confirm-page { display: flex; justify-content: center; padding-top: 12px; }
.confirm-card {
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.confirm-ico {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(6, 118, 71, .12);
  color: var(--ok, #067647);
}
.confirm-card h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.confirm-text { color: var(--muted); margin: 0; }
.confirm-order { margin: 0; font-size: 1rem; }
.confirm-order strong { font-family: var(--font-heading); letter-spacing: .02em; }
.confirm-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.confirm-actions .btn { text-decoration: none; }

/* ---------- Página de agradecimiento (detalle) ---------- */
.confirm-eyebrow {
  margin: 0; font-family: var(--font-display); letter-spacing: -0.01em;
  font-size: 1.05rem; font-weight: 700; color: var(--ok, #067647);
}
.confirm-meta {
  width: 100%; margin-top: 4px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; text-align: left;
}
.confirm-meta-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9rem; }
.confirm-meta-row > span { color: var(--muted); }
.confirm-meta-row strong { font-family: var(--font-heading); letter-spacing: .02em; word-break: break-word; }
.confirm-steps {
  list-style: none; margin: 4px 0 0; padding: 0; width: 100%;
  display: flex; flex-direction: column; gap: 14px; text-align: left;
}
.confirm-steps li { display: flex; gap: 12px; align-items: flex-start; }
.confirm-step-ico {
  flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.confirm-steps li > div { display: flex; flex-direction: column; }
.confirm-steps li strong { font-size: .95rem; }
.confirm-steps li span { color: var(--muted); font-size: .85rem; }
.confirm-help { color: var(--muted); font-size: .85rem; margin: 0; }
.confirm-actions .btn { text-decoration: none; }

/* ========================================================
   FAQ (acordeón nativo) · Guía de tallas · Contacto
   ======================================================== */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s ease;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 18px 16px;
  color: #2b2b2e;
  line-height: 1.7;
  font-size: .96rem;
}
.faq-item .faq-a a { color: var(--text); text-decoration: underline; }

/* Tabla de tallas */
.size-table-wrap {
  overflow-x: auto;
  margin: 6px 0 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.size-table { width: 100%; border-collapse: collapse; min-width: 380px; }
.size-table th, .size-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.size-table thead th {
  background: var(--surface);
  font-family: var(--font-heading);
  font-weight: 700;
}
.size-table tbody tr:last-child td { border-bottom: 0; }
.size-table tbody td:first-child { font-weight: 700; }

/* Contacto */
.contact-methods {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 10px 0 22px;
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.contact-ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  margin-bottom: 4px;
}
.contact-card strong { font-family: var(--font-heading); font-size: 1.05rem; }
.contact-card > span:last-child { color: var(--muted); font-size: .9rem; }

/* Sistema de controles: una misma esquina para cada acción de la web. */
:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .btn,
  .btn-checkout,
  .text-link,
  .side-nav a,
  .side-nav button,
  #mobile-tabbar .tab
) {
  border-radius: 10px !important;
}
