/*
Theme Name: Bushehr Dart
Theme URI: https://bushehrdart.ir
Author: Bushehr Dart
Description: قالب اختصاصی فروشگاه بوشهر دارت — راست‌چین، سازگار با ووکامرس و بهینه برای موبایل.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: bushehrdart
*/

:root{
  --gold:#d4a72c; --gold-grad:linear-gradient(135deg,#8a6414 0%,#f3d36b 30%,#b8871e 55%,#f7e08a 75%,#9a7016 100%);
  --ink:#121212; --ink-2:#1d1d1d; --red:#d7262b; --red-d:#b51d22; --green:#1e8a3c; --green-d:#16702f;
  --bg:#fff; --soft:#f4f4f2; --line:#e6e6e3; --txt:#1b1b1b; --muted:#6b6b6b; --radius:10px;
}
*{box-sizing:border-box}
html,body{overflow-x:hidden}
body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;color:var(--txt);background:var(--bg);font-size:15px;line-height:1.75;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input,select,textarea{font-family:inherit;font-size:inherit}
h1,h2,h3,h4,h5,h6{margin:0 0 .5em;line-height:1.35;font-weight:900}
p{margin:0 0 1em}
ul{margin:0;padding:0}
.wrap{max-width:1280px;margin:0 auto;padding:0 20px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.btn,.button,button.button,a.button,input[type=submit],.wc-block-components-button:not(.is-link){display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--red);color:#fff!important;font-weight:800;padding:11px 24px;border-radius:6px;border:0;cursor:pointer;font-size:15px;line-height:1.4;transition:background .15s}
.btn:hover,.button:hover,input[type=submit]:hover{background:var(--red-d)}
.btn.ghost{background:transparent;border:2px solid #fff}
.btn.dark,.button.alt{background:var(--ink)}
.btn.dark:hover,.button.alt:hover{background:#000}
.ic{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

/* ===== top strip / header ===== */
.strip{background:#2a2a2a;color:#ddd;font-size:12.5px}
.strip .wrap{display:flex;justify-content:space-between;height:32px;align-items:center}
.strip b{color:#fff}
.strip nav a{margin-inline-start:16px;opacity:.85}
.hdr{background:var(--ink);color:#fff}
.hdr .wrap{display:flex;align-items:center;gap:28px;height:84px}
.logo{display:flex;align-items:center;gap:10px;flex-shrink:0;color:#fff}
.logo img{max-height:52px;width:auto}
.logo .mark{width:46px;height:46px;border-radius:50%;background:radial-gradient(circle,var(--red) 0 22%,#fff 23% 34%,var(--ink) 35% 50%,var(--green) 51% 62%,var(--ink) 63%);border:3px solid #fff;flex-shrink:0}
.logo .t{font-weight:900;font-size:24px;line-height:1;letter-spacing:-.5px}
.logo .t span{color:var(--red)}
.logo small{display:block;font-size:11px;font-weight:500;color:#aaa;margin-top:4px;letter-spacing:2px}
.search{flex:1;display:flex;background:#2b2b2b;border-radius:6px;overflow:hidden;height:46px;position:relative}
.search input[type=search]{flex:1;background:none;border:0;color:#fff;padding:0 16px;outline:0;min-width:0}
.search input::placeholder{color:#9a9a9a}
.search button{background:var(--red);border:0;color:#fff;width:54px;cursor:pointer;display:grid;place-items:center}
.icons{display:flex;gap:22px;align-items:center}
.icons a{display:flex;flex-direction:column;align-items:center;font-size:11.5px;color:#ccc;position:relative}
.icons .ic{width:26px;height:26px;stroke:#fff}
.badge{position:absolute;top:-6px;left:-8px;background:var(--red);color:#fff;border-radius:10px;font-size:11px;min-width:19px;height:19px;display:grid;place-items:center;font-weight:700;padding:0 4px}
.badge:empty,.badge[data-count="0"]{display:none}
.burger{display:none;background:none;border:0;width:40px;height:40px;place-items:center;cursor:pointer;color:#fff;padding:0}
.burger .ic{width:26px;height:26px}

/* nav + mega */
.nav{background:var(--ink);border-top:1px solid #2a2a2a;position:relative;z-index:20}
.nav>.wrap{display:flex;align-items:center;height:48px;gap:2px}
.nav .i{font-weight:700;font-size:14px;padding:0 13px;height:48px;display:flex;align-items:center;color:#fff;border-bottom:3px solid transparent;position:static}
.nav .item:hover>.i,.nav .i.on{border-color:var(--red);background:#1c1c1c}
.nav .sp{flex:1}
.nav .sale{background:var(--red);border-radius:4px;height:32px;padding:0 14px;font-weight:800;display:flex;align-items:center;color:#fff}
.nav .sub{color:#bbb;font-size:13px;padding:0 10px}
.mega{display:none;position:absolute;top:48px;inset-inline:0;background:#fff;box-shadow:0 18px 40px rgba(0,0,0,.18);border-top:3px solid var(--red);color:var(--txt)}
.nav .item:hover .mega,.nav .item:focus-within .mega{display:block}
.mega .wrap{display:grid;grid-template-columns:repeat(5,1fr) 260px;gap:28px;padding:26px 20px 30px}
.mega h4{font-size:14px;font-weight:800;margin-bottom:10px;padding-bottom:8px;border-bottom:2px solid var(--soft)}
.mega li{list-style:none;font-size:13.5px;color:#444;padding:3px 0}
.mega li a:hover{color:var(--red)}
.mega .promo{min-height:220px;background:var(--ink);color:#fff;border-radius:10px;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}
.mega .promo b{font-size:20px;font-weight:900;line-height:1.3}
.mega .promo span{font-size:12px;color:#bbb}
.mega .promo .btn{margin-top:12px;align-self:flex-start;padding:8px 16px;font-size:13px}
.mega .promo svg{position:absolute;top:18px;left:20px;width:190px;transform:rotate(-14deg)}

/* trust */
.trust{background:var(--green);color:#fff}
.trust .wrap{display:grid;grid-template-columns:repeat(4,1fr);height:60px;align-items:center}
.trust div{display:flex;gap:10px;align-items:center;justify-content:center;font-size:12px;line-height:1.35}
.trust b{display:block;font-size:13px;font-weight:800}
.trust .ic{width:28px;height:28px;stroke:#fff;stroke-width:1.7}

/* hero */
.hero{background:linear-gradient(105deg,#1a1a1a 0%,#262626 55%,#3a0f10 100%);color:#fff;position:relative;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;min-height:400px;gap:30px}
.hero .tag{display:inline-block;background:var(--red);font-weight:800;font-size:13px;padding:4px 12px;border-radius:3px;margin-bottom:16px}
.hero h1{font-size:52px;font-weight:900;line-height:1.18;letter-spacing:-1px;margin:0}
.hero h1 em{font-style:normal;color:var(--red)}
.hero p{color:#c8c8c8;font-size:17px;margin:14px 0 26px;max-width:470px}
.hero .btn.ghost{margin-inline-start:10px}
.hero .art{position:relative;height:400px}
.hero .art img{position:absolute;inset:0;margin:auto;max-height:360px;object-fit:contain}

/* sections */
.sec{padding:52px 0 8px}
.sec h2{font-size:24px;font-weight:900;text-align:center;margin-bottom:28px;letter-spacing:-.3px}
.sec h2.l{text-align:start;display:flex;justify-content:space-between;align-items:center}
.sec h2.l a{font-size:13px;font-weight:700;color:var(--red)}
.cats{display:grid;grid-template-columns:repeat(8,1fr);gap:18px}
.cat{text-align:center;display:block}
.cat .c{width:112px;height:112px;margin:0 auto 10px;border-radius:50%;background:var(--green);display:grid;place-items:center;transition:.2s;box-shadow:inset 0 0 0 5px rgba(255,255,255,.15);overflow:hidden}
.cat .c img{width:100%;height:100%;object-fit:cover}
.cat:hover .c{background:var(--ink)}
.cat svg{width:62px;height:62px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.cat b{font-size:14px;font-weight:800}
.tabs{display:flex;gap:8px;justify-content:center;margin:-10px 0 26px}
.tabs button{padding:7px 18px;border-radius:30px;background:var(--soft);font-weight:700;font-size:13.5px;cursor:pointer;border:0;color:var(--txt)}
.tabs button.on{background:var(--ink);color:#fff}
.tabpane{display:none}.tabpane.on{display:block}
.empty-note{text-align:center;color:var(--muted);background:var(--soft);border-radius:12px;padding:30px}

/* product grid + card (also WooCommerce loops) */
.grid,ul.products{display:grid!important;grid-template-columns:repeat(5,1fr);gap:18px;list-style:none;margin:0!important;padding:0}
ul.products:before,ul.products:after{display:none!important}
.woocommerce ul.products.columns-4,.archive-main ul.products{grid-template-columns:repeat(4,1fr)}
.card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;position:relative;transition:.2s;display:flex;flex-direction:column;width:auto!important;margin:0!important;float:none!important}
.card:hover{box-shadow:0 10px 26px rgba(0,0,0,.08);transform:translateY(-2px)}
.card .img{aspect-ratio:1/1;background:var(--soft);display:grid;place-items:center;position:relative;overflow:hidden}
.card .img img{width:100%!important;height:100%!important;object-fit:contain;margin:0!important}
.card .img .ph{width:78%}
.card .off,.card .new,.card .oos{position:absolute;top:10px;right:10px;color:#fff;font-weight:800;font-size:12px;padding:2px 8px;border-radius:3px;z-index:1}
.card .off{background:var(--red)}.card .new{background:var(--green)}.card .oos{background:#777}
.wish{position:absolute;top:8px;left:10px;width:34px;height:34px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.1);border:0;cursor:pointer;z-index:2;padding:0}
.wish .ic{width:18px;height:18px;stroke:#333;stroke-width:2}
.wish.on .ic{fill:var(--red);stroke:var(--red)}
.card .b{padding:12px 14px 14px;display:flex;flex-direction:column;flex:1}
.card .br{font-size:11.5px;color:var(--muted);font-weight:700;letter-spacing:.5px;text-transform:uppercase}
.card h3{font-size:13.5px;font-weight:700;line-height:1.6;height:44px;overflow:hidden;margin:2px 0 6px}
.card .spec{display:flex;gap:6px;margin-bottom:10px;flex-wrap:wrap;min-height:20px}
.card .spec span{font-size:11px;background:var(--soft);padding:1px 8px;border-radius:3px;color:#444}
.card .pr{display:flex;justify-content:space-between;align-items:flex-end;margin-top:auto;gap:6px}
.card .price{font-size:16px;font-weight:900;color:var(--txt)!important;display:flex;flex-direction:column;line-height:1.4}
.card .price del{font-size:12px;color:#999;font-weight:500;opacity:1}
.card .price ins{text-decoration:none}
.card .price .woocommerce-Price-currencySymbol{font-size:11px;font-weight:500;color:var(--muted)}
.card .add,.card .add_to_cart_button,.card .button{width:38px;height:38px;border-radius:6px;background:var(--ink);display:grid;place-items:center;padding:0!important;flex-shrink:0;font-size:0!important}
.card .add .ic,.card .button .ic{width:18px;height:18px;stroke:#fff;stroke-width:2.2}
.card .added_to_cart{display:none!important}
.card .button.loading{opacity:.6}
.card .button.added{background:var(--green)}

/* banners, players, brands */
.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ban{border-radius:12px;padding:30px 34px;min-height:190px;color:#fff;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.ban.r{background:linear-gradient(120deg,#b51d22,#e0373c)}
.ban.g{background:linear-gradient(120deg,#16702f,#26a34a)}
.ban small{font-weight:700;opacity:.9}
.ban b{font-size:28px;font-weight:900;line-height:1.25;margin:4px 0 14px;max-width:60%}
.ban .btn{background:#fff;color:var(--ink)!important;align-self:flex-start;padding:9px 20px;font-size:14px}
.ban svg.deco{position:absolute;left:-10px;bottom:-30px;width:230px;opacity:.22;stroke:#fff;fill:none;stroke-width:6}
.players{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.pl{background:var(--soft);border-radius:10px;padding:18px 10px;text-align:center;display:block}
.pl .av{width:76px;height:76px;border-radius:50%;margin:0 auto 10px;background:linear-gradient(135deg,#2a2a2a,#555);display:grid;place-items:center;color:#fff;font-weight:900;font-size:20px;direction:ltr}
.pl b{font-size:13.5px;display:block}
.pl small{color:var(--muted);font-size:12px}
.brands{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}
.brands a{border:1px solid var(--line);border-radius:8px;height:70px;display:grid;place-items:center;font-weight:900;font-size:15px;letter-spacing:1px;color:#333;font-family:Arial,Vazirmatn,sans-serif;text-transform:uppercase;padding:8px;text-align:center;overflow:hidden}
.brands a img{max-height:48px;width:auto}
.brands a:hover{border-color:var(--red);color:var(--red)}

/* footer */
.news{background:var(--green);color:#fff;margin-top:56px}
.news .wrap{display:flex;align-items:center;justify-content:space-between;min-height:96px;gap:20px}
.news b{font-size:19px;font-weight:900}
.news form{display:flex;background:#fff;border-radius:6px;overflow:hidden;width:440px;max-width:100%}
.news input{flex:1;border:0;padding:0 14px;outline:0;height:46px;min-width:0}
.news button{background:var(--ink);color:#fff;border:0;font-weight:800;padding:0 22px;cursor:pointer}
.ftr{background:var(--ink);color:#bbb;font-size:13.5px}
.ftr .wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1.1fr;gap:30px;padding:46px 20px 34px}
.ftr h5{color:#fff;font-size:15px;font-weight:800;margin-bottom:14px}
.ftr li{list-style:none;padding:3px 0}
.ftr a:hover{color:#fff}
.ftr p{line-height:2}
.ftr .soc{display:flex;gap:8px;margin-top:12px}
.ftr .soc a{width:36px;height:36px;border-radius:50%;background:#2a2a2a;display:grid;place-items:center;font-size:12px;color:#fff}
.ftr .bot{border-top:1px solid #2a2a2a;text-align:center;padding:16px;font-size:12.5px;color:#888}
.ftr .seals{display:flex;gap:10px;flex-wrap:wrap}
.ftr .seals>*{min-width:78px;min-height:86px;background:#fff;border-radius:8px;color:#333;display:grid;place-items:center;font-size:11px;font-weight:700;text-align:center;padding:4px}

/* ===== mobile shell ===== */
.mbar,.drawer,.scrim,.mfilter-btn{display:none}
.drawer{position:fixed;top:0;bottom:0;right:0;width:86%;max-width:360px;background:#fff;z-index:100;transform:translateX(100%);visibility:hidden;transition:transform .28s ease,visibility .28s;flex-direction:column;box-shadow:-10px 0 30px rgba(0,0,0,.2);color:var(--txt)}
.drawer.open{transform:none;visibility:visible}
.drawer.left{right:auto;left:0;transform:translateX(-100%)}
.drawer.left.open{transform:none}
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99;opacity:0;pointer-events:none;transition:opacity .28s}
.scrim.open{opacity:1;pointer-events:auto}
body.lock{overflow:hidden}
.drawer .dh{background:var(--ink);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.drawer .dh .logo .mark{width:32px;height:32px;border-width:2px}.drawer .dh .logo .t{font-size:18px}
.drawer .x{background:#2a2a2a;border:0;color:#fff;width:36px;height:36px;border-radius:50%;font-size:20px;cursor:pointer;line-height:1}
.drawer .user{display:flex;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line);background:var(--soft);flex-shrink:0}
.drawer .user .av{width:42px;height:42px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:900}
.drawer .user b{display:block;font-size:14px}.drawer .user small{color:var(--muted);font-size:12px}
.drawer .list{overflow:auto;flex:1;-webkit-overflow-scrolling:touch}
.drawer details{border-bottom:1px solid var(--line)}
.drawer summary{list-style:none;padding:0 16px;height:54px;display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:15px;cursor:pointer}
.drawer summary::-webkit-details-marker{display:none}
.drawer summary:after{content:"";width:9px;height:9px;border-left:2px solid #888;border-bottom:2px solid #888;transform:rotate(-45deg);transition:.2s;margin-top:-4px}
.drawer details[open] summary:after{transform:rotate(135deg);margin-top:4px}
.drawer details[open] summary{color:var(--red)}
.drawer .chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 16px}
.drawer .chips a{background:var(--soft);border-radius:20px;padding:6px 13px;font-size:13px}
.drawer .chips a.all{background:var(--ink);color:#fff}
.drawer .chips h6{flex-basis:100%;font-size:12px;color:var(--muted);margin:6px 0 0}
.drawer .plain{display:flex;align-items:center;padding:0 16px;height:52px;border-bottom:1px solid var(--line);font-weight:700}
.drawer .plain.sale{color:var(--red)}
.drawer .df{padding:14px 16px;font-size:12.5px;color:var(--muted);border-top:1px solid var(--line);flex-shrink:0}
.mbar{position:fixed;bottom:0;inset-inline:0;background:#fff;border-top:1px solid var(--line);z-index:90;height:calc(64px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,1fr);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4px 16px rgba(0,0,0,.06)}
.mbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:700;color:#777;position:relative}
.mbar a.on{color:var(--red)}
.mbar .ic{width:24px;height:24px}
.mbar .badge{top:7px;left:calc(50% - 22px)}

/* ===== pages / archive ===== */
.page-head{background:var(--soft);padding:22px 0;margin-bottom:26px}
.page-head h1{font-size:24px;margin:0}
.crumbs,.woocommerce-breadcrumb{font-size:12.5px;color:var(--muted);margin-bottom:6px!important}
.crumbs a:hover,.woocommerce-breadcrumb a:hover{color:var(--red)}
.content-area{padding-bottom:30px}
.entry{max-width:860px;margin:0 auto}
.entry-content{line-height:2}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.post-card{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.post-card .thumb{aspect-ratio:16/10;background:var(--soft);display:block}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}
.post-card .b{padding:14px 16px}
.post-card h2{font-size:16px;margin:0 0 6px}
.post-card small{color:var(--muted)}
.pagination,.woocommerce-pagination{margin:30px 0;text-align:center}
.page-numbers{display:inline-flex;gap:6px;list-style:none;padding:0;border:0!important}
.page-numbers li{border:0!important}
a.page-numbers,span.page-numbers{min-width:40px;height:40px;border-radius:8px;border:1px solid var(--line)!important;display:inline-grid;place-items:center;padding:0 10px!important;font-weight:700}
span.page-numbers.current{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important}

.archive-wrap{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start}
.filters{border:1px solid var(--line);border-radius:12px;padding:6px 18px 14px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}
.filters h4{font-size:14.5px;font-weight:900;margin:14px 0 8px;display:flex;justify-content:space-between}
.filters ul{list-style:none}
.filters li a{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:13.5px;color:#444}
.filters li a:before{content:"";width:16px;height:16px;border:2px solid #ccc;border-radius:4px;margin-inline-end:8px;flex-shrink:0}
.filters li a span{margin-inline-end:auto}
.filters li a small{color:#aaa;font-size:11.5px}
.filters li.on a{color:var(--red);font-weight:700}
.filters li.on a:before{background:var(--red);border-color:var(--red);box-shadow:inset 0 0 0 2px #fff}
.filters .fgroup{border-bottom:1px solid var(--line);padding-bottom:10px}
.filters .fgroup:last-child{border:0}
.filters .clear{display:block;text-align:center;margin-top:12px;font-size:13px;color:var(--red);font-weight:700}
.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:10px;flex-wrap:wrap}
.toolbar .woocommerce-result-count{margin:0;color:var(--muted);font-size:13px}
.toolbar .woocommerce-ordering{margin:0}
.toolbar select,.woocommerce-ordering select{border:1px solid var(--line);border-radius:8px;height:40px;padding:0 12px;background:#fff}
.active-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.active-filters a{background:var(--soft);border-radius:20px;padding:4px 12px;font-size:12.5px;font-weight:700}
.active-filters a:after{content:" ×";color:var(--red)}
.term-desc{color:var(--muted);font-size:14px;margin-top:6px}

/* ===== WooCommerce general ===== */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice{background:var(--soft);border:0;border-inline-start:4px solid var(--green);border-radius:8px;padding:14px 18px;margin:0 0 20px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.woocommerce-error{border-color:var(--red)}
.woocommerce-info{border-color:#2456c9}
.woocommerce-message:before,.woocommerce-info:before,.woocommerce-error:before{display:none}
.woocommerce-message .button,.woocommerce-info .button{order:2;padding:7px 16px;font-size:13px}
.price{color:var(--txt)}
.price del{opacity:.55;font-weight:500}
.price ins{text-decoration:none}
.onsale{background:var(--red);color:#fff;font-weight:800;border-radius:4px;padding:2px 10px;font-size:13px}
.star-rating{position:relative;display:inline-block;width:5.4em;height:1.1em;line-height:1;font-size:15px;overflow:hidden;font-family:Arial,sans-serif;vertical-align:middle}
.star-rating:before{content:"★★★★★";color:#ddd;position:absolute;top:0;right:0;letter-spacing:.08em}
.star-rating span{position:absolute;top:0;right:0;overflow:hidden;padding-top:1.5em;height:0}
.star-rating span:before{content:"★★★★★";color:#f2b01e;position:absolute;top:0;right:0;letter-spacing:.08em}
.blockUI.blockOverlay{background:rgba(255,255,255,.6)!important}
.woocommerce-store-notice{background:var(--ink);color:#fff;padding:10px 16px;text-align:center;margin:0}
.woocommerce-store-notice a{color:#fff;text-decoration:underline}
.select2-container .select2-selection--single{height:44px;border-radius:8px;border-color:#d6d6d2}
.woocommerce-password-strength{font-size:12.5px;margin-top:4px}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%}
#review_form .comment-form-rating .stars a{font-size:0;display:inline-block;width:22px;height:22px}
#review_form .stars a:before{content:"☆";font-size:22px;color:#f2b01e}
#review_form .stars.selected a.active:before,#review_form .stars.selected a:not(.active):has(~ a.active):before{content:"★"}
.commentlist{list-style:none;padding:0}
.commentlist li .comment_container{display:flex;gap:12px;border-bottom:1px solid var(--line);padding:14px 0}
.commentlist img.avatar{border-radius:50%;width:44px;height:44px}
.variations select{height:44px}
.wc-block-components-notice-banner{border-radius:8px}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search]:not(.search input),textarea,select,.input-text{border:1px solid #d6d6d2;border-radius:8px;padding:10px 12px;background:#fff;width:100%;outline:0;transition:border .15s}
input:focus,textarea:focus,select:focus{border-color:var(--ink)}
.form-row{margin:0 0 14px}
.form-row label{display:block;font-weight:700;font-size:13.5px;margin-bottom:4px}
.required{color:var(--red);text-decoration:none}
table.shop_table{width:100%;border-collapse:collapse;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:14px}
table.shop_table th{background:var(--soft);font-weight:800;text-align:start;padding:12px}
table.shop_table td{padding:12px;border-top:1px solid var(--line)}

/* single product */
.single-wrap{padding-top:10px;padding-bottom:30px}
.single-product div.product{display:grid;grid-template-columns:1fr 1fr;gap:40px;position:relative}
.single-product div.product .woocommerce-product-gallery{grid-column:1;position:relative;width:auto!important;float:none!important;margin:0}
.single-product div.product .summary{grid-column:2;width:auto!important;float:none!important;margin:0}
.single-product div.product .woocommerce-tabs,.single-product div.product .related,.single-product div.product .upsells{grid-column:1/-1}
.woocommerce-product-gallery__image{background:var(--soft);border-radius:12px;overflow:hidden}
.woocommerce-product-gallery__image img{width:100%;display:block}
.woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:8px;list-style:none;margin-top:10px;padding:0}
.woocommerce-product-gallery .flex-control-thumbs li{width:70px;cursor:pointer;border-radius:8px;overflow:hidden;opacity:.6}
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,.woocommerce-product-gallery .flex-control-thumbs li:hover{opacity:1}
.woocommerce-product-gallery__trigger{position:absolute;top:12px;left:12px;z-index:3;background:#fff;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:0}
.woocommerce-product-gallery__trigger:before{content:"⤢";font-size:18px}
.single-product .onsale{position:absolute;top:12px;right:12px;z-index:3}
.summary .product_title{font-size:26px;margin-bottom:8px}
.summary .sbrand{font-weight:800;color:var(--muted);font-size:13px;letter-spacing:1px;text-transform:uppercase}
.summary .price{font-size:26px;font-weight:900;margin:12px 0}
.summary .price del{font-size:17px}
.summary .woocommerce-product-details__short-description{color:#444}
.summary form.cart{display:flex;gap:10px;align-items:stretch;margin:18px 0;flex-wrap:wrap}
.summary form.cart.variations_form{display:block}
.summary form.cart .single_add_to_cart_button{flex:1;min-height:52px;font-size:16px;background:var(--red)}
.summary form.cart .single_add_to_cart_button:hover{background:var(--red-d)}
.quantity{display:flex;border:1px solid #d6d6d2;border-radius:8px;overflow:hidden;align-items:stretch}
.quantity input.qty{width:56px;border:0;text-align:center;border-radius:0;-moz-appearance:textfield;padding:0}
.quantity input::-webkit-outer-spin-button,.quantity input::-webkit-inner-spin-button{-webkit-appearance:none}
.quantity .qbtn{width:40px;border:0;background:var(--soft);font-size:20px;cursor:pointer;font-weight:700}
table.variations{width:100%;margin-bottom:10px}
table.variations th,table.variations td{display:block;text-align:start;padding:4px 0}
.reset_variations{font-size:13px;color:var(--red)}
.woocommerce-variation-add-to-cart{display:flex;gap:10px;flex-wrap:wrap}
.spec-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.spec-table th,.spec-table td{padding:9px 14px;border-bottom:1px solid var(--line);text-align:start}
.spec-table th{background:var(--soft);width:38%;font-weight:700;color:#444}
.spec-table tr:last-child th,.spec-table tr:last-child td{border:0}
.summary .wish-big{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:0 14px;min-height:52px;background:#fff;cursor:pointer;font-weight:700}
.summary .wish-big .ic{width:20px;height:20px}
.summary .wish-big.on .ic{fill:var(--red);stroke:var(--red)}
.summary .product_meta{font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:2px;margin-top:14px}
.trust-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}
.trust-mini div{background:var(--soft);border-radius:8px;padding:10px;font-size:12px;text-align:center;font-weight:700}
.trust-mini .ic{display:block;margin:0 auto 4px;width:22px;height:22px;stroke:var(--green)}
.stock.in-stock{color:var(--green);font-weight:700}
.stock.out-of-stock{color:var(--red);font-weight:700}
.woocommerce-tabs{margin-top:30px}
.woocommerce-tabs ul.tabs{display:flex;gap:6px;list-style:none;border-bottom:2px solid var(--line);padding:0;margin:0 0 20px;overflow-x:auto}
.woocommerce-tabs ul.tabs li{margin:0}
.woocommerce-tabs ul.tabs li a{display:block;padding:10px 18px;font-weight:800;color:var(--muted);white-space:nowrap;border-bottom:3px solid transparent;margin-bottom:-2px}
.woocommerce-tabs ul.tabs li.active a{color:var(--txt);border-color:var(--red)}
.woocommerce-Tabs-panel{line-height:2}
.related>h2,.upsells>h2{font-size:22px;margin:40px 0 20px}
.sticky-buy{display:none}

/* my account */
.acc{display:grid;grid-template-columns:270px 1fr;gap:26px;padding:30px 0 10px}
.acc .woocommerce-MyAccount-navigation,.acc .woocommerce-MyAccount-content{float:none!important;width:auto!important}
.side{border:1px solid var(--line);border-radius:12px;overflow:hidden;align-self:start;position:sticky;top:16px}
.side .me{background:var(--ink);color:#fff;padding:20px;display:flex;gap:12px;align-items:center}
.av-c{width:52px;height:52px;border-radius:50%;background:var(--green);display:grid;place-items:center;font-weight:900;font-size:20px;border:3px solid #fff;color:#fff;flex-shrink:0}
.side .me b{display:block;font-size:15px}.side .me small{color:#aaa;font-size:12px;display:block}
.woocommerce-MyAccount-navigation ul{list-style:none}
.woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:12px;padding:0 18px;height:48px;font-weight:700;font-size:14px;color:#333;border-bottom:1px solid var(--line);position:relative}
.woocommerce-MyAccount-navigation li a .ic{width:20px;height:20px;stroke:#888}
.woocommerce-MyAccount-navigation li.is-active a{background:#fdf1f1;color:var(--red)}
.woocommerce-MyAccount-navigation li.is-active a .ic{stroke:var(--red)}
.woocommerce-MyAccount-navigation li.is-active a:before{content:"";position:absolute;right:0;top:10px;bottom:10px;width:4px;border-radius:4px 0 0 4px;background:var(--red)}
.woocommerce-MyAccount-navigation li a .n{margin-inline-start:auto;background:var(--red);color:#fff;font-size:11px;border-radius:10px;padding:0 7px}
.woocommerce-MyAccount-navigation li:last-child a{color:#999;border:0}
.woocommerce-MyAccount-content{min-width:0}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-size:18px}
.acc-h1{font-size:22px;margin-bottom:4px}
.acc-sub{color:var(--muted);margin-bottom:20px;font-size:14px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}
.st{border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;gap:12px;align-items:center;background:#fff}
.st .i{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}
.st .i .ic{width:24px;height:24px;stroke-width:2}
.st small{color:var(--muted);font-size:12.5px;display:block}.st b{font-size:20px;font-weight:900}
.st b i{font-style:normal;font-size:12px;font-weight:500;color:var(--muted)}
.i.r{background:#fdecec;color:var(--red)}.i.g{background:#e7f5ec;color:var(--green)}.i.k{background:#eee;color:#222}.i.y{background:#fff5df;color:#c58a00}
.box{border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:20px;background:#fff}
.box h3{font-size:16px;font-weight:900;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.box h3 a{font-size:13px;color:var(--red);font-weight:700}
.track .top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:22px;font-size:13.5px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);position:relative}
.steps:before{content:"";position:absolute;top:17px;right:12.5%;left:12.5%;height:4px;background:var(--line);border-radius:4px}
.steps .bar{position:absolute;top:17px;right:12.5%;height:4px;background:var(--green);border-radius:4px}
.steps div{text-align:center;position:relative;z-index:1;font-size:12.5px;font-weight:700;color:#999}
.steps i{width:38px;height:38px;border-radius:50%;background:#fff;border:3px solid var(--line);display:grid;place-items:center;margin:0 auto 8px;font-style:normal;font-weight:900}
.steps .d{color:var(--txt)}.steps .d i{background:var(--green);border-color:var(--green);color:#fff}
.steps .c i{border-color:var(--green);color:var(--green);box-shadow:0 0 0 5px #e7f5ec}
.tracking-code{margin-top:16px;background:var(--soft);border-radius:8px;padding:10px 14px;font-size:13.5px}
.tracking-code b{direction:ltr;display:inline-block;letter-spacing:1px}
.pill{display:inline-block;font-size:12px;font-weight:800;padding:3px 10px;border-radius:20px;white-space:nowrap}
.pill.g{background:#e7f5ec;color:var(--green)}.pill.y{background:#fff5df;color:#a87400}.pill.r{background:#fdecec;color:var(--red)}.pill.b{background:#e8f0fe;color:#2456c9}.pill.k{background:#eee;color:#444}
.tiles{display:none}
.mprof{display:none}
.woocommerce-orders-table{border:0!important}
.woocommerce-orders-table th{background:none!important;color:var(--muted);font-size:12.5px;border-bottom:1px solid var(--line)}
.woocommerce-orders-table .button{padding:6px 14px;font-size:12.5px;margin:2px}
.woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.woocommerce-Address{border:1px solid var(--line);border-radius:12px;padding:18px}
.woocommerce-Address header{display:flex;justify-content:space-between;align-items:center}
.woocommerce-Address .edit{color:var(--red);font-weight:700;font-size:13px}
.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword{border:1px solid var(--line);border-radius:14px;padding:26px;max-width:440px;margin:0 auto 20px}
#customer_login{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:920px;margin:20px auto}
#customer_login .u-column1,#customer_login .u-column2{width:auto;float:none}
#customer_login .woocommerce-form-login,#customer_login .woocommerce-form-register{max-width:none;margin:0}
.woocommerce-form-login__rememberme{display:flex;gap:6px;align-items:center;margin:8px 0}
.woocommerce-form-login .button,.woocommerce-form-register .button{width:100%;min-height:48px}
.lost_password{font-size:13px;margin-top:10px}
.wl-empty{text-align:center;padding:40px 10px;color:var(--muted)}
.wl-empty .ic{width:56px;height:56px;stroke:#ccc;margin-bottom:10px}

/* cart / checkout blocks tweaks */
.wc-block-components-button:not(.is-link){width:100%}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{margin-bottom:30px}
.wc-block-components-sidebar-layout .wc-block-components-main{padding-left:0!important}

@media (max-width:1100px){
  .grid,ul.products,.archive-main ul.products{grid-template-columns:repeat(3,1fr)}
  .cats{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:900px){
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom));font-size:14px}
  .wrap{padding:0 16px}
  .strip,.nav{display:none}
  .burger{display:grid}.mbar{display:grid}.drawer{display:flex}.scrim{display:block}
  .hdr{position:sticky;top:0;z-index:80}
  .admin-bar .hdr{top:46px}
  .hdr .wrap{display:grid;grid-template-columns:40px 1fr 40px;gap:10px;padding:10px 14px 12px;height:auto}
  .logo{justify-self:center}.logo .mark{width:34px;height:34px;border-width:2px}.logo .t{font-size:19px}.logo small{display:none}.logo img{max-height:38px}
  .burger{grid-row:1;grid-column:1}.logo{grid-row:1;grid-column:2}
  .icons{gap:0;justify-self:end;grid-row:1;grid-column:3}.icons a:not(.cart){display:none}.icons a{font-size:0}
  .search{grid-column:1/-1;grid-row:2;height:42px}
  .trust .wrap{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:22px;padding:10px 16px;height:auto;scrollbar-width:none}
  .trust .wrap::-webkit-scrollbar,.hscroll::-webkit-scrollbar{display:none}
  .trust div{flex-shrink:0;scroll-snap-align:start;justify-content:flex-start}
  .hero .wrap{grid-template-columns:1fr;min-height:0;padding:34px 16px 40px}.hero .art{display:none}.hero h1{font-size:32px}.hero p{font-size:14.5px;margin:10px 0 20px}
  .btn{padding:11px 20px;font-size:14px}.hero .btn.ghost{display:none}
  .sec{padding:34px 0 0}.sec h2{font-size:19px;margin-bottom:18px}
  .cats{display:flex;overflow-x:auto;gap:14px;padding:0 16px 4px;margin:0 -16px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .cat{flex:0 0 76px;scroll-snap-align:start}.cat .c{width:70px;height:70px}.cat svg{width:38px;height:38px}.cat b{font-size:12.5px}
  .tabs{overflow-x:auto;justify-content:flex-start;margin:-4px -16px 16px;padding:0 16px;scrollbar-width:none}.tabs button{flex-shrink:0}
  .grid,ul.products,.archive-main ul.products,.woocommerce ul.products.columns-4{grid-template-columns:repeat(2,1fr);gap:10px}
  .card .b{padding:10px}.card h3{font-size:12.5px;height:40px}.card .spec span{font-size:10px;padding:0 6px}
  .card .price{font-size:14px}.card .add,.card .button{width:36px;height:36px}
  .wish{width:32px;height:32px}
  .split{grid-template-columns:1fr}
  .ban{min-height:150px;padding:22px}.ban b{font-size:21px;max-width:75%}
  .players{display:flex;overflow-x:auto;gap:10px;margin:0 -16px;padding:0 16px;scrollbar-width:none}.pl{flex:0 0 120px}
  .brands{grid-template-columns:repeat(4,1fr);gap:8px}.brands a{height:52px;font-size:11px;letter-spacing:0}
  .news{margin-top:36px}.news .wrap{flex-direction:column;align-items:stretch;padding:20px 16px}.news form{width:100%}
  .ftr .wrap{grid-template-columns:1fr;gap:18px;padding:28px 16px}
  .posts{grid-template-columns:1fr}
  .page-head{padding:16px 0;margin-bottom:16px}.page-head h1{font-size:20px}
  /* archive */
  .archive-wrap{grid-template-columns:1fr}
  .filters{position:fixed;top:auto;bottom:0;inset-inline:0;max-height:82vh;border-radius:18px 18px 0 0;background:#fff;z-index:100;transform:translateY(100%);visibility:hidden;transition:transform .28s,visibility .28s;padding:0 18px calc(20px + env(safe-area-inset-bottom))}
  .filters.open{transform:none;visibility:visible}
  .filters .fh{display:flex!important;position:sticky;top:0;background:#fff;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);z-index:1}
  .filters .fh b{font-size:16px}
  .filters li a{padding:9px 0;font-size:14.5px}
  .mfilter-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;height:40px;padding:0 14px;background:#fff;font-weight:800;cursor:pointer}
  .mfilter-btn .ic{width:18px;height:18px}
  .toolbar .woocommerce-result-count{display:none}
  .toolbar{flex-wrap:nowrap}.toolbar .woocommerce-ordering{flex:1;min-width:0}.toolbar .woocommerce-ordering select{width:100%}
  /* single */
  .single-product div.product{grid-template-columns:1fr;gap:18px}
  .single-product div.product .woocommerce-product-gallery,.single-product div.product .summary{grid-column:1}
  .woocommerce-product-gallery{margin:0 -16px!important}
  .woocommerce-product-gallery__image{border-radius:0}
  .woocommerce-product-gallery .flex-control-thumbs{padding:0 16px;overflow-x:auto}
  .summary .product_title{font-size:20px}.summary .price{font-size:22px}
  .sticky-buy{display:flex;position:fixed;bottom:calc(64px + env(safe-area-inset-bottom));inset-inline:0;background:#fff;border-top:1px solid var(--line);padding:10px 16px;gap:12px;align-items:center;z-index:85;box-shadow:0 -6px 16px rgba(0,0,0,.07);transform:translateY(130%);transition:transform .25s}
  .sticky-buy.show{transform:none}
  .sticky-buy .p{flex:1;font-weight:900;font-size:16px;line-height:1.3}
  .sticky-buy .p del{display:block;font-size:12px;color:#999;font-weight:500}
  .sticky-buy .p ins{text-decoration:none}
  .sticky-buy .btn{padding:12px 22px}
  .woocommerce-tabs ul.tabs{margin:0 -16px 16px;padding:0 16px}
  table.shop_table_responsive thead{display:none}
  table.shop_table_responsive tr{display:block;border-top:1px solid var(--line);padding:6px 0}
  table.shop_table_responsive td{display:flex;justify-content:space-between;border:0;padding:6px 12px}
  table.shop_table_responsive td:before{content:attr(data-title);font-weight:700;color:var(--muted)}
  /* account */
  .acc{grid-template-columns:1fr;padding:0 0 10px;gap:0}
  .acc .woocommerce-MyAccount-navigation{display:none}
  .acc.dash-view .side{display:none}
  .acc:not(.dash-view) .side{display:none}
  .mprof{display:block;background:var(--ink);color:#fff;padding:18px 16px 54px;margin:0 -16px}
  .mprof .r1{display:flex;align-items:center;gap:12px}
  .mprof b{font-size:17px;display:block}.mprof small{color:#aaa;font-size:12px}
  .mprof .ed{margin-inline-start:auto;border:1px solid #444;border-radius:20px;padding:4px 12px;font-size:12px}
  .acc:not(.dash-view) .mprof{padding:14px 16px;margin-bottom:16px}
  .acc:not(.dash-view) .mprof .r1 .av-c{width:40px;height:40px;font-size:16px}
  .acc-back{display:inline-flex!important;align-items:center;gap:6px;font-weight:800;margin-bottom:14px;color:var(--red)}
  .acc-h1,.acc-sub{display:none}
  .stats{display:flex;overflow-x:auto;gap:10px;margin:-38px -16px 18px;padding:0 16px;scrollbar-width:none}
  .stats::-webkit-scrollbar{display:none}
  .st{flex:0 0 150px;box-shadow:0 6px 18px rgba(0,0,0,.08);flex-direction:column;align-items:flex-start;gap:8px;padding:14px}
  .st .i{width:38px;height:38px;border-radius:10px}.st b{font-size:18px}
  .tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
  .tiles a{border:1px solid var(--line);border-radius:12px;height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12.5px;font-weight:700;position:relative;text-align:center}
  .tiles .ic{width:26px;height:26px;stroke:var(--ink);stroke-width:1.8}
  .tiles .n{position:absolute;top:8px;left:8px;background:var(--red);color:#fff;font-size:10.5px;border-radius:10px;padding:0 6px}
  .box{padding:16px;border-radius:14px}
  .steps div{font-size:11px}.steps i{width:32px;height:32px}.steps:before,.steps .bar{top:14px}
  .woocommerce-Addresses{grid-template-columns:1fr}
  #customer_login{grid-template-columns:1fr}
  .woocommerce-form-login,.woocommerce-form-register{padding:20px}
  .acc-logout{display:block;text-align:center;color:#999;font-weight:700;padding:8px 0 20px}
}
.card .price{min-width:0}
@media (max-width:520px){
  .card .pr{flex-direction:column;align-items:stretch;gap:8px}
  .card .price{font-size:14px}
  .card .add,.card .button{width:100%!important;height:36px}
  .card h3{font-size:12.5px}
}
@media (min-width:901px){.acc-back,.acc-logout,.filters .fh{display:none!important}}

/* ===== brand logo ===== */
.logo-img img{height:56px;width:auto;display:block}
.logo-img.small img{height:34px}
.mono-logo{display:block;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat;background:var(--gold-grad)}
.mono-logo.gold{background:var(--gold-grad)}
.mono-logo.red{background:linear-gradient(135deg,#8f1418,#e0373c 50%,#b51d22)}
.mono-logo.white{background:#fff}
.mono-logo.soft{background:#dcdcd8}
.ftr-logo{width:150px;margin-bottom:12px}
.e404-logo{width:120px;margin:0 auto 14px}
.hdr .logo-img:hover img{filter:brightness(1.1)}
@media (max-width:900px){.logo-img img{height:40px}}
@media (max-width:360px){.logo-img img{height:34px}}
.logo-img{min-width:0}
.logo-img img{max-width:100%;object-fit:contain;object-position:center}
