/* ===== Pinoke mobile & polish layer (loaded last) ===== */
html{scroll-behavior:smooth;-webkit-tap-highlight-color:transparent}
::selection{background:rgba(242,107,29,.22)}
:focus-visible{outline:2px solid var(--terracotta);outline-offset:2px;border-radius:6px}
.footer-heading{color:var(--text)!important;font:800 12px var(--font-sans)!important;letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px}
.footer-grid{gap:30px}
.to-top{position:fixed;inset-inline-end:18px;bottom:22px;width:46px;height:46px;border-radius:50%;border:1px solid var(--sand-border);background:#fff;box-shadow:var(--shadow-md);display:grid;place-items:center;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:.25s;z-index:60;color:var(--text)}
.to-top.show{opacity:1;pointer-events:auto;transform:none}.to-top:hover{color:var(--terracotta)}.to-top svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.4}
.pnk-tabbar,.pp-bar,.cf-done,.cf-backdrop,.mega-close{display:none}
/* product page polish (all sizes) */
.pp-seller{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--sand-border);border-radius:14px;padding:14px 16px;margin-top:18px}
.pp-av{flex:none;width:44px;height:44px;border-radius:50%;background:var(--surface-subtle);display:grid;place-items:center;font-weight:800;color:var(--text)}
.pp-seller b{display:block}.pp-seller small{color:var(--text-muted)}.pp-seller a{margin-inline-start:auto;color:var(--terracotta-dark);font-weight:700;text-decoration:none;white-space:nowrap}
.pp-trust{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:8px}
.pp-trust li{background:#fff;border:1px solid var(--sand-border);border-radius:12px;padding:11px 14px;display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text)}
.pp-trust li::before{content:"✓";color:#fff;background:var(--terracotta);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}
.pp-trust li::marker{content:""}
.type-chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 14px;scrollbar-width:none}.type-chips::-webkit-scrollbar{display:none}
.type-chips a{flex:none;padding:8px 15px;border-radius:999px;border:1px solid var(--sand-border-dark);background:#fff;color:var(--text);text-decoration:none;font:600 13.5px var(--font-sans);white-space:nowrap}
.type-chips a:hover{border-color:var(--terracotta);color:var(--terracotta)}.type-chips a.on{background:var(--primary);color:#fff;border-color:var(--primary)}
/* home rows */
.hm-row-sec{padding-block:26px 0}.hm-row{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 14px;scrollbar-width:thin}
.hm-row .mini-card{flex:0 0 200px;scroll-snap-align:start;display:block;background:#fff;border:1px solid var(--sand-border);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--text);transition:transform .2s,box-shadow .2s}
.hm-row .mini-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.hm-row .mini-img{aspect-ratio:1/1;background:#EEF2F7}.hm-row .mini-img img{width:100%;height:100%;object-fit:cover;display:block}
.hm-row .mini-body{padding:10px 12px 12px}.hm-row .card-brand{font-size:11px}.hm-row .mini-title{font-weight:600;font-size:13.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:2px 0 6px}
.hm-row .mini-price b{font-size:16px}.hm-row .mini-price s{color:var(--text-light);font-size:12px;margin-inline-start:6px}
.hm-row-sec .hm-sec-head{margin-bottom:6px}

@media(max-width:760px){
  body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  body.no-scroll{overflow:hidden}
  input,select,textarea{font-size:16px!important}
  .container{padding-inline:14px}
  .utility-bar{padding-block:3px}.utility-bar .container{justify-content:center}
  /* header: logo + wishlist + cart ; the rest lives in the bottom bar */
  .header .btn-sell-highlight,.header #btnOpenMessages,.header #btnUserAccount{display:none!important}
  .nav-container{padding-block:8px 6px;gap:8px 6px}
  .pnk-logo-img{height:30px}
  .nav-actions{gap:4px!important}
  .search-wrapper{transition:max-height .28s ease,opacity .2s ease,margin .28s ease,padding .28s ease,border-width .2s ease;max-height:60px;overflow:hidden!important}
  .header.is-compact .search-wrapper{max-height:0!important;opacity:0;margin-top:-8px!important;padding-block:0!important;border-width:0!important;pointer-events:none}
  .search-wrapper{border-radius:12px}.search-wrapper .search-input{padding:11px 14px!important}
  .catnav-in{min-height:42px}.mega-all{margin-block:4px;padding:0 11px}
  .catnav-links>li>a{padding:0 11px;font-size:13px}
  /* bottom tab bar */
  .pnk-tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:90;background:#fff;border-top:1px solid var(--sand-border);padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px rgba(24,33,47,.08)}
  .pnk-tabbar>*{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:0;padding:6px 0 2px;color:var(--text-muted);font:700 10.5px var(--font-sans);text-decoration:none;cursor:pointer;min-height:48px}
  .pnk-tabbar .li{width:23px;height:23px}
  .pnk-tabbar .on{color:var(--terracotta)}
  .pnk-tabbar .tab-sell .ic{width:48px;height:48px;border-radius:50%;background:var(--terracotta);color:#fff;display:grid;place-items:center;margin-top:-24px;box-shadow:0 8px 18px rgba(242,107,29,.4);border:4px solid #fff}
  .pnk-tabbar .tab-sell .li{width:22px;height:22px}.pnk-tabbar .tab-sell span:last-child{margin-top:-2px}
  .to-top{bottom:calc(84px + env(safe-area-inset-bottom));inset-inline-end:12px;width:42px;height:42px}
  /* mega menu → full screen */
  .mega-panel{position:fixed;inset:0;top:0;z-index:300;padding:80px 16px 90px;max-height:none;border:0;box-shadow:none;overflow:auto;background:#fff}
  .mega-wrap.open .mega-panel{display:block}
  .mega-close{display:grid;place-items:center;position:fixed;top:12px;inset-inline-end:12px;width:42px;height:42px;border-radius:50%;border:1px solid var(--sand-border);background:#fff;font-size:22px;z-index:301;cursor:pointer;line-height:1}
  .mega-panel::before{content:attr(data-title);position:fixed;top:0;left:0;right:0;height:62px;display:flex;align-items:center;padding-inline:18px;font:800 18px var(--font-sans);background:#fff;border-bottom:1px solid var(--sand-border);z-index:300}
  .mega-grid{grid-template-columns:1fr!important;gap:6px}.mega-cat ul{display:block!important;padding-inline-start:33px}
  .mega-cat{margin-bottom:6px;border-bottom:1px solid var(--sand-border);padding-bottom:8px}
  .mega-site{order:-1;border:0;padding:0}.mega-links{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
  /* hero */
  .hm-hero-in{padding-block:20px 8px;gap:18px}.hm-hero h1{font-size:34px;margin:12px 0 10px}.hm-hero p.lead{font-size:15.5px;margin-bottom:16px}
  .hm-search input{padding:13px 14px}.hm-search button{padding:0 18px}.hm-pop{gap:6px}.hm-pop a{padding:5px 11px}
  .hm-cta{margin-top:16px}.hm-cta a{flex:1;justify-content:center;padding:13px 10px}
  .hm-collage{grid-template-columns:repeat(3,1fr);gap:8px}.hm-collage a:nth-child(n+4){display:none}.hm-collage a:nth-child(3n+2){margin-top:0}.hm-collage span{padding:7px 8px 9px;font-size:12px}
  .hm-trust-in{grid-template-columns:1fr 1fr;gap:12px;padding-block:14px}.hm-trust-i{gap:9px}.hm-trust-i .ic{width:38px;height:38px}.hm-trust-i b{font-size:13px}.hm-trust-i span{font-size:11.5px;display:block;line-height:1.3}
  .hm-sec{padding-block:26px 4px}.hm-sec h2,.cat-home-title{font-size:21px}
  .hm-deps{grid-template-columns:1fr 1fr;gap:10px}.hm-dep{min-height:130px;padding:14px;border-radius:14px}.hm-dep b{font-size:16px}.hm-dep span{font-size:12px}.hm-dep .li.big{width:90px;height:90px}
  .hm-sell{padding:22px 18px;border-radius:16px;margin-block:24px}.hm-sell h2{font-size:21px}.hm-sell button{width:100%}
  .hm-row .mini-card{flex-basis:158px}
  /* catalog */
  .catalog-section{padding-block:14px 30px}
  .cat-main .products-grid{gap:10px}
  .product-card .card-content{padding:9px 10px 11px;gap:3px}
  .product-card .card-title{font-size:13px}.card-brand{font-size:10.5px;letter-spacing:.06em}.card-seller{font-size:11px}
  .product-card .card-footer{flex-wrap:wrap;gap:8px}.card-prices{flex:1 0 100%}
  .price-current{font-size:17px}.price-original{font-size:12px}
  .card-btn-bag{flex:1 0 100%;padding:9px;font-size:13px;border-radius:9px}
  .card-condition-tag{font-size:10px;padding:3px 7px}.card-off{font-size:11px;padding:3px 6px}.card-wishlist-btn{width:32px;height:32px;top:8px;inset-inline-end:8px}
  .cat-bar{position:sticky;top:0;z-index:30;background:var(--bg);padding:8px 0;margin-inline:-14px;padding-inline:14px;border-bottom:1px solid var(--sand-border)}
  .cat-bar .section-count{font-size:13px}
  .cat-sort span{display:none}.cat-sort select{padding:8px 10px;font-size:14px!important}
  .cf-toggle{display:inline-flex;align-items:center;gap:6px;padding:8px 14px}
  /* filters → bottom sheet */
  .cat-filters{display:none}
  .cat-filters.open{display:block;position:fixed;left:0;right:0;bottom:0;top:auto;max-height:84vh;z-index:260;border-radius:22px 22px 0 0;border:0;padding:16px 18px 96px;box-shadow:0 -16px 50px rgba(0,0,0,.25);overflow:auto}
  .cat-filters.open::before{content:"";display:block;width:42px;height:4px;border-radius:2px;background:var(--sand-border-dark);margin:0 auto 10px}
  .cf-backdrop.show{display:block;position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:250}
  .cf-done.show{display:block;position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:270;border:0;background:var(--terracotta);color:#fff;font:800 16px var(--font-sans);padding:15px;border-radius:14px;box-shadow:0 10px 26px rgba(242,107,29,.4)}
  .cf-pager{gap:4px}.pg-b{min-width:36px;height:38px;padding:0 9px}
  /* product page */
  .pp{padding-block:10px 20px}.pp-seller{padding:12px}.pp-trust li{font-size:13px}
  .pp-bar{display:flex;position:fixed;left:0;right:0;bottom:calc(62px + env(safe-area-inset-bottom));z-index:85;background:#fff;border-top:1px solid var(--sand-border);padding:10px 14px;gap:12px;align-items:center;box-shadow:0 -6px 20px rgba(24,33,47,.08);transform:translateY(130%);transition:transform .25s}
  .pp-bar.show{transform:none}.pp-bar .pp-bar-p{font:800 20px var(--font-sans);flex:none}.pp-bar .pp-bar-p s{display:block;font:500 12px var(--font-sans);color:var(--text-light)}
  .pp-bar button{flex:1;border:0;background:var(--terracotta);color:#fff;font:800 15px var(--font-sans);padding:14px;border-radius:12px}
  .hm-row .mini-card{flex-basis:150px}
  /* checkout & order */
  .co,.od{padding-block:14px 30px}.co-card,.od-card{padding:16px;border-radius:14px}.co-sum{padding:16px}.co-place{padding:16px;font-size:17px}
  .co-opt{padding:12px}.od-thanks{flex-direction:column;text-align:center;padding:18px}.od-acts .btn-ghost,.od-acts button{flex:1 1 45%;text-align:center;justify-content:center}
  /* account & messages */
  .acct-root{gap:14px}.acct-nav{gap:8px;padding-bottom:4px;margin-inline:-14px;padding-inline:14px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.acct-nav::-webkit-scrollbar{display:none}
  .acct-nav a,.acct-nav button{flex:none;white-space:nowrap;border:1px solid var(--sand-border-dark)!important;border-radius:999px!important;background:#fff;padding:9px 16px!important;font-weight:700}
  .acct-nav a.on,.acct-nav button.on{background:var(--primary);color:#fff!important;border-color:var(--primary)!important}
  .acct-card{padding:16px;border-radius:14px}
  .msg-root{min-height:0;border-radius:14px;overflow:hidden}.msg-list{max-height:none}.msg-empty{height:auto;padding:34px 16px}.msg-pane{min-height:420px;max-height:70vh}
  /* modals & drawers */
  #listProductModal .modal-container,#authModal .modal-container{width:100%!important;max-width:none!important;height:100%;max-height:100%!important;border-radius:0!important;margin:0!important}
  .drawer-panel{width:100%!important;max-width:none!important}
  .footer-grid{grid-template-columns:1fr 1fr!important;gap:22px}.footer-grid>div:first-child{grid-column:1/-1}
  .footer-bottom{flex-direction:column;gap:6px;text-align:center}
  .newsletter-inner{flex-direction:column;align-items:stretch;gap:14px}.newsletter-form{width:100%}
  .err-page{padding-block:36px 40px}.err-code{font-size:84px}
  .hp,.legal,.cd,.ab-sec{padding-inline:2px}.ab-hero{padding-block:34px 28px}
}
@media(max-width:380px){.hm-hero h1{font-size:30px}.hm-trust-in{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.mini-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
.pp-related .mini-card{display:block;background:#fff;border:1px solid var(--sand-border);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--text);transition:transform .2s,box-shadow .2s}.pp-related .mini-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.pp-related .mini-img{aspect-ratio:1/1;background:#EEF2F7}.pp-related .mini-img img{width:100%;height:100%;object-fit:cover;display:block}.pp-related .mini-body{padding:10px 12px 12px}.pp-related .mini-title{font-weight:600;font-size:14px;margin:2px 0 6px}
@media(max-width:760px){.mini-grid{grid-template-columns:1fr 1fr;gap:10px}}
@media(max-width:760px){body.mega-open .catnav{z-index:400}body.mega-open .pnk-tabbar{z-index:20}}
/* desktop/tablet polish */
.pp-title{font-family:var(--font-sans)!important;font-weight:800!important;letter-spacing:-.02em}
.pp-stage{border-radius:16px;background:#EEF2F7}.pp-thumb{border-radius:10px;overflow:hidden;background:#EEF2F7}.pill{border-radius:8px}
@media(min-width:900px){.pp-info{position:sticky;top:118px}}
.header{transition:box-shadow .2s}.header.is-scrolled{box-shadow:0 6px 24px rgba(24,33,47,.08)}
.product-card{transition:transform .2s,box-shadow .2s,border-color .2s}.product-card:hover{border-color:var(--sand-border-dark)}
.hm-cat .ci{transition:transform .25s,background .2s,color .2s}
.cf-list a,.mega-links a,.footer-links a{transition:color .15s,background .15s}
@media(min-width:761px) and (max-width:1100px){
  .nav-container{flex-wrap:wrap}.search-wrapper{order:5;flex:1 1 100%}
  .hm-hero-in{grid-template-columns:1fr}.hm-collage{max-width:640px}
  .cat-layout{grid-template-columns:210px minmax(0,1fr);gap:18px}
  .hm-cats{grid-template-columns:repeat(5,1fr)}.hm-deps{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:380px){.hm-hero h1{font-size:27px;overflow-wrap:anywhere}.hm-eyebrow{font-size:11.5px}.hm-cta{flex-direction:column}.pnk-tabbar>*{font-size:10px}.hm-trust-in{grid-template-columns:1fr}.hm-deps{grid-template-columns:1fr}}
h1,h2,h3{overflow-wrap:anywhere}
/* categories button sits inside the row */
.catnav-in{align-items:center;min-height:50px}
.mega-all{height:36px!important;margin:0!important;padding:0 14px!important;border-radius:9px;align-self:center}
.catnav-links{align-self:stretch}
.bag-badge[hidden],.wishlist-badge[hidden]{display:none!important}
@media(max-width:760px){.catnav-in{min-height:46px}.mega-all{height:34px!important;padding:0 11px!important}}
@media(min-width:761px){.catnav-links{-webkit-mask-image:linear-gradient(to right,#000 94%,transparent);mask-image:linear-gradient(to right,#000 94%,transparent)}[dir=rtl] .catnav-links{-webkit-mask-image:linear-gradient(to left,#000 94%,transparent);mask-image:linear-gradient(to left,#000 94%,transparent)}.catnav-links>li:last-child{padding-inline-end:24px}}
@media(min-width:761px){.mega-panel::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}}
/* member home hero is light now: secondary button text must be dark */
.mh-hero .mh-actions{display:flex;gap:10px;flex-wrap:wrap}
.mh-hero .mh-actions .btn-ghost,.mh-hero .btn-ghost{color:var(--text)!important;background:#fff!important;border:1px solid var(--sand-border-dark)!important;border-radius:10px;padding:13px 22px;font-weight:700}
.mh-hero .mh-actions .btn-ghost:hover{border-color:var(--terracotta)!important;color:var(--terracotta)!important}
.mh-hero .mh-actions .btn-hero-primary{padding:13px 22px;border-radius:10px!important}

/* ===== design review polish ===== */
.card-condition-tag,.product-card .card-condition-tag{background:rgba(255,255,255,.94)!important;color:#1F2937!important;border:1px solid #E5E7EB;font-weight:700;backdrop-filter:none!important;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.hm-hero{background:radial-gradient(900px 380px at 85% 0%,#DCEBFF 0%,transparent 60%),radial-gradient(700px 360px at 0% 100%,#FFE7D1 0%,transparent 60%),linear-gradient(115deg,#FFF8F1,#F4F8FF)!important}
.hm-cta .p{background:var(--terracotta)!important;color:#fff!important;box-shadow:0 6px 16px rgba(255,106,0,.28)}
.hm-cta .p:hover{background:var(--terracotta-dark)!important;color:#fff!important}
.hm-cta .s{background:transparent!important;color:var(--text)!important;border:2px solid #1F2937!important}
.hm-cta .s:hover{background:#1F2937!important;color:#fff!important;border-color:#1F2937!important}
.hm-dep{background:color-mix(in srgb,var(--c) 55%,#fff)!important;border:1px solid rgba(15,23,42,.06)}
.hm-dep:nth-child(1){--c:#FFE3CC}.hm-dep:nth-child(2){--c:#D9EAFE}.hm-dep:nth-child(3){--c:#DDF3E4}.hm-dep:nth-child(4){--c:#EADFFB}
.search-wrapper{box-shadow:0 2px 10px rgba(15,23,42,.08)}
.search-wrapper .search-input{font-size:15px!important}
@media(min-width:901px){
  .utility-bar{background:#F8FAFC!important;font-size:12px}.utility-bar .container{min-height:30px!important;padding-block:0!important}
  .header{box-shadow:0 1px 0 #E5E7EB}
}
.catalog-side,.cat-sidebar,.filters{background:#fff;border:1px solid #EEF0F3;border-radius:14px;box-shadow:none}

/* ===== review round 2 ===== */
.type-chips a small{margin-inline-start:7px;font-size:11px;font-weight:600;color:#6B7280;background:#F1F5F9;border-radius:999px;padding:1px 7px}
.type-chips a.on small{background:rgba(255,255,255,.2);color:#fff}
.msg-solo{grid-template-columns:1fr!important}.msg-solo .msg-list{display:none}
.msg-zero{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:70px 20px;min-height:340px}
.msg-zero .li{width:46px;height:46px;background:#9CA3AF}.msg-zero h3{margin:6px 0 0;font-size:19px}.msg-zero p{margin:0 0 12px;color:#6B7280;max-width:360px}
.msg-zero .btn-hero-primary{text-decoration:none;display:inline-block;padding:11px 24px;border-radius:10px;font-weight:700}
.shipping-progress-bg{height:9px!important;background:#E5E7EB!important}
.shipping-progress-fill{background:linear-gradient(90deg,#FF8A3D,#FF6A00)!important;border-radius:999px;min-width:6px}
.util-link{color:inherit;text-decoration:none;cursor:pointer}.util-link:hover{text-decoration:underline;color:var(--terracotta)}
.newsletter-band{padding-block:34px!important}
.newsletter-title{font-family:var(--font-sans)!important;font-size:22px!important;font-weight:800!important}
.newsletter-inner{gap:24px!important}
.newsletter-form{max-width:440px;width:100%}
.footer .pnk-logo-img.pnk-logo-sm,.footer .pnk-logo-sm{height:38px!important}
.footer-grid{align-items:start}

/* ===== unified colours: orange = primary action, navy = structure (cart / all-categories / active state), outline = secondary ===== */
.btn-hero-primary,.btn-primary,.newsletter-band button,.newsletter-form button,#cfPrice,.msg-form button,.search-go,.hm-cta .p,.hm-search button{background:var(--terracotta)!important;color:#fff!important;border-color:transparent!important}
.btn-hero-primary:hover,.btn-primary:hover,.newsletter-band button:hover,#cfPrice:hover,.hm-cta .p:hover{background:var(--terracotta-dark)!important}
.newsletter-form input{border-color:#D1D5DB}

/* member orders table */
.mh-orders{gap:0!important;border:1px solid #E5E7EB;border-radius:14px;overflow:hidden;background:#fff}
.mh-order{border:0!important;border-bottom:1px solid #EEF0F3!important;border-radius:0!important;align-items:center;text-decoration:none;color:inherit;transition:background .15s}
.mh-order:last-child{border-bottom:0!important}
a.mh-order:hover{background:#FFF7F0}
.mh-order.mh-oh{background:#F8FAFC;font-size:12px;font-weight:700;color:#6B7280;text-transform:uppercase;letter-spacing:.05em;padding-block:10px}
.mh-order b{font-family:ui-monospace,Menlo,monospace;letter-spacing:.04em}
.st{font-style:normal;font-size:12px;font-weight:700;border-radius:999px;padding:3px 10px;background:#E5E7EB;color:#374151;white-space:nowrap}
.st-confirmed{background:#DBEAFE;color:#1E40AF}.st-processing{background:#FEF3C7;color:#92400E}.st-shipped{background:#E0E7FF;color:#3730A3}.st-delivered{background:#DCFCE7;color:#166534}.st-cancelled,.st-refunded{background:#FEE2E2;color:#991B1B}.st-awaiting-payment{background:#FFEDD5;color:#9A3412}
/* footer bottom row clear of scroll-to-top button */
.footer-bottom,.footer-legal{padding-inline:64px}
.footer{padding-bottom:20px}
.chip small.n{margin-inline-start:7px;font-size:11px;font-weight:600;color:#6B7280;background:#F1F5F9;border-radius:999px;padding:1px 7px}
.mh-hero{display:flex!important;flex-direction:column;align-items:flex-start;gap:12px}
.mh-hero .btn-hero-primary,.mh-hero a.btn-hero-secondary{align-self:flex-start}

/* header category dropdown */
.search-wrapper .cd-btn{border:0;border-inline-end:1px solid var(--sand-border);background:#F1F5F9;color:#334155;padding:0 30px 0 14px;font:600 13px var(--font-sans);max-width:160px;min-width:84px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;position:relative;text-align:start;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23475569' stroke-width='1.8'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center}
[dir=rtl] .search-wrapper .cd-btn{padding:0 14px 0 30px;background-position:left 11px center}
.search-wrapper .cd-list{position:absolute;top:calc(100% + 6px);inset-inline-start:0;width:240px;max-height:340px;overflow:auto;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #E5E7EB;border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.16);z-index:120}
.search-wrapper .cd-list[hidden]{display:none}
.search-wrapper .cd-list li{padding:9px 12px;border-radius:8px;font:500 14px var(--font-sans);color:#1F2937;cursor:pointer}
.search-wrapper .cd-list li:hover{background:#F3F4F6}.search-wrapper .cd-list li.on{background:#FFF1E5;color:#C2410C;font-weight:700}
.search-wrapper{overflow:visible!important}
.search-wrapper .search-input{border-radius:0!important}
@media(max-width:760px){.search-wrapper .cd-btn{display:none}}

/* ===== unified search bar (one component: single border, one background, same font/height in every part) ===== */
.search-wrapper,.hm-search{background:#fff!important;border:1.5px solid #CBD5E1!important;border-radius:12px!important;box-shadow:none!important;height:46px;display:flex;align-items:stretch;overflow:visible!important;transition:border-color .15s,box-shadow .15s}
.hm-search{height:56px;max-width:600px}
.search-wrapper:focus-within,.hm-search:focus-within{border-color:var(--terracotta)!important;box-shadow:0 0 0 3px rgba(255,106,0,.14)!important}
.search-wrapper .cd-btn,.search-wrapper .search-cat{background-color:transparent!important;border:0!important;border-inline-end:1px solid #E2E8F0!important;border-radius:0!important;color:#334155;font:500 14px var(--font-sans)!important;height:100%;margin:0}
.search-wrapper .search-input,.hm-search input{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;font:500 15px var(--font-sans)!important;color:#0F172A;padding:0 16px!important;height:100%;outline:0!important}
.hm-search input{font-size:16px!important;padding:0 20px!important}
.search-wrapper .search-go,.hm-search button{background:var(--terracotta)!important;color:#fff!important;border:0!important;margin:-1.5px;border-radius:0 10.5px 10.5px 0!important;padding:0 24px!important;height:calc(100% + 3px);font:700 14px var(--font-sans)!important;display:flex;align-items:center;justify-content:center;cursor:pointer}
[dir=rtl] .search-wrapper .search-go,[dir=rtl] .hm-search button{border-radius:10.5px 0 0 10.5px!important}
.search-wrapper .search-go:hover,.hm-search button:hover{background:var(--terracotta-dark)!important}
.search-wrapper .search-go svg{width:19px;height:19px}
input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;height:14px;width:14px;cursor:pointer;opacity:.5;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:760px){.search-wrapper{height:44px}.hm-search{height:50px}.hm-search button{padding:0 16px!important}}

/* languages: keep header buttons intact, readable Arabic font */
[data-act=sell],.nav-actions a,.nav-actions button{white-space:nowrap;flex-shrink:0}
[data-act=sell]{min-width:max-content;padding-inline:14px}
html[lang=ar] body,html[lang=ar] button,html[lang=ar] input,html[lang=ar] select{font-family:Tahoma,'Segoe UI','Noto Sans Arabic','Noto Naskh Arabic',Arial,sans-serif}
html[lang=ar] .hm-hero h1,html[lang=ar] h1,html[lang=ar] h2{font-family:Tahoma,'Segoe UI','Noto Sans Arabic',Arial,sans-serif;letter-spacing:0}
