/*
Theme Name: XY Only
Theme URI: https://example.com/
Author: XY Only
Description: Тёмная адаптивная тема интернет-магазина XY Only, подготовленная для WooCommerce.
Version: 3.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: xy-only
License: GPL-2.0-or-later
*/


/* ===================================================================
   XY ONLY — shared stylesheet
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg: #0A0908;
  --surface: #16140F;
  --surface-2: #1F1C17;
  --ink: #F3F1EC;
  --ink-soft: #B7B2AA;
  --ink-faint: #726D65;
  --metal: #C7C3BC;
  --metal-2: #938D84;
  --line: #2A2721;
  --line-soft: rgba(255,255,255,0.08);
  --maxw: 1240px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px;}

h1,h2,h3,h4{
  font-family:'Inter',sans-serif;
  font-weight:800;
  letter-spacing:-0.01em;
  margin:0;
  color:var(--ink);
}

.eyebrow{
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--metal-2);
  font-weight:700;
  display:flex;
  align-items:center;
}
.eyebrow .slash{margin-right:12px;}

/* ---------- signature slash motif ---------- */
.slash{
  display:inline-flex;
  align-items:flex-end;
}
.slash span{
  width:3px;
  height:14px;
  background:var(--metal);
  transform:skewX(-18deg);
  margin-right:3px;
}
.slash span:last-child{margin-right:0;}
.slash.lg span{height:22px;width:4px;margin-right:4px;}
.slash.sm span{height:9px;width:2px;margin-right:2px;}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(10,9,8,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.site-header .bar{
  max-width:var(--maxw); margin:0 auto; padding:0 32px;
  height:76px; display:flex; align-items:center; justify-content:space-between;
}
.brand-mark{display:flex;align-items:center;font-weight:800;font-size:15px;letter-spacing:.08em;}
.brand-mark img{height:30px;width:auto;margin-right:10px;}
.nav-links{display:flex;}
.nav-links a{
  font-size:13px; letter-spacing:.06em; text-transform:uppercase; font-weight:600;
  color:var(--ink-soft); padding:6px 0; border-bottom:1px solid transparent; margin-left:36px;
  transition:color .2s, border-color .2s;
}
.nav-links a:first-child{margin-left:0;}
.nav-links a:hover, .nav-links a.active{color:var(--ink); border-color:var(--metal);}
.nav-cta{
  font-size:12px; letter-spacing:.08em; text-transform:uppercase; font-weight:700;
  border:1px solid var(--metal-2); padding:11px 22px; border-radius:2px;
  color:var(--ink); transition:background .2s, border-color .2s;
}
.nav-cta:hover{background:var(--surface-2); border-color:var(--metal);}
.burger{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px;
}
.burger span{width:22px; height:2px; background:var(--ink);}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:12px;
  font-size:13px; letter-spacing:.08em; text-transform:uppercase; font-weight:700;
  padding:15px 30px; border-radius:2px; border:1px solid transparent;
  transition:all .2s;
}
.btn-primary{background:var(--ink); color:var(--bg);}
.btn-primary:hover{background:var(--metal);}
.btn-outline{border-color:var(--metal-2); color:var(--ink);}
.btn-outline:hover{border-color:var(--metal); background:var(--surface-2);}

/* ---------- hero ---------- */
.hero{padding:88px 0 110px; border-bottom:1px solid var(--line-soft);}
.hero .grid{display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:center;}
.hero h1{font-size:clamp(40px,5.4vw,66px); line-height:1.02; text-transform:uppercase; margin-top:22px;}
.hero .lede{font-size:17px; color:var(--ink-soft); max-width:480px; margin-top:22px;}
.hero .tag{
  margin-top:30px; font-family:'Inter',sans-serif; font-weight:700; font-size:15px;
  color:var(--metal); letter-spacing:.02em;
}
.hero .cta-row{display:flex; margin-top:38px; flex-wrap:wrap;}
.hero .cta-row a{margin-right:16px;}
.hero-photo{position:relative;}
.hero-photo img{
  width:100%; aspect-ratio:3/4.4; object-fit:cover; border-radius:2px;
  filter:grayscale(15%) contrast(1.05);
}
.hero-photo::after{
  content:""; position:absolute; inset:0; border:1px solid var(--line-soft); pointer-events:none;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero{padding:64px 0 56px; border-bottom:1px solid var(--line-soft);}
.page-hero h1{font-size:clamp(32px,4.2vw,48px); text-transform:uppercase; margin-top:16px;}
.page-hero .lede{font-size:16px; color:var(--ink-soft); max-width:600px; margin-top:16px;}

/* ---------- section shell ---------- */
.section{padding:88px 0; border-bottom:1px solid var(--line-soft);}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:48px; flex-wrap:wrap;}
.section h2{font-size:clamp(26px,3vw,36px); text-transform:uppercase; margin-top:14px;}
.section .lede{color:var(--ink-soft); font-size:15px; max-width:560px; margin-top:12px;}

/* ---------- pillars ---------- */
.pillars{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line);}
.pillar{background:var(--bg); padding:34px 28px; min-height:230px; display:flex; flex-direction:column; justify-content:space-between;}
.pillar .num{font-size:12px; color:var(--ink-faint); letter-spacing:.1em; font-weight:700;}
.pillar h3{font-size:17px; margin-top:18px; text-transform:uppercase;}
.pillar p{font-size:13.5px; color:var(--ink-soft); margin-top:10px;}

/* ---------- product grid ---------- */
.product-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line);}
.product-card{background:var(--bg); padding:30px 26px; transition:background .2s;}
.product-card:hover{background:var(--surface);}
.product-card .pc-eyebrow{font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--metal-2); font-weight:700;}
.product-card h4{font-size:16px; margin-top:12px; font-weight:700;}
.product-card p{font-size:13px; color:var(--ink-soft); margin-top:8px;}
.product-card .pc-tag{
  display:inline-block; margin-top:16px; font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--ink-faint); border-top:1px solid var(--line); padding-top:12px; width:100%;
}

/* ---------- photo strip / gallery ---------- */
.gallery{display:grid; grid-template-columns:repeat(6,1fr); gap:8px;}
.gallery img{width:100%; height:220px; object-fit:cover; filter:grayscale(30%) contrast(1.05); border-radius:1px;}
.gallery .tall{grid-row:span 2; height:100%;}
.gallery .tall img{height:100%;}

/* ---------- split feature ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
.split img{width:100%; border-radius:2px; filter:grayscale(15%) contrast(1.05);}
.split .body p{color:var(--ink-soft); font-size:15px; margin:16px 0;}

/* ---------- color palette ---------- */
.palette{display:flex; gap:14px; flex-wrap:wrap;}
.chip{width:150px;}
.chip .sw{height:96px; border-radius:2px; border:1px solid var(--line-soft);}
.chip .cn{font-size:13px; font-weight:700; margin-top:12px;}
.chip .ch{font-family:monospace; font-size:11px; color:var(--ink-faint); margin-top:2px;}

/* ---------- voice do/dont ---------- */
.voice-grid{display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line);}
.voice-col{background:var(--bg); padding:36px 34px;}
.voice-col h3{font-size:14px; letter-spacing:.1em; text-transform:uppercase;}
.voice-col.do h3{color:#9FD8A8;}
.voice-col.dont h3{color:#E39A9A;}
.voice-col ul{margin:22px 0 0; padding:0; list-style:none;}
.voice-col li{
  font-size:14px; color:var(--ink-soft); padding:12px 0; border-top:1px solid var(--line-soft);
}
.voice-col li:first-child{border-top:none;}

/* ---------- channels ---------- */
.chan-row{
  display:grid; grid-template-columns:260px 1fr; gap:32px; padding:26px 0;
  border-top:1px solid var(--line-soft);
}
.chan-row:first-child{border-top:none;}
.chan-row h3{font-size:16px; text-transform:uppercase;}
.chan-row p{color:var(--ink-soft); font-size:14.5px; margin:0;}

/* ---------- forms ---------- */
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.form-grid .full{grid-column:1/-1;}
label{font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); font-weight:700; display:block; margin-bottom:8px;}
input, textarea, select{
  width:100%; background:var(--surface); border:1px solid var(--line); color:var(--ink);
  padding:14px 16px; font-family:'Inter',sans-serif; font-size:14px; border-radius:2px;
}
input:focus, textarea:focus{outline:none; border-color:var(--metal-2);}
textarea{min-height:120px; resize:vertical;}

/* ---------- footer ---------- */
.site-footer{padding:64px 0 40px;}
.footer-top{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid var(--line-soft);}
.footer-top h4{font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:18px;}
.footer-top a, .footer-top p{display:block; font-size:14px; color:var(--ink-soft); margin-bottom:10px;}
.footer-top a:hover{color:var(--ink);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:28px; font-size:12px; color:var(--ink-faint); flex-wrap:wrap; gap:12px;}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .nav-links{
    display:none; position:absolute; top:76px; left:0; right:0; background:var(--bg);
    flex-direction:column; gap:0; border-bottom:1px solid var(--line-soft);
  }
  .nav-links.open{display:flex;}
  .nav-links a{padding:16px 32px; border-bottom:1px solid var(--line-soft); width:100%; margin-left:0;}
  .burger{display:flex;}
  .hero .grid{grid-template-columns:1fr;}
  .pillars{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .gallery{grid-template-columns:repeat(3,1fr);}
  .gallery img{height:150px;}
  .split{grid-template-columns:1fr;}
  .voice-grid{grid-template-columns:1fr;}
  .chan-row{grid-template-columns:1fr; gap:8px;}
  .form-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
  .wrap{padding:0 20px;}
  .pillars{grid-template-columns:1fr;}
  .product-grid{grid-template-columns:1fr;}
  .gallery{grid-template-columns:repeat(2,1fr);}
  .footer-top{grid-template-columns:1fr;}
}

/* single-document adjustments */
[id]{scroll-margin-top:92px;}
.page-hero{padding-top:80px;}

/* ===================================================================
   SHOP additions
   =================================================================== */

/* announcement bar */
.announce{background:var(--surface-2); border-bottom:1px solid var(--line-soft);}
.announce .wrap{display:flex; justify-content:center; gap:36px; padding:9px 32px; flex-wrap:wrap;}
.announce span{font-size:12px; color:var(--ink-soft); letter-spacing:.02em; display:flex; align-items:center;}
.announce span::before{content:"—"; margin-right:8px; color:var(--metal-2);}

/* cart icon */
.icon-btn{position:relative; display:flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid var(--line); border-radius:2px; margin-left:12px; background:transparent; cursor:pointer; padding:0;}
.icon-btn svg{width:18px; height:18px; stroke:var(--ink); fill:none; stroke-width:1.6;}
.cart-badge{position:absolute; top:-7px; right:-7px; background:var(--ink); color:var(--bg); font-size:10px; font-weight:800; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center;}

/* rating stars */
.stars{display:inline-flex; align-items:center;}
.stars svg{width:13px; height:13px; margin-right:2px;}
.stars .filled{fill:var(--metal); stroke:var(--metal);}
.stars .empty{fill:none; stroke:var(--line);}
.rating-row{display:flex; align-items:center; font-size:12px; color:var(--ink-faint); margin-top:8px;}
.rating-row .stars{margin-right:8px;}

/* badges */
.badge{
  display:inline-block; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  padding:5px 10px; border-radius:2px; background:var(--ink); color:var(--bg);
}
.badge.outline{background:transparent; border:1px solid var(--metal-2); color:var(--metal);}

/* shop product card */
.shop-card{background:var(--bg); padding:0; display:flex; flex-direction:column;}
.shop-card .thumb{aspect-ratio:1/1; background:var(--surface); overflow:hidden; position:relative;}
.shop-card .thumb img{width:100%; height:100%; object-fit:cover;}
.shop-card .thumb .badge{position:absolute; top:14px; left:14px;}
.shop-card .info{padding:20px 22px 24px;}
.shop-card .cat-label{font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--metal-2); font-weight:700;}
.shop-card h4{font-size:16px; margin-top:10px; font-weight:700;}
.shop-card .desc{font-size:12.5px; color:var(--ink-soft); margin-top:6px;}
.shop-card .price-row{display:flex; align-items:center; justify-content:space-between; margin-top:16px;}
.price{font-size:17px; font-weight:800;}
.price .old{font-size:13px; color:var(--ink-faint); text-decoration:line-through; font-weight:500; margin-right:8px;}
.add-btn{
  font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; font-weight:700;
  padding:11px 18px; border:1px solid var(--metal-2); border-radius:2px; background:transparent; color:var(--ink);
  cursor:pointer; transition:all .15s; white-space:nowrap;
}
.add-btn:hover{background:var(--ink); color:var(--bg); border-color:var(--ink);}
.add-btn.added{background:var(--ink); color:var(--bg); border-color:var(--ink);}

.shop-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line);}
.shop-grid .shop-card{background:var(--bg);}

/* bestseller strip (4-up, tighter) */
.best-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line);}
.best-grid .shop-card{background:var(--bg);}
.best-grid .thumb{aspect-ratio:3/4;}

/* category tiles with photo */
.cat-tiles{display:grid; grid-template-columns:repeat(6,1fr); gap:1px; background:var(--line);}
.cat-tile{background:var(--bg); padding:24px 18px; text-align:center; transition:background .2s;}
.cat-tile:hover{background:var(--surface);}
.cat-tile .ico{width:34px; height:34px; margin:0 auto 14px; opacity:.85;}
.cat-tile .ico svg{width:100%; height:100%; stroke:var(--metal); fill:none; stroke-width:1.3;}
.cat-tile h4{font-size:13px; text-transform:uppercase; letter-spacing:.02em;}

/* benefits row */
.benefits{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line);}
.benefit{background:var(--bg); padding:30px 26px;}
.benefit .ico{width:30px; height:30px; margin-bottom:16px;}
.benefit .ico svg{width:100%; height:100%; stroke:var(--metal); fill:none; stroke-width:1.4;}
.benefit h4{font-size:14.5px; text-transform:uppercase;}
.benefit p{font-size:13px; color:var(--ink-soft); margin-top:8px;}

/* testimonials */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line);}
.testi{background:var(--bg); padding:30px 28px;}
.testi .stars{margin-bottom:16px;}
.testi p{font-size:14px; color:var(--ink-soft); font-style:italic;}
.testi .who{margin-top:18px; font-size:12.5px; font-weight:700; color:var(--ink);}
.testi .who span{color:var(--ink-faint); font-weight:400; margin-left:6px;}

/* faq accordion */
.faq-item{border-top:1px solid var(--line-soft);}
.faq-item:last-child{border-bottom:1px solid var(--line-soft);}
.faq-q{
  display:flex; justify-content:space-between; align-items:center; padding:22px 0; cursor:pointer;
  font-size:15px; font-weight:700;
}
.faq-q .plus{font-size:20px; color:var(--metal); font-weight:400; transition:transform .2s;}
.faq-item.open .faq-q .plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .25s ease;}
.faq-item.open .faq-a{max-height:200px;}
.faq-a p{padding-bottom:22px; color:var(--ink-soft); font-size:14px; max-width:640px;}

/* newsletter */
.newsletter{background:var(--surface); border:1px solid var(--line); padding:56px; text-align:center;}
.newsletter h2{font-size:clamp(24px,3vw,32px); text-transform:uppercase;}
.newsletter p{color:var(--ink-soft); margin-top:10px;}
.nl-form{display:flex; max-width:440px; margin:28px auto 0; gap:0;}
.nl-form input{border-radius:2px 0 0 2px; border-right:none;}
.nl-form button{border-radius:0 2px 2px 0; white-space:nowrap; padding:0 24px;}

/* trust strip in footer */
.trust-strip{display:flex; justify-content:center; flex-wrap:wrap; padding:18px 0; border-bottom:1px solid var(--line-soft); margin-bottom:0;}
.trust-strip span{font-size:11.5px; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.05em; margin:0 20px;}

@media(max-width:900px){
  .shop-grid, .best-grid{grid-template-columns:repeat(2,1fr);}
  .cat-tiles{grid-template-columns:repeat(3,1fr);}
  .benefits{grid-template-columns:repeat(2,1fr);}
  .testi-grid{grid-template-columns:1fr;}
  .announce .wrap{gap:16px;}
  .nl-form{flex-direction:column;}
  .nl-form input{border-radius:2px; border-right:1px solid var(--line); margin-bottom:10px;}
  .nl-form button{border-radius:2px;}
}
@media(max-width:600px){
  .shop-grid, .best-grid{grid-template-columns:1fr;}
  .cat-tiles{grid-template-columns:repeat(2,1fr);}
  .benefits{grid-template-columns:1fr;}
}



/* ================================================================
   WordPress / WooCommerce integration
   ================================================================ */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
.site-main{min-height:50vh}
.entry-content{color:var(--ink-soft)}
.entry-content a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.woocommerce-notices-wrapper,.woocommerce-message,.woocommerce-info,.woocommerce-error{max-width:var(--maxw);margin:24px auto;padding:14px 32px;background:var(--surface);border:1px solid var(--line);color:var(--ink-soft)}
.woocommerce-message{border-color:var(--metal-2)}
.woocommerce-error{border-color:#7a4b4b}
.woocommerce form .form-row{padding:0;margin:0 0 18px}
.woocommerce form .form-row label{color:var(--ink-faint)}
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:2px;padding:14px 16px}
.woocommerce table.shop_table{border:1px solid var(--line);border-collapse:collapse;color:var(--ink)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--line);padding:16px;background:var(--bg)}
.woocommerce .quantity .qty{background:var(--surface);border:1px solid var(--line);color:var(--ink);padding:11px;width:70px}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit{background:var(--ink);color:var(--bg);border-radius:2px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:13px 20px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--metal);color:var(--bg)}
.woocommerce span.onsale{background:var(--ink);color:var(--bg);border-radius:2px;min-height:auto;min-width:auto;line-height:1;padding:7px 10px;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.woocommerce div.product{color:var(--ink)}
.woocommerce div.product .product_title{font-size:clamp(30px,4vw,50px);text-transform:uppercase}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-weight:800}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--ink-soft)}
.woocommerce div.product .summary{padding-top:10px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--surface);border-color:var(--line);border-radius:2px 2px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--bg);border-bottom-color:var(--bg)}
.woocommerce div.product .woocommerce-tabs .panel{color:var(--ink-soft)}
.woocommerce .star-rating{color:var(--metal)}
.woocommerce .star-rating:before{color:var(--line)}
.woocommerce .star-rating span:before{color:var(--metal)}
.woocommerce .woocommerce-product-gallery__image img{border-radius:2px}
.woocommerce .related.products,.woocommerce .upsells.products{margin-top:70px}
.woocommerce .products ul,.woocommerce ul.products{margin:0}
.woocommerce ul.products li.product{margin:0;padding:0;background:var(--bg)}
.woocommerce ul.products li.product a img{margin:0}
.woocommerce ul.products li.product .button{margin-top:12px}
.woocommerce .col2-set,.woocommerce-page .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.woocommerce .cart-collaterals .cart_totals{background:var(--surface);padding:28px;border:1px solid var(--line)}
.woocommerce .cart-collaterals .cart_totals h2{font-size:22px;text-transform:uppercase}
.woocommerce-checkout #payment{background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.woocommerce-checkout #payment div.payment_box{background:var(--surface-2);color:var(--ink-soft)}
.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:var(--surface-2)}
.woocommerce-checkout #payment ul.payment_methods{border-color:var(--line)}
.woocommerce-checkout .form-row.place-order{padding:20px 0}
.woocommerce .woocommerce-order{max-width:var(--maxw);margin:60px auto}
.woocommerce .woocommerce-order h2{margin-top:30px}
.woocommerce .page-title{font-size:clamp(32px,4vw,48px);text-transform:uppercase}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;color:var(--ink-soft)}
.woocommerce .woocommerce-ordering select{background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:11px 14px}
.product-card-link{display:block}
.product-card-link:hover h4{color:var(--metal)}
.woocommerce-loop-product__title{margin:0}
.product-card .price{color:var(--ink);display:block}
.product-card .button{margin-top:0!important}
.shop-card .added_to_cart{display:none}
.cart-link{display:flex;align-items:center}
.cart-link .icon-btn{margin-left:12px}
.cart-badge:empty{display:none}
.nav-links .current-menu-item>a{color:var(--ink)}
.site-footer .menu{list-style:none;padding:0;margin:0}
.site-footer .menu li{margin-bottom:10px}
.site-footer .menu a{margin-bottom:0}
@media(max-width:900px){
 .woocommerce .col2-set,.woocommerce-page .col2-set{grid-template-columns:1fr}
}
@media(max-width:600px){
 .admin-bar .site-header{top:46px}
 .woocommerce-notices-wrapper,.woocommerce-message,.woocommerce-info,.woocommerce-error{padding-left:20px;padding-right:20px}
}

.nav-links ul{display:flex;list-style:none;margin:0;padding:0}
.nav-links li{margin:0 0 0 36px;padding:0}
.nav-links li:first-child{margin-left:0}
.nav-links li a{margin-left:0}
.footer-top ul{list-style:none;padding:0;margin:0}
.footer-top li{margin:0 0 10px}
.footer-top li a{margin:0}
.woocommerce .shop-grid .shop-card .price del{color:var(--ink-faint);font-size:13px;font-weight:500;margin-right:8px}
.woocommerce .shop-grid .shop-card .price ins{text-decoration:none}
.woocommerce .shop-grid .shop-card .rating-row .star-rating{margin:0 8px 0 0;float:none}
.woocommerce .shop-grid .shop-card .rating-row{display:flex}
.woocommerce .shop-grid .shop-card .info:last-child{padding-bottom:24px}
@media(max-width:900px){
 .nav-links ul{flex-direction:column}
 .nav-links li{margin:0}
 .nav-links li a{display:block;padding:16px 32px;border-bottom:1px solid var(--line-soft)}
}

/* XY ONLY v2 shop layer */
.shop-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:28px;padding:14px 0;border-bottom:1px solid var(--line-soft)}
.shop-search{display:flex;gap:8px;min-width:min(100%,420px)}
.shop-search input{margin:0;min-width:240px}
.shop-search button{border:1px solid var(--metal-2);background:var(--ink);color:var(--bg);padding:12px 18px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;cursor:pointer}
.cat-pills{display:flex;gap:8px;flex-wrap:wrap}
.cat-pill{display:inline-flex;padding:9px 13px;border:1px solid var(--line);color:var(--ink-soft);font-size:11px;text-transform:uppercase;letter-spacing:.07em}
.cat-pill:hover,.cat-pill.active{border-color:var(--metal-2);color:var(--ink);background:var(--surface)}
.shop-card .product-card-link{display:block}
.shop-card .price{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.shop-card .price del{color:var(--ink-faint);font-size:13px;font-weight:500}
.shop-card .price ins{text-decoration:none}
.shop-card .rating-row{display:flex;align-items:center;gap:8px;color:var(--ink-faint);font-size:11px;margin-top:10px}
.shop-card .rating-row .star-rating{float:none;margin:0;width:5.4em}
.shop-card .rating-row .star-rating:before,.shop-card .rating-row .star-rating span:before{letter-spacing:1px}
.shop-card .actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 22px 24px}
.shop-card .actions .add-btn{flex:1}
.shop-card .quick-link{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-faint)}
.shop-card .quick-link:hover{color:var(--ink)}
.shop-card .thumb img{transition:transform .35s ease}
.shop-card:hover .thumb img{transform:scale(1.025)}
.shop-empty{padding:50px 20px;text-align:center;border:1px solid var(--line);background:var(--surface)}
.shop-pagination{margin-top:36px}
.woocommerce .woocommerce-breadcrumb{color:var(--ink-faint);font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 24px}
.woocommerce .woocommerce-breadcrumb a{color:var(--ink-soft)}
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:64px}
.woocommerce div.product div.images{width:100%;float:none;margin:0}
.woocommerce div.product div.summary{width:100%;float:none;margin:0;padding-top:8px}
.woocommerce div.product div.images img{background:var(--surface);border:1px solid var(--line)}
.woocommerce div.product .product_meta{border-top:1px solid var(--line);padding-top:18px;color:var(--ink-faint);font-size:12px}
.woocommerce div.product .product_meta a{color:var(--ink-soft)}
.woocommerce div.product form.cart{display:flex;gap:10px;align-items:center;margin:26px 0}
.woocommerce div.product form.cart .quantity .qty{height:48px;width:74px}
.woocommerce div.product form.cart .single_add_to_cart_button{height:48px;flex:1}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:10px}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--ink-soft)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink)}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line)}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .button{display:block}
.woocommerce .related.products h2,.woocommerce .upsells.products h2{margin-bottom:28px}
.woocommerce-cart .entry-content,.woocommerce-checkout .entry-content{max-width:none}
.woocommerce-cart .cart_totals{width:100%!important;float:none!important}
.woocommerce form.checkout{margin-top:20px}
.woocommerce .woocommerce-checkout-review-order-table{background:var(--bg)}
.woocommerce .woocommerce-info a{color:var(--ink)}
.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.woocommerce .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line);padding:10px 0}
.woocommerce .woocommerce-MyAccount-navigation a{color:var(--ink-soft)}
.xy-import-note{padding:16px 18px;background:#16140F;border:1px solid #2A2721;margin:20px 0}
@media(max-width:900px){.woocommerce div.product{grid-template-columns:1fr;gap:32px}.woocommerce div.product .woocommerce-tabs{grid-column:auto}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.shop-toolbar{align-items:stretch}.shop-search{width:100%}.shop-search input{min-width:0}.woocommerce ul.products{grid-template-columns:1fr}.woocommerce div.product form.cart{flex-wrap:wrap}.woocommerce div.product form.cart .single_add_to_cart_button{width:100%;flex:auto}}

/* ---------- v3 production layer ---------- */
:root{--shadow:0 18px 50px rgba(0,0,0,.18)}
.header-actions{display:flex;align-items:center;gap:2px}.header-actions .icon-btn{position:relative}.account-btn{display:flex}.search-toggle{cursor:pointer}
.search-panel{position:fixed;z-index:999;left:0;right:0;top:0;transform:translateY(-110%);background:var(--bg);border-bottom:1px solid var(--line);padding:88px 0 22px;transition:transform .25s ease;box-shadow:var(--shadow)}
.search-panel.open{transform:translateY(0)}.search-panel form{display:flex;gap:10px}.search-panel input{height:52px;margin:0;font-size:18px}.search-panel button{border:1px solid var(--metal-2);background:var(--ink);color:var(--bg);padding:0 24px;text-transform:uppercase;font-weight:700;letter-spacing:.06em;cursor:pointer}
.mini-cart{position:fixed;z-index:1001;right:0;top:0;bottom:0;width:min(430px,100%);background:var(--bg);border-left:1px solid var(--line);transform:translateX(105%);transition:transform .25s ease;box-shadow:var(--shadow);padding:26px;overflow:auto}.mini-cart.open{transform:translateX(0)}.mini-cart-backdrop{position:fixed;z-index:1000;inset:0;background:rgba(0,0,0,.55);opacity:0;pointer-events:none;transition:opacity .2s}.mini-cart-backdrop.open{opacity:1;pointer-events:auto}.mini-cart-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line);font-size:20px;text-transform:uppercase}.mini-cart-close{background:none;border:0;color:var(--ink);font-size:32px;line-height:1;cursor:pointer}.mini-cart .woocommerce-mini-cart{list-style:none;margin:0;padding:0}.mini-cart .woocommerce-mini-cart-item{padding:16px 0;border-bottom:1px solid var(--line-soft);min-height:70px}.mini-cart .woocommerce-mini-cart-item a{color:var(--ink)}.mini-cart .woocommerce-mini-cart-item img{width:64px;float:left;margin-right:14px}.mini-cart .quantity{color:var(--ink-soft);font-size:12px}.mini-cart .woocommerce-mini-cart__buttons{display:grid;gap:8px;margin-top:22px}.mini-cart .woocommerce-mini-cart__buttons a{display:block;text-align:center;padding:14px;border:1px solid var(--metal-2);text-transform:uppercase;font-size:12px;font-weight:700}.mini-cart .woocommerce-mini-cart__buttons .checkout{background:var(--ink);color:var(--bg)}
.sale-badge{position:absolute;right:16px;top:16px;z-index:2;padding:6px 8px;background:var(--ink);color:var(--bg);font-size:10px;letter-spacing:.1em;font-weight:700}.shop-card .thumb{position:relative;overflow:hidden}.shop-card .add-btn.disabled{opacity:.45;cursor:not-allowed}.review-empty{border:1px solid var(--line);padding:36px;background:var(--surface)}
.loop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px;padding:14px 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.loop-count{color:var(--ink-faint);font-size:12px}.loop-toolbar .woocommerce-result-count{margin:0}.loop-toolbar .woocommerce-ordering{margin:0}.loop-toolbar select{margin:0}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{border-top-color:var(--metal-2);background:var(--surface);color:var(--ink);padding:16px 20px}.woocommerce .woocommerce-message:before,.woocommerce .woocommerce-info:before{color:var(--metal)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:2px;background:var(--ink);color:var(--bg);padding:13px 20px;text-transform:uppercase;font-weight:700;letter-spacing:.05em}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--metal);color:var(--bg)}
.woocommerce table.shop_table{border-color:var(--line);border-radius:0;background:var(--bg)}.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--line);padding:16px}.woocommerce-cart .product-name a,.woocommerce-checkout a{color:var(--ink)}.woocommerce .quantity .qty{background:var(--surface);border-color:var(--line);color:var(--ink);padding:10px}.woocommerce form .form-row label{color:var(--ink-faint)}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:2px;padding:13px}.woocommerce-checkout h3,.woocommerce-cart h2{font-size:24px;text-transform:uppercase}.woocommerce .woocommerce-privacy-policy-text{color:var(--ink-soft);font-size:12px}.woocommerce .checkout_coupon,.woocommerce .login,.woocommerce .register{background:var(--surface);border:1px solid var(--line);border-radius:0}
.woocommerce .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:8px;margin-top:8px}.woocommerce .woocommerce-product-gallery .flex-control-thumbs li{width:auto!important;float:none!important;flex:1}.woocommerce .woocommerce-product-gallery .flex-control-thumbs img{border:1px solid var(--line)}.woocommerce div.product .summary .product_title{font-size:clamp(30px,4vw,50px);line-height:1.05;text-transform:uppercase}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-size:26px;font-weight:700}.woocommerce div.product .stock{color:var(--ink-soft)}.woocommerce div.product .woocommerce-tabs ul.tabs{margin:0}.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-color:var(--line)}
.woocommerce #reviews #comments ol.commentlist{padding:0}.woocommerce #reviews #comments ol.commentlist li{border-color:var(--line);background:var(--surface);padding:18px}.woocommerce #reviews #comments ol.commentlist li .comment-text{border:0;padding:0;margin:0}.woocommerce #reviews #comments ol.commentlist li img.avatar{display:none}
.woocommerce .related.products ul.products,.woocommerce .upsells.products ul.products{margin-bottom:0}.woocommerce .related.products,.woocommerce .upsells.products{clear:both}.woocommerce .product-page .woocommerce-breadcrumb{margin-bottom:30px}
.site-main a:focus-visible,.site-footer a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--metal);outline-offset:3px}
@media(max-width:900px){.account-btn{display:none}.search-panel{padding-top:78px}.loop-toolbar{align-items:flex-start;flex-direction:column}.loop-toolbar .woocommerce-ordering{width:100%}.loop-toolbar select{width:100%}}
@media(max-width:600px){.search-panel form{flex-direction:column}.search-panel button{height:48px}.mini-cart{padding:20px}.header-actions{gap:0}.hero{padding-top:54px}.footer-contact{display:block!important}.footer-about{max-width:none!important}}
.xy-lock{overflow:hidden}.mini-cart .woocommerce-mini-cart__total{border-top:1px solid var(--line);padding-top:16px}.mini-cart .woocommerce-mini-cart__empty-message{color:var(--ink-soft);padding:24px 0}


/* v3.1 — explicit visibility for custom WooCommerce shop cards */
.shop-grid .shop-card .info .price-row{display:flex!important;visibility:visible!important;opacity:1!important;height:auto!important;overflow:visible!important;}
.shop-grid .shop-card .info .price,.shop-grid .shop-card .info .price *{display:inline!important;visibility:visible!important;opacity:1!important;}
.shop-grid .shop-card .actions{display:flex!important;visibility:visible!important;opacity:1!important;height:auto!important;overflow:visible!important;}
.shop-grid .shop-card .actions .add-btn{display:flex!important;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important;}
.shop-grid .shop-card .actions .quick-link{display:inline-block!important;visibility:visible!important;opacity:1!important;}
.shop-grid .shop-card .info .price del{display:inline!important;}
.shop-grid .shop-card .info .price ins{display:inline!important;}
