/* =====================================================================
   M-TIER — стиль у дусі сучасного streetwear-магазину:
   чорні смуги зверху й унизу, світлий фон, великі фото, м'які форми
   ===================================================================== */
:root{
  --ink:#111; --bg:#f4f4f3; --bg2:#f5f0e8; --line:#dcdad6; --soft:#ececea; --muted:#6b6b69;
  --navy:#1a263d; --gold:#d3a45c; --danger:#c62828; --ok:#14833b;
  --r:10px; --wrap:1280px; --hdrh:62px; --safe-b:env(safe-area-inset-bottom,0px);
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);line-height:1.5;font-size:15px;-webkit-font-smoothing:antialiased}
body.lock{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
[hidden]{display:none!important}
h1,h2,h3,h4{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}
.wrap.narrow{max-width:880px}

/* ---------- верхня смуга ---------- */
.annc{background:#111;color:#fff;font-size:12px;text-align:center;padding:9px 14px;display:flex;flex-wrap:wrap;justify-content:center;gap:2px 10px;line-height:1.5}
.annc i{font-style:normal;opacity:.5}
@media(max-width:700px){.annc{font-size:11px}.annc>*:nth-child(n+4){display:none}}

/* ---------- шапка ---------- */
.hdr{position:sticky;top:0;z-index:30;background:#000;color:#fff;height:var(--hdrh);display:flex;align-items:center;gap:36px;padding:0 28px}
.hdr-logo{display:flex;align-items:center;flex:none}
.hdr-logo img{height:50px;width:auto}
.hdr-nav{display:flex;gap:28px;align-items:center;flex:1}
.hdr-nav>a,.dd-t{color:#fff;text-decoration:none;font-size:14px;font-weight:500;padding:6px 0;opacity:.92}
.hdr-nav>a:hover,.dd-t:hover{opacity:1;text-decoration:underline;text-underline-offset:6px}
.dd{position:relative}
.dd::after{content:"";position:absolute;left:0;right:0;top:100%;height:22px}
.dd-t i{font-style:normal;margin-left:3px;font-size:12px}
.dd-m{position:absolute;left:-14px;top:calc(100% + 16px);min-width:230px;background:#fff;color:#111;padding:8px;border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.28);opacity:0;visibility:hidden;transform:translateY(6px);transition:.15s;z-index:40}
.dd:hover .dd-m,.dd:focus-within .dd-m{opacity:1;visibility:visible;transform:none}
.dd-m a{display:block;color:#111;padding:10px 12px;border-radius:8px;font-size:14px;text-decoration:none}
.dd-m a:hover{background:var(--soft)}
.hdr-actions{display:flex;gap:2px;margin-left:auto}
.icon-btn{position:relative;width:44px;height:44px;border:0;background:none;color:inherit;display:grid;place-items:center;border-radius:50%;cursor:pointer;text-decoration:none}
.icon-btn:hover{background:rgba(255,255,255,.12)}
.badge{position:absolute;top:3px;right:1px;min-width:18px;height:18px;border-radius:9px;background:#fff;color:#000;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 5px}
.hdr-burger{display:none}
@media(max-width:899px){
  .hdr{display:grid;grid-template-columns:44px 1fr auto;gap:0;padding:0 8px}
  .hdr-burger{display:grid}
  .hdr-nav{display:none}
  .hdr-logo{justify-content:center}
  .hdr-logo img{height:44px}
}
.searchbar{position:sticky;top:var(--hdrh);z-index:29;background:#fff;border-bottom:1px solid var(--line);padding:12px 28px}
.searchbar form{max-width:var(--wrap);margin:0 auto;display:flex;gap:10px}
.searchbar input{flex:1;height:46px;border:1px solid #cfcfcd;border-radius:var(--r);padding:0 16px;font-size:16px;background:#fff}
.searchbar input:focus{outline:2px solid #111;outline-offset:-1px}
.searchbar .btn{min-height:46px}
@media(max-width:899px){.searchbar{padding:10px 12px}}

/* ---------- кнопки і посилання ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 26px;border-radius:var(--r);border:1px solid #111;font-weight:500;font-size:15px;text-decoration:none;cursor:pointer;background:none;color:#111;transition:background .15s,color .15s,filter .15s,transform .1s}
.btn:active{transform:scale(.985)}
.btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}
.btn-primary:hover{filter:brightness(1.15)}
.btn-white{background:#fff;border-color:#fff;color:#111}
.btn-white:hover{background:#eee}
.btn-outline:hover{background:#111;color:#fff}
.btn-ghost{background:#fff}
.btn-ghost:hover{background:#111;color:#fff}
.btn-block{display:flex;width:100%;margin-top:10px}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.link-arrow{color:#fff;text-decoration:underline;text-underline-offset:6px;font-size:15px}
.link-u{text-decoration:underline;text-underline-offset:5px;font-size:15px;white-space:nowrap}
.label{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--navy);margin:0 0 12px}
.label::before{content:"";display:inline-block;width:22px;height:3px;margin-right:9px;vertical-align:middle;background:var(--gold)}

/* ---------- головна: герой ---------- */
.hero{position:relative;color:#fff;min-height:clamp(540px,84vh,780px);display:flex;align-items:flex-end;background:#1a1a1a;overflow:hidden}
.hero-media{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr)}
.hero-media div{background-size:cover;background-position:center 15%;background-color:#2a2a2a}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.74),rgba(0,0,0,.3) 55%,rgba(0,0,0,.1)),linear-gradient(0deg,rgba(0,0,0,.5),transparent 45%)}
.hero-in{position:relative;z-index:2;width:100%;max-width:var(--wrap);margin:0 auto;padding:0 28px 68px}
.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;margin:0 0 16px}
.hero h1{font-size:clamp(44px,7vw,86px);line-height:.98;font-weight:500;letter-spacing:-.035em;margin:0 0 22px}
.hero-sub{max-width:46ch;font-size:17px;line-height:1.55;margin:0 0 28px;opacity:.93}
.hero-btns{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
@media(max-width:700px){.hero{min-height:560px}.hero-in{padding:0 18px 44px}.hero-media div:nth-child(3){display:none}.hero-media{grid-template-columns:repeat(2,1fr)}.hero-sub{font-size:16px}}

/* ---------- смуга вигоди ---------- */
.band{background:var(--bg2);padding:46px 0}
.band-in{max-width:var(--wrap);margin:0 auto;padding:0 28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:center}
.band h2{font-size:clamp(28px,3.4vw,42px);font-weight:500;letter-spacing:-.025em;line-height:1.08;color:#1c2b27;margin:0 0 14px}
.band-text p:not(.label){color:#4a4a47;margin:0;max-width:44ch;line-height:1.6}
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tier{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px 12px 20px;text-align:center}
.tier small{display:block;font-size:13px;color:#444;margin-bottom:6px;min-height:3em}
.tier b{font-size:clamp(26px,3vw,38px);font-weight:700;letter-spacing:-.02em;line-height:1.1;white-space:nowrap}
.tier em{font-style:normal;font-size:.5em;font-weight:600;margin-left:3px}
.tier.hi{background:#5e1f2a;border-color:#5e1f2a;color:#fff}
.tier.hi small{color:#f0d9dc}
.band-note{font-size:12.5px;color:#5a5a57;margin:12px 0 10px}
@media(max-width:899px){.band-in{grid-template-columns:1fr;gap:24px;padding:0 18px}}
@media(max-width:480px){.tier{padding:16px 6px}.tier small{font-size:11.5px}}

/* ---------- секції ---------- */
.block{padding-top:54px;padding-bottom:14px}
.block-alt{background:var(--bg2);padding:54px 0 40px;margin-top:34px}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:22px}
.sec-head h2{font-size:clamp(24px,2.8vw,34px);font-weight:500;letter-spacing:-.025em;line-height:1.15}
.sec-head.center{justify-content:center;text-align:center}
@media(max-width:700px){.wrap{padding-left:16px;padding-right:16px}.block{padding-top:38px;padding-bottom:8px}.block-alt{padding:38px 0 26px}}

/* ---------- картки товарів ---------- */
.pgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.card{display:block;text-decoration:none;color:inherit;min-width:0}
.card-img{position:relative;aspect-ratio:3/4;background:#e9e9e7;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover .card-img img{transform:scale(1.03)}
.card-tag{position:absolute;top:10px;left:10px;background:#fff;color:#111;font-size:11px;font-weight:600;padding:4px 9px;border-radius:999px}
.card-uni{position:absolute;top:10px;right:10px;background:#111;color:#fff;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:4px 9px;border-radius:999px}
.card-info{padding:13px 4px 28px}
.card h3{margin:0 0 6px;font-size:14px;font-weight:500;line-height:1.3;overflow-wrap:anywhere}
.rate{display:flex;gap:6px;align-items:center;font-size:13px;color:#555;margin-bottom:4px}
.stars{color:#111;letter-spacing:2px;white-space:nowrap}
.stars .off{color:#c9c9c6}
.price{font-size:15px;font-weight:500}
.price s{font-weight:400;color:var(--muted);font-size:13px;margin-left:8px}
.dots{display:flex;align-items:center;gap:5px;margin-top:9px;flex-wrap:wrap}
.dots i{width:12px;height:12px;border-radius:50%;background:var(--c);border:1px solid rgba(0,0,0,.2)}
.dots span{font-size:11.5px;color:var(--muted);margin-left:4px}
.dots i.out{opacity:.35}
.ph{width:100%;height:100%;display:grid;place-items:center;color:rgba(255,255,255,.9)}
.ph svg{width:62%;opacity:.9}
.ph.light{color:rgba(0,0,0,.6)}
@media(max-width:699px){.pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-info{padding:11px 2px 22px}}

/* ---------- плитки категорій ---------- */
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.tile{display:block;text-decoration:none;color:inherit}
.tile-img{aspect-ratio:4/5;overflow:hidden;background:#e6e6e4}
.tile-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.tile:hover .tile-img img{transform:scale(1.04)}
.tile span{display:block;padding:14px 2px 6px;font-size:18px}
@media(max-width:699px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tile span{font-size:16px}}

/* ---------- історії: фото + текст ---------- */
.story{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:var(--bg);margin-top:0}
.story-img{height:clamp(420px,46vw,680px);overflow:hidden;background:#ddd}
.story-img img{width:100%;height:100%;object-fit:cover}
.story-text{padding:56px clamp(28px,6vw,96px)}
.story-text h2{font-size:clamp(26px,3.2vw,40px);font-weight:500;letter-spacing:-.025em;line-height:1.1;margin:0 0 16px}
.story-text p:not(.label){color:#4a4a47;line-height:1.65;margin:0 0 24px;max-width:46ch}
.story-rev .story-img{order:2}
@media(max-width:799px){.story{grid-template-columns:1fr}.story-img{height:360px}.story-rev .story-img{order:0}.story-text{padding:34px 18px 40px}}

/* ---------- сторінки: каталог ---------- */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;color:#555;padding:22px 0 12px}
.crumbs a{text-decoration:underline;text-underline-offset:3px}
.crumbs i{font-style:normal;opacity:.5}
.h1{font-size:clamp(34px,5vw,60px);font-weight:500;letter-spacing:-.03em;line-height:1.05;margin:8px 0 24px}
.h2{font-size:clamp(22px,2.6vw,30px);font-weight:500;letter-spacing:-.02em;margin:38px 0 16px}
.lead{font-size:17px;color:#4a4a47;max-width:60ch;line-height:1.6;margin:0 0 28px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.cat-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid #cdcdca;border-radius:999px;background:#fff;color:#111;padding:9px 18px;font-size:13.5px;cursor:pointer;transition:.15s}
.cat-btn em{font-style:normal;font-size:11.5px;opacity:.55}
.cat-btn:hover{border-color:#111}
.cat-btn[aria-pressed="true"]{background:#111;color:#fff;border-color:#111}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0 16px;font-size:14px}
.toolbar label{display:inline-flex;align-items:center;gap:10px;color:#333}
.toolbar select{border:1px solid #cdcdca;border-radius:8px;background:#fff;padding:9px 12px;font-size:14px;cursor:pointer}
.sorting{display:flex;align-items:center;gap:18px}
.shop-count{color:var(--muted);font-size:13.5px}
.q-note{font-size:14px;margin:0 0 14px;color:#333}
.q-note a{text-decoration:underline;margin-left:8px}
#catalog .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1600px){#catalog .pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:699px){#catalog .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{margin:18px 0 12px}}
.cat-empty{text-align:center;color:var(--muted);padding:60px 0}

/* ---------- сторінки: текст ---------- */
.prose p{color:#3d3d3a;line-height:1.7;margin:0 0 18px;font-size:16.5px}
.prose h3{font-size:20px;font-weight:600;margin:30px 0 12px}
.prose ul{padding-left:20px;margin:0 0 20px;line-height:1.8;color:#3d3d3a}
.prose a{text-decoration:underline}
.steps{list-style:none;padding:0;margin:0 0 10px;display:grid;gap:10px}
.steps li{display:flex;gap:14px;align-items:center;padding:16px;background:#fff;border:1px solid var(--line);border-radius:var(--r)}
.steps li b{flex:none;width:34px;height:34px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;font-size:14px}
.faq{margin-bottom:30px}
.faq details{border-bottom:1px solid var(--line);padding:16px 0}
.faq summary{font-weight:500;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;font-size:16px}
.faq summary::after{content:"+";font-size:22px;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq summary::-webkit-details-marker{display:none}
.faq p{margin:12px 0 0;color:#4a4a47;line-height:1.65}

/* ---------- відгуки ---------- */
.rv-teaser{padding-bottom:70px}
.rv-summary{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:6px 0 4px}
.stars.big{font-size:26px;letter-spacing:4px}
.rv-score{font-size:15px}
.rv-score b{font-weight:600}
.rv-bars{display:grid;gap:6px;width:min(420px,100%);margin:12px auto 6px}
.rv-bar{display:grid;grid-template-columns:70px 1fr 30px;align-items:center;gap:10px;font-size:13px}
.rv-bar .track{height:10px;background:#e7e7e4;border-radius:5px;overflow:hidden}
.rv-bar .track i{display:block;height:100%;background:#111}
.rv-empty{text-align:center;padding:10px 0 4px}
.rv-empty p{margin:6px 0 20px;color:#4a4a47;font-size:16px}
.rv-empty .stars{font-size:28px;letter-spacing:6px;color:#cfcfcb}
.rv-actions{display:flex;justify-content:center;margin:20px 0 6px}
.rv-tools{display:flex;justify-content:space-between;align-items:center;margin:26px 0 6px;font-size:14px;border-top:1px solid var(--line);padding-top:18px}
.rv-tools select{border:1px solid #cdcdca;border-radius:8px;background:#fff;padding:8px 12px}
.rv-list .rv{border-top:1px solid var(--line);padding:22px 0}
.rv-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:6px}
.rv-name{font-weight:600;color:#111}
.rv-ver{color:var(--ok);font-weight:600;font-size:12px;margin-left:6px}
.rv-item-title{font-weight:600;margin:4px 0 4px}
.rv-text{margin:0;color:#3d3d3a;line-height:1.65;white-space:pre-line}
.rv-about{font-size:13px;margin-bottom:6px}
.rv-about a{text-decoration:underline}
.pdp-reviews{margin-top:72px;border-top:1px solid var(--line);padding-top:48px}
.pdp-reviews .sec-head{justify-content:center}
.rv-pick{display:flex;gap:4px;margin:6px 0 4px}
.rv-pick button{border:0;background:none;font-size:36px;line-height:1;color:#cfcfcb;cursor:pointer;padding:2px 4px}
.rv-pick button.on{color:#111}
form textarea,form select{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #cdcdca;border-radius:8px;font-size:16px;background:#fff}
form textarea{resize:vertical;min-height:110px}
.hp{position:absolute!important;left:-9999px;width:1px!important;height:1px!important;opacity:0;pointer-events:none}

/* ---------- сторінка товару ---------- */
.pp{padding-bottom:80px}
.pdp{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:56px;align-items:start}
.pdp-left .gallery{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.pdp-left .gallery>*{aspect-ratio:3/4;background:#e9e9e7;overflow:hidden}
.pdp-left .gallery>*:first-child,.pdp-left .gallery>*:last-child:nth-child(even){grid-column:1/-1}
.gallery img{width:100%;height:100%;object-fit:cover}
.gal{position:relative}
.gal-btn,.gal-count{display:none}
.mega-btn{display:none}
.illus{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 0}
.pdp-right{position:sticky;top:calc(var(--hdrh) + 22px)}
.uni-pill{display:inline-block;background:#111;color:#fff;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:999px;margin:0 0 10px}
.pdp-title{font-size:clamp(26px,3vw,40px);font-weight:500;letter-spacing:-.025em;line-height:1.1;margin:0 0 14px}
.pdp-rate{display:flex;align-items:center;gap:8px;font-size:14px;margin:-4px 0 12px;color:#555}
.pdp-rate a{text-decoration:underline}
.pdp-price{font-size:24px;font-weight:500;margin:0 0 4px}
.pdp-price s{font-size:16px;color:var(--muted);font-weight:400;margin-left:10px}
.pdp-price .off{font-size:12px;font-weight:600;background:#111;color:#fff;border-radius:999px;padding:3px 9px;margin-left:10px;vertical-align:middle}
.pdp-note{font-size:12.5px;color:var(--muted);margin:0 0 20px}
.label2{font-size:14px;margin:20px 0 10px;color:#333}
.label2 b{font-weight:600}
.label2 .oos-note{color:var(--danger);font-style:normal}
.swatches{display:flex;gap:8px;flex-wrap:wrap}
.swp{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #cdcdca;border-radius:8px;background:#fff;font-size:14px;cursor:pointer}
.swp i{width:16px;height:16px;border-radius:50%;background:var(--c);border:1px solid rgba(0,0,0,.22);flex:none}
.swp:hover{border-color:#111}
.swp[aria-pressed="true"]{border-color:#111;box-shadow:inset 0 0 0 1px #111}
.swp.out{opacity:.5}
.sizes{display:flex;flex-wrap:wrap;gap:8px}
.size{min-width:50px;height:46px;border:1px solid #cdcdca;border-radius:8px;background:#fff;font-weight:500;cursor:pointer;padding:0 14px;font-size:14px}
.size:hover{border-color:#111}
.size[aria-pressed="true"]{background:#111;color:#fff;border-color:#111}
.size.shake{animation:shake .3s;border-color:var(--danger)}
.size.out{position:relative;color:#b3b3ad;background:var(--soft);cursor:not-allowed;text-decoration:line-through}
@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.tierbox{background:#f6f0e6;border:1px solid #ebe1cf;border-radius:8px;padding:12px 14px;font-size:13px;margin:20px 0 0;line-height:1.5}
.tierbox b{color:var(--navy);letter-spacing:.04em}
.pdp-actions{margin-top:18px}
.pdp-actions .btn-primary{width:100%;min-height:54px;font-size:16px}
.pdp-actions .btn-ghost{width:100%;min-height:50px;margin-top:10px}
.dlv{font-size:13.5px;line-height:1.75;margin:18px 0 6px;color:#333}
.dlv b{font-weight:600}
.dlv a{text-decoration:underline}
.acc{border-top:1px solid var(--line)}
.acc:last-of-type{border-bottom:1px solid var(--line)}
.acc summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:15px;font-weight:500}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"⌄";font-size:16px;transition:transform .2s}
.acc[open] summary::after{transform:rotate(180deg)}
.acc-body{padding:0 0 18px;color:#3d3d3a;line-height:1.65;font-size:14.5px;white-space:pre-line}
.pdp-accs{margin-top:22px}
.low-box{background:#fdecec;color:var(--danger);border-radius:8px;padding:9px 12px;font-size:13px;font-weight:600;margin:14px 0 0}
@media(max-width:899px){
  .pp{padding-bottom:60px}
  .pdp{display:block}
  .pdp-left .gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:3px;margin:0 -16px;scrollbar-width:none}
  .pdp-left .gallery::-webkit-scrollbar{display:none}
  .pdp-left .gallery>*{flex:0 0 100%;scroll-snap-align:center}
  .pdp-left .gallery>*:first-child{grid-column:auto}
  .gal-btn,.gal-count{display:grid}
  .gal-btn{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.92);box-shadow:0 2px 10px rgba(0,0,0,.25);font-size:26px;line-height:1;padding:0 0 3px;cursor:pointer;place-items:center;z-index:2}
  .gal-btn.prev{left:-6px}.gal-btn.next{right:-6px}
  .gal-count{position:absolute;right:-6px;bottom:10px;background:rgba(0,0,0,.65);color:#fff;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;z-index:2}
  .mega-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;height:44px;border:1px solid #cdcdca;border-radius:8px;background:#fff;font-weight:500;font-size:14px;cursor:pointer}
  .pdp-right{position:static;margin-top:22px}
}

/* ---------- таблиця розмірів + калькулятор ---------- */
.calc{margin-top:18px}
.calc-toggle{width:100%;height:50px;border:1px solid #cdcdca;border-radius:8px;background:#fff;font-weight:500;font-size:14.5px;cursor:pointer;text-align:left;padding:0 16px}
.calc-toggle:hover{border-color:#111}
.calc-body{margin-top:10px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:8px}
.calc-body p{margin:0 0 10px;font-size:13px;color:var(--muted)}
.calc-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.calc-row.n1{grid-template-columns:1fr}
.calc-row.n3{grid-template-columns:1fr 1fr 1fr;gap:8px}
.calc-row label{font-size:12px;font-weight:500;display:flex;flex-direction:column;justify-content:space-between;line-height:1.25;margin:0}
.calc-row input{display:block;width:100%;height:46px;margin-top:6px;padding:0 10px;border:1px solid #cdcdca;border-radius:8px;font-size:16px;background:#fff}
.calc-row input:focus{outline:2px solid #111;outline-offset:-1px}
.calc-res{margin-top:14px;text-align:center;font-size:14px}
.calc-res b{display:block;font-size:30px;margin:2px 0 10px;letter-spacing:-.5px}
.calc-res .btn{width:100%;min-height:46px}
.calc-warn{margin:0 0 10px;color:var(--danger);font-size:13px;font-weight:600}
.calc-info{margin:-2px 0 12px;font-size:13px;color:var(--muted);line-height:1.6}
.calc-res .calc-info b{display:inline;font-size:inherit;margin:0;letter-spacing:0;color:#111}
.calc-sizes{margin-top:16px;padding-top:12px;border-top:1px solid var(--line);font-size:13px}
.calc-sizes-title{font-weight:600;margin-bottom:8px}
.calc-size-row{display:flex;gap:10px;padding:6px 0;line-height:1.4;color:var(--muted)}
.calc-size-row b{flex:none;min-width:34px;color:#111}

/* ---------- підвал ---------- */
.footer{background:#000;color:#fff;margin-top:70px;padding-bottom:calc(0px + var(--safe-b))}
.foot-in{max-width:var(--wrap);margin:0 auto;padding:60px 28px 26px}
.foot-cols{display:grid;grid-template-columns:1fr 1fr 1.25fr .9fr;gap:36px}
.foot-cols h4{font-size:14px;font-weight:600;margin:0 0 16px}
.foot-cols a{display:block;color:#fff;text-decoration:none;font-size:14px;padding:6px 0;opacity:.88}
.foot-cols a:hover{opacity:1;text-decoration:underline}
.foot-blurb p{font-size:16px;line-height:1.55;margin:0;max-width:32ch;opacity:.95}
.foot-logo img{display:block;width:min(100%,170px);height:auto;margin-left:auto}
.foot-news{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:46px;padding-top:30px;border-top:1px solid #2a2a2a;flex-wrap:wrap}
.foot-news h4{font-size:18px;font-weight:500;margin:0 0 6px}
.foot-news p{margin:0;color:#b5b5b2;font-size:14px}
.foot-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:34px;padding-top:20px;border-top:1px solid #2a2a2a;font-size:12px;color:#aaa;flex-wrap:wrap}
@media(max-width:899px){.foot-cols{grid-template-columns:1fr 1fr;gap:26px}.foot-logo{grid-column:1/-1;order:-1}.foot-logo img{margin:0;width:120px}.foot-blurb{grid-column:1/-1}.foot-in{padding:44px 18px 26px}}
@media(max-width:699px){.footer{padding-bottom:calc(74px + var(--safe-b))}}

/* ---------- нижня смуга кошика (телефон) ---------- */
.sticky-cart{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px 16px calc(10px + var(--safe-b));background:linear-gradient(transparent,rgba(244,244,243,.96) 35%)}
.sticky-cart .btn{margin:0;box-shadow:0 8px 24px rgba(0,0,0,.25);justify-content:space-between}
@media(min-width:900px){.sticky-cart{display:none!important}}

/* ---------- шторки: кошик і вікно відгуку ---------- */
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:40;animation:fade .2s}
.sheet{position:fixed;z-index:50;background:#fff;overflow-y:auto;overscroll-behavior:contain;padding-bottom:var(--safe-b)}
.drawer{top:0;right:0;bottom:0;width:min(480px,100vw);animation:slideL .25s ease-out}
.modal{left:50%;top:50%;transform:translate(-50%,-50%);width:min(540px,94vw);max-height:90dvh;border-radius:14px;animation:pop .2s ease-out}
.sheet-close{position:sticky;top:10px;float:right;margin:10px 10px 0 0;width:40px;height:40px;border-radius:50%;border:0;background:#f1f1ef;z-index:2;font-size:16px;cursor:pointer}
.sheet-body{padding:0 22px 28px}
.sheet h3{margin:22px 0 14px;font-size:22px;font-weight:600;letter-spacing:-.01em}
@keyframes slideL{from{transform:translateX(100%)}}
@keyframes pop{from{opacity:0;transform:translate(-50%,-48%)}}
@keyframes fade{from{opacity:0}}

.cart-item{display:grid;grid-template-columns:76px 1fr auto;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center}
.cart-thumb{width:76px;aspect-ratio:3/4;overflow:hidden;background:var(--soft);border-radius:4px}
.cart-thumb img{width:100%;height:100%;object-fit:cover}
.cart-info b{display:block;font-size:14px;font-weight:500;line-height:1.3}
.cart-info span{font-size:12.5px;color:var(--muted)}
.cart-info>span{display:block;margin-top:3px}
.cart-info .cart-price{color:var(--ink);font-weight:600;font-size:13.5px}
.qty{display:inline-flex;align-items:center;border:1px solid #cdcdca;border-radius:8px;margin-top:12px}
.qty button{width:36px;height:36px;border:0;background:none;font-size:18px;cursor:pointer}
.qty span{min-width:24px;text-align:center;font-weight:600;color:#111;font-size:14px}
.rm{border:0;background:none;color:var(--muted);font-size:13px;cursor:pointer;padding:8px;text-decoration:underline}
.empty{text-align:center;color:var(--muted);padding:40px 0}
.free-ship{font-size:13px;margin-bottom:6px;color:var(--muted)}
.bar{height:6px;border-radius:3px;background:var(--soft);margin-top:6px;overflow:hidden}
.bar i{display:block;height:100%;background:#111;transition:width .3s}
.total-row{display:flex;justify-content:space-between;font-size:18px;padding:16px 0 4px}
.disc-lines{font-size:13px;color:var(--muted);margin:6px 0}
.disc-lines div{margin:2px 0}
.pre-hint{font-size:12px;background:#fff3e3;color:#8a4a00;border-radius:8px;padding:8px 10px;margin:4px 0 0}

form label{display:block;font-size:13px;font-weight:500;margin-top:14px}
form input:not([type=radio]):not([type=checkbox]):not([type=search]){display:block;width:100%;height:50px;margin-top:6px;padding:0 14px;border:1px solid #cdcdca;border-radius:8px;font-size:16px;background:#fff}
form input:focus,form textarea:focus,form select:focus{outline:2px solid #111;outline-offset:-1px}
form input.bad{border-color:var(--danger)}
form input:disabled{background:var(--soft);cursor:not-allowed}
.form-error{color:var(--danger);font-size:13px;margin:12px 0 0}
.hint{font-size:12px;color:var(--muted);text-align:center;margin:12px 0 0}
.req{color:var(--danger);font-style:normal;font-weight:700}
.req-note{margin:12px 0 0;font-size:12px;color:var(--muted)}
.lbl-note{display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:1px}
.combo{position:relative}
.combo-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:20;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid #111;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.18);max-height:220px;overflow-y:auto;overscroll-behavior:contain}
.combo-list li{padding:11px 10px;border-radius:6px;font-size:14px;line-height:1.3;cursor:pointer}
.combo-list li:hover{background:var(--soft)}
.combo-list li.msg{color:var(--muted);cursor:default}
.pay-box{display:flex;flex-direction:column;gap:2px;background:var(--soft);border-radius:10px;padding:14px;margin-top:16px;font-size:13px;color:var(--muted)}
.pay-box b{color:#111;font-size:14px;margin-bottom:4px}
form label.pay-opt{display:flex;align-items:center;gap:10px;margin-top:8px;padding:12px;background:#fff;border:1px solid #cdcdca;border-radius:8px;font-weight:500;font-size:14px;color:#111;cursor:pointer}
form .pay-opt input{width:20px;height:20px;margin:0;padding:0;flex:none;accent-color:#111}
form .pay-opt:has(input:checked){border-color:#111}
.pay-opt[hidden]{display:none}
#payNote{display:block;margin-top:10px;font-size:12.5px;line-height:1.5}
#payBox input[name=paymode]{display:none}
#payBox .pay-opt{border-color:#111;cursor:default}
.contact-box #fHandle,.contact-box #fEmail{margin-top:10px;width:100%}
form .check{display:flex;align-items:flex-start;gap:12px;margin-top:16px;padding:12px 14px;background:var(--soft);border-radius:10px;font-weight:500;font-size:14px;line-height:1.35;cursor:pointer}
form .check input{width:22px;height:22px;margin:0;padding:0;flex:none;accent-color:#111}
.or{display:flex;align-items:center;gap:8px;margin:12px 0 8px;color:var(--muted);font-size:11px}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.split.n3{grid-template-columns:repeat(3,1fr);gap:6px}
.split .btn{width:100%;margin:0;padding:0 10px;min-height:46px;font-size:14px;gap:8px}
.sheet-body.is-done > :not(#done):not(.sheet-close){display:none!important}
.done{text-align:center;padding:34px 4px 8px}
.done-ok{width:64px;height:64px;border-radius:50%;background:#111;color:#fff;font-size:32px;display:grid;place-items:center;margin:0 auto 16px}
.done h4{margin:0 0 10px;font-size:20px;line-height:1.25}
.done p{margin:0 0 10px;color:var(--muted);font-size:14px}
.done .done-note{font-size:12px;margin-bottom:12px}
#doneId{white-space:nowrap}

/* ---------- бокове меню (телефон), мегаперегляд, toast ---------- */
.menu-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:85;animation:fade .2s}
.menu{position:fixed;top:0;left:0;bottom:0;width:86%;max-width:360px;background:#fff;z-index:90;padding:64px 24px 24px;overflow-y:auto;animation:slideR .25s ease-out}
.menu a{display:block;padding:15px 0;font-size:17px;font-weight:500;text-decoration:none;border-bottom:1px solid var(--line)}
.menu a.sub{padding:11px 0 11px 16px;font-size:15px;font-weight:400;color:#444}
.menu-sep{height:24px}
.menu-close{position:absolute;top:10px;right:12px;width:44px;height:44px;border:0;background:none;font-size:18px;cursor:pointer}
@keyframes slideR{from{transform:translateX(-100%)}}
.mega{position:fixed;inset:0;z-index:80;background:#fff;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:var(--safe-b)}
.mega-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 16px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);font-weight:600;font-size:14px}
.mega-top button{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:var(--soft);font-size:16px;cursor:pointer}
.mega-img{width:100%;max-width:760px;margin:0 auto}
.mega-img img{width:100%;height:auto;display:block}
.mega .illus{padding:10px 16px}
.toast{position:fixed;left:50%;bottom:calc(90px + var(--safe-b));transform:translate(-50%,20px);background:#111;color:#fff;padding:12px 18px;border-radius:999px;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:100;white-space:nowrap}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:900px){.toast{bottom:30px}}

/* банер категорії (фото тканини з назвою) */
.cat-banner{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(220px,28vw,360px);padding:28px clamp(18px,3vw,40px);margin:4px 0 22px;color:#fff;background-size:cover;background-position:center;overflow:hidden}
.cat-banner::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.62),rgba(0,0,0,.18) 70%)}
.cat-banner>*{position:relative}
.cat-banner .h1{margin:0}
.cb-desc{margin:10px 0 0;max-width:52ch;font-size:16px;line-height:1.5;opacity:.95}
.cat-banner.plain{min-height:0;padding:0;color:inherit;background:none!important;overflow:visible}
.cat-banner.plain::before{display:none}
.band-cards .tiers+a{display:inline-block;margin-top:16px}
.ship-note{margin:12px 0;padding:12px 14px;border:1px solid #ecd9a8;border-radius:8px;background:#fdf6e3;font-size:13.5px;line-height:1.5}
