/* ============================================================
   XANAY · ESTILO "LUJO" (desde el 25 de noviembre de 2026)
   Se carga encima de vitrina.css solo cuando <body> tiene xw-lujo.
   Se aplica poco a poco. Paso 1: encabezado y portada principal.
   Reglas: Marcellus en títulos, vino #7C2231 con toques buganvilia,
   logotipo original, líneas finas, botones rectos, mucho aire.
   Ningún texto por debajo de 13 px.
   ============================================================ */
body.xw-lujo{
  --lx-vino:#7C2231; --lx-vino2:#641A27;
  --lx-ink:#1D1A16; --lx-bg:#FDFCFA; --lx-soft:#F4F0EA; --lx-line:#DDD5C8; --lx-ink2:#5C554B;
  --lx-serif:'Marcellus','Times New Roman',serif;
  --lx-sans:'Archivo','Nunito Sans',system-ui,sans-serif;
  --lx-track:.2em;
}

/* ---------- Encabezado (todas las páginas) ---------- */
body.xw-lujo .xw-hd{ background:var(--lx-bg); border-bottom:1px solid var(--lx-line); }
body.xw-lujo .xw-hd-in{ min-height:104px; }
body.xw-lujo .xw-search input[type=search]{ height:48px; border-radius:0; border:1px solid var(--lx-line); background:transparent; font-size:16px; padding:0 58px 0 20px; letter-spacing:.01em; }
body.xw-lujo .xw-search input[type=search]::placeholder{ color:var(--lx-ink2); }
body.xw-lujo .xw-search input[type=search]:focus{ background:#fff; border-color:var(--lx-ink); }
body.xw-lujo .xw-search button{ border-radius:0; width:44px; height:44px; right:2px; }
body.xw-lujo .xw-act{ border-radius:0; gap:6px; }
body.xw-lujo .xw-act-t{ font-family:var(--lx-sans); font-size:13px; font-weight:500; letter-spacing:.12em; text-transform:uppercase; }
body.xw-lujo .xw-act:hover{ color:var(--lx-vino); background:transparent; }
body.xw-lujo .xw-bag-n{ background:var(--bug); } /* toque buganvilia */
body.xw-lujo .xw-lang{ font-family:var(--lx-sans); font-size:13px; font-weight:500; letter-spacing:.14em; }
body.xw-lujo .xw-lang-i.is-cur{ font-weight:600; }
body.xw-lujo a.xw-lang-i:hover{ color:var(--lx-vino); }

/* Menú de categorías */
body.xw-lujo .xw-nav{ background:var(--lx-bg); border-top:0; border-bottom:1px solid var(--lx-line); }
body.xw-lujo .xw-nav-in{ gap:38px; height:56px; }
body.xw-lujo .xw-nav a{ font-family:var(--lx-sans); font-size:13px; font-weight:500; letter-spacing:var(--lx-track); text-transform:uppercase; color:var(--lx-ink); }
body.xw-lujo .xw-nav a::after{ height:1px; bottom:-4px; background:var(--bug); } /* toque buganvilia al pasar */
body.xw-lujo .xw-nav a.xw-nav-sell{ color:var(--lx-vino); border:1px solid currentColor; padding:9px 16px; }
body.xw-lujo .xw-nav a.xw-nav-sell::after{ display:none; }
body.xw-lujo .xw-nav a.xw-nav-sell:hover{ background:var(--lx-vino); color:#fff; }
body.xw-lujo .xw-nav-sep{ height:18px; background:var(--lx-line); }

/* Encabezado sobre la foto de la portada */
body.xw-lujo.xw-over .xw-hd{ background:transparent; border-bottom:0; }
body.xw-lujo.xw-over .xw-search input[type=search]{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.55); color:#fff; }
body.xw-lujo.xw-over .xw-search input[type=search]::placeholder{ color:rgba(255,255,255,.9); }
body.xw-lujo.xw-over .xw-search input[type=search]:focus{ background:#fff; color:var(--lx-ink); border-color:#fff; }
body.xw-lujo.xw-over .xw-act:hover{ color:#fff; background:rgba(255,255,255,.12); }
body.xw-lujo.xw-over .xw-nav--over{ background:transparent; border-bottom:0; }
body.xw-lujo.xw-over .xw-nav--over a{ color:#fff; }
body.xw-lujo.xw-over .xw-nav--over a.xw-nav-sell{ color:#fff; border-color:rgba(255,255,255,.75); }
body.xw-lujo.xw-over .xw-nav--over a.xw-nav-sell:hover{ background:#fff; color:var(--lx-ink); text-shadow:none; }
body.xw-lujo.xw-over .xw-nav--over .xw-nav-sep{ background:rgba(255,255,255,.45); }

/* ---------- Portada principal ---------- */
body.xw-lujo.xw-over .lx-hero{ height:clamp(680px,100vh,960px); background:#17110E; }
.lx-hero .xw-slide-img{ background-size:cover; background-position:var(--pos,50% 35%); }
.lx-hero .xw-slide-img::before{ background-size:inherit !important; background-position:inherit; }
/* Encuadre de cada foto en computadora */
.lx-hero .lx-gaban{ --pos:50% 33%; }
.lx-hero .lx-blusa{ --pos:50% 31%; }
.lx-hero .lx-suelo{ --pos:50% 60%; }
.lx-hero .lx-milpa{ --pos:50% 42%; }
.lx-hero .lx-cacao{ --pos:50% 30%; }
/* Oscurecido suave: arriba para el encabezado, a la izquierda y abajo para el texto */
body.xw-lujo.xw-over .lx-hero .xw-slide-sc{ background:
  linear-gradient(180deg,rgba(14,10,8,.62) 0,rgba(14,10,8,.18) 22%,rgba(14,10,8,0) 36%),
  linear-gradient(90deg,rgba(14,10,8,.62) 0,rgba(14,10,8,.30) 38%,rgba(14,10,8,0) 62%),
  linear-gradient(0deg,rgba(14,10,8,.66) 0,rgba(14,10,8,0) 40%); }

/* Texto fijo de la portada */
.lx-hero-tx{ position:absolute; left:0; right:0; bottom:150px; z-index:2; color:#fff; opacity:var(--xw-fade,1); }
.lx-hero-tx > *{ max-width:720px; }
.lx-eyebrow{ font-family:var(--lx-sans); font-size:13px; font-weight:500; letter-spacing:.32em; text-transform:uppercase; color:rgba(255,255,255,.9); margin:0 0 22px; }
body.xw-lujo .lx-hero-tx h1{ font-family:var(--lx-serif) !important; font-weight:400 !important; text-transform:uppercase; letter-spacing:.06em; font-size:clamp(46px,5.8vw,88px); line-height:1.02; color:#fff !important; margin:0 0 22px; text-shadow:0 2px 30px rgba(0,0,0,.22); }
body.xw-lujo .lx-hero-tx .xw-h-sub{ display:block; font-family:'Bodoni Moda',Georgia,serif !important; font-style:italic; font-weight:400 !important; text-transform:none; letter-spacing:.01em; font-size:.5em; line-height:1.15; margin-top:.28em; }
.lx-lead{ font-size:19px; line-height:1.6; color:rgba(255,255,255,.94); margin:0 0 30px; max-width:540px !important; }
.lx-btns{ display:flex; flex-wrap:wrap; gap:14px; }
.lx-btn{ display:inline-flex; align-items:center; justify-content:center; min-height:54px; padding:0 30px; border:1px solid #fff; border-radius:0; font-family:var(--lx-sans); font-size:13px; font-weight:600; letter-spacing:var(--lx-track); text-transform:uppercase; text-decoration:none !important; transition:background .25s, color .25s, border-color .25s; }
.lx-btn--solid{ background:#fff; color:var(--lx-ink) !important; }
.lx-btn--solid:hover{ background:var(--lx-vino); border-color:var(--lx-vino); color:#fff !important; }
.lx-btn--line{ background:transparent; color:#fff !important; }
.lx-btn--line:hover{ background:#fff; color:var(--lx-ink) !important; }

/* Pie de foto: la pieza que se ve */
.lx-cap{ position:absolute; left:max(var(--xw-pad), calc((100% - var(--xw-max)) / 2 + var(--xw-pad))); bottom:40px; z-index:2; display:flex; flex-direction:column; gap:6px; max-width:440px; padding:14px 20px 14px 18px; background:rgba(14,10,8,.52); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); border-left:2px solid var(--bug); color:#fff !important; text-decoration:none !important; transition:background .25s; }
.lx-cap b{ font-family:var(--lx-serif); font-weight:400; font-size:17px; letter-spacing:.12em; text-transform:uppercase; line-height:1.25; }
.lx-cap span{ font-family:var(--lx-sans); font-size:13px; letter-spacing:.04em; color:rgba(255,255,255,.86); }
.lx-cap:hover{ background:rgba(14,10,8,.72); }

/* Controles: flechas cuadradas y líneas de avance */
.lx-hero .xw-hero-ctrl{ bottom:40px; gap:14px; }
.lx-hero .xw-rb{ width:46px; height:46px; border-radius:0; background:transparent; border:1px solid rgba(255,255,255,.7); color:#fff; }
.lx-hero .xw-rb:hover{ background:#fff; color:var(--lx-ink); }
.lx-hero .lx-pause{ margin-left:6px; border-color:rgba(255,255,255,.4); }
.lx-hero .xw-dots{ gap:10px; align-items:center; }
.lx-hero .xw-dots button{ width:34px; height:2px; border-radius:0; background:rgba(255,255,255,.4); }
.lx-hero .xw-dots button.is-on{ width:34px; background:rgba(255,255,255,.4); }
.lx-hero .xw-dots button.is-on::after{ border-radius:0; background:var(--bug); } /* toque buganvilia */
/* Área cómoda para tocar las líneas */
.lx-hero .xw-dots button{ position:relative; overflow:visible; }
.lx-hero .xw-dots button::before{ content:''; position:absolute; left:0; right:0; top:-14px; bottom:-14px; }
.lx-hero .xw-dots button.is-on{ overflow:hidden; }

/* Movimiento del texto fijo (mismo lenguaje que la Vitrina) */
html.xw-anim.xw-go .lx-hero-tx h1 .xw-w > span{ transform:none; transition:transform 1.2s cubic-bezier(.16,1,.3,1) calc(.5s + var(--i,0) * .09s); }
html.xw-anim .lx-hero-tx .xw-h-sub{ opacity:0; filter:blur(10px); letter-spacing:.3em; }
html.xw-anim.xw-go .lx-hero-tx .xw-h-sub{ opacity:1; filter:none; letter-spacing:.01em; transition:opacity 1.4s ease 1.05s, filter 1.4s ease 1.05s, letter-spacing 1.9s cubic-bezier(.16,1,.3,1) 1.05s; }
html.xw-anim .lx-eyebrow,html.xw-anim .lx-lead,html.xw-anim .lx-btns{ opacity:0; transform:translate3d(0,18px,0); }
html.xw-anim .lx-cap{ opacity:0; }
html.xw-anim.xw-go .lx-eyebrow{ opacity:1; transform:none; transition:opacity 1s ease .35s, transform 1.1s cubic-bezier(.16,1,.3,1) .35s; }
html.xw-anim.xw-go .lx-lead{ opacity:1; transform:none; transition:opacity 1s ease 1.3s, transform 1.1s cubic-bezier(.16,1,.3,1) 1.3s; }
html.xw-anim.xw-go .lx-btns{ opacity:1; transform:none; transition:opacity 1s ease 1.5s, transform 1.1s cubic-bezier(.16,1,.3,1) 1.5s; }
/* El pie de foto entra con cada foto (al cargar espera al título) */
html.xw-anim.xw-go .xw-slide.is-on .lx-cap{ animation:lxCap 1s cubic-bezier(.16,1,.3,1) .7s both; }
html.xw-anim.xw-go .lx-hero .xw-slide:first-child.is-on .lx-cap{ animation-delay:1.7s; }
.lx-hero.lx-moved .xw-slide:first-child.is-on .lx-cap{ animation-delay:.7s !important; }
@keyframes lxCap{ from{ opacity:0; transform:translate3d(0,14px,0); } to{ opacity:1; transform:none; } }
/* Acercamiento más lento y sutil que en la Vitrina */
.lx-hero .xw-slide.is-on .xw-slide-img::before{ transform:scale(1.06) translate3d(var(--kx,-.8%),var(--ky,-.6%),0); transition:transform 12s cubic-bezier(.33,0,.2,1); }

/* ---------- Tableta ---------- */
@media(max-width:1100px){
  .lx-hero .lx-gaban{ --pos:46% 32%; }
  .lx-hero .lx-blusa{ --pos:48% 30%; }
}
@media(max-width:900px){
  body.xw-lujo .xw-hd-in{ min-height:92px; }
  .lx-hero-tx{ bottom:170px; }
}

/* ---------- Celular ---------- */
@media(max-width:720px){
  body.xw-lujo .xw-hd-in{ min-height:0; }
  body.xw-lujo .xw-search input[type=search]{ height:46px; font-size:16px; }
  body.xw-lujo .xw-nav-in{ height:50px; gap:26px; }
  body.xw-lujo.xw-over .lx-hero{ height:max(100svh,760px); min-height:760px; max-height:none; }
  body.xw-lujo .xw-brand small{ font-size:13px; letter-spacing:1px; }
  .lx-hero .lx-gaban,.lx-hero .lx-blusa{ --pos:50% 30%; }
  .lx-hero .lx-milpa,.lx-hero .lx-cacao{ --pos:50% 40%; }
  /* Foto vertical propia para celular, con la cara de Ana entre el menú y el título */
  .lx-hero .xw-slide-img[style*="--img-m"]{ background-image:var(--img-m) !important; background-size:auto 115% !important; }
  .lx-hero .lx-suelo{ --pos:50% 77%; }
  body.xw-lujo.xw-over .lx-hero .xw-slide-sc{ background:
    linear-gradient(180deg,rgba(14,10,8,.70) 0,rgba(14,10,8,.30) 28%,rgba(14,10,8,0) 42%),
    linear-gradient(0deg,rgba(14,10,8,.86) 0,rgba(14,10,8,.55) 36%,rgba(14,10,8,0) 62%); }
  .lx-hero-tx{ bottom:178px; }
  .lx-eyebrow{ font-size:13px; letter-spacing:.24em; margin-bottom:14px; }
  body.xw-lujo .lx-hero-tx h1{ font-size:clamp(38px,11vw,48px); letter-spacing:.04em; margin-bottom:16px; }
  body.xw-lujo .lx-hero-tx .xw-h-sub{ font-size:.58em; }
  .lx-lead{ font-size:17px; margin-bottom:22px; }
  .lx-btns{ gap:10px; }
  .lx-btn{ min-height:50px; padding:0 18px; flex:1 1 auto; }
  .lx-cap{ left:var(--xw-pad); right:var(--xw-pad); bottom:90px; max-width:none; padding:12px 16px; }
  .lx-cap b{ font-size:15px; }
  .lx-hero .xw-hero-ctrl{ bottom:24px; justify-content:space-between; gap:8px; }
  .lx-hero .xw-rb{ width:44px; height:44px; }
  .lx-hero .xw-dots button,.lx-hero .xw-dots button.is-on{ width:26px; }
}

@media (prefers-reduced-motion: reduce){
  .lx-btn,.lx-cap{ transition:none; }
}

/* Sin paralaje en la portada de lujo: la foto y su pie se quedan quietos al bajar */
.lx-hero .xw-slides{ transform:none !important; }
