/* /magazin/ - ITS shop. Built by tools/shop_1c.py; uses the store tokens (.its-store). */
.its-shop svg,.its-cart-bar svg,.its-cart-drawer svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.its-shop-hero{max-width:900px;margin:0 0 22px}
.its-shop-trust{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;padding:0;margin:16px 0 0}
.its-shop-trust li{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--st-text)}
.its-shop-trust svg{color:var(--st-yellow)}
.its-shop .its-shop-tools{grid-template-columns:1fr;margin-bottom:10px}
.its-shop-chips{position:sticky;top:88px;z-index:5;padding:8px 0;background:linear-gradient(180deg,rgba(5,8,13,.96),rgba(5,8,13,.85));backdrop-filter:blur(8px)}
html[data-theme="light"] .its-shop-chips{background:linear-gradient(180deg,rgba(247,244,236,.97),rgba(247,244,236,.88))}
.its-shop-section{margin-top:28px;scroll-margin-top:150px}
.its-shop-section h2{font:800 clamp(22px,2.4vw,30px)/1.15 Inter,Arial,sans-serif;letter-spacing:-.03em;margin:0 0 14px;color:var(--st-text)}
.its-shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.its-shop-card{position:relative;display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:20px;border:1px solid var(--st-line);background:var(--st-card);transition:border-color .2s,box-shadow .2s}
.its-shop-card:hover{border-color:rgba(246,201,69,.45)}
.its-shop-card.is-in-cart{border-color:rgba(53,208,127,.6);box-shadow:0 0 0 1px rgba(53,208,127,.35) inset}
.its-shop-card[hidden]{display:none}
.its-shop-badge{align-self:flex-start;font-size:11.5px;font-weight:800;letter-spacing:.02em;padding:4px 10px;border-radius:999px;background:linear-gradient(135deg,#ffe08a,#f2b92c);color:#1a1405}
.its-shop-card h3{font:800 17.5px/1.28 Inter,Arial,sans-serif;margin:0;color:var(--st-text)}
.its-shop-card>p{margin:0;color:var(--st-muted);font-size:14px;line-height:1.55}
.its-shop-inc{list-style:none;margin:0;padding:0;display:grid;gap:6px;flex:1}
.its-shop-inc li{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;line-height:1.4;color:var(--st-text)}
.its-shop-inc svg{color:#35d07f;width:16px;height:16px;margin-top:1px}
.its-shop-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:4px;padding-top:12px;border-top:1px solid var(--st-line)}
.its-shop-price s{color:var(--st-muted);font-size:14px}
.its-shop-price__val{font:800 26px/1.05 Inter,Arial,sans-serif;color:var(--st-text);letter-spacing:-.02em}
.its-shop-price__val--ask{font-size:18px;color:var(--st-yellow)}
.its-shop-price small{color:var(--st-muted);font-size:13px;width:100%}
.its-shop-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.its-shop .its-shop-btn,.its-cart-drawer .its-shop-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:12px;border:0;
 font:800 14px Inter,Arial,sans-serif;text-decoration:none;cursor:pointer}
.its-shop .its-shop-btn--add{flex:1;background:linear-gradient(135deg,#ffe08a,#f2b92c);color:#1a1405}
.its-shop-card.is-in-cart .its-shop-btn--add{background:rgba(53,208,127,.16);color:#35d07f;border:1px solid rgba(53,208,127,.5)}
.its-shop .its-shop-btn--pay{flex:1;background:var(--st-chip);color:var(--st-text);border:1px solid var(--st-line)}
.its-shop .its-shop-btn--pay:hover{border-color:var(--st-yellow)}
.its-shop-qty{display:inline-flex;align-items:center;border:1px solid var(--st-line);border-radius:12px;overflow:hidden;min-height:44px}
.its-shop-qty button{width:36px;height:44px;border:0;background:var(--st-chip);color:var(--st-text);font-size:18px;cursor:pointer}
.its-shop-qty span{min-width:30px;text-align:center;font-weight:800;color:var(--st-text)}
.its-shop-more{font-size:13.5px;color:var(--st-yellow);text-decoration:none;font-weight:600}
.its-shop-more:hover{text-decoration:underline}
.its-shop-faq{margin-top:4px}
.its-cart-bar{position:fixed;right:20px;bottom:20px;z-index:70}
.its-cart-bar[hidden]{display:none}
.its-cart-bar button{display:flex;align-items:center;gap:12px;padding:12px 14px 12px 18px;border-radius:16px;border:1px solid rgba(53,208,127,.5);
 background:#141d26;color:#f4f1e8;font:600 14px Inter,Arial,sans-serif;cursor:pointer;box-shadow:0 18px 40px rgba(0,0,0,.45)}
.its-cart-bar strong{font-size:16px}
.its-cart-bar em{font-style:normal;background:#25d366;color:#06280f;font-weight:800;border-radius:10px;padding:8px 12px}
.its-cart-drawer{position:fixed;inset:0;z-index:90}
.its-cart-drawer[hidden]{display:none}
.its-cart-drawer__shade{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.its-cart-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(440px,100%);background:#0b1522;color:#f4f1e8;padding:20px;display:flex;flex-direction:column;gap:14px;
 overflow-y:auto;box-shadow:-20px 0 60px rgba(0,0,0,.5);font-family:Inter,Arial,sans-serif}
.its-cart-drawer__head{display:flex;justify-content:space-between;align-items:center}
.its-cart-drawer__head h2{margin:0;font:800 22px Inter,Arial,sans-serif}
.its-cart-drawer__head button{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center}
.its-cart-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.its-cart-list li{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.its-cart-list li.is-empty{display:block;color:#9fb0c2;text-align:center}
.its-cart-list b{display:block;font-size:14px;line-height:1.3}
.its-cart-list span{color:#9fb0c2;font-size:12.5px}
.its-cart-list strong{font-size:14px;white-space:nowrap}
.its-cart-list button{width:30px;height:30px;border-radius:8px;border:0;background:rgba(255,255,255,.08);color:#f4f1e8;font-size:18px;cursor:pointer}
.its-cart-sum{display:flex;justify-content:space-between;align-items:baseline;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}
.its-cart-sum b{font-size:20px;text-align:right}
.its-cart-drawer .its-shop-btn--wa{background:#25d366;color:#06280f;min-height:52px;font-size:16px}
.its-cart-note{margin:0;color:#9fb0c2;font-size:13px;line-height:1.5}
.its-cart-clear{align-self:center;border:0;background:none;color:#9fb0c2;text-decoration:underline;cursor:pointer;font:500 13px Inter,Arial,sans-serif}
body.its-cart-open{overflow:hidden}
html[data-theme="light"] .its-cart-bar button,html[data-theme="light"] .its-cart-drawer__panel{background:#fff;color:#13202e}
html[data-theme="light"] .its-cart-list li{background:rgba(15,25,40,.03);border-color:rgba(15,25,40,.1)}
html[data-theme="light"] .its-cart-list button{background:rgba(15,25,40,.06);color:#13202e}
@media (max-width:767px){
 .its-shop-chips{top:76px}
 .its-cart-bar{left:12px;right:12px;bottom:92px}
 .its-cart-bar button{width:100%;justify-content:space-between}
 .its-cart-drawer__panel{top:auto;max-height:86vh;width:100%;border-radius:22px 22px 0 0}
 .its-shop-grid{grid-template-columns:1fr}
}

/* 2026-11-21: «Подбор за 30 секунд» on /magazin/. */
.its-wiz{margin:6px 0 26px;padding:clamp(18px,3vw,28px);border-radius:22px;border:1px solid rgba(246,201,69,.4);
 background:radial-gradient(100% 120% at 0% 0%,rgba(246,201,69,.14),transparent 60%),var(--st-card);scroll-margin-top:110px}
.its-wiz__head h2{font:800 clamp(21px,2.4vw,28px)/1.15 Inter,Arial,sans-serif;letter-spacing:-.03em;margin:0 0 6px;color:var(--st-text)}
.its-wiz__head p{margin:0 0 16px;color:var(--st-muted);font-size:14.5px;line-height:1.55}
.its-wiz__steps{display:grid;gap:16px}
.its-wiz__step>b{display:flex;align-items:center;gap:10px;font-size:15px;margin-bottom:10px;color:var(--st-text)}
.its-wiz__step>b i{font-style:normal;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--st-yellow);color:#14181f;font-size:13px;flex:0 0 auto}
.its-wiz__step small{color:var(--st-muted);font-weight:500;font-size:12.5px}
.its-wiz__step output{color:var(--st-yellow);font-weight:800}
.its-wiz__opts{display:flex;flex-wrap:wrap;gap:8px}
.its-wiz__opts button{border:1px solid var(--st-line);background:var(--st-chip);color:var(--st-text);border-radius:12px;padding:10px 14px;
 font:600 14px Inter,Arial,sans-serif;cursor:pointer;transition:border-color .2s,background .2s}
.its-wiz__opts button:hover{border-color:rgba(246,201,69,.55)}
.its-wiz__opts button[aria-pressed="true"]{background:var(--st-yellow);border-color:var(--st-yellow);color:#14181f}
.its-wiz input[type=range]{width:min(100%,420px);accent-color:#f2b92c}
.its-wiz__hint{margin:16px 0 0;color:var(--st-muted);font-size:13.5px}
.its-wiz__hint[hidden],.its-wiz__result[hidden]{display:none}
.its-wiz__result{margin-top:18px;padding-top:16px;border-top:1px solid var(--st-line);display:grid;gap:12px}
.its-wiz__result h3{margin:0;font:800 18px Inter,Arial,sans-serif;color:var(--st-text)}
.its-wiz .its-cart-list li{grid-template-columns:1fr auto;background:var(--st-chip);border-color:var(--st-line)}
.its-wiz .its-cart-list b{color:var(--st-text)}
.its-wiz .its-cart-list span{color:var(--st-muted)}
.its-wiz .its-cart-list strong{color:var(--st-text)}
.its-wiz__sum{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px;color:var(--st-muted)}
.its-wiz__sum b{font-size:19px;color:var(--st-text);text-align:right}
.its-wiz__actions{display:flex;flex-wrap:wrap;gap:10px}
.its-wiz__actions .its-shop-btn{flex:1 1 220px}
.its-shop .its-wiz .its-shop-btn--wa{background:#25d366;color:#06280f}
.its-wiz__note{margin:0;color:var(--st-muted);font-size:12.5px}
.its-cart-bar strong{white-space:normal;text-align:left;font-size:14px;max-width:46vw}
@media (max-width:767px){.its-wiz__opts button{flex:1 1 calc(50% - 8px);padding:10px 8px;font-size:13.5px}.its-cart-bar strong{max-width:none}}
.its-shop-wizlink{display:inline-block;margin-top:14px;color:var(--st-yellow);font-weight:700;text-decoration:none}
.its-shop-wizlink:hover{text-decoration:underline}
@media (max-width:767px){.its-cart-bar strong{display:none}.its-cart-bar button{padding:10px 12px 10px 16px}}

/* Palette v2 */
.its-shop-card{box-shadow:var(--st-shadow)}
.its-shop .its-shop-btn--add,.its-shop-badge{background:var(--st-btn);color:var(--st-btn-text);border:1px solid var(--st-btn-line)}
.its-shop-card.is-in-cart .its-shop-btn--add{background:rgba(37,211,102,.12);color:#5fe29a;border:1px solid rgba(37,211,102,.4)}
html[data-theme="light"] .its-shop-card.is-in-cart .its-shop-btn--add{color:#127a45;background:rgba(18,122,69,.08);border-color:rgba(18,122,69,.3)}
.its-shop .its-shop-btn--pay{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.14)}
html[data-theme="light"] .its-shop .its-shop-btn--pay{background:#fff;border-color:var(--st-line)}
.its-wiz{border-color:var(--st-gold-line);background:radial-gradient(100% 120% at 0% 0%,rgba(246,201,69,.07),transparent 60%),var(--st-card);box-shadow:var(--st-shadow)}
.its-wiz__opts button[aria-pressed="true"],.its-wiz__step>b i{background:var(--st-btn);border-color:var(--st-btn-line);color:var(--st-btn-text)}
.its-shop .its-wiz .its-shop-btn--wa,.its-cart-drawer .its-shop-btn--wa{background:linear-gradient(120deg,#fff1aa 0%,#ffe36b 24%,#f5ca36 62%,#eab922 100%);color:#0d1720;border:1px solid rgba(255,240,162,.52)}
.its-shop .its-wiz .its-shop-btn--wa:before,.its-cart-drawer .its-shop-btn--wa:before{content:"";width:16px;height:16px;flex:0 0 auto;background:currentColor;-webkit-mask:var(--its-chat-ico) center/contain no-repeat;mask:var(--its-chat-ico) center/contain no-repeat;width:18px;height:18px}
.its-cart-bar button{border-color:rgba(246,201,69,.45);background:#141a21}
.its-cart-bar em{background:linear-gradient(120deg,#fff1aa 0%,#ffe36b 24%,#f5ca36 62%,#eab922 100%);color:#0d1720}
.its-cart-drawer__panel{background:#11161c}
