:root{color-scheme:dark}.icon-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.commerce-page{padding-block:42px 80px;min-height:65vh}.commerce-page h1{font:700 clamp(30px,5vw,50px)/1.12 var(--display)}.commerce-page p{line-height:1.65}.commerce-page a:not(.btn),.commerce-dialog a:not(.btn){text-decoration:underline;text-underline-offset:3px}.commerce-dialog{color:var(--ink);background:#122a20;border:1px solid #41735d;border-radius:22px;width:min(680px,calc(100% - 24px));max-height:88dvh;padding:30px;overflow:auto;box-shadow:0 30px 120px #0009}.commerce-dialog::backdrop{background:#03130cbb;backdrop-filter:blur(5px)}.commerce-dialog h2{padding-right:35px;line-height:1.3;margin-top:0}.dialog-close{position:absolute;top:14px;right:14px;font-size:26px;line-height:1;background:#204635;border:1px solid var(--line);color:var(--ink);border-radius:10px;width:38px;height:38px;cursor:pointer}.delivery-choices{border:0;padding:0;margin:22px 0;display:grid;gap:10px}.delivery-choices legend{font-weight:700;margin-bottom:12px}.delivery-choices label{display:flex;gap:12px;padding:14px;border:1px solid #42745e;border-radius:12px;cursor:pointer}.delivery-choices label:has(input:checked){background:#244a3a;border-color:#9cffd7}.delivery-choices input{margin:4px 0 0;accent-color:#b4ffe1}.delivery-choices small{display:block;color:#b1ddca;line-height:1.5;margin-top:5px}.basket-line{display:grid;grid-template-columns:minmax(0,1fr) 65px auto 30px;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.basket-line small{display:block;color:#b1ddca;margin-top:5px}.basket-line label{font-size:11px}.basket-line input{width:60px;padding:8px;background:#0c1f17;border:1px solid #43765f;color:var(--ink);border-radius:8px;display:block}.basket-line button{background:none;border:0;color:var(--ink);font-size:24px;cursor:pointer;min-height:40px}.basket-total{display:flex;justify-content:space-between;font-size:21px;gap:15px;padding-block:12px}.checkout-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:42px}.checkout-layout>form,.auth-grid>section,.order-card,.identity-panel{background:#122a20;border:1px solid var(--line);border-radius:18px;padding:24px}.form-label input{box-sizing:border-box}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:30px 0}.identity-panel{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.identity-panel span{flex:1;color:#b1ddca}.status,[role=status],[role=alert]{overflow-wrap:anywhere;line-height:1.6}.order-card{margin:16px 0}.order-card small{color:#b1ddca}.order-card summary{cursor:pointer;color:#a9ffdc;padding:12px 0}.order-card li{margin:10px 0;line-height:1.7}.order-card details{overflow-wrap:anywhere}.service-monogram{font-size:16px;font-weight:800;letter-spacing:.03em;color:#c7ffe5}.price-list li{flex-wrap:wrap}.price-list li>span{flex:1;min-width:140px}.price-list .buy-btn{width:100%;text-align:center}.product-card .product-icon{width:44px;height:44px;border-radius:12px;margin-bottom:16px}.product-card .product-icon .lg{width:26px;height:26px}.product-card h3{overflow-wrap:anywhere}.product-bottom{gap:8px;flex-wrap:wrap}.shop-header .shop-nav{width:auto;margin:0}.shop-header .category-strip{width:100%;margin:0}.shop-header{width:100%}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:2px solid #c4ffe6;outline-offset:4px}html{scroll-padding-top:145px}.shop-header__inner{gap:24px}.shop-actions{margin-left:auto}.shop-header .shop-nav a{white-space:nowrap}
@media(max-width:760px){.checkout-layout,.auth-grid{grid-template-columns:1fr;gap:22px}.commerce-dialog{padding:24px 18px}.basket-line{grid-template-columns:minmax(0,1fr) 60px 28px;gap:10px}.basket-line strong{grid-column:1;grid-row:2}.basket-line button{grid-column:3;grid-row:1}.basket-line label{grid-column:2;grid-row:1}.shop-header__inner{height:64px;gap:10px}.shop-header .shop-logo{font-size:11px;gap:6px}.shop-header .shop-logo__mark{width:28px;height:28px}.shop-actions{gap:5px}.shop-actions .icon-btn{width:36px;height:36px}.category-strip .wrap{gap:18px;font-size:12px}.commerce-page{padding-top:24px}.shop-header .shop-nav{display:none}.price-list{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-card{transition:none}.product-card:hover{transform:none}}
body::before{background:none}.category-strip{scrollbar-width:none}.category-strip::-webkit-scrollbar{display:none}.form-label select{width:100%;padding:12px;border:1px solid #42745e;border-radius:10px;background:#0c1f17;color:#edfff7;font:inherit}.shop-nav{font-family:var(--sans)}

.payment-notice{padding:20px;border:1px solid #60967e;border-radius:14px;margin-block:20px;background:#173628}.payment-notice a{text-decoration:underline}

.product-dialog{width:min(860px,calc(100% - 24px))}.product-overview{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:24px;margin-block:22px}.product-overview:not(:has(figure:not([hidden]))){grid-template-columns:1fr}.product-overview figure{margin:0}.product-cover{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;border-radius:14px}.product-facts{min-width:0;line-height:1.65;overflow-wrap:anywhere}.product-facts h3{font-size:16px;margin:18px 0 6px}.product-facts p{margin:0 0 12px}.product-description{white-space:pre-line}.product-facts ul,.product-instruction ol{padding-left:22px}.product-facts li,.product-instruction li{margin-bottom:8px}.product-instruction{padding:16px;background:#0c2118;border:1px solid #34604c;border-radius:12px;margin:18px 0;line-height:1.65;overflow-wrap:anywhere}.product-instruction summary,.product-facts summary{cursor:pointer;font-weight:700}.product-instruction h4{margin:18px 0 8px}.product-dialog h2{font-size:clamp(20px,3vw,28px)}
@media(max-width:600px){.product-overview{grid-template-columns:1fr;gap:16px}.product-overview figure{max-width:260px;margin-inline:auto}.product-cover{max-height:220px}.product-dialog{max-height:90dvh}}

.form-label[hidden]{display:none}.checkout-layout>form{min-width:0}.form-label input{min-width:0;width:100%}.form-check input{flex:none}.form-label input,.form-label select{font-size:16px}

.checkout-contacts{margin:20px 0 24px;border:1px solid #34604c;border-radius:12px;background:#0c2118;overflow:hidden}
.checkout-contacts>summary{padding:16px;cursor:pointer;font-weight:600;line-height:1.5}
.checkout-contacts>summary small{display:block;margin:4px 0 0 20px;color:#b1ddca;font-size:12px;font-weight:400}
.checkout-contacts[open]>summary{border-bottom:1px solid #34604c}
.checkout-contacts__fields{padding:0 16px 6px}
.checkout-contacts__fields .form-label{margin-block:14px}
.checkout-contacts__fields .modal-hint{font-size:13px}

/* @@ik-light: светлая тема — сгенерировано tools/theme_light_gen.py, руками не править */
:where(html[data-theme=light]) .commerce-dialog{color:var(--ink);background:#f2f7f1;border:1px solid #c5d2c7;box-shadow:0 30px 120px rgba(28,58,17,0.21)}
:where(html[data-theme=light]) .commerce-dialog::backdrop{background:rgba(250,252,250,0.733)}
:where(html[data-theme=light]) .dialog-close{background:#e9f2e7;border:1px solid var(--line);color:var(--ink)}
:where(html[data-theme=light]) .delivery-choices label{border:1px solid #c5d2c7}
:where(html[data-theme=light]) .delivery-choices label:has(input:checked){background:#e8f1e5;border-color:#569e3a}
:where(html[data-theme=light]) .delivery-choices input{accent-color:#28362a}
:where(html[data-theme=light]) .delivery-choices small{color:#28362a}
:where(html[data-theme=light]) .basket-line small{color:#28362a}
:where(html[data-theme=light]) .basket-line input{background:#f6faf5;border:1px solid #c5d2c7;color:var(--ink)}
:where(html[data-theme=light]) .checkout-layout>form,:where(html[data-theme=light]) .auth-grid>section,:where(html[data-theme=light]) .order-card,:where(html[data-theme=light]) .identity-panel{background:#f2f7f1;border:1px solid var(--line)}
:where(html[data-theme=light]) .identity-panel span{color:#28362a}
:where(html[data-theme=light]) .order-card small{color:#28362a}
:where(html[data-theme=light]) .order-card summary{color:#266400}
:where(html[data-theme=light]) .service-monogram{color:#121d14}
:where(html[data-theme=light]) :focus-visible{outline:2px solid #569e3a}
:where(html[data-theme=light]) .form-label select{border:1px solid #c5d2c7;background:#f6faf5;color:#121d14}
:where(html[data-theme=light]) .payment-notice{border:1px solid #c5d2c7;background:#eff5ee}
:where(html[data-theme=light]) .product-instruction{background:#f6faf5;border:1px solid #d9e4d6}
:where(html[data-theme=light]) .checkout-contacts{border:1px solid #d9e4d6;background:#f6faf5}
:where(html[data-theme=light]) .checkout-contacts>summary small{color:#28362a}
:where(html[data-theme=light]) .checkout-contacts[open]>summary{border-bottom:1px solid #d9e4d6}
/* @@ik-light-end */
/* contacts required for operator delivery; two ways to get an API key */
.checkout-contacts.is-required{border-color:#4f9a77}
.checkout-contacts.is-required>summary{cursor:default;list-style:none}
.checkout-contacts.is-required>summary::-webkit-details-marker{display:none}
.checkout-contacts.is-required>summary small{margin-left:0;color:#8dffd0}
.ik-ways__title{margin:22px 0 10px;font-size:17px}
.ik-ways{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}
.ik-way{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #34604c;border-radius:12px;background:#0c2118}
.ik-way h4{margin:0;font-size:15px}
.ik-way p{margin:0;font-size:14px;line-height:1.5;color:#b1ddca}
.ik-way .btn{margin-top:auto}
.ik-way .ik-offer__error{color:var(--bad,#ff6f7d)}
:where(html[data-theme=light]) .checkout-contacts.is-required{border-color:#93a696}
:where(html[data-theme=light]) .checkout-contacts.is-required>summary small{color:#254917}
:where(html[data-theme=light]) .ik-way{border:1px solid #d9e4d6;background:#f6faf5}
:where(html[data-theme=light]) .ik-way p{color:#28362a}
:where(html[data-theme=light]) .ik-way .ik-offer__error{color:var(--bad,#d00014)}
/* night:gen:start — ночная копия светлых правил, собрана tools/night.py; руками не править */
:where(html[data-theme=dark]) .commerce-dialog{color:var(--ink);background:#0e1b2a;border:1px solid #2f3830;box-shadow:0 30px 120px rgba(28,58,17,.357)}
:where(html[data-theme=dark]) .commerce-dialog::backdrop{background:rgba(11,24,38,.733)}
:where(html[data-theme=dark]) .dialog-close{background:#121f2e;border:1px solid var(--line);color:var(--ink)}
:where(html[data-theme=dark]) .delivery-choices label{border:1px solid #2f3830}
:where(html[data-theme=dark]) .delivery-choices label:has(input:checked){background:#1b2119;border-color:#549b37}
:where(html[data-theme=dark]) .delivery-choices input{accent-color:#d2e3d4}
:where(html[data-theme=dark]) .delivery-choices small{color:#d2e3d4}
:where(html[data-theme=dark]) .basket-line small{color:#d2e3d4}
:where(html[data-theme=dark]) .basket-line input{background:#0c1928;border:1px solid #2f3830;color:var(--ink)}
:where(html[data-theme=dark]) .checkout-layout>form,:where(html[data-theme=dark]) .auth-grid>section,:where(html[data-theme=dark]) .order-card,:where(html[data-theme=dark]) .identity-panel{background:#0e1b2a;border:1px solid var(--line)}
:where(html[data-theme=dark]) .identity-panel span{color:#d2e3d4}
:where(html[data-theme=dark]) .order-card small{color:#d2e3d4}
:where(html[data-theme=dark]) .order-card summary{color:#98da81}
:where(html[data-theme=dark]) .service-monogram{color:#dfeee1}
:where(html[data-theme=dark]) :focus-visible{outline:2px solid #549b37}
:where(html[data-theme=dark]) .form-label select{border:1px solid #2f3830;background:#0c1928;color:#dfeee1}
:where(html[data-theme=dark]) .payment-notice{border:1px solid #2f3830;background:#101d2b}
:where(html[data-theme=dark]) .product-instruction{background:#0c1928;border:1px solid #232b21}
:where(html[data-theme=dark]) .checkout-contacts{border:1px solid #232b21;background:#0c1928}
:where(html[data-theme=dark]) .checkout-contacts>summary small{color:#d2e3d4}
:where(html[data-theme=dark]) .checkout-contacts[open]>summary{border-bottom:1px solid #232b21}
:where(html[data-theme=dark]) .checkout-contacts.is-required{border-color:#5b6c5d}
:where(html[data-theme=dark]) .checkout-contacts.is-required>summary small{color:#bae5ac}
:where(html[data-theme=dark]) .ik-way{border:1px solid #232b21;background:#0c1928}
:where(html[data-theme=dark]) .ik-way p{color:#d2e3d4}
:where(html[data-theme=dark]) .ik-way .ik-offer__error{color:var(--bad,#fb877a)}
/* night:gen:end */
