/*
Theme Name: XtylishStore
Theme URI: https://xtylishstore.online
Author: XtylishStore
Author URI: https://xtylishstore.online
Description: A professional WooCommerce + Elementor-ready custom theme for XtylishStore. Fully responsive with a dynamic homepage, working cart, real WooCommerce checkout, and mobile bottom navigation.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xtylish
*/

:root{
  --bg:#FFFFFF;
  --bg-soft:#F3F5F9;
  --ink:#0F172A;
  --ink-soft:#475569;
  --blue:#2563EB;
  --blue-dark:#1D4ED8;
  --blue-pale:#EFF4FF;
  --grey:#64748B;
  --grey-light:#CBD5E1;
  --line:#E2E8F0;
  --star:#F59E0B;
  --radius:10px;
}
*{box-sizing:border-box;}
body{
  background:var(--bg); color:var(--ink);
  font-family:'Inter', sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden; margin:0;
  padding-bottom:0;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; height:auto;}
.wrap{max-width:1280px; margin:0 auto; padding:0 32px;}
::selection{background:var(--blue); color:#fff;}

.eyebrow{
  font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase; font-weight:700; color:var(--blue);
}

/* ---------- Top utility bar ---------- */
.topbar{background:var(--ink); color:#E2E8F0; font-size:12px;}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; padding:8px 32px; gap:16px; max-width:1280px; margin:0 auto;}
.topbar-left{display:flex; align-items:center; gap:18px; flex-wrap:wrap;}
.topbar-sep{position:relative; padding-left:18px;}
.topbar-sep::before{content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:12px; background:rgba(255,255,255,0.25);}
.topbar-right{display:flex; align-items:center; gap:18px;}
.topbar-right a{color:#CBD5E1;}
.topbar-right a:hover{color:#fff;}

/* ---------- Header ---------- */
header{background:var(--bg); position:sticky; top:0; z-index:100; border-bottom:1px solid var(--line);}
.header-main{display:flex; align-items:center; gap:28px; padding:16px 32px; max-width:1280px; margin:0 auto;}
.logo{font-family:'Sora', sans-serif; font-size:22px; font-weight:800; letter-spacing:-0.01em; flex-shrink:0;}
.logo img{max-height:44px; width:auto;}
.header-search-wrap{flex:1; max-width:640px; min-width:0;}
.header-search{display:flex; border:1.5px solid var(--line); border-radius:6px; overflow:hidden; min-width:0;}
.header-search input{flex:1; min-width:0; width:100%; border:none; padding:11px 16px; font-size:14px; outline:none;}
.header-search button{background:var(--blue); border:none; color:#fff; padding:0 20px; cursor:pointer; display:flex; align-items:center; flex-shrink:0;}
.header-search button:hover{background:var(--blue-dark);}
.icon-btn.search-toggle-btn{display:none;}
.header-icons{display:flex; align-items:center; gap:10px; margin-left:auto; flex-shrink:0;}
.icon-btn{position:relative; width:38px; height:38px; display:flex; align-items:center; justify-content:center; color:var(--ink); border-radius:50%; transition:background .15s ease; background:none; border:none; cursor:pointer;}
.icon-btn:hover{background:var(--bg-soft);}
.cart-badge{position:absolute; top:2px; right:2px; background:var(--blue); color:#fff; font-size:10px; font-weight:700; width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center;}
.hamburger{display:none; flex-direction:column; gap:4px; background:none; border:none; cursor:pointer; padding:6px;}
.hamburger span{width:22px; height:2px; background:var(--ink); display:block; transition:all .2s ease;}
.hamburger.open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

/* ---------- Category + nav row ---------- */
.nav-row{background:var(--bg); border-bottom:1px solid var(--line);}
.nav-row-inner{display:flex; align-items:center; gap:28px; padding:12px 32px; max-width:1280px; margin:0 auto;}
.all-categories-dropdown{position:relative;}
.all-cat-btn{
  display:flex; align-items:center; gap:8px; background:var(--blue); color:#fff; border:none; border-radius:6px;
  padding:10px 16px; font-size:13.5px; font-weight:600; cursor:pointer;
}
.all-cat-btn:hover{background:var(--blue-dark);}
.all-cat-menu{
  position:absolute; top:calc(100% + 8px); left:0; background:#fff; border:1px solid var(--line); border-radius:8px;
  box-shadow:0 16px 40px rgba(15,23,42,0.12); min-width:220px; padding:8px; z-index:60;
  display:none; flex-direction:column;
}
.all-cat-menu.open{display:flex;}
.all-cat-menu a{padding:9px 12px; border-radius:6px; font-size:13.5px; font-weight:500; display:flex; justify-content:space-between;}
.all-cat-menu a:hover{background:var(--bg-soft);}
.all-cat-menu a span{color:var(--grey); font-weight:400;}
.all-cat-empty{padding:12px; font-size:12.5px; color:var(--grey); display:block;}
.nav-links{display:flex; gap:26px; font-size:13.5px; font-weight:600;}
.nav-links a{position:relative; padding-bottom:2px;}
.nav-links a::after{content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--blue); transition:width .2s ease;}
.nav-links a:hover::after{width:100%;}

.mobile-drawer{
  position:fixed; top:0; right:0; height:100vh; width:78%; max-width:320px; background:#fff; z-index:110;
  box-shadow:-10px 0 40px rgba(15,23,42,0.18); transform:translateX(100%); transition:transform .3s ease;
  padding:30px 26px; display:flex; flex-direction:column; gap:4px;
}
.mobile-drawer.open{transform:translateX(0);}
.mobile-drawer a{font-size:15.5px; font-weight:600; padding:13px 0; border-bottom:1px solid var(--line);}
.drawer-backdrop{position:fixed; inset:0; background:rgba(15,23,42,0.4); z-index:105; opacity:0; pointer-events:none; transition:opacity .3s ease;}
.drawer-backdrop.open{opacity:1; pointer-events:auto;}

/* ---------- Mobile bottom tab bar ---------- */
.mobile-tabbar{
  display:none; position:fixed; bottom:0; left:0; right:0; background:#fff; border-top:1px solid var(--line);
  z-index:90; padding:6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 20px rgba(15,23,42,0.06);
}
.mobile-tabbar a{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; font-size:10.5px; font-weight:600;
  color:var(--grey); padding:4px 0;
}
.mobile-tabbar a.active{color:var(--blue);}

/* ---------- Hero Slider ---------- */
.hero-slider{position:relative; overflow:hidden;}
.hero-slides{display:flex; transition:transform .5s cubic-bezier(.25,.8,.25,1);}
.hero-slide{min-width:100%; flex-shrink:0;}
.hero{
  background:linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color:#fff; display:grid; grid-template-columns:1fr 1fr; align-items:center; min-height:460px;
}
.hero-copy{padding:56px 40px; position:relative; z-index:2; max-width:480px;}
.hero-copy .eyebrow{color:#60A5FA;}
.hero-copy h1{font-family:'Sora', sans-serif; font-weight:700; font-size:clamp(32px,4vw,46px); line-height:1.1; margin:14px 0 16px;}
.hero-copy p{font-size:15px; line-height:1.6; color:#CBD5E1; margin-bottom:28px; max-width:420px;}
.hero-ctas{display:flex; gap:12px; flex-wrap:wrap;}
.btn-primary{background:var(--blue); color:#fff; padding:14px 26px; font-size:13.5px; font-weight:700; border-radius:8px; transition:background .2s ease; display:inline-block;}
.btn-primary:hover{background:var(--blue-dark); color:#fff;}
.btn-outline-light{border:1.5px solid rgba(255,255,255,0.5); color:#fff; padding:12.5px 24px; font-size:13.5px; font-weight:600; border-radius:8px; transition:all .2s ease; display:inline-block;}
.btn-outline-light:hover{background:#fff; color:var(--ink);}
.hero-stage{position:relative; height:100%; min-height:400px; z-index:1; display:flex; align-items:center; justify-content:center; padding:20px 40px;}
.hero-single-img{max-width:88%; max-height:380px; width:auto; border-radius:16px; object-fit:cover; box-shadow:0 24px 55px rgba(0,0,0,0.4);}

.hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:20; background:rgba(255,255,255,0.14); color:#fff;
  border:1px solid rgba(255,255,255,0.3); width:42px; height:42px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; cursor:pointer; transition:background .2s ease;
}
.hero-arrow:hover{background:rgba(255,255,255,0.28);}
.hero-prev{left:18px;}
.hero-next{right:18px;}
.hero-dots{position:absolute; bottom:20px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:20;}
.hero-dot{width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.4); border:none; cursor:pointer; padding:0; transition:all .2s ease;}
.hero-dot.active{background:#fff; width:22px; border-radius:4px;}
.hero-slider.single-slide .hero-arrow, .hero-slider.single-slide .hero-dots{display:none;}


/* ---------- Trust strip ---------- */
.trust-strip{
  display:grid; grid-template-columns:repeat(5,1fr); gap:18px; padding:34px 32px; border-bottom:1px solid var(--line);
}
.trust-item{display:flex; align-items:flex-start; gap:12px;}
.trust-item svg{width:30px; height:30px; color:var(--blue); flex-shrink:0;}
.trust-item h4{font-size:13.5px; font-weight:700; margin-bottom:2px;}
.trust-item p{font-size:11.5px; color:var(--grey);}

/* ---------- Section head ---------- */
.section-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; flex-wrap:wrap; gap:10px;}
.section-head h2{font-family:'Sora', sans-serif; font-weight:700; font-size:24px;}
.section-head .view-all{font-size:12.5px; font-weight:700; color:var(--blue);}

/* ---------- Categories ---------- */
.categories{padding:48px 0 16px;}
.cat-rail{display:grid; grid-template-columns:repeat(6,1fr); gap:16px;}
.cat-card{background:var(--bg-soft); border-radius:14px; padding:20px 14px; text-align:center; transition:all .2s ease; display:flex; flex-direction:column; align-items:center; gap:10px;}
.cat-card:hover{background:var(--blue-pale); transform:translateY(-3px);}
.cat-thumb{width:64px; height:64px; border-radius:50%; overflow:hidden; background:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(15,23,42,0.08);}
.cat-thumb img{width:100%; height:100%; object-fit:cover;}
.cat-name{font-size:13px; font-weight:600;}

/* ---------- Products grid (shared by home + shop) ---------- */
.products{padding:40px 0;}
.product-grid-wc{margin-bottom:8px;}
.admin-only-hint{font-size:13px; color:var(--grey); background:var(--bg-soft); border:1px dashed var(--line); padding:16px 18px; border-radius:10px; max-width:640px;}

.woocommerce ul.products{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; list-style:none; padding:0; margin:0;}
.woocommerce ul.products li.product{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; position:relative;
  transition:all .2s ease; padding:0 !important; width:100% !important; margin:0 !important; text-align:left;
}
.woocommerce ul.products li.product:hover{box-shadow:0 14px 32px rgba(15,23,42,0.1); transform:translateY(-3px);}
.woocommerce ul.products li.product a img{width:100%; aspect-ratio:1/1; object-fit:cover; margin:0 !important; border-radius:0 !important;}
.woocommerce ul.products li.product .onsale{
  background:var(--blue); color:#fff; border-radius:4px; font-size:10.5px; font-weight:700; letter-spacing:0.02em;
  padding:3px 7px; line-height:1.4; position:absolute; top:10px; left:10px; min-height:auto; min-width:auto;
  height:auto; width:auto; box-shadow:none; text-align:left; z-index:4;
}
.woocommerce div.product span.onsale{
  background:var(--blue); color:#fff; border-radius:4px; font-size:11px; font-weight:700; letter-spacing:0.02em;
  padding:4px 9px; line-height:1.4; position:absolute; top:14px; left:14px; min-height:auto; min-width:auto;
  height:auto; width:auto; box-shadow:none; z-index:4;
}
.wishlist-heart{
  position:absolute; top:8px; right:8px; z-index:5; background:#fff; border:none; border-radius:50%; width:30px; height:30px;
  display:flex; align-items:center; justify-content:center; color:var(--grey); cursor:pointer; box-shadow:0 2px 8px rgba(15,23,42,0.12);
  transition:all .15s ease;
}
.wishlist-heart:hover{color:var(--blue);}
.wishlist-heart.active{color:#EF4444;}
.wishlist-heart.active svg{fill:#EF4444;}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'Sora',sans-serif; font-size:14.5px; font-weight:600; padding:14px 14px 0; margin:0; line-height:1.3;}
.woocommerce ul.products li.product .star-rating{margin:6px 14px 0; font-size:13px; color:var(--star); width:auto;}
.woocommerce ul.products li.product .price{font-weight:700; font-size:15px; padding:6px 14px 14px; display:block; color:var(--ink);}
.woocommerce ul.products li.product .price del{color:var(--grey-light); font-weight:400; font-size:13px;}
.woocommerce ul.products li.product .price ins{text-decoration:none; color:var(--ink);}
.woocommerce ul.products li.product .button{display:none;}

/* ---------- Promo row (3 dark cards) ---------- */
.promo-row{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; padding:24px 32px 48px;}
.promo-card{border-radius:14px; padding:28px; color:#fff; display:flex; flex-direction:column; gap:8px; min-height:190px; justify-content:flex-end; position:relative; overflow:hidden;}
.promo-bg-1{background:linear-gradient(135deg,#1E293B,#0F172A);}
.promo-bg-2{background:linear-gradient(135deg,#2563EB,#1D4ED8);}
.promo-bg-3{background:linear-gradient(135deg,#334155,#0F172A);}
.promo-tag{font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; background:rgba(255,255,255,0.15); align-self:flex-start; padding:4px 10px; border-radius:20px; margin-bottom:6px;}
.promo-card h3{font-family:'Sora',sans-serif; font-size:19px; font-weight:700;}
.promo-card p{font-size:13px; color:#CBD5E1;}
.promo-btn{margin-top:10px; background:var(--blue); color:#fff; font-size:12.5px; font-weight:700; padding:9px 18px; border-radius:6px; align-self:flex-start;}
.promo-bg-2 .promo-btn{background:#fff; color:var(--blue);}

/* ---------- Stats strip ---------- */
.stats-strip{background:var(--bg-soft); padding:36px 0;}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center;}
.stat-item strong{display:block; font-family:'Sora',sans-serif; font-size:26px; font-weight:800; color:var(--blue);}
.stat-item span{font-size:12.5px; color:var(--grey);}

/* ---------- Reviews ---------- */
.reviews{padding:56px 0 64px;}
.reviews-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.review-card{background:var(--bg-soft); border:1px solid var(--line); border-radius:14px; padding:24px;}
.review-stars{color:var(--star); font-size:15px; margin-bottom:10px;}
.review-text{font-size:13.5px; line-height:1.6; color:var(--ink-soft); margin-bottom:14px;}
.review-author{font-size:13px; font-weight:700;}
.review-author span{font-weight:400; color:var(--grey);}

/* ---------- Footer ---------- */
footer{background:var(--ink); color:#CBD5E1; padding:52px 0 0;}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1fr; gap:32px; padding-bottom:36px;}
.footer-brand .footer-logo{font-family:'Sora',sans-serif; font-size:20px; font-weight:800; color:#fff; margin-bottom:12px;}
.footer-brand .desc{font-size:13px; line-height:1.6; color:#94A3B8; max-width:260px; margin-bottom:16px;}
.socials{display:flex; gap:10px;}
.socials a{border:1px solid rgba(255,255,255,0.15); width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11px; color:#fff;}
.footer-col h5{font-size:13.5px; font-weight:700; color:#fff; margin-bottom:16px;}
.footer-col a{display:block; font-size:13px; color:#94A3B8; margin-bottom:11px;}
.footer-col a:hover{color:#fff;}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding:20px 0; border-top:1px solid rgba(255,255,255,0.1);
  font-size:12px; color:#94A3B8; flex-wrap:wrap; gap:10px;
}
.payment-icons{display:flex; gap:10px; font-size:11px;}
.payment-icons span{border:1px solid rgba(255,255,255,0.15); padding:5px 10px; border-radius:6px;}

/* ---------- Breadcrumb ---------- */
.breadcrumb{padding:14px 32px; font-size:12px; color:var(--grey); border-bottom:1px solid var(--line); max-width:1280px; margin:0 auto;}
.breadcrumb a:hover{color:var(--ink);}

/* =====================================================================
   SHOP LAYOUT — sidebar filters + product grid
   ===================================================================== */
.shop-layout{display:grid; grid-template-columns:250px 1fr; gap:36px; padding:32px 0 70px; max-width:1280px; margin:0 auto;}
.filters{border-right:1px solid var(--line); padding-right:26px;}
.filter-group{margin-bottom:28px;}
.filter-group h4{font-size:13px; text-transform:uppercase; letter-spacing:0.05em; font-weight:700; margin-bottom:14px; color:var(--ink);}
.filter-cat-link{display:flex; justify-content:space-between; padding:8px 0; font-size:13.5px; color:var(--ink-soft);}
.filter-cat-link:hover, .filter-cat-link.current{color:var(--blue); font-weight:600;}
.filter-cat-link .count{color:var(--grey-light); font-size:11.5px;}
.filter-hint p{font-size:12px; color:var(--grey); line-height:1.5;}
.filter-toggle-btn{
  display:none; align-items:center; gap:8px; background:var(--ink); color:#fff; border-radius:8px;
  padding:11px 18px; font-size:13px; font-weight:600; margin:0 32px 16px; border:none; cursor:pointer;
}
.filter-close-btn{display:none;}
.shop-main .woocommerce-page-wrap{padding:0 !important; max-width:none !important; margin:0 !important;}
.woocommerce-result-count{font-size:12.5px; color:var(--grey);}
.woocommerce-ordering select{border:1px solid var(--line); border-radius:6px; padding:8px 12px; font-size:12.5px;}
.woocommerce-pagination ul.page-numbers{display:flex; gap:8px; list-style:none; padding:0; justify-content:center; margin-top:40px;}
.woocommerce-pagination .page-numbers{width:36px; height:36px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:8px; font-size:13px;}
.woocommerce-pagination .page-numbers.current{background:var(--ink); color:#fff; border-color:var(--ink);}

/* WooCommerce filter widgets styling */
.price_slider_wrapper .ui-slider{background:var(--line); height:4px; border-radius:4px; margin:14px 0;}
.price_slider_wrapper .ui-slider .ui-slider-range{background:var(--blue); border-radius:4px;}
.price_slider_wrapper .ui-slider .ui-slider-handle{background:#fff; border:2px solid var(--blue); width:16px; height:16px; border-radius:50%; top:-6px;}
.price_slider_amount .button{background:var(--ink); color:#fff; border-radius:6px; font-size:11.5px; padding:8px 14px; float:right;}
.woocommerce .widget_rating_filter ul, .woocommerce .widget_layered_nav ul{list-style:none; padding:0;}
.woocommerce .widget_rating_filter li a, .woocommerce .widget_layered_nav li a{font-size:13px; padding:6px 0; display:block; color:var(--ink-soft);}
.star-rating{color:var(--star);}

/* =====================================================================
   WOOCOMMERCE — single product, cart, checkout, account
   ===================================================================== */
.woocommerce-page-wrap{padding:32px 32px 70px; max-width:1280px; margin:0 auto;}

.woocommerce div.product{max-width:1280px; margin:0 auto;}
.woocommerce div.product div.images{border-radius:14px; overflow:hidden; background:var(--bg-soft); position:relative;}
.flex-control-thumbs{display:flex; gap:8px; margin-top:10px; list-style:none; padding:0;}
.flex-control-thumbs li{width:64px;}
.flex-control-thumbs img{border-radius:8px; border:1px solid var(--line); cursor:pointer;}
.flex-control-thumbs img.flex-active{border-color:var(--blue);}
.woocommerce div.product .summary{padding-left:20px;}
.woocommerce div.product .summary h1.product_title{font-family:'Sora',sans-serif; font-weight:700; font-size:26px; margin-bottom:10px;}
.woocommerce div.product p.price, .woocommerce div.product span.price{font-size:24px; font-weight:800; color:var(--ink);}
.woocommerce div.product .woocommerce-product-rating{margin-bottom:16px; font-size:13px; color:var(--grey);}
.woocommerce div.product form.cart .button{
  background:var(--blue); color:#fff; border-radius:8px; padding:15px 30px; font-size:13.5px; font-weight:700; border:none; transition:background .2s ease;
}
.woocommerce div.product form.cart .button:hover{background:var(--blue-dark);}
.woocommerce div.product form.cart div.quantity{margin-right:12px;}
.woocommerce div.product form.cart .qty{border:1px solid var(--line); border-radius:8px; padding:12px 12px; width:70px;}
.woocommerce-tabs ul.tabs{border-bottom:1px solid var(--line); padding-left:0; list-style:none; display:flex; gap:26px; margin:36px 0 22px;}
.woocommerce-tabs ul.tabs li{margin:0 !important; padding:0 !important;}
.woocommerce-tabs ul.tabs li a{font-weight:700; font-size:14px; padding:12px 0; display:inline-block; color:var(--grey);}
.woocommerce-tabs ul.tabs li.active a{color:var(--ink); border-bottom:2px solid var(--blue);}
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after{display:none !important;}
.related.products ul.products, .up-sells ul.products{grid-template-columns:repeat(4,1fr);}
.related.products > h2, .up-sells > h2{font-family:'Sora',sans-serif; font-size:20px; margin:40px 0 20px;}

/* Cart page */
.woocommerce table.cart, .woocommerce-cart table.cart{border:1px solid var(--line); border-radius:12px; overflow:hidden;}
.woocommerce table.cart td, .woocommerce table.cart th{padding:14px; border-bottom:1px solid var(--line);}
.woocommerce table.cart th{font-size:11.5px; text-transform:uppercase; letter-spacing:0.05em; background:var(--bg-soft);}
.woocommerce table.cart img{width:64px; border-radius:8px;}
.woocommerce a.remove{color:#EF4444 !important;}
.woocommerce-cart .cart-collaterals .cart_totals{background:var(--bg-soft); border-radius:12px; padding:22px;}
.woocommerce-cart .cart_totals h2{font-family:'Sora',sans-serif; font-size:19px; margin-bottom:14px;}
.woocommerce a.checkout-button, .woocommerce #respond input#submit, .woocommerce a.button.wc-forward, .woocommerce button.button{
  background:var(--blue); color:#fff !important; border-radius:8px; font-weight:700; font-size:13px; padding:13px 26px; border:none; transition:background .2s ease;
}
.woocommerce a.checkout-button:hover, .woocommerce button.button:hover{background:var(--blue-dark);}

/* Checkout */
.woocommerce-checkout .col2-set{display:grid; grid-template-columns:1fr 1fr; gap:36px;}
.woocommerce form .form-row{margin-bottom:14px;}
.woocommerce form .form-row label{font-size:12.5px; font-weight:600; color:var(--ink); margin-bottom:5px; display:block;}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea{
  width:100%; border:1px solid var(--line); border-radius:8px; padding:11px 13px; font-size:14px;
}
#order_review{background:var(--bg-soft); border-radius:12px; padding:22px; margin-top:22px;}
.woocommerce-checkout #payment{background:var(--bg-soft); border-radius:12px;}
.woocommerce-checkout #payment div.payment_box{background:#fff; border-radius:10px;}

/* My Account */
.woocommerce-MyAccount-navigation ul{list-style:none; padding:0;}
.woocommerce-MyAccount-navigation li{margin-bottom:9px;}
.woocommerce-MyAccount-navigation li a{font-weight:600; font-size:13.5px;}
.woocommerce-MyAccount-navigation li.is-active a{color:var(--blue);}

/* Notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info{border-top-color:var(--blue) !important; border-radius:10px; padding:14px 18px !important;}
.woocommerce-message::before{color:var(--blue) !important;}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:1200px){
  .cat-rail{grid-template-columns:repeat(4,1fr);}
  .woocommerce ul.products{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:1024px){
  .nav-links{display:none;}
  .hamburger{display:flex;}
  .icon-btn.search-toggle-btn{display:flex;}
  .header-search-wrap{
    display:none; position:absolute; top:calc(100% + 8px); left:12px; right:12px; background:#fff; padding:10px;
    box-shadow:0 12px 28px rgba(15,23,42,0.14); border:1px solid var(--line); border-radius:12px; z-index:95; max-width:none;
  }
  .header-search-wrap.open{display:block;}
  .header-main{position:relative;}
  .topbar-left span:nth-child(3){display:none;}
  .hero{grid-template-columns:1fr; min-height:auto; text-align:center;}
  .hero-copy{padding:44px 24px 20px; max-width:100%;}
  .hero-ctas{justify-content:center;}
  .hero-stage{min-height:240px; padding:10px 24px 28px;}
  .hero-single-img{max-height:220px;}
  .hero-arrow{width:34px; height:34px;}
  .hero-prev{left:10px;}
  .hero-next{right:10px;}
  .trust-strip{grid-template-columns:repeat(3,1fr);}
  .promo-row{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr 1fr 1fr; gap:26px;}
  .shop-layout{grid-template-columns:1fr; gap:0;}
  .filters{
    border-right:none; padding-right:0; position:fixed; top:0; left:0; height:100vh; width:82%; max-width:320px;
    background:#fff; z-index:120; padding:24px; overflow-y:auto; transform:translateX(-100%); transition:transform .3s ease;
    box-shadow:10px 0 40px rgba(15,23,42,0.15);
  }
  .filters.open{transform:translateX(0);}
  .filter-toggle-btn{display:flex;}
  .filter-close-btn{display:block; margin-bottom:16px; background:none; border:none; font-size:24px; cursor:pointer;}
  .woocommerce div.product .summary{padding-left:0; margin-top:24px;}
  .woocommerce-checkout .col2-set{grid-template-columns:1fr;}
  body{padding-bottom:64px;}
  .mobile-tabbar{display:flex;}
}
@media (max-width:820px){
  .cat-rail{grid-template-columns:repeat(3,1fr);}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr); gap:24px;}
  .reviews-grid{grid-template-columns:1fr 1fr;}
  .related.products ul.products, .up-sells ul.products{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
  .wrap, .woocommerce-page-wrap{padding-left:18px; padding-right:18px;}
  .topbar-inner{padding:8px 18px; flex-wrap:wrap;}
  .topbar-left span:nth-child(2){display:none;}
  .header-main{padding:12px 18px; gap:14px;}
  .logo{font-size:17px;}
  .nav-row-inner{padding:10px 18px;}
  .hero-copy h1{font-size:28px;}
  .promo-row{grid-template-columns:1fr; padding:20px 18px 36px;}
  .cat-rail{grid-template-columns:repeat(2,1fr); gap:12px;}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr); gap:12px;}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .reviews-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr; gap:22px;}
  .related.products ul.products, .up-sells ul.products{grid-template-columns:repeat(2,1fr);}
}
@media (prefers-reduced-motion: reduce){ *{transition:none !important; animation:none !important;} }
