/*
Theme Name: NEXO SV
Theme URI: http://5.183.8.171:8083
Author: NEXO SV
Description: Tema editorial de lujo (dark + dorado/champán, serif Cormorant Garamond) para NEXO SV — relojes y accesorios. WooCommerce + ACF.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: nexo-sv
*/

:root{
  --bg:#0f0809;
  --bg-2:#130a0b;
  --tile:#150b0d;
  --tile-2:#1c1012;
  --card:#140a0c;
  --card-h:#1b1012;
  --txt:#f1ebe2;
  --head:#faf6ee;
  --muted:#9a9089;
  --muted-2:#8a8178;
  --dim:#6f665e;
  --dim-2:#8a7f70;
  --gold:#c77d7d;
  --gold-bright:#e6a9a9;
  --gold-soft:#c9a5a5;
  --line:#241519;
  --line-2:#2b191d;
  --border:#43282d;
  --ok:#7ec98f;
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'Archivo',sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--txt);font-family:var(--sans);font-weight:400;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.nx-container{max-width:1480px;margin:0 auto;padding:0 34px}

@keyframes nexoSlide{to{transform:translateX(-50%)}}
@keyframes nexoRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes nexoFade{from{opacity:0}to{opacity:1}}

/* topbar */
.nx-topbar{background:#000;color:var(--gold-soft);text-align:center;font-size:10.5px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;padding:10px 16px;border-bottom:1px solid var(--line)}

/* nav */
.nx-nav{position:sticky;top:0;z-index:60;background:rgba(15,8,9,.86);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nx-nav-in{max-width:1480px;margin:0 auto;padding:20px 34px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.nx-nav-left{display:flex;gap:32px;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.nx-nav-left li{list-style:none}
.nx-nav-left a{padding:4px 0;transition:color .25s}
.nx-nav-left a:hover{color:var(--txt)}
.nx-brand{justify-self:center;text-align:center;line-height:.86}
.nx-brand .b1{display:block;font-weight:900;font-size:25px;letter-spacing:.2em;color:var(--txt)}
.nx-brand .b2{display:block;font-size:8.5px;font-weight:600;letter-spacing:.62em;margin-top:5px;color:var(--gold)}
.nx-nav-right{justify-self:end;display:flex;gap:22px;align-items:center;color:var(--txt)}
.nx-nav-right a{display:flex;position:relative;transition:color .25s}
.nx-nav-right a:hover{color:var(--gold)}
.nx-cart-count{position:absolute;top:-8px;right:-10px;min-width:16px;height:16px;padding:0 4px;background:var(--gold-bright);color:#0f0809;border-radius:9px;font-size:9px;font-weight:800;line-height:16px;text-align:center;letter-spacing:0}

/* buttons */
.nx-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;padding:16px 30px;border:1px solid;transition:.25s;cursor:pointer}
.nx-btn-solid{background:var(--gold-bright);color:#0f0809;border-color:var(--gold-bright)}
.nx-btn-solid:hover{background:transparent;color:var(--gold-bright)}
.nx-btn-out{background:transparent;color:var(--txt);border-color:var(--border)}
.nx-btn-out:hover{border-color:var(--gold-bright);color:var(--gold-bright)}

/* hero */
.nx-hero{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:1.02fr .98fr;border-bottom:1px solid var(--line);min-height:640px}
.nx-hero-tx{padding:clamp(40px,6vw,86px) clamp(30px,4vw,64px);display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line);animation:nexoRise .9s cubic-bezier(.2,.7,.2,1) both}
.nx-eyebrow{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:var(--gold);margin-bottom:26px}
.nx-eyebrow .line{width:26px;height:1px;background:var(--gold);display:inline-block;flex:none}
.nx-hero-tx h1{font-family:var(--serif);font-weight:600;font-size:clamp(46px,6.6vw,92px);line-height:.98;letter-spacing:-.015em;color:var(--head);margin-bottom:24px}
.nx-hero-tx h1 .it{font-style:italic;font-weight:500;color:var(--gold-bright)}
.nx-hero-tx .lead{color:var(--muted);font-size:16px;max-width:400px;margin-bottom:38px;line-height:1.65}
.nx-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:44px}
.nx-stats{display:flex;gap:38px;flex-wrap:wrap}
.nx-stats .num{font-family:var(--serif);font-size:30px;font-weight:600;color:var(--gold-bright);line-height:1}
.nx-stats .lab{font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--dim);margin-top:4px}
.nx-hero-img{position:relative;overflow:hidden;background:var(--tile-2);min-height:420px;animation:nexoFade 1.1s ease both}
.nx-hero-img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nx-hero-img .grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,8,9,.15),rgba(15,8,9,.55))}
.nx-hero-card{position:absolute;left:26px;bottom:26px;background:rgba(15,8,9,.72);backdrop-filter:blur(6px);border:1px solid rgba(199,125,125,.42);padding:14px 20px;z-index:2}
.nx-hero-card .k{font-size:10px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.nx-hero-card .t{font-family:var(--serif);font-size:20px;font-weight:600;color:var(--head);margin-top:2px}
.nx-hero-card .pp{display:flex;align-items:baseline;gap:9px;margin-top:6px}
.nx-hero-card .pp .n{font-weight:700;font-size:16px;color:var(--txt)}
.nx-hero-card .pp .w{font-size:13px;color:var(--dim);text-decoration:line-through}

/* marquee */
.nx-mq{border-bottom:1px solid var(--line);overflow:hidden;background:var(--bg)}
.nx-mq-t{display:flex;white-space:nowrap;padding:16px 0;animation:nexoSlide 34s linear infinite;font-family:var(--serif);font-style:italic;font-weight:600;font-size:22px;color:var(--txt)}
.nx-mq-t span{padding:0 26px}
.nx-mq-t .s{padding:0 8px;color:var(--gold)}

/* section head */
.nx-sh{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:78px 0 30px}
.nx-sh .eg{font-size:11px;font-weight:600;letter-spacing:.26em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.nx-sh h2{font-family:var(--serif);font-weight:600;font-size:clamp(30px,4vw,52px);line-height:1;color:var(--head)}
.nx-sh .all{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-bright);border-bottom:1px solid var(--gold);padding-bottom:4px;white-space:nowrap}

/* categories grid */
.nx-cats{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:repeat(6,1fr);border-left:1px solid var(--line);border-top:1px solid var(--line)}
.nx-cat{position:relative;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--tile);aspect-ratio:.92;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:20px;transition:background .3s}
.nx-cat:hover{background:var(--tile-2)}
.nx-cat .ic{color:var(--gold);transition:color .3s}
.nx-cat.off{cursor:default}
.nx-cat.off:hover{background:var(--tile)}
.nx-cat.off .ic{color:var(--dim-2)}
.nx-cat .nm{font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase}
.nx-cat .st{font-size:9.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--dim)}
.nx-cat .st.live{display:inline-flex;align-items:center;gap:6px;color:var(--gold)}
.nx-cat .st.live .dot{width:6px;height:6px;border-radius:50%;background:var(--ok);display:inline-block}
@media(max-width:900px){.nx-cats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.nx-cats{grid-template-columns:repeat(2,1fr)}}

/* feature split */
.nx-split{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}
.nx-split a{position:relative;height:clamp(340px,34vw,520px);overflow:hidden;display:flex;align-items:flex-end;padding:40px;border-right:1px solid var(--line)}
.nx-split a:first-child{border-left:1px solid var(--line)}
.nx-split .ph{position:absolute;inset:0;overflow:hidden}
.nx-split .ph img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.nx-split a:hover .ph img{transform:scale(1.05)}
.nx-split .grad{position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,8,9,.82),rgba(15,8,9,.05) 60%)}
.nx-split .lab{position:relative;z-index:2}
.nx-split .lab .t{font-family:var(--serif);font-weight:600;font-size:clamp(30px,3.6vw,48px);line-height:1;color:var(--head)}
.nx-split .lab .g{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin-top:12px;color:var(--gold-bright);border-bottom:1px solid var(--gold);padding-bottom:4px}
@media(max-width:560px){.nx-split{grid-template-columns:1fr}.nx-split a:first-child{border-bottom:1px solid var(--line)}}

/* products grid */
.nx-grid{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);border-left:1px solid var(--line);border-top:1px solid var(--line)}
.nx-pcard{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--card);display:flex;flex-direction:column;transition:background .3s}
.nx-pcard:hover{background:var(--card-h)}
.nx-pcard .pi{position:relative;aspect-ratio:1;overflow:hidden;background:var(--tile-2)}
.nx-pcard .pi img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.nx-pcard:hover .pi img{transform:scale(1.05)}
.nx-flag{position:absolute;top:14px;left:14px;z-index:2;background:var(--gold-bright);color:#0f0809;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:5px 9px}
.nx-pb{padding:22px;display:flex;flex-direction:column;flex:1}
.nx-pb .ct{font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:8px}
.nx-pb h4{font-family:var(--serif);font-weight:600;font-size:22px;line-height:1.1;color:var(--head);margin-bottom:12px}
.nx-pb h4 a{color:inherit}
.nx-pb .pr{display:flex;align-items:baseline;gap:10px;margin-bottom:18px}
.nx-pb .pr .n{font-weight:700;font-size:17px}
.nx-pb .pr .n ins{text-decoration:none;background:none;color:inherit}
.nx-pb .pr .w{font-size:13px;color:var(--dim);text-decoration:line-through}
.nx-add{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);color:var(--txt);padding:12px;font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;transition:.25s;background:transparent;cursor:pointer;width:100%;text-align:center}
.nx-add:hover{background:var(--gold-bright);color:#0f0809;border-color:var(--gold-bright)}
.nx-add.loading{opacity:.6}
.nx-add.added::after{content:" ✓"}
/* producto sin stock: botón apagado, etiqueta gris, foto atenuada */
.nx-add.off{color:var(--dim);border-color:var(--line);letter-spacing:.12em;cursor:default}
.nx-add.off:hover{background:transparent;color:var(--dim);border-color:var(--line)}
.nx-flag.off{background:#55504a;color:#f1ebe2}
.nx-pcard.out-of-stock .pi img{opacity:.55;filter:grayscale(.35)}
.nx-pcard.out-of-stock:hover .pi img{transform:none}
@media(max-width:900px){.nx-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.nx-grid{grid-template-columns:1fr}}

/* editorial */
.nx-edi{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:1fr 1.05fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.nx-edi .ph{position:relative;min-height:500px;overflow:hidden;border-right:1px solid var(--line);border-left:1px solid var(--line)}
.nx-edi .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nx-edi .ph .grad{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,8,9,.1),rgba(15,8,9,.5))}
.nx-edi .tx{padding:clamp(48px,6vw,84px) clamp(34px,4.5vw,68px);display:flex;flex-direction:column;justify-content:center;background:var(--bg-2)}
.nx-edi .tx .eg{font-size:11px;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:var(--gold);margin-bottom:22px}
.nx-edi .tx h2{font-family:var(--serif);font-weight:600;font-size:clamp(34px,4.6vw,62px);line-height:1;color:var(--head);margin-bottom:24px}
.nx-edi .tx h2 .it{font-style:italic;font-weight:500;color:var(--gold-bright)}
.nx-edi .tx p{color:var(--muted);font-size:16px;max-width:440px;margin-bottom:36px;line-height:1.7}
@media(max-width:900px){.nx-edi{grid-template-columns:1fr}.nx-edi .ph{min-height:340px;border-right:none}}

/* values */
.nx-vals{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);border-left:1px solid var(--line)}
.nx-val{padding:46px 28px;text-align:center;border-right:1px solid var(--line)}
.nx-val .ic{color:var(--gold);display:flex;justify-content:center;margin-bottom:16px}
.nx-val .n{font-weight:700;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.nx-val p{font-size:13px;color:var(--muted)}
@media(max-width:900px){.nx-vals{grid-template-columns:repeat(2,1fr)}}

/* footer */
.nx-footer{background:#000;color:#fff;padding:74px 0 32px;border-top:1px solid var(--line)}
.nx-fg{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:44px;margin-bottom:54px}
.nx-fg .bw{line-height:.86;margin-bottom:18px}
.nx-fg .bw .b1{display:block;font-weight:900;font-size:28px;letter-spacing:.18em;color:var(--head)}
.nx-fg .bw .b2{display:block;font-size:8.5px;font-weight:600;letter-spacing:.6em;margin-top:5px;color:var(--gold)}
.nx-fg .about{color:var(--muted-2);font-size:14px;max-width:300px;line-height:1.65}
.nx-fg h6{font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin-bottom:18px;color:var(--gold)}
.nx-fg a{display:block;color:var(--muted-2);font-size:13px;margin-bottom:11px;transition:color .25s}
.nx-fg a:hover{color:var(--gold-bright)}
.nx-fb{border-top:1px solid var(--line-2);padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
@media(max-width:900px){.nx-fg{grid-template-columns:1fr 1fr}}

/* floating whatsapp */
.nx-fwa{position:fixed;right:22px;bottom:22px;z-index:80;width:56px;height:56px;border-radius:50%;background:var(--gold-bright);color:#0f0809;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 26px rgba(0,0,0,.5);transition:transform .25s}
.nx-fwa:hover{transform:scale(1.08)}

/* botón hamburguesa + menú móvil */
.nx-burger{display:none;background:none;border:none;color:var(--txt);cursor:pointer;padding:6px;margin-left:-6px;align-items:center;transition:color .25s}
.nx-burger:hover{color:var(--gold)}
.nx-burger.is-open{color:var(--gold-bright)}
.nx-mobile-menu{display:none;position:fixed;inset:0;z-index:59;background:rgba(15,8,9,.98);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:96px 34px 48px;flex-direction:column;overflow-y:auto}
.nx-mobile-menu.open{display:flex}
.nx-mobile-menu ul{list-style:none;margin:0;padding:0}
.nx-mobile-menu .nx-mm-main li a{display:block;font-family:var(--serif);font-weight:600;font-size:30px;color:var(--head);padding:16px 0;border-bottom:1px solid var(--line);transition:color .2s}
.nx-mobile-menu .nx-mm-main li a:hover{color:var(--gold-bright)}
.nx-mobile-menu .nx-mm-sub{margin-top:30px;display:flex;flex-direction:column;gap:16px}
.nx-mobile-menu .nx-mm-sub a{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.nx-mobile-menu .nx-mm-sub a:last-child{color:var(--gold-bright)}

/* nav responsive */
@media(max-width:820px){
  .nx-nav-left li,.nx-nav-left>a{display:none}
  .nx-burger{display:inline-flex}
  .nx-hero{grid-template-columns:1fr}
  .nx-hero-tx{border-right:none;border-bottom:1px solid var(--line)}
  .nx-hero-img{min-height:360px}
}
@media(max-width:560px){
  .nx-nav-in{padding:16px 20px}
  .nx-container{padding:0 20px}
  .nx-mobile-menu{padding:88px 24px 40px}
  .nx-mobile-menu .nx-mm-main li a{font-size:26px}
}

/* ===================================================================
   WOOCOMMERCE — dark + dorado
   =================================================================== */
.woo-wrap{max-width:1480px;margin:0 auto;padding:54px 34px 90px}
.woo-wrap .page-title,
.woocommerce-products-header__title{font-family:var(--serif);font-weight:600;font-size:clamp(30px,3.6vw,52px);line-height:1;color:var(--head);margin-bottom:10px}
.woocommerce-breadcrumb{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin-bottom:26px}
.woocommerce-breadcrumb a{color:var(--gold)}
.term-description{color:var(--muted);max-width:640px;margin-bottom:30px}

/* páginas de contenido (Cómo comprar, Envíos, Garantía, Contacto...) */
.page-content{color:var(--txt);max-width:820px;font-size:16px;line-height:1.7}
.page-content h2{font-family:var(--serif);font-weight:600;font-size:clamp(26px,3vw,40px);color:var(--head);margin:0 0 18px}
.page-content h3{font-family:var(--serif);font-weight:600;font-size:22px;color:var(--head);margin:32px 0 12px}
.page-content p{color:var(--muted);margin:0 0 16px}
.page-content ul,.page-content ol{color:var(--muted);margin:0 0 20px;padding-left:22px}
.page-content li{margin-bottom:8px}
.page-content li strong,.page-content p strong{color:var(--txt)}
.page-content a{color:var(--gold-bright);text-decoration:underline}
.page-content a.nx-btn{color:#0f0809;text-decoration:none;margin-top:8px}
.page-content a.nx-btn:hover{color:var(--gold-bright)}

.woocommerce .woocommerce-result-count{color:var(--dim);font-size:12px;letter-spacing:.06em}
.woocommerce .woocommerce-ordering{margin-bottom:24px}
.woocommerce .woocommerce-ordering select,
.woocommerce select,
.woocommerce input[type=text],
.woocommerce input[type=email],
.woocommerce input[type=tel],
.woocommerce input[type=password],
.woocommerce input[type=number],
.woocommerce input[type=search],
.woocommerce textarea{background:var(--tile);border:1px solid var(--border);color:var(--txt);padding:12px 14px;font-family:inherit;font-size:14px;border-radius:0}

/* product loop grid */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;padding:0;border-left:1px solid var(--line);border-top:1px solid var(--line);list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto;margin:0;padding:0;float:none}
@media(max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.woocommerce ul.products{grid-template-columns:1fr}}

/* buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{background:var(--gold-bright);color:#0f0809;border:1px solid var(--gold-bright);border-radius:0;font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:11px;padding:14px 26px;transition:.25s;box-shadow:none;text-shadow:none}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover{background:transparent;color:var(--gold-bright)}
.woocommerce a.button.wc-forward{background:transparent;color:var(--txt);border-color:var(--border)}
.woocommerce a.button.wc-forward:hover{background:var(--gold-bright);color:#0f0809;border-color:var(--gold-bright)}

/* single product */
.single-product .woo-wrap div.product{display:grid;grid-template-columns:1fr 1fr;column-gap:54px;row-gap:0;align-items:start}
/* la grilla de 2 columnas aplica solo a galería + resumen */
.single-product div.product .woocommerce-product-gallery{grid-column:1;grid-row:1}
.single-product div.product .summary{grid-column:2;grid-row:1}
/* pestañas y relacionados van a todo el ancho, debajo */
.single-product div.product .woocommerce-tabs{grid-column:1 / -1;margin-top:56px}
.single-product div.product .related.products,
.single-product div.product .upsells.products{grid-column:1 / -1;margin-top:8px}
@media(max-width:900px){
  .single-product .woo-wrap div.product{grid-template-columns:1fr}
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary,
  .single-product div.product .woocommerce-tabs,
  .single-product div.product .related.products,
  .single-product div.product .upsells.products{grid-column:1;grid-row:auto}
}
.single-product div.product .product_title{font-family:var(--serif);font-weight:600;font-size:clamp(30px,3vw,46px);line-height:1.05;color:var(--head);margin-bottom:16px}
.single-product div.product p.price,
.single-product div.product span.price{color:var(--txt);font-size:22px;font-weight:700;margin-bottom:20px}
.single-product div.product p.price del,
.single-product div.product span.price del{color:var(--dim);font-weight:400;font-size:16px}
.single-product div.product p.price ins,
.single-product div.product span.price ins{background:none;color:var(--gold-bright)}
.single-product .woocommerce-product-details__short-description{color:var(--muted);margin-bottom:26px}
.woocommerce div.product form.cart .quantity input.qty{width:70px;text-align:center}
.woocommerce span.onsale{background:var(--gold-bright);color:#0f0809;border-radius:0;font-weight:700;letter-spacing:.1em;font-size:11px;min-height:auto;min-width:auto;padding:6px 10px;line-height:1}
.woocommerce .woocommerce-tabs ul.tabs{border:none}
.woocommerce .woocommerce-tabs ul.tabs li{background:var(--tile);border:1px solid var(--line);border-radius:0}
.woocommerce .woocommerce-tabs ul.tabs li.active{background:var(--bg-2)}
.woocommerce .woocommerce-tabs ul.tabs li a{color:var(--txt)}
.woocommerce .woocommerce-tabs .panel{color:var(--muted)}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2{font-family:var(--serif);font-weight:600;font-size:clamp(26px,3vw,40px);color:var(--head);margin:60px 0 24px}

/* cart */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:0;background:var(--bg-2);border-collapse:collapse}
.woocommerce table.shop_table th{text-transform:uppercase;letter-spacing:.1em;font-size:11px;color:var(--gold);border-bottom:1px solid var(--line)}
.woocommerce table.shop_table td{border-top:1px solid var(--line);color:var(--txt)}
.woocommerce-cart table.cart img{width:72px}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cart_totals{float:right;width:42%}
@media(max-width:768px){.woocommerce .cart-collaterals .cart_totals{width:100%}}
.woocommerce .cart_totals h2{font-family:var(--serif);font-weight:600;font-size:26px;color:var(--head);margin-bottom:14px}
.woocommerce-info,.woocommerce-message,.woocommerce-error{background:var(--tile);border-top:2px solid var(--gold);color:var(--txt);border-radius:0}
.woocommerce-info::before,.woocommerce-message::before{color:var(--gold)}

/* checkout */
.woocommerce-checkout #payment{background:var(--bg-2);border:1px solid var(--line);border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line)}
.woocommerce-checkout #payment div.payment_box{background:var(--tile);color:var(--muted)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--tile)}
.woocommerce form .form-row label,
.woocommerce-checkout h3{color:var(--txt)}
.woocommerce .col2-set,.woocommerce-page .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:40px}
@media(max-width:768px){.woocommerce .col2-set,.woocommerce-page .col2-set{grid-template-columns:1fr}}
.select2-container--default .select2-selection--single{background:var(--tile);border:1px solid var(--border);border-radius:0;height:46px}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--txt);line-height:46px}

/* ===================================================================
   Accesibilidad + 404
   =================================================================== */
/* foco visible por teclado */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,
.nx-btn:focus-visible,.nx-add:focus-visible{outline:2px solid var(--gold-bright);outline-offset:2px}
/* no robar el outline en clics de ratón */
a:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}

/* enlace "saltar al contenido" */
.nx-skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--gold-bright);color:#0f0809;padding:12px 20px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.nx-skip:focus{left:12px;top:12px}

/* página 404 */
.nx-404{max-width:720px;margin:0 auto;padding:clamp(70px,12vh,140px) 34px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.nx-404 .eg{font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--gold)}
.nx-404 h1{font-family:var(--serif);font-weight:600;font-size:clamp(40px,6vw,72px);line-height:1;color:var(--head);margin:6px 0 14px}
.nx-404 p{color:var(--muted);font-size:16px;max-width:440px;margin-bottom:26px}
.nx-404 .acts{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}

/* ===================================================================
   Ficha de producto — refinado
   =================================================================== */
/* la galería y el resumen ocupan TODA su columna (anula el float 48% de Woo) */
.woocommerce div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary{width:100%;float:none;margin-bottom:0}
.woocommerce div.product div.images img{width:100%;height:auto}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{background:var(--tile-2)}
.woocommerce div.product div.images .woocommerce-product-gallery__image{border:1px solid var(--line)}
.woocommerce-product-gallery__trigger{border-radius:0}
/* miniaturas de galería */
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:8px;margin-top:10px}
.woocommerce div.product div.images .flex-control-thumbs li{width:82px;float:none}
.woocommerce div.product div.images .flex-control-thumbs img{border:1px solid var(--line);opacity:.55;cursor:pointer;transition:.2s}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover{opacity:1;border-color:var(--gold)}

/* resumen: stock, meta, formulario */
.single-product div.product .summary .stock{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.single-product div.product .summary .stock.in-stock{color:var(--ok)}
.single-product div.product .summary .stock.out-of-stock{color:#e66a6a}
.woocommerce div.product form.cart{display:flex;gap:12px;align-items:stretch;margin:26px 0}
.woocommerce div.product form.cart .quantity input.qty{height:100%;min-height:46px}
.product_meta{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);display:flex;flex-direction:column;gap:6px}
.product_meta a{color:var(--gold-bright)}

/* pestañas: forzar oscuro (Woo pinta la activa de blanco por defecto) */
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 26px!important;display:flex;gap:8px;border-bottom:1px solid var(--line)!important;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--tile)!important;border:1px solid var(--line)!important;border-bottom:none!important;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--muted)!important;font-size:12px;font-weight:700!important;letter-spacing:.12em;text-transform:uppercase;padding:14px 22px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--bg-2)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--head)!important}
.woocommerce div.product .woocommerce-tabs .panel{color:var(--muted)}
.woocommerce div.product .woocommerce-tabs .panel h2{font-family:var(--serif);font-weight:600;font-size:26px;color:var(--head);margin-bottom:14px}

/* valoraciones */
.woocommerce #reviews #comments ol.commentlist li{background:var(--tile);border:1px solid var(--line);border-radius:0}
.woocommerce #reviews #comments ol.commentlist li .comment-text{border:none;color:var(--muted)}
.woocommerce #reviews #comments ol.commentlist li img.avatar{border:1px solid var(--line);background:var(--tile-2)}
.woocommerce #review_form #respond p.comment-reply-title,
.woocommerce #reviews h2,.woocommerce #reviews h3{color:var(--head)}
.woocommerce p.stars a{color:var(--gold)}

/* ===================================================================
   Carrito — refinado
   =================================================================== */
/* carrito/checkout/cuenta usan TODO el ancho (el tope de 820px es solo para páginas de texto) */
.woocommerce-cart .page-content,
.woocommerce-checkout .page-content,
.woocommerce-account .page-content{max-width:none}
/* que la celda de la foto nunca colapse */
.woocommerce-cart table.cart td.product-thumbnail{min-width:96px}
/* layout 2 columnas: tabla | totales */
.woocommerce-cart .page-content .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:48px;align-items:start}
.woocommerce-cart .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-cart .woocommerce-cart-form{grid-column:1;min-width:0}
.woocommerce-cart .cart-collaterals{grid-column:2}
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce .cart-collaterals .cart_totals{float:none;width:100%}
@media(max-width:1024px){
  .woocommerce-cart .page-content .woocommerce{grid-template-columns:1fr;gap:36px}
  .woocommerce-cart .cart-collaterals{grid-column:1}
}

/* quitar producto: ✗ discreta, rosé al hover */
.woocommerce table.cart a.remove{color:var(--dim)!important;background:transparent!important;border:1px solid var(--line-2);border-radius:0;width:26px;height:26px;line-height:24px;font-size:16px;font-weight:400;transition:.2s}
.woocommerce table.cart a.remove:hover{color:#0f0809!important;background:var(--gold-bright)!important;border-color:var(--gold-bright)}

/* miniatura y nombre */
.woocommerce-cart table.cart img{width:76px;border:1px solid var(--line)}
.woocommerce-cart table.cart td.product-name a{color:var(--txt);font-weight:600}
.woocommerce-cart table.cart td.product-name a:hover{color:var(--gold-bright)}

/* cantidad */
.woocommerce .quantity .qty{background:var(--tile);border:1px solid var(--border);color:var(--txt);width:72px;min-height:44px;text-align:center;border-radius:0}

/* fila de acciones: cupón ancho + botón actualizar */
.woocommerce-cart table.cart td.actions{padding:20px 14px}
.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:10px;float:none}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:220px;min-width:0;padding:12px 14px;font-size:13px}
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled]{background:transparent;color:var(--dim);border:1px solid var(--line-2);opacity:1;cursor:not-allowed;padding:14px 26px}

/* totales */
.woocommerce-cart .cart_totals h2{font-family:var(--serif);font-weight:600;font-size:28px;color:var(--head);margin-bottom:16px}
.woocommerce-cart .cart_totals table.shop_table{margin-bottom:20px}
.woocommerce-cart .cart_totals th{width:40%;color:var(--gold);font-size:11px;letter-spacing:.14em}
.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator{color:var(--dim);font-size:13px}
.woocommerce-shipping-calculator .shipping-calculator-button{color:var(--gold-bright)}
.woocommerce-cart .wc-proceed-to-checkout{padding:0}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;width:100%;text-align:center;font-size:12px;padding:18px;margin:0}

/* cross-sells en la columna angosta: 2 por fila */
.cart-collaterals .cross-sells ul.products{grid-template-columns:repeat(2,1fr)}
.cart-collaterals .cross-sells>h2{font-family:var(--serif);font-weight:600;font-size:24px;color:var(--head);margin:30px 0 14px}

/* carrito vacío */
.woocommerce-cart .cart-empty.woocommerce-info{background:transparent;border:1px solid var(--line);padding:40px;text-align:center;font-family:var(--serif);font-size:24px;color:var(--head)}
.woocommerce-cart .return-to-shop{text-align:center;margin-top:20px}

/* ===================================================================
   Checkout — refinado
   =================================================================== */
/* layout: formulario | resumen del pedido */
.woocommerce-checkout .page-content form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 440px;column-gap:52px;align-items:start}
.woocommerce-checkout form.checkout .col2-set{grid-column:1;grid-row:1/span 3}
.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0 0 16px}
.woocommerce-checkout form.checkout #order_review{grid-column:2;grid-row:2}
@media(max-width:1024px){
  .woocommerce-checkout .page-content form.checkout{display:block}
  .woocommerce-checkout form.checkout #order_review_heading{margin-top:36px}
}

/* facturación y envío apilados (anula el 2 columnas del col2-set en checkout) */
.woocommerce-checkout .col2-set{display:block}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2{width:100%;float:none;max-width:none;padding:0}
.woocommerce-checkout .col2-set .col-2{margin-top:34px}

/* títulos */
.woocommerce-checkout h3,
#order_review_heading{font-family:var(--serif);font-weight:600;font-size:28px;line-height:1.1;color:var(--head);margin-bottom:18px}

/* campos: oscuros y a lo ancho (especificidad mayor que la de Woo) */
.woocommerce form .form-row{margin:0 0 16px;padding:0}
.woocommerce form .form-row label{display:block;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px}
.woocommerce form .form-row label .required{color:var(--gold-bright);text-decoration:none}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{background:var(--tile)!important;border:1px solid var(--border)!important;color:var(--txt)!important;width:100%;min-height:48px;padding:13px 14px;font-size:14px;font-family:inherit;border-radius:0;box-shadow:none;outline:none}
.woocommerce form .form-row textarea{min-height:110px}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{border-color:var(--gold)!important}
.woocommerce form .form-row input::placeholder,
.woocommerce form .form-row textarea::placeholder{color:var(--dim)}
/* mitades (nombre / apellidos) */
.woocommerce form .form-row-first,.woocommerce-page form .form-row-first{width:48.5%;float:left}
.woocommerce form .form-row-last,.woocommerce-page form .form-row-last{width:48.5%;float:right}
@media(max-width:560px){
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none}
}

/* select2 (país/departamento) oscuro completo */
.select2-container--default .select2-selection--single{min-height:48px}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
.select2-dropdown{background:var(--tile);border:1px solid var(--border);border-radius:0;color:var(--txt)}
.select2-container--default .select2-search--dropdown .select2-search__field{background:var(--bg-2);border:1px solid var(--border);color:var(--txt)}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{background:var(--gold-bright);color:#0f0809}
.select2-container--default .select2-results__option[aria-selected=true]{background:var(--tile-2);color:var(--txt)}

/* resumen del pedido: caja oscura con el pago adentro */
.woocommerce-checkout #order_review{background:var(--bg-2);border:1px solid var(--line);padding:26px}
.woocommerce-checkout #order_review table.shop_table{background:transparent;border:none;margin-bottom:20px}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td{border-color:var(--line)}
.woocommerce-checkout #payment{background:transparent;border:none}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line);padding:0 0 16px}
.woocommerce-checkout #payment ul.payment_methods li{color:var(--txt)}
.woocommerce-checkout #payment div.payment_box{background:var(--tile);color:var(--muted)}
.woocommerce-checkout #payment div.form-row.place-order{padding:18px 0 0}
.woocommerce-checkout #payment button#place_order{display:block;width:100%;font-size:12px;padding:18px}

/* cupón desplegable */
.woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:24px}
form.checkout_coupon.woocommerce-form-coupon{background:var(--bg-2);border:1px solid var(--line);border-radius:0;padding:22px;margin-bottom:28px}

/* notas del pedido */
#order_comments_field textarea{min-height:90px}

/* texto SEO al pie de la tienda */
.nx-seo-text{grid-column:1/-1;max-width:900px;margin:60px auto 0;padding:34px 0 0;border-top:1px solid var(--line);color:var(--muted)}
.nx-seo-text h2{font-family:var(--serif);font-weight:600;font-size:clamp(22px,2.6vw,32px);color:var(--head);margin-bottom:16px}
.nx-seo-text p{font-size:14.5px;line-height:1.75;margin-bottom:14px}
.nx-seo-text strong{color:var(--txt);font-weight:600}

/* aviso "contra entrega por WhatsApp" */
.nx-cod-note{margin:14px 0 0;padding:12px 14px;border:1px solid var(--line);background:var(--tile);color:var(--muted);font-size:13px;line-height:1.55}
.nx-cod-note strong{color:var(--txt)}
.nx-cod-note a{color:var(--gold-bright);text-decoration:underline}
.woocommerce-checkout .nx-cod-note{margin:0 0 16px}
