/* CARDASH v3 — owner mockup set 2 (black / orange). Loaded after woocommerce.css. */

/* ---------- shared boxes, tables, pills ---------- */
.cd-box{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:16px}
.cd-box__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.cd-box__head h3,.cd-box__title{font-size:16.5px;margin:0;display:flex;align-items:center;gap:8px;color:#fff}
.cd-box__title{margin-bottom:12px}
.cd-box__title svg,.cd-box__head a svg{color:var(--orange)}
.cd-box__head a{display:inline-flex;align-items:center;gap:4px;font-size:14px}
.cd-muted{color:var(--muted)}
.cd-table-wrap{overflow-x:auto}
.cd-table{width:100%;border-collapse:collapse;font-size:14px}
.cd-table th{background:#1a1a1a;color:#bdbdbd;font-weight:600;text-align:right;padding:10px 12px;white-space:nowrap}
.cd-table th:first-child{border-radius:0 8px 8px 0}.cd-table th:last-child{border-radius:8px 0 0 8px}
.cd-table td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle}
.cd-table tr:last-child td{border-bottom:0}
.cd-btn--sm{min-height:34px;padding:4px 12px;font-size:13px}
.cd-btn--ghost{background:#1a1a1a;border:1px solid var(--line2);color:#fff}
.cd-pill[class*="cd-pill--o-"]{background:#262626;color:#ddd;border:1px solid #3a3a3a}
.cd-pill--o-awaiting-receipt,.cd-pill--o-arrived-iran{background:rgba(243,107,33,.14)!important;color:#ff9a5a!important;border-color:rgba(243,107,33,.45)!important}
.cd-pill--o-awaiting-verify,.cd-pill--o-balance-review,.cd-pill--o-preordered{background:rgba(234,179,8,.12)!important;color:#facc15!important;border-color:rgba(234,179,8,.4)!important}
.cd-pill--o-processing,.cd-pill--o-ready-to-ship,.cd-pill--o-shipped,.cd-pill--o-completed{background:rgba(47,158,68,.15)!important;color:#5fd47a!important;border-color:rgba(47,158,68,.45)!important}
.cd-pill--o-cancelled,.cd-pill--o-failed,.cd-pill--o-refunded{background:rgba(220,38,38,.12)!important;color:#f87171!important;border-color:rgba(220,38,38,.4)!important}
.cd-alert{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:var(--r-sm);border:1px solid var(--line2);background:#161616;margin-top:14px;font-size:14px}
.cd-alert--warn{border-color:rgba(243,107,33,.5);background:rgba(243,107,33,.08)}
.cd-alert--ok{border-color:rgba(47,158,68,.5);background:rgba(47,158,68,.08)}
.cd-alert--error{border-color:rgba(220,38,38,.5);background:rgba(220,38,38,.08)}
.cd-alert svg{color:var(--orange);flex:none}
.cd-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:46px 20px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel);color:#ddd}
.cd-empty-state svg{color:var(--orange);margin-bottom:6px}
.cd-empty-state p{margin:0}
.cd-empty-state .cd-btn{margin-top:10px}
.cd-empty-state--box{min-height:340px}
.cd-dl{margin:0;display:flex;flex-direction:column;gap:9px;font-size:14px}
.cd-dl>div{display:flex;justify-content:space-between;gap:12px}
.cd-dl dt{color:var(--muted)}.cd-dl dd{margin:0;text-align:left;color:#fff}
.cd-dl dd.is-ok{color:#5fd47a}.cd-dl dd.is-accent{color:var(--orange);font-weight:800}
.cd-scalebadge{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:28px;padding:0 6px;border:1.7px solid var(--orange);border-radius:6px;color:var(--orange);font-weight:800;font-size:14px;direction:ltr}

/* ---------- header search + autocomplete (14) ---------- */
.cd-search{position:relative;width:min(430px,34vw);padding:0 6px}
.cd-search__go{order:0}
.cd-search__scope{order:2;flex:none;width:auto;min-height:0;height:32px;border:0;border-inline-start:1px solid var(--line2);border-radius:0;background:transparent;color:#cfcfcf;font-size:12.5px;padding:0 10px 0 4px;cursor:pointer}
.cd-search__scope option{background:#151515}
.cd-search__close{display:none!important}
.cd-search input[type=search]{order:1}
.cd-ac{position:absolute;top:calc(100% + 8px);inset-inline:0;min-width:380px;background:#121212;border:1px solid var(--orange);border-radius:12px;box-shadow:0 18px 40px rgba(0,0,0,.6);z-index:90;overflow:hidden}
.cd-ac a{display:flex;align-items:center;gap:10px;padding:9px 12px;color:#eee;border-bottom:1px solid #1f1f1f}
.cd-ac a:hover,.cd-ac a.is-sel{background:#1c1c1c}
.cd-ac__thumb{width:58px;height:40px;border-radius:6px;object-fit:cover;background:#1e1e1e;flex:none}
.cd-ac__txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.cd-ac__txt b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cd-ac__txt small{color:var(--muted);font-size:11.5px;direction:ltr;text-align:right}
.cd-ac__brand{font-size:11px;color:#bbb;max-width:80px;text-align:center}
.cd-ac__brand img{max-width:70px;max-height:26px;object-fit:contain}
.cd-ac .cd-pill{font-size:10.5px;padding:2px 7px}
.cd-ac__head{padding:7px 12px;font-size:12px;color:var(--muted);background:#0e0e0e}
.cd-ac__all{justify-content:center;color:var(--orange)!important;font-size:13px}
.cd-ac__none{padding:16px;text-align:center;color:var(--muted);font-size:13.5px}
.cd-stabs{display:flex;gap:4px;border-bottom:1px solid var(--line2);margin-bottom:16px;overflow-x:auto}
.cd-stabs__tab{padding:10px 16px;color:#cfcfcf;border-bottom:2px solid transparent;white-space:nowrap;font-weight:600}
.cd-stabs__tab em{font-style:normal;color:var(--muted);font-weight:400}
.cd-stabs__tab.is-active{color:var(--orange);border-bottom-color:var(--orange)}
.cd-sbrands{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-bottom:18px}
.cd-sbrand{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel);color:#fff}
.cd-sbrand:hover{border-color:var(--orange);color:#fff}
.cd-sbrand img,.cd-sbrand .cd-brand-word{max-width:90px;max-height:40px;font-size:14px}
.cd-sbrand span{display:flex;flex-direction:column}.cd-sbrand small{color:var(--muted)}

/* ---------- brand card variant (07-09, 14) ---------- */
.cd-card--brand .cd-card__media{aspect-ratio:1/1}
.cd-card--brand .cd-card__body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;text-align:center;flex:1}
.cd-card--brand .cd-card__title{font-size:14px;font-weight:800;margin:0;line-height:1.45;min-height:2.9em}
.cd-card--brand .cd-card__title a{color:#fff}
.cd-card__sku{display:flex;justify-content:space-between;gap:8px;margin:0;font-size:12.5px;color:var(--muted)}
.cd-card__sku b{color:#d6d6d6;font-weight:600}
.cd-card__stock{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;color:#e5e5e5}
.cd-card__stock svg{color:var(--orange)}
.cd-card__price-line{margin:0;font-weight:900;color:var(--orange);text-align:center;font-size:16px;line-height:1.3}
.cd-card--brand .cd-btn{margin-top:auto;min-height:44px;font-size:14px}
.cd-card--brand .cd-pill{background:var(--orange);color:#fff}
.cd-card--brand.is-instock .cd-pill{background:var(--orange)}
.cd-card--brand.is-outofstock .cd-pill{background:#5d5d5d}

/* ---------- brand page (07-09) ---------- */
.cd-brandpage .woocommerce-breadcrumb{padding:14px 0}
.cd-bbanner{position:relative;min-height:220px;border-radius:var(--r);overflow:hidden;background:radial-gradient(120% 140% at 85% 50%,#3a1a08 0,#141414 45%,#0b0b0b 100%);display:flex;align-items:center;border:1px solid var(--line)}
.cd-bbanner::before{content:"";position:absolute;inset:0 auto 0 0;width:38%;background:linear-gradient(115deg,transparent 0 30%,rgba(243,107,33,.85) 30% 36%,transparent 36% 42%,rgba(243,107,33,.5) 42% 45%,transparent 45%);opacity:.9;pointer-events:none}
.cd-bbanner.has-image::before{display:none}
.cd-bbanner__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cd-bbanner.has-image::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.65) 100%)}
.cd-bbanner__text{position:relative;z-index:2;margin-inline-start:6%;display:flex;flex-direction:column;align-items:center;gap:6px}
.cd-bbanner__mark .cd-brand-word{font-size:clamp(30px,4.6vw,62px);font-style:italic;font-weight:900;color:#fff;letter-spacing:-1px;text-shadow:0 3px 18px rgba(0,0,0,.6)}
.cd-bbanner__mark img{max-height:110px;width:auto}
.cd-bbanner__tag{font-weight:800;font-style:italic;letter-spacing:1px;color:#f2f2f2}
.cd-bbanner__edit{position:absolute;bottom:10px;left:12px;z-index:3;font-size:12px;background:rgba(0,0,0,.6);padding:4px 10px;border-radius:6px}
.cd-bintro{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:24px;align-items:center;padding:22px 4px;border-bottom:1px solid var(--line);margin-bottom:18px}
.cd-bintro__logo{width:140px;height:96px;border:1px solid var(--line2);border-radius:12px;background:#0e0e0e;display:flex;align-items:center;justify-content:center;padding:10px}
.cd-bintro__logo img{max-width:100%;max-height:70px;object-fit:contain}
.cd-bintro__logo .cd-brand-word{font-size:18px;font-weight:900;font-style:italic;text-align:center}
.cd-bintro h1{font-size:26px;margin:0 0 6px}
.cd-bintro__desc{color:#d0d0d0;font-size:14.5px;line-height:1.95}
.cd-bintro__desc p{margin:0}
.cd-bfeatures{list-style:none;margin:0;padding:0;display:flex;gap:18px}
.cd-bfeatures li{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;width:92px;font-size:12.5px;color:#ddd;line-height:1.5}
.cd-bfeatures svg{color:var(--orange)}
.cd-shop--brand .cd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.cd-filters__reset{margin-top:8px}

/* ---------- brand rows (06) ---------- */
.cd-brand-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cd-brand-row{position:relative;display:flex;align-items:center;gap:12px;height:110px;padding:0 18px;border:1px solid #3a2414;border-radius:14px;background:linear-gradient(90deg,#141414 0,#1a1a1a 100%);overflow:hidden;color:#fff}
.cd-brand-row:hover{border-color:var(--orange);color:#fff}
.cd-brand-row::before{content:"";position:absolute;inset:0 auto 0 0;width:8px;background:var(--orange)}
.cd-brand-row__logo{flex:0 0 42%;display:flex;align-items:center;z-index:1}
.cd-brand-row__logo img{max-height:56px;max-width:100%;object-fit:contain}
.cd-brand-row__logo .cd-brand-word{font-size:clamp(18px,2.4vw,28px);font-weight:900;font-style:italic;letter-spacing:-.5px}
.cd-brand-row__img{flex:1;height:100%;display:flex;align-items:center;justify-content:center}
.cd-brand-row__img img{height:100%;width:100%;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 30%)}
.cd-brand-row__img small{color:var(--muted)}
.cd-brand-row__go{color:#fff;z-index:1}

/* ---------- home (05) ---------- */
.cd-stitle-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cd-seeall{display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:14px}
.cd-precard{display:flex;align-items:center;gap:16px;padding:18px 22px;border-radius:14px;border:1px solid rgba(243,107,33,.6);background:linear-gradient(90deg,rgba(243,107,33,.28),rgba(243,107,33,.06) 60%,#121212);color:#fff;margin:6px 0 10px}
.cd-precard:hover{color:#fff;border-color:var(--orange)}
.cd-precard__icon{width:54px;height:54px;border-radius:12px;background:var(--orange);display:flex;align-items:center;justify-content:center;flex:none}
.cd-precard__text{flex:1;display:flex;flex-direction:column}
.cd-precard__text b{font-size:20px}.cd-precard__text small{color:#e9d6c8}

/* ---------- product page (04/05) ---------- */
.cd-pinfo{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.cd-pinfo>div{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--line2);border-radius:10px;background:#121212;min-width:0}
.cd-pinfo>div>svg{color:var(--orange);flex:none}
.cd-pinfo span{display:flex;flex-direction:column;font-size:12px;color:var(--muted);min-width:0}
.cd-pinfo b{color:#fff;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-pinfo .is-instock>svg{color:#5fd47a}.cd-pinfo .is-outofstock>svg{color:#9c9c9c}
.cd-wish--full{display:none;margin-top:10px;gap:8px}
.cd-wish--full .cd-wish__in{display:none}
.cd-wish--full.is-active{border-color:var(--orange);color:var(--orange)}
.cd-wish--full.is-active .cd-wish__in{display:inline}.cd-wish--full.is-active .cd-wish__add{display:none}
.cd-wish--full.is-active svg path{fill:currentColor}
.cd-stockbox{margin-top:16px;border:1px solid var(--line2);border-radius:12px;overflow:hidden;background:#101010}
.cd-stockbox h3{margin:0;padding:10px 14px;font-size:14.5px;background:#171717;border-bottom:1px solid var(--line2)}
.cd-stockbox ul{list-style:none;margin:0;padding:0}
.cd-stockbox li{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #1d1d1d;opacity:.55}
.cd-stockbox li:last-child{border-bottom:0}
.cd-stockbox li.is-current{opacity:1;background:#151515}
.cd-stockbox li span:last-child{display:flex;flex-direction:column;font-size:12.5px;color:var(--muted)}
.cd-stockbox li b{color:#fff;font-size:14px}
.cd-stockbox__ico{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}
.cd-stockbox li.is-instock .cd-stockbox__ico{color:#5fd47a;border:1.7px solid #2f9e44}
.cd-stockbox li.is-preorder .cd-stockbox__ico{color:var(--orange);border:1.7px solid var(--orange)}
.cd-stockbox li.is-outofstock .cd-stockbox__ico{color:#f87171;border:1.7px solid #b91c1c}
.cd-stockbox li.is-current.is-instock{box-shadow:inset 3px 0 0 #2f9e44}
.cd-stockbox li.is-current.is-preorder{box-shadow:inset 3px 0 0 var(--orange)}
.cd-stockbox li.is-current.is-outofstock{box-shadow:inset 3px 0 0 #b91c1c}
.cd-notify{padding:12px 14px;border-top:1px solid var(--line2)}
.cd-notify__row{display:flex;gap:8px}
.cd-notify__row input{flex:1;min-width:0}
.cd-notify--alert{margin-top:14px;border:1px solid var(--line2);border-radius:var(--r-sm)}
.cd-notify__hint{margin:0 0 10px;font-size:13.5px;color:#cfcfcf}
.cd-notify__row .cd-btn{flex:0 0 auto;white-space:nowrap}
.cd-notify__privacy{margin:8px 0 0;font-size:12px;color:#9a9a9a}
.cd-notify__msg{margin:8px 0 0;font-size:13.5px}.cd-notify__msg.is-ok{color:#5fd47a}.cd-notify__msg.is-err{color:#f87171}.cd-notify__msg.is-exists{color:#facc15}
.cd-notify.is-done .cd-notify__row,.cd-notify.is-done .cd-notify__privacy{display:none}
.cd-notify__hp{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
@media (max-width:480px){.cd-notify__row{flex-wrap:wrap}.cd-notify__row .cd-btn{flex:1 1 100%}}
.cd-stockbox__msg{margin:0;padding:10px 14px;font-size:13.5px}
.cd-stockbox__msg.is-ok{color:#5fd47a}.cd-stockbox__msg.is-err{color:#f87171}
.cardash-preorder-dep{font-size:13.5px}
.cd-acc{display:none}

/* ---------- account (10, 11, 13) ---------- */
.cd-accnav{padding:10px}
.cd-accnav__user{display:flex;align-items:center;gap:10px;padding:8px 10px 14px;border-bottom:1px solid var(--line);margin-bottom:8px}
.cd-accnav__user svg{color:var(--orange);background:#1c1c1c;border-radius:50%;padding:6px;width:40px;height:40px}
.cd-accnav__user span{display:flex;flex-direction:column}.cd-accnav__user small{color:var(--muted);font-size:12px}
.woocommerce-MyAccount-navigation.cd-accnav a{display:flex;align-items:center;gap:10px}
.cd-accnav__logout{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}
.cd-accwelcome{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-radius:12px;margin-bottom:16px;border:1px solid rgba(243,107,33,.45);background:linear-gradient(90deg,rgba(243,107,33,.22),#151515 70%)}
.cd-accwelcome h2{margin:0 0 4px;font-size:22px}.cd-accwelcome p{margin:0;color:#ddd}
.cd-accwelcome>svg{color:var(--orange);opacity:.9}
.cd-acckpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.cd-acckpi{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#121212}
.cd-acckpi>span{width:46px;height:46px;border-radius:12px;background:rgba(243,107,33,.15);color:var(--orange);display:flex;align-items:center;justify-content:center;flex:none}
.cd-acckpi.is-ok>span{background:rgba(47,158,68,.15);color:#5fd47a}
.cd-acckpi div{display:flex;flex-direction:column}.cd-acckpi small{color:var(--muted)}.cd-acckpi b{font-size:22px;color:#fff}
.cd-acckpi.is-due b{font-size:16px}
.woocommerce-MyAccount-content .cd-box{background:#121212}
.cd-ordno{font-weight:800;color:#fff;white-space:nowrap}
.cd-orditem{display:flex;align-items:center;gap:10px}
.cd-orditem img{width:48px;height:48px;object-fit:cover;border-radius:8px;flex:none}
.cd-typepill{display:inline-block;padding:3px 10px;border-radius:6px;background:#262626;color:#ddd;font-size:12px;font-weight:700;white-space:nowrap}
.cd-typepill.is-pre{background:rgba(243,107,33,.18);color:#ff9a5a}
.cd-accquick__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.cd-accquick__grid a{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 8px;border:1px solid var(--line2);border-radius:12px;color:#fff;background:#0f0f0f;text-align:center;font-weight:600;font-size:14px}
.cd-accquick__grid a:hover{border-color:var(--orange);color:#fff}
.cd-accquick__grid svg{color:var(--orange)}
/* track (11) */
.cd-track__search{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#121212;margin-bottom:16px}
.cd-track__search label{color:#ddd;font-weight:600}
.cd-track__row{display:flex;gap:10px}
.cd-track__row input{flex:1}
.cd-track__head{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cd-track__head>div{display:flex;flex-direction:column;gap:4px}
.cd-track__head strong{font-size:16px;color:#fff}
.cd-steps{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(var(--cd-steps-n, 7),minmax(0,1fr));position:relative}
.cd-step{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;position:relative;color:var(--muted);font-size:13px}
.cd-step::before{content:"";position:absolute;top:22px;right:50%;width:100%;height:3px;background:#2c2c2c;z-index:0}
.cd-step:last-child::before{display:none}
.cd-step.is-done::before,.cd-step.is-current::before{background:var(--orange)}
.cd-step__dot{width:44px;height:44px;border-radius:50%;border:2px solid #3a3a3a;background:#151515;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;color:#9c9c9c}
.cd-step.is-done .cd-step__dot{border-color:var(--orange);color:var(--orange);background:#1d130c}
.cd-step.is-current .cd-step__dot{width:54px;height:54px;margin-top:-5px;background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 0 0 6px rgba(243,107,33,.18)}
.cd-step.is-current .cd-step__label{color:var(--orange);font-weight:800;font-size:14.5px}
.cd-step.is-done .cd-step__label{color:#eee}
.cd-step__date{color:var(--muted);font-size:11px}
.cd-steps.is-cancelled .cd-step__dot{opacity:.4}
/* Task 113: concentric inner circle holding the icon. Outer .cd-step__dot size, border, fill, and shadow are unchanged. Completed uses a green RING (not a solid green fill) so the green check stays visible on the dark fill. */
.cd-step__dot::after{content:"";position:absolute;inset:15%;border-radius:50%;border:1.7px solid #3a3a3a;background:transparent;pointer-events:none;z-index:0;box-sizing:border-box}
.cd-step__dot svg,.cd-step__dot .cd-icon{position:relative;z-index:1}
.cd-step.is-done .cd-step__dot{color:var(--green,#2f9e44)}
.cd-step.is-done .cd-step__dot::after{border-color:var(--green,#2f9e44);background:transparent}
.cd-step.is-current .cd-step__dot::after{border-color:rgba(255,255,255,.55)}
.cd-track__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cd-track__grid .cd-box{margin:0}
.cd-track__items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.cd-track__items li{display:flex;align-items:center;gap:10px;font-size:13.5px}
.cd-track__thumb img{width:74px;height:56px;object-fit:cover;border-radius:8px}
.cd-track__name{flex:1;display:flex;flex-direction:column}.cd-track__name small{color:var(--muted)}
.cd-track__grid .cd-btn--block{margin-top:14px}
.cd-track-mini{margin-bottom:16px}
/* wishlist (13) */
.cd-wl-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.cd-wl-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:12px;background:#121212}
.cd-wl-row__img img{width:110px;height:76px;object-fit:cover;border-radius:8px}
.cd-wl-row__info{display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:0}
.cd-wl-row__name{color:#fff;font-weight:800}
.cd-wl-row__price{font-weight:800;white-space:nowrap}
.cd-wl-row__actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.cd-wl-row__notice{display:inline-flex;align-items:center;gap:4px;font-size:12.5px}
.cd-wl-row.is-removing{opacity:.4}

/* ---------- blog (12) ---------- */
.cd-blog__layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
.cd-bcats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}
.cd-bcat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:104px;padding:12px 6px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:#eee;text-align:center;font-size:13px;font-weight:600;line-height:1.5}
.cd-bcat svg{color:var(--orange)}
.cd-bcat:hover,.cd-bcat.is-active{border-color:var(--orange);color:#fff}
.cd-bslider{position:relative;height:300px;border-radius:14px;overflow:hidden;border:1px solid var(--line);margin-bottom:22px;background:#111}
.cd-bslide{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1.25fr;opacity:0;transition:opacity .5s;pointer-events:none}
.cd-bslide.is-active{opacity:1;pointer-events:auto}
.cd-bslide__img img{width:100%;height:100%;object-fit:cover}
.cd-bslide__img{order:2;height:100%}
.cd-bslide__text{order:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;padding:26px 30px}
.cd-bslide__text h2{margin:0;font-size:26px;line-height:1.4}
.cd-bslide__text p{margin:0;color:#cfcfcf}
.cd-catpill{display:inline-block;padding:3px 12px;border-radius:999px;background:var(--orange);color:#fff!important;font-size:12px;font-weight:700}
.cd-stitle--icon{display:flex;align-items:center;gap:8px}.cd-stitle--icon::before{display:none}.cd-stitle--icon svg{color:var(--orange)}
.cd-post-grid--v3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cd-post-card{position:relative}
.cd-post-card__meta .sep{margin:0 4px;color:#555}
.cd-post-card__meta svg{color:var(--orange)}
.cd-sidebox{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:16px}
.cd-sidebox h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:16.5px}
.cd-sidebox h3 svg{color:var(--orange)}
.cd-poplist{list-style:none;margin:0;padding:0}
.cd-poplist li+li{border-top:1px solid var(--line)}
.cd-poplist a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;color:#eee;font-size:14px}
.cd-poplist img{width:64px;height:48px;object-fit:cover;border-radius:6px;flex:none}
.cd-newsletter p{color:#cfcfcf;font-size:14px;margin:0 0 12px}
.cd-newsletter__form{display:flex;flex-direction:column;gap:10px}
.cd-newsletter__form .cd-btn{width:100%}
.cd-newsletter__msg{margin:10px 0 0;font-size:13.5px}.cd-newsletter__msg.is-ok{color:#5fd47a}.cd-newsletter__msg.is-invalid{color:#f87171}.cd-newsletter__msg.is-exists{color:#facc15}

/* ---------- checkout deposit rows ---------- */

/* ---------- mobile tab bar (05/06) ---------- */
.cd-tabbar{display:none}
@media (max-width:1024px){
  .cd-search{width:auto;padding:0 10px}
  .cd-search__scope{display:none}
  .cd-header.is-search .cd-search{display:flex;height:58px;padding:8px 12px;background:#0d0d0d}
  .cd-header.is-search .cd-search input[type=search]{border:1.5px solid var(--orange);border-radius:12px;height:42px;background:#151515;padding:0 12px}
  .cd-search__close{display:flex!important}
  .cd-ac{inset-inline:8px;min-width:0;top:100%}
  .cd-bintro{grid-template-columns:110px minmax(0,1fr)}
  .cd-bfeatures{grid-column:1/-1;justify-content:space-around}
  .cd-shop--brand .cd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cd-blog__layout{grid-template-columns:1fr}
  .cd-bcats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cd-track__grid{grid-template-columns:1fr 1fr}
  .cd-accquick__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cd-acckpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:768px){
  /* Task 57: reserve space for the fixed tabbar, plus the sticky buy bar on product pages.
     8px keeps the last line clear of the 1px border / subpixel rounding. */
  html{scroll-padding-bottom:calc(62px + 8px + env(safe-area-inset-bottom, 0px))}
  body.cardash{padding-bottom:calc(62px + 8px + env(safe-area-inset-bottom, 0px))}
  html:has(.cd-buy-controls){scroll-padding-bottom:calc(62px + 80px + 8px + env(safe-area-inset-bottom, 0px))}
  body.cardash:has(.cd-buy-controls){padding-bottom:calc(62px + 80px + 8px + env(safe-area-inset-bottom, 0px))}
  .cd-tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:70;height:auto;min-height:62px;background:#0c0c0c;border-top:1px solid #262626;padding-bottom:env(safe-area-inset-bottom, 0px)}
  body.woocommerce-cart .cd-tabbar,
  body.woocommerce-checkout:not(.woocommerce-order-received) .cd-tabbar{display:none!important}
  body.woocommerce-cart.cardash,
  body.woocommerce-checkout:not(.woocommerce-order-received).cardash{padding-bottom:env(safe-area-inset-bottom, 0px)}
  html:has(body.woocommerce-cart),
  html:has(body.woocommerce-checkout:not(.woocommerce-order-received)){scroll-padding-bottom:env(safe-area-inset-bottom, 0px)}
  .cd-tabbar__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#cfcfcf;font-size:12px}
  .cd-tabbar__item.is-active{color:var(--orange)}
  .cd-tabbar__item.is-active svg{stroke-width:2.2}
  /* Task 150: first-row buy buttons on /shop/ and product-category sat 34px under
     the fixed 62px tabbar at 390×844 (scroll 0). Body padding-bottom only clears the
     footer, not this first viewport. Tighten only the intro stack (main pad, KPI
     margin, banner padding); product cards, buttons, and fonts stay as they are.
     Combined lift is ~46px, leaving an ~8px gap above the tabbar. */
  body.woocommerce-shop .cd-main,
  body.tax-product_cat .cd-main{padding-top:8px}
  body.woocommerce-shop .cd-shop-kpis,
  body.tax-product_cat .cd-shop-kpis{margin-bottom:8px}
  body.woocommerce-shop .cd-banner,
  body.tax-product_cat .cd-banner{min-height:0}
  body.woocommerce-shop .cd-banner__inner,
  body.tax-product_cat .cd-banner__inner{padding-block:16px}
  .toast{bottom:78px}
  .cd-actions .cd-act:nth-child(3){display:none}
  .cd-pinfo{grid-template-columns:1fr 1fr}
  .cd-wish--full{display:inline-flex}
  /* Legacy accordion tabs — skip v4.5+ single-column product */
  .cd-product-page:not(:has(.cd-product--v45)) .cd-tabs__nav{display:none}
  .cd-product-page:not(:has(.cd-product--v45)) .cd-tabs__panel{display:block!important;padding:0;border:1px solid var(--line2);border-radius:10px;margin-bottom:8px;background:#121212}
  .cd-product-page:not(:has(.cd-product--v45)) .cd-tabs__panel[hidden]{display:block!important}
  .cd-product-page:not(:has(.cd-product--v45)) .cd-tabs{border:0!important;background:none!important;padding:0!important}
  .cd-acc{display:flex;width:100%;align-items:center;justify-content:space-between;background:none;border:0;color:#fff;font:inherit;font-weight:700;padding:13px 14px;cursor:pointer}
  .cd-acc svg{transition:transform .2s}
  .cd-acc[aria-expanded=true] svg{transform:rotate(180deg)}
  .cd-acc__body{display:none;padding:0 14px 14px}
  .cd-tabs__panel.is-open .cd-acc__body{display:block}
  .cd-brand-rows{grid-template-columns:1fr;gap:10px}
  .cd-brand-row{height:92px}
  .cd-bbanner{min-height:150px}
  .cd-bintro{grid-template-columns:84px minmax(0,1fr);gap:14px;padding:16px 0}
  .cd-bintro__logo{width:84px;height:64px}
  .cd-bintro h1{font-size:20px}
  .cd-bfeatures{gap:8px}.cd-bfeatures li{width:auto;flex:1;font-size:11.5px}
  .cd-shop--brand .cd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cd-card--brand .cd-card__title{font-size:13.5px}
  .cd-card__price-line{font-size:15px}
  .cd-card__sku{flex-direction:column;align-items:center;gap:0}
  .cd-stitle-row .cd-stitle{margin-bottom:12px}
  .cd-precard{padding:14px}
  .cd-precard__text b{font-size:17px}.cd-precard__text small{font-size:12px}
  .cd-accquick__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cd-track__head{grid-template-columns:1fr 1fr}
  .cd-steps{grid-template-columns:1fr;gap:0}
  .cd-step{flex-direction:row;text-align:right;padding:6px 0}
  .cd-step::before{top:auto;bottom:50%;right:21px;width:3px;height:100%}
  .cd-step:first-child::before{display:none}
  .cd-step:last-child::before{display:block}
  .cd-step.is-current .cd-step__dot{width:44px;height:44px;margin:0}
  .cd-track__grid{grid-template-columns:1fr}
  .cd-wl-row{grid-template-columns:92px minmax(0,1fr);grid-template-areas:"img info" "price actions"}
  .cd-wl-row__img{grid-area:img}.cd-wl-row__info{grid-area:info}.cd-wl-row__price{grid-area:price}.cd-wl-row__actions{grid-area:actions}
  .cd-wl-row__img img{width:92px;height:64px}
  .cd-bslider{height:auto;min-height:420px}
  .cd-bslide{grid-template-columns:1fr;grid-template-rows:200px auto}
  .cd-bslide__img{order:0}.cd-bslide__text{order:1;padding:16px}
  .cd-bslide__text h2{font-size:19px}
  .cd-bcats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cd-bcat{min-height:88px;font-size:12px}
  .cd-post-grid--v3{grid-template-columns:1fr}
  .cd-table{font-size:13px}
}
/* Set3 three-step checkout */
.cd-checkout3 .cd-checksteps{display:flex;list-style:none;gap:10px;padding:6px 0 0;margin:0 0 16px;justify-content:space-between}
.cd-checksteps li{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;padding:10px 8px 12px;border-bottom:3px solid #333;color:var(--muted);font-size:14.5px;font-weight:700;line-height:1.35}.cd-checksteps__num{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:2px solid #444;background:#141414;color:#9c9c9c;font-size:14px;font-weight:800;line-height:1}.cd-checksteps__label{min-width:0;overflow-wrap:anywhere}.cd-checksteps li.is-current{color:#fff;border-color:var(--orange)}.cd-checksteps li.is-current .cd-checksteps__num{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 0 0 4px rgba(243,107,33,.18)}.cd-checksteps li.is-done{color:var(--orange);border-color:rgba(243,107,33,.5)}.cd-checksteps li.is-done .cd-checksteps__num{border-color:var(--orange);color:var(--orange);font-size:0}.cd-checksteps li.is-done .cd-checksteps__num::after{content:"✓";font-size:14px}
.cd-checklayout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}.cd-checksummary{position:sticky;top:100px}.cd-checkstep[hidden]{display:none!important}.cd-checkstep h2,.cd-checksummary h2{font-size:20px;margin:0 0 20px}.cd-stepbuttons{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px}.cd-checkout3 #customer_details{display:block;width:auto}.cd-checkout3 #customer_details .col-1,.cd-checkout3 #customer_details .col-2{float:none;width:100%}.cd-checkout3 .col2-set{display:block}.cd-checkout3 #order_review{width:auto;float:none}.cd-checkout3 .woocommerce-checkout-review-order-table{width:100%}.cd-checkout3 .woocommerce-checkout-payment{background:transparent!important}.cd-checkout3 .cd-checksummary .cd-trust{grid-template-columns:1fr 1fr}.cd-checkout3 .cd-checksummary .cd-trust li{padding:8px;display:flex;flex-direction:column;text-align:center}.cd-checkout3 .cd-checksummary .cd-trust li:before{display:none}#cd-shipping-step table{width:100%}#cd-shipping-step th{display:none}#cd-shipping-step td{display:block}.cd-shipping-note{display:block;color:var(--muted);margin:4px 28px 14px}#shipping_method{list-style:none;padding:0}#cd-shipping-step #shipping_method li{padding:20px;border:1px solid var(--line2);border-radius:12px;margin:12px 0;background:#101010}#cd-shipping-step #shipping_method li:has(input:checked){border-color:var(--orange)}.cd-check-bank{border:1px solid var(--line2);padding:14px;border-radius:10px;margin:16px 0}.cd-check-bank ul{padding-inline-start:20px;color:#bbb}.cd-check-bank small{display:block;color:var(--muted)}.cd-check-bank label{display:block}.cd-check-bank input[type=file]{max-width:100%;margin:10px 0}
@media(max-width:900px){.cd-checklayout{grid-template-columns:1fr}.cd-checksummary{position:static}.cd-checksteps li{flex-direction:column;gap:4px;font-size:12px;padding:6px 2px 8px;line-height:1.3}.cd-checksteps__num{width:24px;height:24px;font-size:12.5px}.cd-stepbuttons{flex-wrap:wrap}}
.cd-seriespills{display:flex;gap:10px;overflow:auto;padding:10px 0 20px}.cd-seriespills a{white-space:nowrap}.cd-description-side{float:left;margin:0 20px 12px 0;max-width:40%;border-radius:10px}.cd-gallery__wish{position:absolute;top:12px;right:12px;z-index:3;background:#111b;border:1px solid #444;border-radius:50%;padding:9px;color:#fff}.cd-gallery__main{position:relative}.cd-cart__pack,.cd-cart__line{display:flex;flex-direction:column;gap:6px;align-items:center}.cd-cart__pack small,.cd-cart__line small{color:var(--muted);font-size:12px}.cd-cart__row{grid-template-columns:20px 90px minmax(100px,1fr) 70px 120px 70px 120px 28px!important}.cd-card__brand img{max-height:25px;width:auto;max-width:100px}.cd-card__brand .cd-brand-word{font-size:14px}
.cd-brandhub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cd-brandhub-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:16px}.cd-brandhub-card .cd-brand-word{font-size:22px;font-weight:900;font-style:italic}.cd-brandhub-card img{height:110px;object-fit:cover;border-radius:8px}.cd-brandhub-placeholder{display:flex;align-items:center;justify-content:center;height:100px;color:#4b4b4b}.cd-brandhub-detail{display:grid;grid-template-columns:150px 1fr 250px;gap:24px;align-items:center}.cd-brandhub-detail ul{list-style:none;padding:0}.cd-brandhub-detail li{margin:12px 0}.cd-brandhub-detail svg{color:var(--orange)}
@media(max-width:768px){.cd-brandhub-grid{grid-template-columns:1fr 1fr}.cd-brandhub-detail{grid-template-columns:1fr}}
.cd-thanks-success{display:flex;align-items:center;gap:20px;border-color:#2f9e44}.cd-thanks-success svg{color:#5fd47a}.cd-thanks-success h2{margin:0}.cd-box:has(>.cd-thanks-brands){display:flex;flex-direction:column}.cd-thanks-brands{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:22px 18px;flex:1 1 auto;align-content:stretch;padding:6px 0}.cd-thanks-brands .cd-brand-word{font-size:18px}.cd-thanks-brands img,.cd-thanks-brands .cd-brand-logo{width:auto;height:54px;max-width:100%;max-height:none;object-fit:contain}@media (max-width:640px){.cd-thanks-brands{gap:20px 16px;padding:4px 0}.cd-thanks-brands img,.cd-thanks-brands .cd-brand-logo{height:46px}}.cd-thanks3 ol{color:#bbb;padding-inline-start:20px;line-height:2}

form.checkout.cd-checkout3{display:block}form.checkout.cd-checkout3 #order_review{position:static;border:0;padding:0;background:none}
.cd-cartstepper{display:inline-flex!important;border:1px solid #444;border-radius:8px;align-items:center;overflow:hidden}.cd-cartstepper select{appearance:none!important;border:0!important;width:40px!important;padding:4px!important;text-align:center;background:#181818!important}.cd-cartstepper button{background:#181818;color:#fff;font-weight:800;border:0;padding:5px 7px;cursor:pointer}.cd-cartstepper svg{display:none}
@media(max-width:640px){.cd-trust--home{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.cd-trust--home li{background:#151515;border:1px solid #292929;border-radius:9px;padding:10px 2px}.cd-trust--home li:before{display:none}.cd-trust--home small{display:none}.cd-trust--home strong{font-size:10px}.cd-trust--home svg{width:23px;height:23px}.cd-home .cd-hero{height:350px}}
/* v4: totals must never conceal a selected shipping charge. */
.cd-shipping-summary dt small,.cd-shipping-cost-summary th small{display:block;color:var(--muted);font-size:11px;font-weight:400;line-height:1.7;margin-top:4px}.cd-shipping-summary{border-top:1px solid var(--line2);padding-top:12px}.cd-shipping-cost-summary td{white-space:nowrap}.cd-final-shipping{border:1px solid var(--line2);padding:12px;border-radius:8px}.cd-cart__img{border:1px solid #343434!important}.cd-fgroup small{display:block;padding:8px 12px}
.cd-cartstepper input[type=number]{width:54px!important;min-width:0;text-align:center;border:0!important;padding:5px 2px!important;background:#181818!important;color:#fff;-moz-appearance:textfield}.cardash-payment-choice label{display:block;font-size:12px;padding:6px 0;white-space:normal}.cardash-payment-choice input{accent-color:var(--orange);margin-inline-end:6px}
.cd-shop-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}.cd-shop-kpis>div{display:flex;align-items:center;justify-content:center;gap:12px;background:#141414;border:1px solid #303030;border-radius:12px;padding:18px}.cd-shop-kpis b{color:var(--orange);font-size:24px}.cd-shop-kpis span{color:#bbb}@media(max-width:600px){.cd-shop-kpis{gap:6px}.cd-shop-kpis>div{padding:12px 5px;flex-direction:column;gap:3px}.cd-shop-kpis span{font-size:12px}}
.cd-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.cd-support-grid>.cd-box{display:flex;flex-direction:column;gap:9px;color:var(--text)}.cd-support-grid strong{color:var(--orange)}.cd-support-grid small{color:var(--muted)}.cd-contact-form{max-width:760px;margin:24px auto}.cd-contact-form label{display:block;margin:14px 0}.cd-contact-form input,.cd-contact-form textarea{display:block;width:100%;margin-top:7px;background:#0d0d0d;border:1px solid #3a3a3a;border-radius:8px;color:#eee;padding:12px;font:inherit}.cd-policy details{border:1px solid #333;border-radius:10px;padding:14px;margin:12px 0;background:#141414}.cd-policy summary{cursor:pointer;color:#eee;font-weight:700}.cd-policy p{color:#bcbcbc;line-height:2.1}.cd-policy h2{color:var(--orange)}@media(max-width:600px){.cd-support-grid{grid-template-columns:1fr}}

/* v0.4.5.15: final mobile search overrides. Earlier relative/width rules were
   winning over the mobile absolute bar and squeezing it into the header flex row. */
@media(max-width:1024px){
  .cd-header.is-search{z-index:100010}
  .cd-header .cd-search{display:none;position:absolute;top:100%;left:0;right:0;bottom:auto;inset-inline:0;width:100%;max-width:100%;min-width:0;flex:none;margin:0;box-sizing:border-box;height:64px;min-height:64px;padding:10px 16px;gap:8px;align-items:center;direction:rtl;overflow:visible;z-index:100;border:0;border-bottom:1px solid #333;border-radius:0;background:#0d0d0d;box-shadow:0 8px 20px #0008}
  .cd-header.is-search .cd-search{display:flex;height:64px;padding:10px 16px}
  .cd-header .cd-search input[type=search]{order:0;flex:1 1 0%;width:0;min-width:0;max-width:100%;min-height:44px;height:44px;padding:0 12px;font-size:16px;line-height:1.5;direction:rtl;text-align:right;box-sizing:border-box;-webkit-appearance:none;appearance:none}
  .cd-header.is-search .cd-search input[type=search]{height:44px;border:1px solid var(--orange);border-radius:10px;background:#151515}
  .cd-header .cd-search input[type=search]:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
  .cd-header .cd-search input::placeholder{color:#b9b9b9;opacity:1}
  .cd-header .cd-search button{flex:0 0 44px;width:44px;height:44px;align-items:center;justify-content:center;padding:0;border:1px solid #333;border-radius:10px;background:#1a1a1a;color:var(--orange)}
  .cd-header .cd-search__go{order:1}
  .cd-header .cd-search__close{order:2;display:flex!important}
  .cd-header .cd-search__scope{display:none}
  .cd-header .cd-ac{left:16px;right:16px;inset-inline:16px;width:auto;min-width:0;max-width:calc(100% - 32px);max-height:50vh;max-height:50dvh;overflow-y:auto;overscroll-behavior:contain;top:100%}
}

/* v0.4.5.16: native browser search ornaments are replaced by our one search/X UI. */
.cd-search input[type=search]::-webkit-search-cancel-button,
.cd-search input[type=search]::-webkit-search-decoration,
.cd-search input[type=search]::-webkit-search-results-button,
.cd-search input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none;display:none;width:0;height:0}
.cd-search input[type=search]::-ms-clear,
.cd-search input[type=search]::-ms-reveal{display:none;width:0;height:0}
.cd-search input[type=search]{background-image:none!important}
.cd-header .cd-search__go{position:relative}
.cd-search__loading{position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border:2px solid #777;border-top-color:var(--orange);border-radius:50%;pointer-events:none;animation:cd-search-spin .7s linear infinite}
.cd-search__loading[hidden]{display:none!important}
.cd-search.is-loading .cd-search__go>.cd-icon{visibility:hidden}
@keyframes cd-search-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.cd-search__loading{animation:none}}

/* v0.4.5.17: one designed Latin-count tag shared by mobile brand rows/desktop cards. */
.cd-brand-count{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;min-height:38px;padding:5px 12px;background:#1f1f1f;border:1px solid #333;border-radius:999px;direction:ltr;line-height:1;white-space:nowrap}
.cd-brand-count__number{font-family:Arial,Helvetica,sans-serif;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.15;color:var(--orange);direction:ltr;unicode-bidi:isolate}
.cd-brand-count__label{font-family:Vazirmatn,Tahoma,sans-serif;font-size:12px;font-weight:600;line-height:1.4;color:#e0e0e0;direction:rtl}
.cd-brand-row__img{position:relative;min-width:0}
.cd-brand-row.has-image .cd-brand-count{position:absolute;bottom:8px;inset-inline-end:8px;z-index:1}
.cd-brandhub-card .cd-brand-count{margin:0 auto}
@media(max-width:380px){.cd-brand-count{gap:5px;padding:5px 9px}.cd-brand-count__number{font-size:19px}.cd-brand-count__label{font-size:11px}}

/* Task 10 (0.4.5.50): «جستجوهای پرطرفدار» chips + mobile live-search rows. */
.cd-ac__chips{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px 12px}
.cd-ac a.cd-ac__chip{display:inline-flex;align-items:center;gap:0;min-height:36px;padding:6px 14px;border:1px solid #3a3a3a;border-radius:999px;background:#181818;color:#eee;font-size:13px;line-height:1.4}
.cd-ac a.cd-ac__chip:hover,.cd-ac a.cd-ac__chip.is-sel,.cd-ac a.cd-ac__chip:focus-visible{border-color:var(--orange);color:var(--orange);background:#1c1c1c}
.cd-spop{margin:20px auto 0;max-width:560px;text-align:center}
.cd-spop__title{display:block;color:var(--muted);font-size:13px;margin-bottom:10px}
.cd-spop__list{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.cd-spop__chip{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #3a3a3a;border-radius:999px;background:#151515;color:#eee;font-size:14px}
.cd-spop__chip:hover,.cd-spop__chip:focus-visible{border-color:var(--orange);color:var(--orange)}
@media(max-width:1024px){
  .cd-header .cd-ac a{min-height:44px}
  .cd-header .cd-ac a.cd-ac__chip{min-height:44px;padding:8px 14px;font-size:14px}
  .cd-header .cd-ac__thumb{width:48px;height:48px;object-fit:contain}
  .cd-header .cd-ac__txt b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45}
}
@media(max-width:400px){.cd-header .cd-ac__brand{display:none}}
/* Brand order (owner, 2026-11-13): thank-you «برندهای ما» grid, VISUAL order left-to-right, top-to-bottom.
   The grid is pinned to LTR so left/right stay put whether the page around it is LTR or RTL. Display only:
   brand terms and their cardash_order meta are untouched, so other brand lists keep their order. */
.cd-thanks-brands{direction:ltr;justify-items:center;align-items:center}
.cd-thanks-brands>a{display:flex;align-items:center;justify-content:center;width:100%}
.cd-thanks-brands>a[href*="/brand/inno64/"]{order:1}
.cd-thanks-brands>a[href*="/brand/almost-real/"]{order:2}
.cd-thanks-brands>a[href*="/brand/kaido-house/"]{order:3}
.cd-thanks-brands>a[href*="/brand/mini-gt/"]{order:4}
.cd-thanks-brands>a[href*="/brand/pop-race/"]{order:5}
.cd-thanks-brands>a[href*="/brand/hot-wheels/"]{order:6}
.cd-thanks-brands>a[href*="/brand/trend-hobby/"]{order:7}
.cd-thanks-brands>a[href*="/brand/tarmac-works/"]{order:8}
/* Task 17 (0.4.5.56, owner 2026-11-13): checkout order summary above the step tabs on all steps/viewports;
   step 2 shows the shipping-method card first (above summary + tabs). DOM: form > aside.cd-checksummary, ol.cd-checksteps, .cd-checklayout > .cd-checkmain. */
form.checkout.cd-checkout3{display:flex;flex-direction:column;align-items:stretch}
form.checkout.cd-checkout3>.woocommerce-NoticeGroup{order:-2}
form.checkout.cd-checkout3>.cd-checksummary{position:static;margin:0 0 22px}
form.checkout.cd-checkout3 .cd-checklayout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"main"!important}
form.checkout.cd-checkout3[data-current="2"]>.cd-checklayout{order:-1;margin-bottom:22px}
/* Task 19 (0.4.5.57, owner 2026-11-13): step tabs first + sticky under the sticky header (86px desktop, 66px <=1024px);
   step-change scroll lands the form (tabs) right under the header; order summary card only on step 3 (markup/fragments kept, only hidden). */
form.checkout.cd-checkout3>.cd-checksteps{order:-3;position:sticky;top:86px;z-index:50;background:var(--bg)}
form.checkout.cd-checkout3{scroll-margin-top:86px}
.admin-bar form.checkout.cd-checkout3>.cd-checksteps{top:118px}
.admin-bar form.checkout.cd-checkout3{scroll-margin-top:118px}
@media(max-width:1024px){
form.checkout.cd-checkout3>.cd-checksteps{top:66px}
form.checkout.cd-checkout3{scroll-margin-top:66px}
.admin-bar form.checkout.cd-checkout3>.cd-checksteps{top:98px}
.admin-bar form.checkout.cd-checkout3{scroll-margin-top:98px}
}
form.checkout.cd-checkout3[data-current="1"] .cd-os-card,
form.checkout.cd-checkout3[data-current="2"] .cd-os-card{display:none}

/* Task 20 (0.4.5.58, owner 2026-11-13 12:44): trust box in the summary column also only on step 3. The whole aside is hidden on steps 1/2
   (its order card was already hidden by Task 19), so no empty 22px gap remains; markup/fragments kept, only hidden. */
form.checkout.cd-checkout3[data-current="1"]>.cd-checksummary,
form.checkout.cd-checkout3[data-current="2"]>.cd-checksummary{display:none}

/* Task 21 Option C — homepage «جدیدترین محصولات» + «مدل‌های ویژه و کلکسیونی» only.
   Builds on t21 spacing reductions + Option B 4:3 frame, then compacts the card
   body (title / brand / buttons) and gives the reclaimed height to the image:
   the frame is 4:3 of the full card width (taller than Option B's 4:3-of-inner-340)
   with less inner padding, so the photo is visibly larger while section height
   stays <= Option B. Shop, product, other rails, and .cd-coming-soon are untouched.
   Ready to replace the Task 21 block in theme assets/css/v3.css (see PLAN.md). */
.cd-home .cd-home-single--newest,
.cd-home .cd-home-single--featured{padding-top:16px}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__media,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__media{aspect-ratio:4/3}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__img,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__img{height:100%}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__img img,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__img img{
  box-sizing:border-box;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  padding:2px;
  object-fit:contain;
}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__body,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__body{
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:stretch;
  justify-content:flex-start;
  padding:4px 10px 4px;
  gap:2px;
  text-align:center;
}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__title,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__title{
  min-height:0;
  margin:0;
  font-size:14px;
  line-height:1.3;
  text-align:center;
}
.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__title a,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__title a{
  line-height:1.3;
  max-height:calc(1.3em * 2);
}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__meta,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__meta{
  margin:0;
  font-size:12px;
  line-height:1.25;
  text-align:center;
}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__actions,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__actions{
  width:100%;
  padding-top:4px;
  margin-top:0;
  justify-content:center;
}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__buy,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__buy,
.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__buy .cd-inno-instantbuy-form,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__buy .cd-inno-instantbuy-form{
  width:100%;
}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-inno-instantbuy--active,
.cd-home .cd-home-single--newest .cd-home-rotator .cd-inno-instantbuy--disabled,
.cd-home .cd-home-single--newest .cd-home-rotator .cd-inno-instantbuy--disabled:disabled,
.cd-home .cd-home-single--newest .cd-home-rotator .cd-inno-instantbuy--disabled[disabled],
.cd-home .cd-home-single--featured .cd-home-rotator .cd-inno-instantbuy--active,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-inno-instantbuy--disabled,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-inno-instantbuy--disabled:disabled,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-inno-instantbuy--disabled[disabled]{
  width:100%;
  min-width:0;
  min-height:40px;
  height:40px;
  padding:0 10px;
  font-size:14px;
}

.cd-home .cd-home-single--newest .cd-home-rotator .cd-cartbtn,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-cartbtn,
.cd-home .cd-home-single--newest .cd-home-rotator .cd-card__buy>.cd-cartbtn,
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__buy>.cd-cartbtn{
  flex-basis:40px;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
}

.cardash .cd-home .cd-home-single--newest>.cd-home-single__more.cd-brand-allproducts,
.cardash .cd-home .cd-home-single--featured>.cd-home-single__more.cd-brand-allproducts{padding-top:0}

/* Task 54: FAQ page (/faq/, page-id-241). The storefront html is LTR (Task 47)
   and this page's .cd-policy markup lacks the dir=rtl + 760px column that
   /terms/, /shipping/ and /how-to-buy/ set in post_content, so questions,
   answers and the disclosure marker sat on the left. Scoped to this page only. */
body.page-id-241 .cd-policy{
  direction:rtl;
  text-align:right;
  max-width:760px;
  margin-inline:auto;
}
body.page-id-241 .cd-support-grid{
  direction:rtl;
  text-align:right;
}

/* Task 215 — USD price on the home «مدل‌های ویژه» rotator only. Do not add prices to .cd-home-single--newest. */
.cd-home .cd-home-single--featured .cd-home-rotator .cd-card__price-line{
  margin:4px 0 0;
  font-weight:900;
  color:var(--orange);
  text-align:center;
  font-size:16px;
  line-height:1.3;
}
/* Task 232: USD prices are Persian-only («۶۷ دلار») and centered. Toman rules are unchanged. */
.cd-price.cd-price--usd{display:block;width:100%;text-align:center}
.cd-price.cd-price--usd .woocommerce-Price-amount{font-weight:900;color:inherit}
.cd-buybox__price:has(.cd-price--usd),
.cd-buy-controls__price:has(.cd-price--usd),
.cd-product__price:has(.cd-price--usd),
.cd-wl-row__price:has(.cd-price--usd){text-align:center}
.cd-usd-pay-note{margin:16px 0}

/* Task 216: featured homepage heading is a link; visually unchanged. Keep focus outline. */
.cd-home-featured__heading .cd-stitle > a{color:inherit;text-decoration:none;font:inherit;letter-spacing:inherit;font-weight:inherit}
/* Task 216: featured listing USD-rate note, matches .cardash-msg--info */
.cd-featured-usd-note{padding:12px 16px;margin:20px 0 8px;font-size:14px;line-height:1.8;border-inline-start:4px solid var(--orange,#f36b21);background:#21170f;border-radius:var(--r-sm,8px);color:#f2f2f2}
.cd-featured-usd-note p{margin:0}

/* Task 216: Coming Soon badge on shop/category grid — same corner as the status pill, not under the wishlist. */
.cd-card--grid .cd-card__media .cd-badge--soon{top:10px;inset-inline-start:10px;inset-inline-end:auto}
