/* Корзина и личный кабинет: общая ширина сайта, естественная прокрутка страницы. */
.commerce-wrap{padding-top:26px;padding-bottom:60px}
.commerce-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:12px 0 26px}
.commerce-title h1{font-size:clamp(30px,4vw,48px);line-height:1.1;margin-top:7px}
.eyebrow{display:block;font-size:10px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#77716b}
.title-count{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;background:var(--yellow);border-radius:50%;font-size:19px;vertical-align:middle;letter-spacing:0;padding:0 9px}
.text-link{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;line-height:1.4}
.text-link:hover{color:var(--orange)}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}
.cart-content,.checkout-rail,.account-content{min-width:0}
.commerce-card{background:#fff;border:1px solid #e6e5e1;border-radius:21px;padding:22px}
.checkout-rail{display:flex;flex-direction:column;gap:16px}
.cart-products{padding:0 20px}
.cart-products__subtotal{display:flex;align-items:center;justify-content:space-between;padding:18px 0;font-size:14px;font-weight:700}
.cart-products__subtotal b{font-size:20px}
.cart-line{position:relative;display:grid;grid-template-columns:70px minmax(0,1fr) 98px 88px 20px;gap:12px;align-items:center;padding:22px 0;border-bottom:1px solid #eeede9}
.cart-line__image{display:block;width:70px;height:80px}
.cart-line__image img{width:100%;height:100%;object-fit:contain}
.cart-line__info{min-width:0;display:flex;flex-direction:column;gap:7px}
.cart-line__name{font-size:13px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.cart-line__unit{color:#7b7c83;font-size:11px}
.cart-line__unavailable{font-size:10px;color:var(--orange-dark);font-weight:700}
.cart-line__quantity{display:flex;align-items:center;height:36px;border:1px solid #e6e5e1;background:#f7f7f5;border-radius:10px;overflow:hidden}
.cart-line__quantity button{width:29px;flex:none;height:100%;font-size:20px}
.cart-line__quantity button:disabled{opacity:.3;cursor:default}
.cart-line__quantity input{min-width:0;flex:1;width:36px;border:0;outline:0;background:transparent;font-size:12px;font-weight:800;text-align:center;appearance:textfield;-moz-appearance:textfield}
.cart-line__quantity input::-webkit-inner-spin-button,.cart-line__quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cart-line__total{font-size:16px;text-align:right;white-space:nowrap;letter-spacing:-.02em}
.cart-line__remove{font-size:22px;font-weight:400;color:#96969d;width:20px;height:30px}
.cart-line__remove:hover{color:var(--orange)}
.cart-empty{min-height:230px;display:flex;align-items:center;gap:22px;padding:26px 4px}
.cart-empty>img{width:100px;height:115px;object-fit:contain;flex:none}
.cart-empty h2{font-size:22px;font-weight:900;line-height:1.15}
.cart-empty p{font-size:13px;line-height:1.55;margin:10px 0 16px;color:#73737a}
.empty-actions{display:flex;flex-wrap:wrap;gap:8px}
.orange-button,.outline-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:12px;min-height:44px;padding:12px 18px;line-height:1.3;font-size:12px;font-weight:800;text-align:center}
.orange-button{background:var(--orange);color:#fff;border:1px solid var(--orange)}
.orange-button:hover{background:var(--orange-dark)}
.orange-button:disabled{cursor:default;opacity:.62;background:var(--orange)}
.outline-button{border:1px solid #d6d4ce;background:#fff}
.outline-button:hover{background:#fffbe5;border-color:#bdb57b}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.section-heading h2,.checkout-section>h2{font-size:18px;font-weight:900;line-height:1.25;display:flex;gap:9px;align-items:center}
.section-heading h3{font-size:14px;line-height:1.3}
.section-heading .text-link{font-size:10px;flex:none}
.step-number{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff3a2;font-size:11px;flex:none}
.section-subtitle{margin:10px 0 15px;font-size:12px;line-height:1.5;color:#77777e}
.address-option{display:flex;align-items:flex-start;gap:9px;cursor:pointer;padding:12px;border:1.5px solid #e5e3dc;border-radius:12px;margin-top:8px}
.address-option:has(input:checked){border-color:#d9b84e;background:#fffbee}
.address-option input{margin-top:3px;accent-color:var(--orange);width:16px;height:16px;flex:none}
.address-option>span{display:flex;min-width:0;flex-direction:column;gap:6px;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.address-option b{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px}
.address-option small{font-size:9px;color:#83712d;font-weight:600}
.add-address{width:100%;margin-top:12px;border-style:dashed}
.delivery-estimate{display:flex;justify-content:space-between;gap:12px;margin-top:18px;padding-top:16px;border-top:1px dashed #ddd8c9;font-size:11px;line-height:1.4}
.delivery-estimate strong{text-align:right;font-weight:700}
.small-note{font-size:10px;line-height:1.5;color:#87858d;margin-top:8px}
.recipient{margin-top:18px;padding-top:15px;border-top:1px solid #eeede9}
.recipient p{font-size:12px;line-height:1.5;margin:6px 0 8px;overflow-wrap:anywhere}
.recipient .text-link{font-size:10px}
.payment-placeholder{display:flex;align-items:center;gap:12px;border:1px solid #e5e3dc;background:#fafaf8;border-radius:12px;padding:15px 12px;margin-top:16px}
.payment-icon{width:36px;height:29px;flex:none;color:#8a8790}
.payment-icon svg{width:100%;height:100%}
.payment-placeholder b{font-size:12px;line-height:1.35;display:block}
.payment-placeholder p{font-size:10px;color:#87858d;line-height:1.45;margin-top:5px}
.checkout-section textarea{display:block;width:100%;resize:vertical;min-height:90px;border:1px solid #deddd7;border-radius:12px;padding:12px;font:inherit;font-size:12px;line-height:1.5;color:var(--black);background:#fff}
.door-option{display:flex;align-items:center;gap:10px;cursor:pointer;background:#fff6bf;border:1.5px solid #eadc8d;padding:15px 12px;border-radius:13px;margin-top:15px}
.door-option:has(input:checked){background:#fff095;border-color:#b9a238}
.door-option input{width:19px;height:19px;accent-color:var(--orange);flex:none}
.door-option__icon{font-size:27px;line-height:1;font-family:system-ui}
.door-option b{font-size:13px;line-height:1.3;display:block}
.door-option small{display:block;font-size:10px;line-height:1.4;color:#82732f;margin-top:4px}
.order-summary{background:#fffbeb;border-color:#f0e3ab}
.order-summary .section-heading{font-size:11px}
.order-summary dl{margin:20px 0}
.order-summary dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:13px;font-size:12px}
.order-summary dd{font-weight:700;text-align:right}
.order-summary dt{color:#77746b}
.order-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-top:1px dashed #d5ca9a;padding-top:17px;margin-bottom:18px}
.order-total>span{font-size:11px;line-height:1.4;max-width:120px}
.order-total strong{font-size:27px;letter-spacing:-.035em;font-weight:900;white-space:nowrap}
.pay-button{width:100%;justify-content:space-between;font-size:15px;min-height:53px}
.order-summary .small-note{text-align:center;font-size:10px}
.sale-placeholder{margin-top:28px;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:170px;border-radius:22px;background:#ffeb5c;overflow:hidden}
.sale-placeholder h2{font-size:26px;line-height:1.1;margin-top:8px}
.sale-placeholder p{font-size:12px;line-height:1.5;max-width:210px;margin-top:10px}
.sale-placeholder>img{width:120px;height:140px;object-fit:contain;flex:none;margin-block:-10px}
.cart-content .section-title{font-size:22px}
.cart-content .carousel-hint{display:none}
.cart-content .carousel-controls .arrows button{width:34px;height:34px;font-size:18px}
.notice{padding:14px 16px;border-radius:12px;background:#fff4c8;color:#74612d;font-size:12px;line-height:1.55;margin-bottom:16px}
.notice .text-link{margin-top:8px}
.notice--error{background:var(--orange-soft);color:var(--orange-dark)}
.notice[hidden],.commerce-page [hidden]{display:none!important}
.muted{font-size:12px;line-height:1.5;color:#7b7980}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important}
.address-form{margin-top:16px;border-radius:14px;background:#f7f7f3;padding:16px}
.field-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;margin:18px 0}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field--wide{grid-column:1/-1}
.field>span{font-size:11px;font-weight:700;line-height:1.3}
.field input{min-width:0;width:100%;height:44px;padding:0 12px;border:1px solid #dcdad4;background:#fff;border-radius:10px;font-size:12px;line-height:1.4}
.field input::placeholder,.checkout-section textarea::placeholder{color:#a6a3a7}
.check-line{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.4;cursor:pointer}
.check-line input{width:17px;height:17px;accent-color:var(--orange)}
.form-error{font-size:11px;line-height:1.5;color:var(--orange-dark);margin-top:12px}
.address-form>.orange-button{margin-top:12px;width:100%}
.local-note{font-size:11px;color:#817f86;line-height:1.5;margin-top:-10px;margin-bottom:25px}
.account-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:30px;align-items:start}
.account-nav{background:#f6f5ef;border-radius:22px;padding:22px}
.account-welcome{text-align:center;padding:0 0 21px;border-bottom:1px solid #e2dfd5}
.account-welcome img{width:100px;height:105px;object-fit:contain;margin:0 auto 12px}
.account-welcome h2{font-size:23px;font-weight:900}
.account-welcome p{font-size:11px;line-height:1.5;margin-top:7px;color:#817d72}
.account-nav nav{display:flex;flex-direction:column;gap:3px;padding-top:13px}
.account-nav nav>a,.account-nav nav>button{display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:10px;padding:13px 11px;text-align:left;font-size:12px;font-weight:700}
.account-nav nav>a:hover,.account-nav nav>button:hover{background:#fff0a5}
.account-nav nav span{color:#79766c;font-size:13px}
.account-content{display:flex;flex-direction:column;gap:22px}
.account-section{padding:28px;scroll-margin-top:20px}
.account-section .section-heading h2{font-size:22px}
.section-badge{display:inline-block;font-size:10px;font-weight:700;background:#fff5bd;color:#82702d;border-radius:999px;padding:5px 10px;white-space:nowrap}
.form-actions{display:flex;align-items:center;gap:16px;margin-top:20px}
.form-status{font-size:11px;color:#73716d;line-height:1.5}
.saved-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.saved-address{border:1.5px solid #e5e2d8;padding:16px;border-radius:13px;min-width:0}
.saved-address:has(.address-default){border-color:#dcc35d;background:#fffdf1}
.saved-address p{font-size:12px;line-height:1.6;margin-top:10px;overflow-wrap:anywhere}
.saved-address .section-heading{align-items:flex-start;flex-wrap:wrap;gap:6px}
.address-default{font-size:9px;font-weight:700;color:#8b7426;background:#fff0a5;border-radius:999px;padding:4px 8px}
.address-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}
.address-actions button{font-size:10px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.address-actions button[data-address-action="remove"]{color:#9b7467}
.address-empty{grid-column:1/-1;text-align:center;background:#faf9f5;padding:28px 18px;border-radius:14px}
.address-empty>span{font-size:35px;color:#c8ad4b;line-height:1}
.address-empty h3{font-size:16px;margin-top:8px}
.address-empty p{font-size:12px;line-height:1.5;color:#878079;margin-top:8px}
.account-cart-link{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 26px;background:var(--yellow);border-radius:18px}
.account-cart-link b{display:block;font-size:16px;line-height:1.4}
.account-cart-link small{display:block;font-size:11px;line-height:1.5;margin-top:6px}
.account-cart-link>span:last-child{font-size:30px}
@media(min-width:1001px) and (min-height:1100px){.checkout-rail{position:sticky;top:20px}}
@media(max-width:1180px) and (min-width:1001px){
 .checkout-layout{grid-template-columns:minmax(0,1fr) 330px;gap:20px}
 .cart-line{grid-template-columns:60px minmax(0,1fr) 80px 20px;gap:10px}
 .cart-line__image{width:60px;height:70px;grid-row:1/3}
 .cart-line__quantity{grid-column:2;width:98px;grid-row:2}
 .cart-line__info{grid-column:2;grid-row:1}
 .cart-line__total{grid-column:3;grid-row:1/3;font-size:15px}
 .cart-line__remove{grid-column:4;grid-row:1/3}
}
@media(max-width:1000px){
 .checkout-layout{grid-template-columns:minmax(0,1fr);gap:24px}
 .checkout-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .checkout-section:first-child{grid-column:1/-1}
 .order-summary{grid-column:1/-1}
 .account-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}
 .saved-addresses{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
 .commerce-wrap{padding-top:20px;padding-bottom:30px}
 .commerce-title{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:20px}
 .commerce-title h1{font-size:30px}
 .commerce-title>.text-link{font-size:11px}
 .eyebrow{font-size:9px}
 .title-count{height:30px;min-width:30px;font-size:15px}
 .commerce-card{padding:18px;border-radius:17px}
 .cart-products{padding:0 14px}
 .cart-line{grid-template-columns:58px 95px minmax(0,1fr) 20px;gap:9px 12px;padding:18px 0}
 .cart-line__image{width:58px;height:70px;grid-column:1;grid-row:1/3}
 .cart-line__info{grid-column:2/4;grid-row:1}
 .cart-line__name{font-size:12px;line-height:1.4}
 .cart-line__unit{font-size:10px}
 .cart-line__quantity{grid-column:2;grid-row:2;width:95px;height:34px;justify-self:start}
 .cart-line__total{grid-column:3/5;grid-row:2;justify-self:end;align-self:center;font-size:16px;padding-left:0;max-width:100%}
 .cart-line__remove{grid-column:4;grid-row:1;align-self:start}
 .cart-products__subtotal{font-size:13px;padding:16px 0}
 .cart-products__subtotal b{font-size:18px}
 .cart-empty{padding:22px 0;gap:15px}
 .cart-empty>img{width:72px;height:95px}
 .cart-empty h2{font-size:19px}
 .cart-empty p{font-size:11px;margin:8px 0 12px}
 .empty-actions .orange-button,.empty-actions .outline-button{font-size:10px;padding:9px 11px;min-height:38px}
 .checkout-rail{display:flex;gap:14px}
 .section-heading h2,.checkout-section>h2{font-size:17px}
 .section-heading .text-link{font-size:10px}
 .cart-content .section-title{font-size:21px;margin-top:30px}
 .cart-content .carousel-hint{display:inline}
 .cart-content .carousel-controls .arrows button{width:30px;height:30px}
 .sale-placeholder{padding:20px;min-height:155px;margin-top:22px}
 .sale-placeholder h2{font-size:22px}
 .sale-placeholder>img{width:88px;height:115px;margin-right:-8px}
 .sale-placeholder p{font-size:11px;max-width:170px}
 .order-summary{padding:20px}
 .pay-button{min-height:54px;font-size:16px}
 .order-total strong{font-size:29px}
 .local-note{margin-top:-8px;margin-bottom:20px;font-size:10px}
 .account-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 .account-nav{padding:15px;border-radius:18px}
 .account-welcome{display:flex;align-items:center;gap:12px;text-align:left;padding:0 0 12px}
 .account-welcome img{width:51px;height:55px;margin:0;grid-row:1/3}
 .account-welcome h2{font-size:22px}
 .account-welcome p{display:none}
 .account-nav nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;padding-top:12px}
 .account-nav nav>a,.account-nav nav>button{background:#fff;border:1px solid #e7e3d6;border-radius:999px;padding:9px 11px;font-size:10px;gap:10px}
 .account-nav nav span{font-size:10px}
 .account-content{gap:17px}
 .account-section{padding:19px}
 .account-section .section-heading h2{font-size:21px}
 .field-grid{gap:14px 10px}
 .field>span{font-size:11px}
 .field input{padding:0 10px;font-size:12px}
 .account-section #contactForm .field{grid-column:1/-1}
 .form-actions{flex-direction:column;align-items:flex-start;gap:10px}
 .form-actions .orange-button{width:100%}
 .account-cart-link{padding:20px}
 .account-cart-link b{font-size:14px}
 .account-cart-link small{font-size:10px}
 .address-form{padding:13px}
 .address-form .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
 .cart-line{grid-template-columns:47px 83px minmax(0,1fr) 18px;gap:9px}
 .cart-line__image{width:47px;height:62px}
 .cart-line__quantity{width:83px}
 .cart-line__quantity button{width:25px}
 .cart-line__total{padding-left:0;font-size:14px}
 .commerce-title h1{font-size:27px}
 .cart-empty{flex-direction:column;text-align:center}
 .empty-actions{justify-content:center}
 .cart-content .section-title{font-size:19px}
 .sale-placeholder{padding:18px}
 .sale-placeholder>img{width:70px}
}
@media(max-width:600px){.field input,.checkout-section textarea,.cart-line__quantity input{font-size:16px}}
