.commerce-page{min-height:55vh;padding-bottom:30px}.commerce-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.commerce-heading .eyebrow{color:var(--muted);margin-bottom:10px}.commerce-lead{color:var(--muted);max-width:750px;margin-bottom:28px;font-size:15px}.commerce-page>[data-page-error]{margin:18px 0}.commerce-loading{text-align:center;color:var(--muted);border:1px solid var(--line);background:#fff;border-radius:12px;padding:48px 24px}.commerce-grid{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:24px;display:grid}.commerce-panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;min-width:0;padding:28px}.commerce-panel h2{font-size:24px}.commerce-panel h3{font-size:19px}.commerce-panel>h2,.commerce-panel>p{margin-bottom:16px}.commerce-summary{position:sticky;top:24px}.commerce-summary h2{margin-bottom:24px;font-size:23px}.commerce-summary .button{width:100%}.commerce-summary .field-help{margin:18px 0}.commerce-totals{gap:12px;margin:18px 0 24px;display:grid}.commerce-total-row{justify-content:space-between;align-items:baseline;gap:20px;font-size:14px;display:flex}.commerce-total-row>:last-child{text-align:right}.commerce-total-row.total{border-top:1px solid var(--line);padding-top:16px;font-size:19px;font-weight:600}.commerce-total-row .unknown-cost{color:#80551b;font-size:13px}.commerce-lines{gap:16px;display:grid}.commerce-line{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:100px minmax(0,1fr) auto;align-items:start;gap:20px;padding:20px;display:grid}.commerce-line img{aspect-ratio:1.3;object-fit:contain;background:var(--soft);border-radius:8px;width:100px}.commerce-line h2,.commerce-line h3{letter-spacing:-.02em;font-size:17px;line-height:1.5}.commerce-line p{color:var(--muted);margin-top:5px;font-size:12px}.commerce-line .line-error{color:#a90e11}.line-price{white-space:nowrap;font-size:19px}.line-actions{flex-wrap:wrap;grid-column:2/-1;align-items:end;gap:12px;display:flex}.quantity-form{align-items:end;gap:10px;display:flex}.quantity-form .field{max-width:90px}.quantity-form input{width:90px}.quantity-form .button-secondary,.line-actions>.button-secondary{min-height:46px}.commerce-kind{color:#36533d;background:#eef3ed;border-radius:5px;margin-top:10px;padding:4px 9px;font-size:12px;line-height:1.6;display:inline-block}.commerce-kind.preorder{color:#80551b;background:#f5ebdc}.commerce-kind.neutral{background:var(--bg);color:var(--muted)}.commerce-form{gap:20px;display:grid}.commerce-form fieldset{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.commerce-form legend{letter-spacing:-.03em;margin-bottom:20px;font-size:22px;font-weight:600}.commerce-form fieldset+fieldset{border-top:1px solid var(--line);padding-top:28px}.commerce-form .field{font-size:13px}.commerce-form>.button,.commerce-form>.button-secondary{justify-self:start}.form-pair{grid-template-columns:1fr 1fr;gap:16px;display:grid}.field-help{color:var(--muted);margin:8px 0;font-size:12px;line-height:1.75}.checkout-steps{color:var(--muted);gap:32px;margin:0 0 28px;padding:0;font-size:13px;list-style:none;display:flex}.checkout-steps li{align-items:center;gap:10px;display:flex}.checkout-steps span{border:1px solid var(--line);border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;display:grid}.checkout-steps [aria-current]{color:var(--ink);font-weight:600}.checkout-steps [aria-current] span{background:var(--ink);color:#fff;border-color:var(--ink)}.quote-review{max-width:1050px}.quote-review>.notice{margin:20px 0}.quote-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0;display:grid}.quote-groups:has(>:only-child){grid-template-columns:1fr}.snapshot-lines{gap:14px;margin:18px 0;padding:0;list-style:none;display:grid}.snapshot-line{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding-bottom:14px;font-size:14px;display:grid}.snapshot-line small{color:var(--muted);grid-column:1/-1;font-size:12px}.snapshot-line strong{font-weight:600}.order-list{gap:16px;display:grid}.order-card{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:24px}.order-card-top{justify-content:space-between;align-items:start;gap:16px;margin-bottom:16px;display:flex}.order-card h3{font-size:20px;line-height:1.4}.order-card p{color:var(--muted);margin-top:10px;font-size:13px}.order-card .button-secondary{margin-top:18px}.order-card .commerce-kind{margin-top:0}.order-status{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:22px;display:flex}.status-pill{background:var(--soft);border-radius:30px;padding:7px 13px;font-size:12px;font-weight:600}.status-pill.paid{color:#36533d;background:#eef3ed}.status-pill.awaiting_payment{color:#80551b;background:#f5ebdc}.order-meta{grid-template-columns:1fr 1fr;gap:22px;margin:26px 0;display:grid}.order-meta h3{letter-spacing:0;margin-bottom:10px;font-size:16px}.order-meta p{overflow-wrap:anywhere;font-size:13px}.order-actions{gap:16px;display:grid}.order-actions .notice{font-size:13px}.payment-methods{border:0;gap:8px;margin:0;padding:0;display:grid}.payment-methods legend{margin-bottom:10px;font-size:15px;font-weight:600}.payment-methods label{border:1px solid var(--line);cursor:pointer;border-radius:8px;align-items:center;gap:10px;min-height:46px;padding:12px 14px;display:flex}.payment-methods input{width:18px;height:18px}.payment-form{gap:18px;display:grid}.payment-form .button{width:100%}.order-history{margin-top:24px}.order-history summary{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-size:15px;font-weight:600;display:flex}.order-history summary:before{content:"+";color:var(--muted);font-size:20px}.order-history[open] summary:before{content:"−"}.order-history ol{gap:12px;margin:12px 0;padding-left:20px;font-size:13px;display:grid}.order-history time{color:var(--muted);font-size:12px;display:block}.related-orders{flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0;display:flex}.related-orders a{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px 15px;font-size:13px}.related-orders [aria-current]{border-color:var(--red);color:var(--red)}.account-auth{grid-area:1/2}.account-auth h2{margin-bottom:16px}.account-auth .commerce-form{margin-top:20px}.account-auth .muted{font-size:14px}.account-auth [data-account-email]{overflow-wrap:anywhere;margin:16px 0 24px}.manager-login{max-width:520px}.manager-login .commerce-form{margin-top:24px}.manager-nav{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:24px;margin:24px 0 32px;padding-bottom:24px;display:flex}.manager-nav a{font-size:14px}.manager-nav .button-secondary{margin-left:auto}.commerce-section{margin-top:32px}.commerce-section .commerce-form{max-width:750px;margin-top:24px}.manager-order-actions{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:24px;margin-top:20px;padding-top:18px;display:grid}.manager-order-actions .commerce-form{gap:14px}.manager-order-actions h4{font-size:15px}.manager-order-actions textarea{resize:vertical;min-height:90px}.manager-order-actions .button{justify-self:stretch;width:100%}.manager-order-actions .field-help{margin:0}.mail-list{gap:14px;margin-top:20px;display:grid}.mail-message{background:var(--bg);border:1px solid var(--line);overflow-wrap:anywhere;border-radius:10px;padding:18px}.mail-message h3{letter-spacing:0;font-size:16px;line-height:1.5}.mail-message p{color:var(--muted);margin:6px 0;font-size:12px}.mail-message pre{white-space:pre-wrap;word-break:break-word;margin-bottom:0;font-family:inherit;font-size:14px}.commerce-page [aria-busy=true]{opacity:.7}.commerce-empty{text-align:center;border:1px solid var(--line);background:#fff;border-radius:12px;padding:30px}.commerce-empty p{color:var(--muted);margin:12px 0 20px;font-size:14px}.commerce-error-retry{margin-top:14px}.commerce-panel .notice{margin-block:16px}.order-line-components{color:var(--muted);grid-column:1/-1;font-size:12px}@media (width<=1000px){.commerce-grid{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.commerce-panel{padding:22px}.commerce-line{grid-template-columns:72px minmax(0,1fr);gap:15px;padding:16px}.commerce-line img{width:72px}.line-price{grid-column:2;font-size:18px}.line-actions{grid-column:2}.manager-order-actions{gap:18px}.form-pair{grid-template-columns:1fr}}@media (width<=760px){.commerce-grid{grid-template-columns:1fr}.commerce-summary{position:static}.account-auth{grid-area:auto}.commerce-grid:has(.account-auth)>section:last-child{grid-row:2}.quote-groups{grid-template-columns:1fr}.commerce-heading{align-items:start}.commerce-heading>.button-secondary{white-space:nowrap}.commerce-panel{padding:22px}.commerce-lead{font-size:14px}.commerce-form>.button{justify-self:stretch;width:100%}.manager-order-actions{grid-template-columns:1fr}.order-card{padding:20px}.order-meta{grid-template-columns:1fr;gap:20px}.manager-nav{gap:16px}.manager-nav .button-secondary{margin-left:0}.commerce-heading h2{font-size:23px}}@media (width<=480px){.commerce-heading{flex-wrap:wrap;gap:14px}.commerce-heading h1{font-size:29px}.commerce-heading>a,.commerce-heading>button{font-size:12px}.commerce-line h2{font-size:15px}.commerce-line{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:14px}.commerce-line img{width:64px}.line-actions{grid-column:1/-1;gap:10px}.quantity-form{flex:1}.quantity-form .field{max-width:72px}.quantity-form input{width:72px}.quantity-form .button-secondary{padding-inline:12px}.commerce-panel{padding:20px}.commerce-panel h2{font-size:22px}.checkout-steps{align-items:start;gap:15px;font-size:11px}.checkout-steps li{align-items:start;gap:7px}.checkout-steps span{flex-shrink:0;width:24px;height:24px}.commerce-total-row{font-size:13px}.commerce-total-row.total{font-size:18px}.order-card-top{flex-wrap:wrap}.snapshot-line{gap:8px;font-size:13px}.snapshot-line strong{font-size:13px}.quote-review>.button{width:100%}.commerce-page{padding-bottom:10px}}.commerce-form .field input:invalid:not(:placeholder-shown):not(:focus){border-color:#cecec5}.commerce-form .field input:user-invalid:not(:focus),.commerce-form .field textarea:user-invalid:not(:focus){border-color:#a90e11}.order-actions .notice>.button-secondary{margin:12px 8px 0 0}.cdek-controls{gap:16px;min-width:0;display:grid}.cdek-controls .button-secondary{justify-self:start}.cdek-controls select{text-overflow:ellipsis;width:100%;max-width:100%}.manual-delivery{cursor:pointer;align-items:start;gap:12px;min-height:44px;font-size:13px;display:flex}.manual-delivery input{flex:none;width:20px;height:20px;margin-top:2px}[data-point-details]{overflow-wrap:anywhere}[data-shipping-status]:empty,.cdek-controls[hidden]{display:none}.delivery-options{gap:10px;display:grid}.delivery-options label{cursor:pointer;border:1px solid var(--line);border-radius:8px;align-items:center;gap:12px;min-height:46px;padding:10px 12px;font-size:14px;display:flex}.delivery-options label:has(:checked){border-color:var(--red);background:#fff7f7}.delivery-options input{width:18px;height:18px;accent-color:var(--red);flex:none}.pickup-map{border:1px solid var(--line);isolation:isolate;z-index:0;background:var(--soft);border-radius:10px;width:100%;min-width:0;height:380px;position:relative;overflow:hidden}.pickup-map>.field-help{padding:24px}.pickup-map .leaflet-control-zoom a{width:40px;height:40px;line-height:40px}.pickup-map .leaflet-control-attribution{background:#fff;font-size:10px}.pickup-marker{background:var(--red);color:#fff;border:2px solid #fff;border-radius:16px 16px 16px 2px;place-items:center;display:grid;box-shadow:0 2px 7px #0004}.pickup-marker>span{background:#fff;border-radius:50%;width:9px;height:9px}.pickup-marker.cluster{border-radius:50%;font-size:15px;font-weight:700}.pickup-marker.selected{background:var(--ink);box-shadow:0 0 0 5px var(--red);outline:3px solid #fff}.pickup-marker:focus-visible{outline-offset:4px;outline:3px solid #171717}.pickup-popup{max-height:300px;font-family:Arial,sans-serif;overflow:auto}.pickup-popup p{margin:8px 0;font-size:13px;line-height:1.5}.pickup-popup .button{width:100%;min-height:44px;margin-bottom:10px;padding:10px 14px;font-size:13px}.pickup-popup strong{font-size:15px}.manual-delivery input{accent-color:var(--red)}@media (width<=760px){.pickup-map{height:320px}.delivery-options label{font-size:13px}}.pickup-list-link{background:0 0;justify-self:start;min-height:44px;padding:4px 0;font-size:13px}.delivery-cost-preview{border:1px solid var(--line);background:var(--soft);border-radius:8px;padding:13px 15px;font-size:14px;font-weight:600;line-height:1.6}.commerce-total-row{overflow-wrap:anywhere}.commerce-summary [data-delivery-total] .commerce-total-row>:last-child{max-width:65%}.cart-save-status{flex-basis:100%;min-height:1.6em;margin:0!important}.commerce-summary .button[aria-busy=true]{opacity:.75}.field [aria-invalid=true]{border-color:var(--red)}.checkout-confirmations{border:1px solid var(--line);background:#fff;border-radius:12px;gap:16px;margin:24px 0;padding:20px;display:grid}.checkout-confirmations summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.checkout-confirmations p{margin:10px 0;font-size:14px;line-height:1.7}.confirmation-choice{cursor:pointer;align-items:start;gap:12px;min-height:44px;font-size:14px;line-height:1.7;display:flex}.confirmation-choice input{width:20px;height:20px;accent-color:var(--red);flex:0 0 20px;margin-top:3px}.checkout-confirmations summary:after{content:"Показать";color:var(--red);margin-left:auto;padding-left:16px;font-size:12px;font-weight:400}.checkout-confirmations details[open]>summary:after{content:"Скрыть"}.order-meta>.order-history{grid-column:1/-1}.confirmation-choice span{min-width:0}.confirmation-choice a{color:var(--red);text-underline-offset:3px;text-decoration:underline}.confirmation-choice a:focus-visible{outline:2px solid var(--red);outline-offset:3px}[data-combined-checkout] .checkout-main{gap:24px;min-width:0;display:grid}[data-combined-checkout] .checkout-cart{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:24px}[data-combined-checkout] .checkout-cart>h2{margin-bottom:20px;font-size:22px}[data-combined-checkout] [data-cart-content]>.commerce-grid{display:block}[data-combined-checkout] .commerce-lines{gap:0}[data-combined-checkout] .commerce-line{border:0;border-bottom:1px solid var(--line);border-radius:0;grid-template-columns:72px minmax(0,1fr) auto;gap:12px 16px;padding:18px 0}[data-combined-checkout] .commerce-line:first-child{padding-top:0}[data-combined-checkout] .commerce-line:last-child{border-bottom:0;padding-bottom:0}[data-combined-checkout] .commerce-line img{aspect-ratio:1;object-fit:contain;width:72px;height:72px}[data-combined-checkout] .commerce-line h2{font-size:15px;line-height:1.45}[data-combined-checkout] .line-price{font-size:17px}[data-combined-checkout] .line-actions{grid-column:2/-1;align-items:center;gap:14px}[data-combined-checkout] .quantity-form .field{gap:4px;font-size:11px}[data-combined-checkout] .quantity-form input{width:76px;min-height:44px;padding:8px 10px}[data-combined-checkout] .line-actions>.button-secondary{min-height:44px;padding:8px 12px;font-size:12px}[data-combined-checkout] .cart-save-status:empty,[data-combined-checkout] .checkout-form-submit{display:none}[data-combined-checkout] .commerce-summary .notice{font-size:13px;line-height:1.7}[data-combined-checkout] .commerce-summary .button{min-height:48px}[data-combined-checkout] .quote-review{border-top:1px solid var(--line);max-width:none;margin-top:28px;padding-top:24px}.snapshot-line:has(.snapshot-image){grid-template-columns:52px minmax(0,1fr) auto}.snapshot-line .snapshot-image{object-fit:contain;background:var(--soft);border-radius:6px;grid-row:1/3;width:52px;height:52px}.snapshot-line:has(.snapshot-image) small{grid-column:2/-1}@media (width<=1000px){[data-combined-checkout] .commerce-line{grid-template-columns:64px minmax(0,1fr)}[data-combined-checkout] .commerce-line img{width:64px;height:64px}[data-combined-checkout] .line-price,[data-combined-checkout] .line-actions{grid-column:2}}@media (width<=760px){[data-combined-checkout] .checkout-cart{padding:20px}[data-combined-checkout] .commerce-summary{position:static}[data-combined-checkout] .checkout-main{gap:18px}[data-combined-checkout] .checkout-steps{display:none}}@media (width<=480px){[data-combined-checkout] .line-actions{grid-column:1/-1}[data-combined-checkout] .commerce-line h2{font-size:14px}.snapshot-line:has(.snapshot-image){grid-template-columns:44px minmax(0,1fr) auto}.snapshot-line .snapshot-image{width:44px;height:44px}}[data-combined-checkout] .commerce-summary:has([data-quote-review]:not([hidden])){position:static}[data-combined-checkout] .commerce-summary .quote-review{margin-top:20px;padding-top:20px}[data-combined-checkout] .quote-review .commerce-heading{margin-bottom:14px;display:block}[data-combined-checkout] .quote-review h2{margin-bottom:8px;font-size:20px}[data-combined-checkout] .quote-review [data-edit-checkout]{min-height:44px;color:var(--red);background:0 0;border:0;padding:0;font-size:12px}[data-combined-checkout] .quote-groups{margin:14px 0;display:block}[data-combined-checkout] .quote-conditions p{margin:12px 0;font-size:12px;line-height:1.7}[data-combined-checkout] .quote-contact{overflow-wrap:anywhere;font-size:12px;line-height:1.7}[data-combined-checkout] .quote-contact summary{cursor:pointer;align-items:center;min-height:44px;display:flex}[data-combined-checkout] .checkout-confirmations{background:0 0;border:0;border-radius:0;gap:12px;margin:18px 0;padding:0}[data-combined-checkout] .checkout-confirmations p,[data-combined-checkout] .confirmation-choice{font-size:12px;line-height:1.7}[data-combined-checkout] .checkout-confirmations details{overflow-wrap:anywhere;min-width:0}[data-combined-checkout] .checkout-confirmations summary{font-size:13px}.supplier-confirmation{cursor:pointer;align-items:start;gap:12px;min-height:44px;font-size:13px;line-height:1.6;display:flex}.supplier-confirmation input{width:20px;height:20px;accent-color:var(--red);flex:none;margin-top:2px}.supplier-stock-panel{grid-column:1/-1}.supplier-stock-panel .button,.manager-order-actions .button{min-height:44px}
