/* ============================================================
   XANAY · VITRINA (noviembre 2026)
   Diseño de todo el sitio inspirado en la estructura de Westfield
   Arkadia: blanco, gris cálido para separar bandas, un solo color de
   acento (buganvilia) en todos los botones, botones en píldora y
   títulos grandes. Se carga al final, encima de brand/market/portal.
   Dos variantes de títulos: body.xw-serif (Bodoni) y body.xw-cond (Anton).
   Nada de letra pequeña: mínimo 13px.
   ============================================================ */
body.xw{
  --xw-gris:#F3F0EB; --xw-gris2:#E7E1D8; --xw-gris3:#D9D2C7;
  --xw-ok:#1E7F45; --xw-milpa:#2E8B57;
  --xw-h:'Bodoni Moda',Georgia,serif; --xw-hw:400; --xw-ht:none; --xw-hls:0; --xw-hlh:1.06;
  --xw-pad:40px; --xw-max:1360px;
  background:#fff; font-size:16px;
}
body.xw.xw-cond{ --xw-h:'Anton','Impact','Arial Narrow',sans-serif; --xw-hw:400; --xw-ht:uppercase; --xw-hls:.3px; --xw-hlh:1.08; }

/* ---------- Títulos: una sola regla para todo el sitio ---------- */
body.xw h1,body.xw h2,body.xw h3,body.xw .bd,
body.xw .xf-title,body.xw .xpage-title,body.xw .xcol-card__label,body.xw .xcreador-card__name,
body.xw .xcreador-hero__title,body.xw .xcol-hero__title,body.xw .xcol-head h1,body.xw .xarchive-head h1,
body.xw .xm-store-n,body.xw .xw-av-n,body.xw .xw-block b,body.xw .xw-nums b,
body.xw .xacc-vende-t b,body.xw .xacc-sell b,body.xw .xv-box>b,body.xw .xf-creador__name,
body.xw .woocommerce-products-header__title,body.xw .wp-block-post-title{
  font-family:var(--xw-h) !important; font-weight:var(--xw-hw) !important;
  text-transform:var(--xw-ht); letter-spacing:var(--xw-hls);
}
body.xw .wm{ font-family:'Playfair Display',serif !important; font-weight:800 !important; text-transform:uppercase; }
body.xw .eyebrow{ font-size:14px; letter-spacing:2px; }

/* ---------- Base ---------- */
body.xw .xmain,
body.xw.home .xmain,body.xw.post-type-archive-product .xmain,body.xw.tax-product_cat .xmain,
body.xw.tax-creador .xmain,body.xw.search .xmain,body.xw.woocommerce-account .xmain{ background:#fff; }
.xw-wrap{ max-width:var(--xw-max); margin:0 auto; padding-left:var(--xw-pad); padding-right:var(--xw-pad); }
body.xw .xm-wrap,body.xw .xcontain{ max-width:var(--xw-max); padding-left:var(--xw-pad); padding-right:var(--xw-pad); }
.xw-sr{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.xw-skip{ position:absolute; left:-9999px; top:8px; z-index:100; background:var(--ink); color:#fff !important; padding:10px 16px; border-radius:50px; }
.xw-skip:focus{ left:12px; }
body.xw :focus-visible{ outline:3px solid var(--bug); outline-offset:2px; }

/* ---------- Botones en píldora ---------- */
.xw-pill{ display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:12px 26px; border-radius:50px; font-size:16px; font-weight:700; line-height:1.2; border:1.5px solid transparent; cursor:pointer; transition:background .2s,color .2s,border-color .2s; white-space:nowrap; }
.xw-pill--bug{ background:var(--bug); color:#fff !important; }
.xw-pill--bug:hover{ background:var(--bug2); color:#fff !important; }
.xw-pill--line{ background:#fff; border-color:var(--ink); color:var(--ink) !important; }
.xw-pill--line:hover{ background:var(--ink); color:#fff !important; }
.xw-pill--wline{ border-color:#fff; color:#fff !important; }
.xw-pill--wline:hover{ background:#fff; color:var(--ink) !important; }
.xw-pill--grey{ background:var(--xw-gris2); color:var(--ink) !important; min-height:40px; padding:8px 18px; font-size:15px; font-weight:600; }
.xw-pill--wide{ min-width:300px; }
.xw-btns{ display:flex; gap:12px; flex-wrap:wrap; }

body.xw .xm-btn{ border-radius:50px; font-size:16px; letter-spacing:0; padding:13px 26px; }
body.xw .xm-btn--pri{ background:var(--bug); }
body.xw :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-components-button,.wp-block-button__link,.single_add_to_cart_button,.woocommerce #respond input#submit,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button,.woocommerce #place_order,.woocommerce a.checkout-button,button.xv-send,.woocommerce button.button.alt.single_add_to_cart_button,.single-product .xf-cta button.single_add_to_cart_button){
  background:var(--bug) !important; color:#fff !important; border:0 !important; border-radius:50px !important;
  text-transform:none !important; letter-spacing:0 !important; font-size:16px !important; font-weight:700 !important;
  padding:14px 28px !important; min-height:50px; line-height:1.2 !important;
}
body.xw :is(.woocommerce a.button:hover,.woocommerce button.button:hover,.single_add_to_cart_button:hover,.wc-block-components-button:hover,.wp-block-button__link:hover,.woocommerce #place_order:hover,.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover,.single-product .xf-cta button.single_add_to_cart_button:hover){ background:var(--bug2) !important; }

/* ============================================================
   ENCABEZADO
   ============================================================ */
.xw-hd{ background:#fff; position:relative; z-index:30; }
.xw-hd-in{ display:grid; grid-template-columns:minmax(260px,1fr) minmax(0,600px) minmax(220px,1fr); align-items:center; gap:28px; min-height:118px; }
.xw-brand{ display:flex; align-items:center; gap:14px; color:var(--ink); justify-self:start; }
.xw-brand:hover{ color:var(--ink); }
.xw-brand-t{ display:block; line-height:1; }
.xw-brand svg{ width:62px; height:62px; }
.xw-brand .wm{ display:block; font-size:46px; letter-spacing:4px; line-height:.95; color:var(--ink); }
.xw-brand small{ display:block; font-size:13px; font-weight:700; letter-spacing:3.6px; text-transform:uppercase; color:var(--gold); margin-top:7px; }
.xw-search{ position:relative; margin:0; width:100%; }
.xw-search input[type=search]{ width:100%; height:58px; border:1px solid rgba(36,24,38,.10); background:var(--xw-gris); border-radius:32px; padding:0 66px 0 26px; font-size:18px; color:var(--ink); outline:none; -webkit-appearance:none; appearance:none; box-shadow:none; transition:border-color .2s, background .2s; }
.xw-search input[type=search]::placeholder{ color:#776B78; }
.xw-search input[type=search]:focus{ background:#fff; border-color:var(--ink); }
.xw-search button{ position:absolute; right:8px; top:50%; transform:translateY(-50%); width:44px; height:44px; border:0; border-radius:50%; background:transparent; color:var(--ink); display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; }
.xw-search button:hover{ background:var(--xw-gris2); }
.xw-acts{ display:flex; align-items:center; gap:8px; justify-self:end; }
.xw-act{ display:flex; flex-direction:column; align-items:center; gap:3px; min-width:56px; padding:6px 6px; border:0; background:none; color:var(--ink); cursor:pointer; font:inherit; border-radius:10px; }
.xw-act:hover{ color:var(--bug); }
.xw-act-t{ font-size:13px; font-weight:600; line-height:1; }
.xw-bag{ position:relative; display:flex; }
.xw-bag-n{ position:absolute; top:-6px; right:-10px; min-width:21px; height:21px; padding:0 5px; border-radius:21px; background:var(--bug); color:#fff; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.xw-burger{ justify-content:center; min-height:56px; }

/* ---------- Menú de categorías ---------- */
.xw-nav{ background:#fff; border-top:1px solid var(--xw-gris2); border-bottom:1px solid var(--xw-gris2); position:relative; z-index:20; }
.xw-nav-in{ display:flex; align-items:center; justify-content:center; gap:34px; height:58px; padding:0 var(--xw-pad); overflow-x:auto; scrollbar-width:none; }
.xw-nav-in::-webkit-scrollbar{ display:none; }
.xw-nav a{ font-size:16px; font-weight:700; color:var(--ink); white-space:nowrap; position:relative; padding:4px 0; }
.xw-nav a::after{ content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:currentColor; transform:scaleX(0); transition:transform .2s; }
.xw-nav a:hover::after{ transform:scaleX(1); }
.xw-nav a.xw-nav-sell{ color:var(--bug); }
.xw-nav-sep{ flex:0 0 1px; height:22px; background:var(--xw-gris3); }
.xw-nav--over{ position:absolute; top:0; left:0; right:0; background:transparent; border:0; }
.xw-nav--over a,.xw-nav--over a.xw-nav-sell{ color:#fff; text-shadow:0 1px 12px rgba(0,0,0,.45); }
.xw-nav--over .xw-nav-sep{ background:rgba(255,255,255,.5); }

/* ---------- Menú lateral ---------- */
.xw-drawer{ position:fixed; inset:0; z-index:200; }
.xw-drawer[hidden]{ display:none; }
.xw-drawer-sc{ position:absolute; inset:0; background:rgba(24,12,20,.5); }
.xw-drawer-p{ position:absolute; top:0; right:0; bottom:0; width:min(440px,100%); background:#fff; display:flex; flex-direction:column; box-shadow:-10px 0 40px rgba(0,0,0,.18); animation:xwIn .25s ease-out; }
@keyframes xwIn{ from{ transform:translateX(30px); opacity:0; } to{ transform:none; opacity:1; } }
.xw-drawer-h{ display:flex; align-items:center; justify-content:space-between; padding:20px 26px; border-bottom:1px solid var(--xw-gris2); }
.xw-drawer-h .wm{ font-size:32px; letter-spacing:4px; }
.xw-x{ width:48px; height:48px; border:0; border-radius:50%; background:var(--xw-gris); color:var(--ink); display:flex; align-items:center; justify-content:center; cursor:pointer; }
.xw-drawer-b{ overflow-y:auto; padding:8px 26px 34px; }
.xw-drawer-t{ display:block; font-size:14px; letter-spacing:1.8px; text-transform:uppercase; color:var(--muted2); margin:24px 0 6px; }
.xw-drawer-b a:not(.xw-pill){ display:flex; justify-content:space-between; gap:12px; padding:11px 0; font-size:18px; font-weight:600; color:var(--ink); border-bottom:1px solid var(--xw-gris); }
.xw-drawer-b a:not(.xw-pill):hover{ color:var(--bug); }
.xw-drawer-b em{ font-style:normal; font-weight:400; color:var(--muted2); font-size:16px; }
.xw-drawer-all{ font-weight:800 !important; }
.xw-drawer-wa{ width:100%; margin-top:28px; }
body.xw-lock{ overflow:hidden; }

/* ============================================================
   PORTADA
   ============================================================ */
.xw-hero{ position:relative; height:clamp(520px,50vw,680px); overflow:hidden; background:var(--ink); }
.xw-slides{ position:absolute; inset:0; }
.xw-slide{ position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .8s ease, visibility 0s linear .8s; }
.xw-slide.is-on{ opacity:1; visibility:visible; transition:opacity .8s ease; }
.xw-slide-img{ position:absolute; inset:0; background-size:cover; background-repeat:no-repeat; background-color:#33243A; transform:scale(1.03); transition:transform 7s ease-out; }
.xw-slide.is-on .xw-slide-img{ transform:scale(1); }
.xw-slide-sc{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(20,10,18,.50) 0,rgba(20,10,18,0) 24%),linear-gradient(0deg,rgba(20,10,18,.80) 0,rgba(20,10,18,.35) 38%,rgba(20,10,18,0) 62%); }
.xw-slide-tx{ position:absolute; left:0; right:0; bottom:0; padding-bottom:104px; color:#fff; }
.xw-slide-tx h1,.xw-slide-tx h2{ color:#fff !important; font-size:clamp(40px,5vw,68px); line-height:var(--xw-hlh); margin:0 0 14px; max-width:760px; text-shadow:0 2px 30px rgba(0,0,0,.25); }
.xw-slide-tx p{ font-size:19px; line-height:1.5; margin:0 0 24px; max-width:560px; color:#fff; }
/* Diapositiva partida: color sólido de la marca a la izquierda y foto a la derecha */
.xw-slide--split .xw-slide-img{ left:auto; width:50%; }
.xw-slide--split .xw-slide-sc{ background:linear-gradient(180deg,rgba(20,10,18,.40) 0,rgba(20,10,18,0) 22%); }
.xw-slide--split .xw-slide-tx{ right:auto; width:100%; }
.xw-slide--split .xw-slide-tx h1,.xw-slide--split .xw-slide-tx h2,.xw-slide--split .xw-slide-tx p{ max-width:min(560px,42vw); }
.xw-c-bug{ background:var(--bug); } .xw-c-ink{ background:var(--ink); } .xw-c-milpa{ background:var(--xw-milpa); }
.xw-slide--split.xw-c-bug .xw-pill--bug{ background:#fff; color:var(--bug) !important; }
.xw-slide--split.xw-c-bug .xw-pill--bug:hover{ background:var(--ink); color:#fff !important; }
.xw-hero-ctrl{ position:absolute; left:0; right:0; bottom:30px; display:flex; justify-content:flex-end; align-items:center; gap:22px; z-index:4; pointer-events:none; }
.xw-hero-ctrl > *{ pointer-events:auto; }
.xw-dots{ display:flex; gap:8px; }
.xw-dots button{ width:10px; height:10px; padding:0; border:0; border-radius:10px; background:rgba(255,255,255,.55); cursor:pointer; transition:width .3s, background .3s; }
.xw-dots button.is-on{ width:30px; background:#fff; }
.xw-hero-btns{ display:flex; gap:10px; }
.xw-rb{ width:44px; height:44px; border-radius:50%; border:0; background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; }
.xw-rb:hover{ background:var(--xw-gris2); }
.xw-rb--dk{ margin-left:10px; }

/* ---------- Franja de información ---------- */
.xw-info{ padding-top:18px; }
.xw-info-row{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.xw-info-c{ background:var(--xw-gris); border-radius:6px; padding:15px 18px; line-height:1.35; }
.xw-info-c b{ display:block; font-size:17px; margin-bottom:3px; }
.xw-info-c span{ display:block; font-size:16px; color:#4E4250; }
.xw-info-c .xw-hrs span{ display:inline; font-size:inherit; }
.xw-hrs .xw-ok{ color:var(--xw-ok); font-weight:700; }
.xw-hrs .xw-off{ color:var(--bug2); font-weight:700; }
.xw-info-more{ display:flex; align-items:center; justify-content:center; gap:30px; flex-wrap:wrap; margin-top:24px; }
.xw-info-link{ font-size:17px; color:var(--ink); text-decoration:underline !important; text-underline-offset:4px; }

/* ---------- Avenida de tarjetas verticales ---------- */
.xw-avenue{ margin-top:48px; }
.xw-av-track{ display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-left:var(--xw-pad); padding:0 var(--xw-pad); scrollbar-width:none; }
.xw-av-track::-webkit-scrollbar{ display:none; }
.xw-av{ position:relative; flex:0 0 clamp(220px,19vw,280px); aspect-ratio:2/3; scroll-snap-align:start; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:20px; background:var(--xw-gris2) center/cover no-repeat; color:#fff; overflow:hidden; }
.xw-av-sc{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(20,10,18,.18),rgba(20,10,18,.42)); transition:background .3s; }
.xw-av:hover .xw-av-sc{ background:linear-gradient(180deg,rgba(20,10,18,.30),rgba(20,10,18,.60)); }
.xw-av:hover{ color:#fff; }
.xw-av-n{ position:relative; font-size:clamp(30px,2.6vw,38px); line-height:1.05; color:#fff; text-shadow:0 2px 18px rgba(0,0,0,.35); }
.xw-av-s{ position:relative; margin-top:10px; font-size:15px; font-weight:700; color:#fff; opacity:.95; }
.xw-rail-foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:24px; }
.xw-rail-foot--end{ justify-content:flex-end; }
.xw-rail-ctrl{ display:flex; gap:10px; }
.xw-arr{ width:44px; height:44px; border-radius:50%; border:0; background:var(--xw-gris2); color:var(--ink); display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; transition:opacity .2s, background .2s; }
.xw-arr:hover{ background:var(--xw-gris3); }
.xw-arr[disabled]{ opacity:.35; cursor:default; }

/* ---------- Encabezado de sección ---------- */
.xw-sec{ margin-top:96px; }
.xw-sh{ margin-bottom:34px; }
.xw-sh h2{ font-size:clamp(38px,4.2vw,58px); line-height:var(--xw-hlh); margin:0 0 12px; color:var(--ink); }
.xw-sh p{ font-size:18px; line-height:1.55; margin:0 0 22px; color:#3B2F3D; max-width:720px; }

/* ---------- Tarjeta de pieza (todo el sitio): plana, sin bordes ---------- */
body.xw ul.products li.product{ background:transparent; border:0; border-radius:0; overflow:visible; }
body.xw ul.products li.product:hover{ box-shadow:none; transform:none; }
body.xw .xpc-ph{ background:var(--xw-gris); overflow:hidden; }
body.xw ul.products li.product .xpc-ph img{ transition:transform .5s ease; }
body.xw ul.products li.product:hover .xpc-ph img{ transform:scale(1.04); }
body.xw .xpc-bx{ padding:14px 2px 6px; gap:4px; }
body.xw .xpc-cr{ font-size:13px; letter-spacing:1px; color:var(--muted2); }
body.xw .xpc-nm{ font-size:16px; line-height:1.35; min-height:43px; }
body.xw .xpc-pr{ font-size:20px; }
body.xw .xpc-pr small{ font-size:13px; }
body.xw .xpc-msi{ font-size:14px; }
body.xw .xpc-tag{ top:12px; left:12px; border-radius:50px; padding:5px 12px; font-size:13px; letter-spacing:.3px; text-transform:none; }
body.xw ul.products{ gap:34px 18px !important; }

/* Carriles de piezas (desplazamiento horizontal) */
.xw-rail-wrap{ position:relative; }
body.xw ul.products.xw-track{ grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:calc((100% - 4*18px)/5); overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
body.xw ul.products.xw-track::-webkit-scrollbar{ display:none; }
body.xw ul.products.xw-track li.product{ scroll-snap-align:start; }
.xw-sel{ display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.xw-sel::-webkit-scrollbar{ display:none; }
body.xw .xw-sel > ul.products{ display:contents !important; }
body.xw .xw-sel > ul.products li.product{ flex:0 0 calc((100% - 4*18px)/5); scroll-snap-align:start; }
.xw-block{ flex:0 0 calc((100% - 4*18px)/5*2 + 18px); scroll-snap-align:start; color:#fff; padding:36px 34px; display:flex; flex-direction:column; justify-content:flex-end; min-height:420px; }
.xw-block b{ font-size:clamp(32px,3vw,44px); line-height:var(--xw-hlh); color:#fff; margin-bottom:14px; }
.xw-block p{ font-size:17px; line-height:1.55; margin:0 0 24px; color:#fff; max-width:420px; }
.xw-block .xw-pill{ align-self:flex-start; }

/* ---------- Banda gris ---------- */
.xw-band{ background:var(--xw-gris); padding:88px 0 72px; margin-top:96px; }
body.xw .xw-band .xpc-ph{ background:#fff; }

/* ---------- Novedades ---------- */
.xw-news{ display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:start; }
.xw-news-big,.xw-news-it{ color:var(--ink); display:block; }
.xw-news-big:hover,.xw-news-it:hover{ color:var(--ink); }
.xw-news-im{ display:block; aspect-ratio:4/3; overflow:hidden; background:var(--xw-gris); }
.xw-news-im img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.xw-news-big:hover .xw-news-im img{ transform:scale(1.03); }
.xw-news-meta{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:18px 0 10px; font-size:15px; color:var(--muted2); }
.xw-tag{ display:inline-block; background:var(--ink); color:#fff; border-radius:50px; padding:4px 12px; font-size:13px; font-weight:700; line-height:1.3; white-space:nowrap; }
.xw-news-t{ display:block; font-size:27px; font-weight:600; line-height:1.25; margin-bottom:12px; }
.xw-news-p{ display:block; font-size:17px; line-height:1.6; color:#4E4250; margin-bottom:18px; }
.xw-news-list{ display:flex; flex-direction:column; }
.xw-news-it{ display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:28px; padding:0 0 30px; margin-bottom:30px; border-bottom:1px solid var(--xw-gris2); }
.xw-news-it:last-child{ border-bottom:0; margin-bottom:0; }
.xw-news-it .xw-news-meta{ justify-content:flex-end; margin-top:0; }
.xw-news-it .xw-news-t{ font-size:24px; }
.xw-news-th{ display:block; aspect-ratio:1/1; background:var(--xw-gris) center/cover no-repeat; }
.xw-news-it:hover .xw-pill--grey,.xw-news-big:hover .xw-pill--grey{ background:var(--ink); color:#fff !important; }

/* ---------- Bloque partido ---------- */
.xw-split{ display:grid; grid-template-columns:1fr 1fr; min-height:560px; margin-top:96px; }
.xw-split-tx{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:56px 56px 56px max(var(--xw-pad), calc((100vw - var(--xw-max))/2 + var(--xw-pad))); }
.xw-split-tx h2{ font-size:clamp(40px,4.4vw,64px); line-height:var(--xw-hlh); margin:0 0 16px; max-width:560px; }
.xw-split-tx p{ font-size:19px; line-height:1.55; margin:0 0 26px; max-width:520px; }
.xw-split-im{ background:var(--xw-gris) center/cover no-repeat; min-height:420px; }

/* ---------- Cifras ---------- */
.xw-nums{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; margin-top:96px; padding-top:52px; padding-bottom:52px; border-top:1px solid var(--xw-gris2); border-bottom:1px solid var(--xw-gris2); }
.xw-nums b{ display:block; font-size:clamp(46px,4.6vw,68px); line-height:1; color:var(--ink); }
.xw-nums span{ display:block; font-size:15px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase; color:var(--muted2); margin-top:12px; }

/* ---------- Texto final ---------- */
.xw-about{ padding-top:56px; padding-bottom:72px; }
.xw-about-tx{ max-width:980px; }
.xw-about-tx p{ font-size:18px; line-height:1.7; margin:0 0 14px; }
.xw-about-more{ display:inline-block; margin-top:6px; font-size:16px; font-weight:700; color:var(--ink); text-decoration:underline !important; text-underline-offset:4px; }

/* ============================================================
   PIE
   ============================================================ */
.xw-ft{ background:#fff; color:var(--ink); border-top:1px solid var(--xw-gris2); }
.xw-franja{ height:6px; background:linear-gradient(90deg,var(--bug) 0 20%,var(--cempa) 20% 40%,var(--sol) 40% 60%,var(--milpa) 60% 80%,var(--turq) 80% 100%); }
.xw-ft .xw-wrap{ padding-top:64px; padding-bottom:40px; }
.xw-ft-cols{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; }
body.xw .xw-ft h4{ font-family:'Nunito Sans',sans-serif !important; font-weight:800 !important; font-size:18px; letter-spacing:0; text-transform:none; color:var(--ink); margin:0 0 16px; }
body.xw .xw-ft h4.xw-ft-h2{ margin-top:30px; }
.xw-ft-c a{ display:block; font-size:16px; color:var(--ink); margin-bottom:10px; }
.xw-ft-c a:hover{ color:var(--bug); }
.xw-ft-contact p{ font-size:16px; line-height:1.6; margin:0 0 16px; max-width:360px; color:#3B2F3D; }
.xw-ft-lines a,.xw-ft-lines span{ display:block; margin-bottom:6px; font-size:16px; color:var(--ink); }
.xw-social{ display:flex; gap:10px; margin-top:20px; }
.xw-social a{ width:46px; height:46px; border-radius:50%; background:var(--xw-gris); display:flex; align-items:center; justify-content:center; margin:0; color:var(--ink); }
.xw-social a:hover{ background:var(--ink); color:#fff; }
.xw-ft-bot{ display:flex; justify-content:space-between; align-items:flex-end; gap:32px; flex-wrap:wrap; margin-top:64px; }
.xw-ft-mark{ display:flex; align-items:center; gap:22px; color:var(--ink); }
.xw-ft-mark:hover{ color:var(--ink); }
.xw-ft-mark .wm{ font-size:clamp(64px,10vw,150px); letter-spacing:.06em; line-height:.9; }
.xw-ft-side{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.xw-ft-pay b{ display:block; font-size:16px; margin-bottom:4px; }
.xw-ft-pay span{ display:block; font-size:15px; color:#4E4250; }
.xw-ft-lang{ font-size:15px; }
.xw-ft-lang .trp-language-switcher{ width:auto; }
.xw-ft-copy{ font-size:15px; color:var(--muted2); }

/* ============================================================
   PÁGINAS INTERIORES
   ============================================================ */
/* Ruta de navegación */
body.xw .xm-crumb,body.xw .xcrumb{ font-size:15px; letter-spacing:0; text-transform:none; color:var(--muted2); margin-bottom:18px; }
body.xw .xm-crumb a,body.xw .xcrumb a{ color:var(--muted2); }

/* Listado: tienda, categoría, búsqueda */
body.xw .xm-list{ padding-top:30px; padding-bottom:90px; }
body.xw .xm-list-h{ margin-bottom:22px; }
body.xw .xm-list-h h1{ font-size:clamp(40px,4.4vw,60px); line-height:var(--xw-hlh); }
body.xw .xm-list-desc{ font-size:17px; color:#3B2F3D; }
body.xw .xm-chips{ gap:10px; margin-bottom:26px; }
body.xw .xm-chips a{ background:var(--xw-gris); border:0; border-radius:50px; padding:10px 20px; font-size:16px; font-weight:600; }
body.xw .xm-chips a:hover{ background:var(--xw-gris2); }
body.xw .xm-chips a.on{ background:var(--ink); color:#fff; }
body.xw .woocommerce-result-count{ font-size:16px; }
body.xw .woocommerce-ordering select{ background:var(--xw-gris); border:0; border-radius:50px; padding:12px 18px; font-size:16px; }
body.xw nav.woocommerce-pagination ul li a,body.xw nav.woocommerce-pagination ul li span{ border-radius:50%; min-width:48px; height:48px; border:0; background:var(--xw-gris); font-size:16px; }
body.xw nav.woocommerce-pagination ul li span.current{ background:var(--ink); color:#fff; }
body.xw nav.woocommerce-pagination ul li a:hover{ background:var(--xw-gris2); }

/* Ficha de producto */
body.xw .xficha{ padding-top:30px; padding-bottom:90px; }
body.xw .xficha-grid{ grid-template-columns:1.1fr .9fr; gap:64px; }
body.xw .xficha-media{ background:var(--xw-gris); }
body.xw .xficha-info .eyebrow{ font-size:15px; letter-spacing:1.6px; }
body.xw .xf-title{ font-size:clamp(34px,3.4vw,48px); line-height:var(--xw-hlh); margin:6px 0 14px; }
body.xw .xf-price{ font-size:30px; font-weight:700; }
body.xw .xf-price .woocommerce-Price-amount{ font-weight:700; }
body.xw .xny-msi{ font-size:16px; color:#4E4250; letter-spacing:0; }
body.xw .xf-cta .quantity input.qty{ height:52px; border-radius:50px; border:1px solid var(--xw-gris3); background:var(--xw-gris); font-size:17px; width:90px; text-align:center; }
body.xw .xf-cta button.single_add_to_cart_button.button{ width:100%; min-height:56px; font-size:17px !important; }
body.xw .xf-cta form.cart{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
body.xw .xf-cta .quantity{ margin:0 !important; }
body.xw .xf-cta form.cart button.single_add_to_cart_button.button{ flex:1 1 220px; width:auto; }
body.xw .xarchive-empty{ font-size:18px; color:#4E4250; padding:40px 0 80px; text-align:left; }
body.xw .xf-pay{ font-size:15px; color:var(--muted2); letter-spacing:0; }
body.xw .xf-short{ font-size:17px; color:#3B2F3D; }
body.xw .xf-acc{ border-top:1px solid var(--xw-gris2); padding:18px 0; }
body.xw .xf-acc summary{ font-size:18px; font-weight:700; letter-spacing:0; text-transform:none; }
body.xw .xf-acc summary::after{ font-size:24px; color:var(--ink); }
body.xw .xf-acc>div{ font-size:16.5px; line-height:1.75; color:#3B2F3D; }
body.xw .xf-specs div{ border-bottom:1px solid var(--xw-gris2); padding:10px 0; gap:16px; }
body.xw .xf-specs b{ text-align:right; }
body.xw .xf-hist{ font-size:16.5px; }
body.xw .xf-creador{ background:var(--xw-gris); border:0; border-radius:8px; padding:16px 18px; }
body.xw .xf-creador:hover{ background:var(--xw-gris2); }
body.xw .xf-creador__lbl{ font-size:13px; letter-spacing:1.4px; }
body.xw .xf-creador__name{ font-size:22px; }
body.xw .xf-creador__link{ font-size:15px; letter-spacing:0; text-transform:none; color:var(--bug); }
body.xw .xficha-rel{ border-top:0; padding-top:0; margin-top:96px; }
body.xw .xficha-rel h2,body.xw .xficha-rel .related > h2{ text-align:left; font-size:clamp(34px,3.6vw,52px) !important; margin:0 0 28px; }

/* Colecciones: tarjetas altas como la avenida */
body.xw .xcol-hero__lead{ font-size:17px; }
body.xw .xcol-hero .eyebrow{ font-size:15px; }
body.xw .xcol-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding-top:48px; padding-bottom:96px; }
body.xw .xcol-card,body.xw .xcol-card:first-child{ grid-column:auto; height:auto; aspect-ratio:3/4; align-items:center; justify-content:center; text-align:center; }
body.xw .xcol-card:first-child{ grid-column:span 2; aspect-ratio:auto; }
body.xw .xcol-card__ov{ background:linear-gradient(180deg,rgba(20,10,18,.18),rgba(20,10,18,.45)); }
body.xw .xcol-card__body{ display:flex; flex-direction:column; align-items:center; padding:24px; }
body.xw .xcol-card__label{ font-size:clamp(34px,3.2vw,46px); line-height:1.05; }
body.xw .xcol-card__link{ opacity:1; transform:none; margin-top:16px; font-size:16px; letter-spacing:0; text-transform:none; color:#fff; background:rgba(255,255,255,.18); border:1.5px solid #fff; border-radius:50px; padding:10px 22px; }
body.xw .xcol-card:hover .xcol-card__link{ background:#fff; color:var(--ink); }

/* Creadores: directorio y vitrina */
body.xw .xcol-head{ text-align:left; padding:48px var(--xw-pad) 34px; max-width:var(--xw-max); margin:0 auto; }
body.xw .xcol-head h1{ font-size:clamp(40px,4.6vw,64px); }
body.xw .xcol-head p{ margin:0; font-size:18px; color:#3B2F3D; max-width:760px; }
body.xw .xcreadores-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
body.xw .xcreador-card{ height:auto; aspect-ratio:2/3; align-items:center; justify-content:center; text-align:center; }
body.xw .xcreador-card__body{ display:flex; flex-direction:column; align-items:center; }
body.xw .xcreador-card__name{ font-size:clamp(28px,2.4vw,36px); }
body.xw .xcreador-card__region{ font-size:15px; letter-spacing:0; text-transform:none; color:#fff; }
body.xw .xcreador-card__count{ font-size:15px; letter-spacing:0; text-transform:none; }
body.xw .xcreador-hero{ min-height:clamp(420px,42vw,560px); }
body.xw .xcreador-hero__in{ max-width:var(--xw-max); padding:0 var(--xw-pad) 52px; }
body.xw .xcreador-hero__title{ font-size:clamp(42px,5vw,72px); }
body.xw .xcreador-hero__text{ font-size:18px; }
body.xw .xcreador-hero--plain{ background:var(--xw-gris); }
body.xw .xcreador-tienda{ padding-top:48px; padding-bottom:90px; }
body.xw .xarchive-bar{ border-bottom:0; }

/* Páginas de texto, bolsa y pago */
body.xw .xpage{ padding-top:40px; padding-bottom:90px; }
body.xw .xpage-title{ text-align:left; font-size:clamp(40px,4.4vw,60px); line-height:var(--xw-hlh); margin:0 0 30px; }
body.xw .xpage-content{ font-size:17px; line-height:1.75; }
body.page-template-default.xw:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .xpage-content{ max-width:820px; }
body.xw .xpage-content h2{ font-size:clamp(28px,2.6vw,36px); margin:1.6em 0 .5em; }
body.xw .xpage-content h3{ font-size:clamp(22px,2vw,28px); margin:1.4em 0 .4em; }
body.xw table.cart th,body.xw .woocommerce table.shop_table th{ font-size:14px; letter-spacing:.6px; }
body.xw .woocommerce-cart .cart_totals,body.xw .cart-collaterals .cart_totals{ background:var(--xw-gris); border-radius:8px; }
body.xw .woocommerce-checkout #payment{ background:var(--xw-gris); border-radius:8px; }
body.xw .wc-block-components-sidebar .wc-block-components-totals-wrapper,body.xw .wc-block-components-order-summary{ font-size:16px; }

/* Mi cuenta */
body.xw.woocommerce-account .xpage-title{ text-align:left; }
body.xw .xacc-nav{ background:var(--xw-gris); border:0; border-radius:8px; }
body.xw .xacc-nav a{ border-left:0; border-radius:50px; margin:2px 8px; padding:12px 18px; }
body.xw .xacc-nav a:hover{ background:var(--xw-gris2); }
body.xw .xacc-nav li.is-active a{ background:var(--ink); color:#fff; }
body.xw .xacc-nav li.woocommerce-MyAccount-navigation-link--customer-logout{ border-top-color:var(--xw-gris2); }
body.xw .woocommerce-MyAccount-content{ border:0; background:var(--xw-gris); border-radius:8px; }
body.xw .woocommerce-MyAccount-content:has(.xacc-hello){ background:none; }
body.xw .xacc-last,body.xw .xacc-empty,body.xw a.xacc-card{ background:var(--xw-gris); border:0; border-radius:8px; }
body.xw .xacc-last-i{ background:#fff; }
body.xw .xacc-last-t small{ font-size:13px; }
body.xw a.xacc-vende,body.xw .xacc-sell{ background:var(--bug); border-radius:8px; }
body.xw .xacc-vende-i,body.xw .xacc-sell{ color:#fff; }
body.xw .xacc-vende-t span,body.xw .xacc-sell p{ color:#fff; opacity:.92; }
body.xw a.xacc-vende .xm-btn--pri,body.xw .xacc-sell .xm-btn--pri{ background:#fff; color:var(--bug) !important; }
body.xw .xacc-login-main{ border:0; background:var(--xw-gris); border-radius:8px; }
body.xw.woocommerce-account .woocommerce input.input-text,body.xw.woocommerce-account .woocommerce select,body.xw.woocommerce-account .woocommerce textarea{ border-radius:10px; border-color:var(--xw-gris3); }
body.xw.woocommerce-account .woocommerce table.shop_table{ background:#fff; }
body.xw.woocommerce-account .woocommerce .woocommerce-Address{ background:#fff; border:0; }

/* Vende en Xanay (portal) */
body.xw .xv{ background:#fff; }
body.xw .xv-hero{ background:var(--ink); }
body.xw .xv-hero h1{ font-size:clamp(42px,5vw,68px); line-height:var(--xw-hlh); }
body.xw .xv-steps>div,body.xw .xv-box{ background:var(--xw-gris); border:0; border-radius:8px; }
body.xw .xv-form{ border:1px solid var(--xw-gris2); border-radius:8px; }
body.xw .xv-form input[type=text],body.xw .xv-form input[type=tel],body.xw .xv-form input[type=email],body.xw .xv-form input[type=url],
body.xw .xv-form input[type=password],body.xw .xv-form input[type=number],body.xw .xv-form select,body.xw .xv-form textarea{ border-radius:10px; border-color:var(--xw-gris3); }

/* ============================================================
   TABLETA
   ============================================================ */
@media(max-width:1180px){
  body.xw{ --xw-pad:28px; }
  .xw-brand svg{ width:54px; height:54px; }
  .xw-brand .wm{ font-size:40px; }
  .xw-hd-in{ grid-template-columns:auto minmax(0,1fr) auto; gap:22px; }
  .xw-nav-in{ justify-content:flex-start; gap:28px; }
  body.xw ul.products.xw-track{ grid-auto-columns:calc((100% - 3*18px)/4); }
  body.xw .xw-sel > ul.products li.product{ flex-basis:calc((100% - 3*18px)/4); }
  .xw-block{ flex-basis:calc((100% - 3*18px)/4*2 + 18px); }
  .xw-news{ gap:40px; }
  .xw-news-it{ grid-template-columns:minmax(0,1fr) 150px; }
  body.xw .xcreadores-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:900px){
  .xw-act-t{ display:none; }
  .xw-act{ min-width:48px; }
  .xw-info-row{ grid-template-columns:1fr 1fr; }
  .xw-news{ grid-template-columns:1fr; gap:44px; }
  .xw-split{ grid-template-columns:1fr; }
  .xw-split-tx{ padding:56px var(--xw-pad); order:2; }
  .xw-split-im{ order:1; min-height:360px; }
  .xw-ft-cols{ grid-template-columns:1fr 1fr; }
  .xw-ft-contact{ grid-column:1 / -1; }
  body.xw ul.products.xw-track{ grid-auto-columns:calc((100% - 2*18px)/3); }
  body.xw .xw-sel > ul.products li.product{ flex-basis:calc((100% - 2*18px)/3); }
  .xw-block{ flex-basis:calc((100% - 2*18px)/3*2 + 18px); }
  body.xw .xficha-grid{ grid-template-columns:1fr; gap:28px; }
  body.xw .xcol-grid{ grid-template-columns:1fr 1fr; }
  body.xw .xcreadores-grid{ grid-template-columns:1fr 1fr; }
  .xw-slide--split .xw-slide-img{ width:100%; }
  .xw-slide--split .xw-slide-sc{ background:linear-gradient(180deg,rgba(20,10,18,.45) 0,rgba(20,10,18,0) 24%),linear-gradient(0deg,rgba(20,10,18,.80) 0,rgba(20,10,18,.25) 45%,rgba(20,10,18,0) 65%); }
  .xw-slide--split .xw-slide-tx h1,.xw-slide--split .xw-slide-tx h2,.xw-slide--split .xw-slide-tx p{ max-width:560px; }
}

/* ============================================================
   CELULAR
   ============================================================ */
@media(max-width:720px){
  body.xw{ --xw-pad:16px; }
  .xw-hd-in{ grid-template-columns:1fr auto; gap:10px 8px; min-height:0; padding-top:12px; padding-bottom:12px; }
  .xw-brand{ gap:10px; }
  .xw-brand svg{ width:48px; height:48px; }
  .xw-brand .wm{ font-size:34px; letter-spacing:3px; }
  .xw-brand small{ font-size:11.5px; letter-spacing:1.6px; margin-top:5px; white-space:nowrap; }
  .xw-brand{ min-width:0; }
  .xw-search{ grid-column:1 / -1; grid-row:2; }
  .xw-search input[type=search]{ height:52px; font-size:17px; padding-left:20px; }
  .xw-acts{ gap:0; }
  .xw-nav-in{ height:52px; gap:24px; padding:0 16px; }
  .xw-nav a{ font-size:15.5px; }
  .xw-nav--over{ position:relative; background:#fff; border-bottom:1px solid var(--xw-gris2); }
  .xw-nav--over a,.xw-nav--over a.xw-nav-sell{ color:var(--ink); text-shadow:none; }
  .xw-nav--over a.xw-nav-sell{ color:var(--bug); }
  .xw-nav--over .xw-nav-sep{ background:var(--xw-gris3); }
  body.xw ul.products.xw-g5 li.product:nth-child(n+7){ display:none; }
  .xw-home .xw-hero{ margin-top:0; }

  .xw-hero{ height:auto; min-height:560px; aspect-ratio:auto; }
  .xw-slides{ position:relative; height:560px; }
  .xw-slide-tx{ padding-bottom:92px; }
  .xw-slide-tx h1,.xw-slide-tx h2{ font-size:38px; }
  .xw-slide-tx p{ font-size:17px; margin-bottom:20px; }
  .xw-hero-ctrl{ bottom:24px; justify-content:space-between; }
  .xw-rb{ width:42px; height:42px; }
  .xw-rb--dk{ margin-left:4px; }

  .xw-info-row{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin:0 -16px; padding:0 16px; gap:10px; scrollbar-width:none; }
  .xw-info-row::-webkit-scrollbar{ display:none; }
  .xw-info-c{ flex:0 0 76%; scroll-snap-align:start; }
  .xw-info-more{ flex-direction:column; gap:14px; }
  .xw-pill--wide{ min-width:0; width:100%; }

  .xw-avenue{ margin-top:36px; }
  .xw-av{ flex-basis:62vw; }
  .xw-av-n{ font-size:30px; }
  .xw-rail-ctrl{ display:none; }
  .xw-rail-foot .xw-pill{ width:100%; }

  .xw-sec,.xw-band,.xw-split,.xw-nums{ margin-top:64px; }
  .xw-band{ padding:56px 0 44px; }
  .xw-sh{ margin-bottom:24px; }
  .xw-sh h2{ font-size:36px; }
  .xw-sh p{ font-size:17px; }
  .xw-btns .xw-pill{ flex:1 1 auto; }

  body.xw ul.products{ gap:26px 12px !important; }
  body.xw ul.products.xw-track{ grid-auto-columns:46%; gap:12px !important; margin-right:-16px !important; padding-right:16px !important; }
  .xw-sel{ gap:12px; margin-right:-16px; padding-right:16px; }
  body.xw .xw-sel > ul.products li.product{ flex-basis:46%; }
  .xw-block{ flex-basis:80%; min-height:360px; padding:28px 24px; }
  body.xw .xpc-nm{ font-size:15.5px; }
  body.xw .xpc-pr{ font-size:18px; }

  .xw-news-t{ font-size:23px; }
  .xw-news-it{ grid-template-columns:minmax(0,1fr) 112px; gap:16px; padding-bottom:24px; margin-bottom:24px; }
  .xw-news-it .xw-news-t{ font-size:19px; }

  .xw-split{ min-height:0; }
  .xw-split-tx{ padding:40px 16px 48px; }
  .xw-split-tx h2{ font-size:38px; }
  .xw-split-tx p{ font-size:17px; }
  .xw-split-im{ min-height:300px; }

  .xw-nums{ grid-template-columns:1fr 1fr; gap:30px 10px; padding-top:40px; padding-bottom:40px; }
  .xw-nums b{ font-size:46px; }
  .xw-nums span{ font-size:14px; }
  .xw-about-tx p{ font-size:17px; }

  .xw-ft .xw-wrap{ padding-top:44px; }
  .xw-ft-cols{ gap:30px 18px; }
  .xw-ft-bot{ margin-top:44px; flex-direction:column; align-items:flex-start; }
  .xw-ft-mark svg{ width:64px; height:64px; }
  .xw-ft-mark .wm{ font-size:64px; }

  body.xw .xm-list-h h1,body.xw .xpage-title,body.xw .xcol-head h1{ font-size:38px; }
  body.xw .xm-chips a{ font-size:15.5px; padding:9px 16px; }
  body.xw .xf-title{ font-size:32px; }
  body.xw .xf-price{ font-size:26px; }
  body.xw .xcol-grid{ grid-template-columns:1fr; padding-top:24px; }
  body.xw .xcol-card,body.xw .xcol-card:first-child{ grid-column:auto; aspect-ratio:4/3; }
  body.xw .xcreadores-grid{ grid-template-columns:1fr 1fr; gap:10px; }
  body.xw .xcreador-card__name{ font-size:24px; }
  body.xw .xcreador-hero__in{ padding:0 16px 34px; }
  body.xw .xcreador-hero__title{ font-size:40px; }
}

@media (prefers-reduced-motion: reduce){
  .xw-slide,.xw-slide-img,body.xw ul.products li.product .xpc-ph img,.xw-news-im img{ transition:none !important; transform:none !important; }
  .xw-drawer-p{ animation:none; }
}

/* Mi cuenta: título del mismo tamaño que el resto de páginas */
body.xw.woocommerce-account .xpage-title{ font-size:clamp(40px,4.4vw,60px); line-height:var(--xw-hlh); margin-bottom:26px; }
@media(max-width:720px){ body.xw.woocommerce-account .xpage-title{ font-size:38px; } }

/* ============================================================
   PORTADA: la foto principal sube hasta arriba y queda también de
   fondo del encabezado (encabezado transparente, letras blancas).
   ============================================================ */
body.xw-over{ --xw-hdh:118px; }
body.xw-over .xw-hd{ position:absolute; top:0; left:0; right:0; background:transparent; }
body.xw-over.admin-bar .xw-hd{ top:32px; }
body.xw-over .xw-hero{ height:calc(clamp(520px,50vw,680px) + var(--xw-hdh)); }
body.xw-over .xw-nav--over{ top:var(--xw-hdh); }
body.xw-over .xw-slide-sc{ background:linear-gradient(180deg,rgba(20,10,18,.66) 0,rgba(20,10,18,.32) 17%,rgba(20,10,18,0) 34%),linear-gradient(0deg,rgba(20,10,18,.80) 0,rgba(20,10,18,.35) 34%,rgba(20,10,18,0) 56%); }
body.xw-over .xw-slide--split .xw-slide-sc{ background:linear-gradient(180deg,rgba(20,10,18,.60) 0,rgba(20,10,18,.25) 17%,rgba(20,10,18,0) 32%); }
/* Marca, íconos y buscador en blanco sobre la foto */
body.xw-over .xw-brand,body.xw-over .xw-brand .wm{ color:#fff; }
body.xw-over .xw-brand .wm{ text-shadow:0 2px 16px rgba(0,0,0,.35); }
body.xw-over .xw-brand small{ color:#F3D79A; }
body.xw-over .xw-brand svg path[stroke]{ stroke:#fff; }
body.xw-over .xw-act{ color:#fff; text-shadow:0 1px 10px rgba(0,0,0,.4); }
body.xw-over .xw-act:hover{ color:#fff; background:rgba(255,255,255,.14); }
body.xw-over .xw-search input[type=search]{ background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.6); color:#fff; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
body.xw-over .xw-search input[type=search]::placeholder{ color:rgba(255,255,255,.88); }
body.xw-over .xw-search button{ color:#fff; }
body.xw-over .xw-search button:hover{ background:rgba(255,255,255,.18); }
body.xw-over .xw-search input[type=search]:focus{ background:#fff; color:var(--ink); border-color:#fff; }
body.xw-over .xw-search:focus-within button{ color:var(--ink); }
@media(max-width:782px){ body.xw-over.admin-bar .xw-hd{ top:46px; } }
@media(max-width:720px){
  body.xw-over{ --xw-hdh:136px; }
  body.xw-over .xw-hero{ height:calc(560px + var(--xw-hdh) + 52px); min-height:0; }
  body.xw-over .xw-slides{ position:absolute; inset:0; height:auto; }
  body.xw-over .xw-nav--over{ position:absolute; top:var(--xw-hdh); background:transparent; border-bottom:0; }
  body.xw-over .xw-nav--over a,body.xw-over .xw-nav--over a.xw-nav-sell{ color:#fff; text-shadow:0 1px 10px rgba(0,0,0,.5); }
  body.xw-over .xw-nav--over .xw-nav-sep{ background:rgba(255,255,255,.5); }
  body.xw-over .xw-slide-sc{ background:linear-gradient(180deg,rgba(20,10,18,.72) 0,rgba(20,10,18,.40) 26%,rgba(20,10,18,0) 42%),linear-gradient(0deg,rgba(20,10,18,.82) 0,rgba(20,10,18,.35) 32%,rgba(20,10,18,0) 52%); }
  body.xw-over .xw-slide--split .xw-slide-sc{ background:linear-gradient(180deg,rgba(20,10,18,.66) 0,rgba(20,10,18,.30) 26%,rgba(20,10,18,0) 40%),linear-gradient(0deg,rgba(20,10,18,.80) 0,rgba(20,10,18,.25) 40%,rgba(20,10,18,0) 60%); }
}

/* Portada: segunda línea del título con la tipografía de Xanay (Bodoni Moda) */
body.xw .xw-slide-tx .xw-h-sub{ display:block; font-family:'Bodoni Moda',Georgia,serif !important; font-weight:400 !important; font-style:italic; text-transform:none; letter-spacing:0; font-size:.6em; line-height:1.12; margin-top:.14em; }
@media(max-width:720px){ body.xw .xw-slide-tx .xw-h-sub{ font-size:.68em; } }

/* ============================================================
   MOVIMIENTO "CINE" (portada y títulos)
   Solo se activa si <html> tiene la clase xw-anim (la pone un script
   en <head>, nunca cuando el visitante pide reducir movimiento).
   ============================================================ */
/* -- Carrusel: acercamiento lento tipo Ken Burns -- */
.xw-slide{ transition:opacity 1.2s cubic-bezier(.4,0,.2,1), visibility 0s linear 1.2s; }
.xw-slide.is-on{ transition:opacity 1.2s cubic-bezier(.4,0,.2,1); z-index:1; }
.xw-slide-img{ overflow:hidden; transform:none !important; transition:none !important; }
.xw-slide-img::before{ content:''; position:absolute; inset:0; background:inherit; background-size:cover; transform:scale(1.03); transition:transform 0s linear 1.3s; will-change:transform; }
.xw-slide.is-on .xw-slide-img::before{ transform:scale(1.15) translate3d(var(--kx,-1.5%),var(--ky,-1%),0); transition:transform 10s cubic-bezier(.33,0,.2,1); }
.xw-slide:nth-child(2n){ --kx:1.5%; --ky:-1.2%; }
.xw-slide:nth-child(3n){ --kx:-1%; --ky:1.2%; }
/* Diapositivas de color: la foto entra con una cortina desde la derecha */
.xw-slide--split .xw-slide-img{ clip-path:inset(0 0 0 100%); transition:clip-path 0s linear 1.3s !important; }
.xw-slide--split.is-on .xw-slide-img{ clip-path:inset(0); transition:clip-path 1.4s cubic-bezier(.77,0,.18,1) .1s !important; }
/* Barra de avance en el punto activo */
.xw-dots button{ position:relative; overflow:hidden; }
.xw-dots button.is-on{ width:46px; background:rgba(255,255,255,.38); }
.xw-dots button.is-on::after{ content:''; position:absolute; inset:0; background:#fff; border-radius:inherit; transform-origin:left center; animation:xwProg var(--xw-dur,7s) linear forwards; }
.xw-hero.is-held .xw-dots button.is-on::after{ animation-play-state:paused; }
@keyframes xwProg{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
.xw-slide-tx{ opacity:var(--xw-fade,1); }

/* -- Títulos: palabras que suben desde una máscara -- */
html.xw-anim .xw-w{ display:inline-block; overflow:hidden; vertical-align:top; padding:.14em 0 .1em; margin:-.14em 0 -.1em; }
html.xw-anim .xw-w > span{ display:inline-block; transform:translate3d(0,112%,0); transition:transform .45s cubic-bezier(.5,0,.75,0); will-change:transform; }
html.xw-anim .is-in .xw-w > span{ transform:none; transition:transform 1.05s cubic-bezier(.16,1,.3,1) calc(.05s + var(--i,0) * .06s); }
html.xw-anim.xw-go .xw-slide.is-on .xw-w > span{ transform:none; transition:transform 1.15s cubic-bezier(.16,1,.3,1) calc(.45s + var(--i,0) * .085s); }
/* Segunda línea en serif: aparece desenfocada y con letras abiertas que se cierran */
html.xw-anim .xw-slide-tx .xw-h-sub{ opacity:0; filter:blur(10px); letter-spacing:.32em; transition:opacity .4s, filter .4s, letter-spacing .4s; }
html.xw-anim.xw-go .xw-slide.is-on .xw-h-sub{ opacity:1; filter:none; letter-spacing:0; transition:opacity 1.4s ease calc(.85s + var(--n,3) * .085s), filter 1.4s ease calc(.85s + var(--n,3) * .085s), letter-spacing 1.8s cubic-bezier(.16,1,.3,1) calc(.85s + var(--n,3) * .085s); }
html.xw-anim .xw-slide-tx p,html.xw-anim .xw-slide-tx .xw-pill{ opacity:0; transform:translate3d(0,22px,0); transition:opacity .35s, transform .35s; }
html.xw-anim.xw-go .xw-slide.is-on .xw-slide-tx p{ opacity:1; transform:none; transition:opacity 1s ease calc(1.05s + var(--n,3) * .085s), transform 1.1s cubic-bezier(.16,1,.3,1) calc(1.05s + var(--n,3) * .085s); }
html.xw-anim.xw-go .xw-slide.is-on .xw-slide-tx .xw-pill{ opacity:1; transform:none; transition:opacity 1s ease calc(1.25s + var(--n,3) * .085s), transform 1.1s cubic-bezier(.16,1,.3,1) calc(1.25s + var(--n,3) * .085s), background .2s, color .2s; }
.xw-slide-tx{ --n:4; }

/* -- Entrada de la portada: telón oscuro que se abre -- */
.xw-hero::after{ content:''; position:absolute; inset:0; background:#140A12; z-index:3; pointer-events:none; opacity:0; }
html.xw-anim .xw-hero::after{ opacity:1; }
html.xw-anim.xw-go .xw-hero::after{ opacity:0; transition:opacity 1.6s cubic-bezier(.4,0,.2,1) .05s; }
html.xw-anim body.xw-over .xw-hd{ opacity:0; transform:translate3d(0,-14px,0); }
html.xw-anim.xw-go body.xw-over .xw-hd{ opacity:1; transform:none; transition:opacity 1s ease .55s, transform 1.2s cubic-bezier(.16,1,.3,1) .55s; }
html.xw-anim .xw-nav--over a,html.xw-anim .xw-nav--over .xw-nav-sep{ opacity:0; transform:translate3d(0,-10px,0); }
html.xw-anim.xw-go .xw-nav--over a,html.xw-anim.xw-go .xw-nav--over .xw-nav-sep{ opacity:1; transform:none; transition:opacity .8s ease calc(.75s + var(--j,0) * .05s), transform .9s cubic-bezier(.16,1,.3,1) calc(.75s + var(--j,0) * .05s); }
.xw-nav-in > :nth-child(2){ --j:1; } .xw-nav-in > :nth-child(3){ --j:2; } .xw-nav-in > :nth-child(4){ --j:3; } .xw-nav-in > :nth-child(5){ --j:4; }
.xw-nav-in > :nth-child(6){ --j:5; } .xw-nav-in > :nth-child(7){ --j:6; } .xw-nav-in > :nth-child(8){ --j:7; } .xw-nav-in > :nth-child(9){ --j:8; }
.xw-nav-in > :nth-child(10){ --j:9; } .xw-nav-in > :nth-child(11){ --j:10; } .xw-nav-in > :nth-child(n+12){ --j:11; }
html.xw-anim .xw-hero-ctrl{ opacity:0; }
html.xw-anim.xw-go .xw-hero-ctrl{ opacity:1; transition:opacity 1s ease 1.6s; }

/* -- Revelado al bajar -- */
html.xw-anim .xw-rv{ opacity:0; transform:translate3d(0,46px,0); transition:opacity 1s cubic-bezier(.16,1,.3,1) calc(var(--d,0) * .09s), transform 1.2s cubic-bezier(.16,1,.3,1) calc(var(--d,0) * .09s); }
html.xw-anim .xw-rv.is-in{ opacity:1; transform:none; }
/* Encabezados de sección: el bloque no se mueve; suben las palabras, luego texto y botones */
html.xw-anim .xw-sh.xw-rv{ opacity:1; transform:none; }
html.xw-anim .xw-sh.xw-rv > p,html.xw-anim .xw-sh.xw-rv > .xw-btns{ opacity:0; transform:translate3d(0,20px,0); transition:opacity .9s ease .35s, transform 1s cubic-bezier(.16,1,.3,1) .35s; }
html.xw-anim .xw-sh.xw-rv > .xw-btns{ transition-delay:.5s; }
html.xw-anim .xw-sh.is-in > p,html.xw-anim .xw-sh.is-in > .xw-btns{ opacity:1; transform:none; }
/* Avenida: las tarjetas entran deslizándose de lado */
html.xw-anim .xw-av.xw-rv{ transform:translate3d(70px,0,0); }
html.xw-anim .xw-av.xw-rv.is-in{ transform:none; }
/* Fotos que se asientan: empiezan un poco más cerca */
html.xw-anim ul.products li.product.xw-rv .xpc-ph img,html.xw-anim .xw-news-big.xw-rv .xw-news-im img{ transform:scale(1.1); transition:transform 1.6s cubic-bezier(.16,1,.3,1) calc(var(--d,0) * .09s); }
html.xw-anim ul.products li.product.xw-rv.is-in .xpc-ph img,html.xw-anim .xw-news-big.xw-rv.is-in .xw-news-im img{ transform:scale(1); }
html.xw-anim ul.products li.product.xw-rv.is-in:hover .xpc-ph img{ transform:scale(1.04); transition-duration:.5s; transition-delay:0s; }
/* Bloque partido: la foto se descubre con una cortina */
html.xw-anim .xw-split.xw-rv{ opacity:1; transform:none; }
html.xw-anim .xw-split.xw-rv .xw-split-im{ clip-path:inset(0 0 0 100%); transition:clip-path 1.5s cubic-bezier(.77,0,.18,1) .1s; }
html.xw-anim .xw-split.xw-rv.is-in .xw-split-im{ clip-path:inset(0); }
html.xw-anim .xw-split-tx.xw-rv{ transform:translate3d(-30px,0,0); }
html.xw-anim .xw-split-tx.xw-rv.is-in{ transform:none; }
html.xw-anim .xw-block.xw-rv{ transform:translate3d(0,30px,0) scale(.98); }
html.xw-anim .xw-block.xw-rv.is-in{ transform:none; }
/* Las tarjetas de pieza traen su propia transición: hay que ganarle en especificidad */
html.xw-anim body.xw ul.products li.product.xw-rv{ transition:opacity 1s cubic-bezier(.16,1,.3,1) calc(var(--d,0) * .09s), transform 1.2s cubic-bezier(.16,1,.3,1) calc(var(--d,0) * .09s); }

/* ============================================================
   SELECTOR DE IDIOMA DISCRETO EN EL ENCABEZADO (ES | EN)
   Sustituye al selector flotante de TranslatePress.
   ============================================================ */
body.xw .trp-floating-switcher{ display:none !important; }
.xw-lang{ display:flex; align-items:center; gap:0; font-size:14px; font-weight:600; letter-spacing:.08em; line-height:1; white-space:nowrap; }
.xw-lang-i{ display:inline-flex; align-items:center; justify-content:center; min-width:32px; min-height:40px; padding:0 4px; color:#776B78; border-radius:8px; text-decoration:none; }
a.xw-lang-i:hover,a.xw-lang-i:focus-visible{ color:var(--bug); }
.xw-lang-i.is-cur{ color:var(--ink); font-weight:800; }
.xw-lang-sep{ width:1px; height:14px; background:var(--xw-gris3); }
.xw-lang--d{ margin-right:6px; }
.xw-lang--m{ display:none; }
body.xw-over .xw-lang-i{ color:rgba(255,255,255,.78); text-shadow:0 1px 10px rgba(0,0,0,.4); }
body.xw-over .xw-lang-i.is-cur,body.xw-over a.xw-lang-i:hover{ color:#fff; }
body.xw-over .xw-lang-sep{ background:rgba(255,255,255,.55); }
@media(max-width:720px){
  .xw-lang--d{ display:none; }
  .xw-hd-in:has(.xw-lang--m){ grid-template-columns:minmax(0,1fr) auto auto; }
  .xw-hd-in:has(.xw-lang--m) .xw-brand{ grid-column:1; grid-row:1; }
  .xw-hd-in:has(.xw-lang--m) .xw-acts{ grid-column:2 / -1; grid-row:1; }
  .xw-hd-in:has(.xw-lang--m) .xw-search{ grid-column:1 / 3; grid-row:2; }
  .xw-lang--m{ display:flex; grid-column:3; grid-row:2; justify-self:end; margin-right:-4px; }
}

/* Mejoras de navegación y legibilidad, noviembre 2026. */
.xny-price-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:18px 0;margin:0 0 20px;border-bottom:1px solid #ded8d2;}
.xny-price-filter label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:700;}
.xny-price-filter input[type=number]{width:150px;max-width:100%;min-height:44px;padding:10px 12px;border:1px solid #b4abb3;border-radius:6px;background:#fff;color:#201820;font:inherit;}
.xny-price-filter button,.xny-price-filter a{min-height:44px;padding:11px 18px;border-radius:24px;font:inherit;}
.xny-price-filter button{background:var(--bug);color:#fff;border:0;cursor:pointer;font-weight:700;}
.xny-price-filter a{display:inline-flex;align-items:center;text-decoration:underline;}
.xny-price-filter :focus-visible{outline:3px solid #201820;outline-offset:3px;}
.xficha-info{min-width:0;}
@media(max-width:720px){
 body.xw-over .xw-hero{height:calc(420px + var(--xw-hdh) + 52px);}
 .xw-hero{min-height:420px;}
 .xw-slides{height:420px;}
 .xw-slide-tx{padding-bottom:88px;}
 body.xw .xw-slide-tx p{color:#fff !important;text-shadow:0 1px 6px rgba(0,0,0,.65);}
 body.xw-over .xw-slide-sc,body.xw-over .xw-slide--split .xw-slide-sc{background:linear-gradient(180deg,rgba(20,10,18,.65),rgba(20,10,18,.1) 38%,rgba(20,10,18,.72) 65%,rgba(20,10,18,.92));}
 html.xw-anim .xw-slide-tx p,html.xw-anim .xw-slide-tx .xw-pill,html.xw-anim .xw-slide-tx .xw-h-sub{opacity:1 !important;transform:none !important;filter:none !important;letter-spacing:normal;transition:none !important;}
 html.xw-anim .xw-slide.is-on .xw-w > span{transform:none !important;transition:none !important;}
 .xw-nav-in{scrollbar-width:thin;scrollbar-color:#b4abb3 transparent;}
 .xw-nav-in::-webkit-scrollbar{display:block;height:4px;}
 .xw-nav-in::-webkit-scrollbar-thumb{background:#b4abb3;border-radius:4px;}
 .xny-price-filter{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
 .xny-price-filter input[type=number]{width:100%;box-sizing:border-box;}
 .xny-price-filter label{min-width:0;}
 .xny-price-filter a{justify-content:center;}
}
@media(prefers-reduced-motion:reduce){
 .xw-slide-img::before,.xw-slide.is-on .xw-slide-img::before{transform:none !important;transition:none !important;will-change:auto;}
 html.xw-anim .xw-hero::after{opacity:0 !important;transition:none !important;}
 html.xw-anim .xw-slide-tx p,html.xw-anim .xw-slide-tx .xw-pill,html.xw-anim .xw-slide-tx .xw-h-sub,html.xw-anim .xw-hero-ctrl,html.xw-anim .xw-nav--over a{opacity:1 !important;filter:none !important;transform:none !important;transition:none !important;}
 html.xw-anim .xw-slide.is-on .xw-w > span{transform:none !important;transition:none !important;}
}

@media(max-width:720px){body.xw .xw-slide-tx{opacity:1 !important;}html.xw-anim .xw-hero::after{opacity:0 !important;transition:none !important;}}

@media(max-width:720px){html.xw-anim body.xw-over .xw-hd,html.xw-anim .xw-nav--over a,html.xw-anim .xw-nav--over .xw-nav-sep,html.xw-anim .xw-hero-ctrl{opacity:1 !important;transform:none !important;transition:none !important;}}
