/* ИЗМЕНЕНИЕ: 18.09.2026 | FINAL40 v7.2 — навигация, кнопка НАЗАД, состав заявки */
/* Правка 15.09.2026: лёгкая контрастная мобильная тема WebLarek. */
*{box-sizing:border-box}html,body{min-height:100%;margin:0;font-family:"YS Text",Roboto,Helvetica,Arial,sans-serif;font-size:18px;color:#17243A;background:#F4F7FB}body{overflow-x:hidden}button,input{font:inherit}.page__wrapper{width:100%;min-height:100%}.page__wrapper_locked{position:fixed;width:100%}
/* Правка 15.09.2026: яркая неоновая шапка магазина по макету. */
.header{height:112px;position:sticky;top:0;z-index:20;overflow:hidden;color:#fff;background:#07133f url(./header-waves.png) center/cover no-repeat;box-shadow:0 4px 22px rgba(7,19,63,.22);border-bottom:1px solid rgba(255,255,255,.14)}
.header:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,19,63,.78) 0%,rgba(7,19,63,.42) 42%,rgba(7,19,63,.08) 78%,rgba(7,19,63,.28) 100%);pointer-events:none}
.header__container{position:relative;z-index:2;max-width:1320px;height:100%;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:22px;box-sizing:border-box}
.header__brand{height:76px;display:flex;align-items:center;gap:20px;flex:0 0 auto}
.header__logo{height:62px;display:flex;align-items:center;padding-right:20px;border-right:1px solid rgba(255,255,255,.35)}
.header__logo-image{display:block;height:100%;width:auto;filter:drop-shadow(0 4px 12px rgba(0,0,0,.22))}
.header__brand-info{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px}
.header__tagline{margin:0;color:#fff;font-size:20px;line-height:1.12;font-weight:650;letter-spacing:-.02em;white-space:nowrap;text-shadow:0 2px 12px rgba(0,0,0,.28)}
.header__catalog-stats{display:flex;flex-direction:column;gap:2px;min-width:0}
.header__catalog-counts{display:flex;align-items:baseline;gap:7px;color:rgba(255,255,255,.9);font-size:12px;letter-spacing:.01em;white-space:nowrap}
.header__catalog-counts strong{font-weight:600}
.header__catalog-date{color:rgba(255,255,255,.64);font-size:10px;letter-spacing:.01em}
.header__basket{margin-left:auto;width:52px;height:52px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(5,14,43,.68) url(./shopping_cart.svg) center/23px no-repeat;box-shadow:0 8px 24px rgba(0,0,0,.2),inset 0 0 0 1px rgba(255,255,255,.05);position:relative;cursor:pointer;transition:transform .18s ease,background .18s ease}
.header__basket:hover{transform:translateY(-1px) scale(1.03);background-color:rgba(5,14,43,.82)}
.header__basket-counter{position:absolute;display:flex;justify-content:center;align-items:center;top:-3px;right:-3px;min-width:21px;height:21px;padding:0 5px;font-size:11px;line-height:1;background:#19a8ff;color:#fff;border:2px solid #07133f;border-radius:999px;font-weight:800;box-sizing:border-box}
@media(max-width:700px){.header{height:94px}.header__container{padding:0 14px;gap:10px}.header__brand{height:68px;gap:11px}.header__logo{height:48px;padding-right:11px}.header__tagline{font-size:15px;white-space:normal;max-width:245px}.header__catalog-counts{font-size:10px;gap:5px}.header__catalog-date{font-size:9px}.header__basket{width:43px;height:43px;background-size:19px}}
@media(max-width:430px){.header{height:88px}.header__brand{gap:8px}.header__logo{height:43px;padding-right:8px}.header__tagline{font-size:12px;max-width:175px}.header__catalog-counts{font-size:9px}.header__catalog-date{font-size:8px}.header__basket{width:40px;height:40px}}
.gallery{max-width:1320px;margin:0 auto;padding:24px 22px 36px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery__item{min-height:360px;border-radius:20px;cursor:pointer}.card{display:flex;flex-direction:column;border:1px solid #DCE5EE;border-radius:20px;background:#fff;box-shadow:0 7px 22px rgba(39,60,85,.08);color:#17243A;padding:16px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(39,60,85,.12);border-color:#C6D5E3}.card__image{height:240px;width:240px;max-width:100%;aspect-ratio:1;object-fit:cover;margin:14px auto 16px;border-radius:16px;background:#F1F5F9;display:block}.card__title{font-size:1.55rem;font-weight:750;margin:0;flex-grow:1;line-height:1.08;color:#17243A}.card__category{display:inline-flex;align-self:flex-start;padding:6px 10px;border-radius:999px;margin-bottom:9px;color:#405066;background:#EEF3F7;font-size:12px;font-weight:700}.card__code{font-weight:700;color:#4E6075}.card__unit{color:#6E7F92;font-size:.9rem;margin-top:3px}
.modal{position:fixed;inset:0;display:none;justify-content:center;align-items:flex-start;background:rgba(17,30,48,.48);z-index:100;padding:20px;overflow-y:auto}.modal_active{display:flex}.modal__container{width:min(760px,100%);margin:4vh auto 0;display:flex;flex-direction:column;gap:18px;background:#fff;border:1px solid #DCE5EE;border-radius:24px;box-shadow:0 24px 70px rgba(17,34,52,.22);position:relative;padding:24px;color:#17243A}.modal__content{flex-grow:1;min-width:0}.modal__title{margin:0;font-size:1.55rem;line-height:1.15;font-weight:750;color:#17243A}.modal__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.modal__close{display:none!important}
.basket{display:flex;flex-direction:column;gap:16px;height:100%}.basket__list{padding:0;margin:0;flex-grow:1;list-style:none}.basket__item{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto 34px;grid-template-areas:"index title quantity delete" "index code quantity delete" "index unit quantity delete";align-items:center;column-gap:9px;row-gap:2px;width:100%;box-sizing:border-box;border-bottom:1px solid #E5EBF1;padding:12px 0}.basket__item-index{grid-area:index;display:flex;justify-content:center;align-items:center;font-size:.82rem;width:30px;height:30px;border-radius:10px;background:#FFF0D4;color:#A65E00;font-weight:800}.basket__item .card__title{grid-area:title;min-width:0;overflow-wrap:anywhere;text-align:left;font-size:1rem}.basket__item .card__code{grid-area:code;text-align:left;font-size:.85rem;color:#5C6D80}.basket__item .card__unit{grid-area:unit;text-align:left;font-size:.82rem;color:#7A8999}.basket__quantity-controls{grid-area:quantity;display:flex;align-items:center;gap:6px}.basket__item-delete{grid-area:delete;width:34px;height:34px;border:0;background:url(./trash-2.svg) center/20px no-repeat;cursor:pointer;opacity:.65}.basket__item-delete:hover{opacity:1}
.order{display:flex;flex-direction:column;gap:15px;margin-bottom:8px}.order__field{display:flex;flex-direction:column;gap:7px}.form{display:flex;flex-direction:column;gap:16px}.form__label{font-size:.88rem;font-weight:700;color:#42546A}.form__input{background:#F8FAFC;color:#17243A;border:1px solid #CBD7E3;border-radius:14px;padding:12px 14px;font-size:1rem;width:100%;outline:none;transition:border-color .15s,box-shadow .15s}.form__input:focus{border-color:#FF9D1C;box-shadow:0 0 0 3px rgba(255,157,28,.15)}.form__input:invalid{border-color:#D92D20}.form__input::placeholder{color:#98A6B5}.form__errors{display:block;color:#D92D20;font-size:.86rem;line-height:1.35}.address-field{position:relative}.address-suggestions{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:30;background:#fff;border:1px solid #D7E0E9;border-radius:14px;box-shadow:0 14px 30px rgba(29,48,69,.15);overflow:hidden}.address-suggestion{display:block;width:100%;border:0;background:#fff;color:#17243A;text-align:left;padding:11px 13px;font:inherit;font-size:.92rem;cursor:pointer}.address-suggestion:hover{background:#F3F6F9}
.button{border:0;border-radius:14px;background:#FF9D1C;color:#fff;font:inherit;font-weight:750;padding:13px 18px;min-height:48px;cursor:pointer;box-shadow:0 7px 16px rgba(255,157,28,.18);transition:transform .15s,background .15s}.button:hover{background:#EA890C;transform:translateY(-1px)}.button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}.button_alt{border:1px solid #D2DDE8;background:#fff;color:#17243A;box-shadow:none}
.group-picker{width:min(760px,100%);color:#17243A}.group-picker__label{display:block;color:#7A8999;font-size:.78rem;margin-bottom:4px}.group-picker__search{width:100%;padding:11px 13px;border:1px solid #CBD7E3;border-radius:13px;background:#F8FAFC;color:#17243A;outline:none;margin-bottom:10px}.group-picker__list{display:flex;flex-direction:column;gap:8px;max-height:58vh;overflow-y:auto}.group-picker__item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #E0E7EE;border-radius:14px;background:#fff}.group-picker__info{display:flex;flex-direction:column;gap:3px;min-width:0}.group-picker__info strong{font-size:1rem}.group-picker__code{font-size:.82rem;color:#4E6075;font-weight:700}.group-picker__unit{font-size:.8rem;color:#7B8997}.group-picker__controls{display:flex;align-items:center;gap:7px}.quantity-input{width:88px;min-width:76px;height:44px;padding:7px 9px;border:1px solid #B9C8D7;border-radius:12px;background:#fff;color:#17243A;font:inherit;font-weight:800;text-align:center;outline:none;color-scheme:light}.quantity-input:focus{border-color:#FF9D1C;box-shadow:0 0 0 3px rgba(255,157,28,.14)}.quantity-input::-webkit-inner-spin-button,.quantity-input::-webkit-outer-spin-button{opacity:1;filter:none}
@media(max-width:900px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 12px 28px;gap:12px}.card{padding:12px;border-radius:17px}.card__image{width:min(100%,170px);height:auto}.card__title{font-size:1.2rem}.card__code{font-size:.82rem}.modal{padding:8px}.modal__container{max-width:560px;margin:8px auto 0;padding:18px;border-radius:20px}.modal__title{font-size:1.35rem}.basket__item{grid-template-columns:30px minmax(0,1fr) auto 30px;column-gap:7px}.basket__item .card__title{font-size:.92rem}.basket__item .card__code,.basket__item .card__unit{font-size:.73rem}.basket__item-delete{width:30px;height:30px}.basket__item-index{width:28px;height:28px}.quantity-input{width:74px;min-width:68px}.header{height:64px}.header__container{padding:0 12px}.header__logo{height:42px}.header__basket{width:42px;height:42px}}
@media(max-width:480px){.gallery{padding:12px 10px 24px;gap:10px}.gallery__item{min-height:300px}.card{padding:10px;border-radius:15px}.card__category{font-size:9px;padding:5px 7px}.card__title{font-size:1.05rem}.card__image{width:min(100%,120px);margin:8px auto 10px}.card__code,.card__unit{font-size:11px}.modal__container{padding:16px}.quantity-input{width:70px;min-width:64px}}
/* Правка 15.09.2026: production visual override — Apple Store inspired light system. */
:root{--wl-bg:#f5f5f7;--wl-text:#1d1d1f;--wl-muted:#6e6e73;--wl-blue:#0071e3;--wl-line:#d2d2d7}
html,body.page{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","YS Text","Helvetica Neue",Arial,sans-serif!important;font-size:17px!important;color:#1d1d1f!important;background:#f5f5f7!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.header{height:72px!important;background:rgba(255,255,255,.86)!important;border-bottom:1px solid rgba(29,29,31,.08)!important;box-shadow:0 1px 0 rgba(29,29,31,.02)!important;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px)}
.header__container{max-width:1200px!important;padding:0 22px!important;gap:18px!important;justify-content:flex-start!important}.header__logo{height:44px!important;flex:0 0 auto}.header__logo-image{height:100%!important;width:auto}.header__catalog-stats{display:flex;flex-direction:column;gap:2px;min-width:0}.header__catalog-counts{display:flex;align-items:baseline;gap:7px;color:#1d1d1f;font-size:14px;white-space:nowrap}.header__catalog-counts strong{font-weight:650}.header__catalog-date{color:#6e6e73;font-size:11px}.header__basket{margin-left:auto;width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:#f5f5f7 url(./shopping_cart.svg) center/20px no-repeat!important;filter:none!important}.header__basket:hover{background-color:#e8e8ed!important}.header__basket-counter{top:-2px!important;right:-2px!important;background:#0071e3!important;border-color:#fff!important}
.gallery{max-width:1200px!important;padding:28px 22px 44px!important;gap:18px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.gallery__item{min-height:350px!important;border-radius:24px!important}
.card{border:1px solid #e5e5ea!important;border-radius:24px!important;background:#fff!important;box-shadow:0 2px 12px rgba(0,0,0,.045)!important;color:#1d1d1f!important;padding:18px!important}.card:hover{box-shadow:0 12px 30px rgba(0,0,0,.08)!important;border-color:#d2d2d7!important}.card__title{font-size:1.45rem!important;font-weight:650!important;letter-spacing:-.025em!important;color:#1d1d1f!important}.card__image{border-radius:18px!important;background:#f5f5f7!important}.card__category{color:#424245!important;background:#f5f5f7!important;font-weight:600!important}.card__code{color:#424245!important}.card__unit{color:#6e6e73!important}
.button{border-radius:980px!important;background:#0071e3!important;color:#fff!important;font:600 16px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;box-shadow:none!important}.button:hover{background:#0077ed!important}.button:disabled{opacity:.45!important}
.modal{background:rgba(0,0,0,.32)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.modal__container{background:#fff!important;border:1px solid #e5e5ea!important;border-radius:26px!important;box-shadow:0 24px 70px rgba(0,0,0,.16)!important;color:#1d1d1f!important}.modal__title{color:#1d1d1f!important;font-weight:650!important;letter-spacing:-.025em}.modal__close{display:none!important}
.form__label{color:#424245!important;font-weight:600!important}.form__input,.group-picker__search{background:#f5f5f7!important;color:#1d1d1f!important;border-color:#d2d2d7!important;border-radius:14px!important}.form__input:focus,.group-picker__search:focus{background:#fff!important;border-color:#0071e3!important;box-shadow:0 0 0 4px rgba(0,113,227,.1)!important}.form__input::placeholder,.group-picker__search::placeholder{color:#86868b!important}.address-suggestions{border-color:#d2d2d7!important;box-shadow:0 14px 30px rgba(0,0,0,.12)!important}.address-suggestion:hover{background:#f5f5f7!important}
.group-picker__item{border-color:#e5e5ea!important;border-radius:16px!important;background:#fff!important}.group-picker__label,.group-picker__unit{color:#6e6e73!important}.group-picker__code{color:#424245!important}.quantity-input{background:#f5f5f7!important;border-color:#d2d2d7!important;color:#1d1d1f!important;border-radius:14px!important;font-weight:700!important}.quantity-input:focus{background:#fff!important;border-color:#0071e3!important;box-shadow:0 0 0 4px rgba(0,113,227,.1)!important}
.basket__item{grid-template-columns:32px minmax(0,1fr) auto 34px!important;grid-template-areas:"index title quantity delete" "index code quantity delete" "index unit quantity delete"!important;column-gap:10px!important;row-gap:2px!important}.basket__item-index{background:#f5f5f7!important;color:#1d1d1f!important}.basket__item-delete{background-color:#f5f5f7!important;border-radius:50%!important}.basket__item .card__title{color:#1d1d1f!important}.basket__item .card__code,.basket__item .card__unit{color:#6e6e73!important}
@media(max-width:900px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:18px 14px 32px!important;gap:14px!important}}
@media(max-width:600px){html,body.page{font-size:16px!important}.header{height:60px!important}.header__container{padding:0 14px!important;gap:10px!important}.header__logo{height:38px!important}.header__catalog-counts{font-size:12px}.header__catalog-date{font-size:9px}.header__basket{width:38px!important;height:38px!important;background-size:18px!important}.gallery{padding:12px 12px 28px!important;gap:12px!important;grid-template-columns:1fr!important}.gallery__item{min-height:94px!important}.card{padding:12px!important;border-radius:20px!important}.card__title{font-size:1.2rem!important}.basket__item{grid-template-columns:30px minmax(0,1fr) auto 30px!important;column-gap:8px!important}.basket__item .card__title{font-size:.94rem!important}.basket__item .card__code,.basket__item .card__unit{font-size:.72rem!important}.basket__item-delete{width:30px!important;height:30px!important}.quantity-input{width:72px!important;min-width:66px!important}}
@media(max-width:390px){.header__logo{height:34px!important}.header__catalog-counts{font-size:10px}.header__catalog-date{font-size:8px}.basket__item{grid-template-columns:27px minmax(0,1fr) auto 28px!important}.quantity-input{width:66px!important;min-width:60px!important}}

/* FINAL20: каталог toolbar, favorites and all-products view. */
.storefront-main{max-width:1320px;margin:0 auto;padding:24px 22px 44px;box-sizing:border-box}.catalog-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:12px;align-items:center;margin-bottom:22px}.catalog-search{position:relative;display:flex;align-items:center;min-width:0}.catalog-search__icon{position:absolute;left:17px;width:22px;height:22px;fill:none;stroke:#52658c;stroke-width:2;stroke-linecap:round;pointer-events:none}.catalog-search input{width:100%;height:54px;padding:0 18px 0 50px;border:1px solid #e3e7f0;border-radius:999px;background:#fff;color:#111827;font:inherit;font-weight:500;outline:none;box-shadow:0 7px 24px rgba(15,31,78,.07);box-sizing:border-box}.catalog-search input:focus{border-color:#5a77ff;box-shadow:0 0 0 4px rgba(25,168,255,.12),0 10px 28px rgba(15,31,78,.09)}.catalog-search input::placeholder{color:#7d8aa6}.catalog-toolbar__button{height:54px;padding:0 24px;border:1px solid #e3e7f0;border-radius:999px;background:#fff;color:#435273;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 7px 24px rgba(15,31,78,.06);white-space:nowrap;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}.catalog-toolbar__button:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(15,31,78,.1)}.catalog-toolbar__button_active,.catalog-toolbar__button:first-of-type{border-color:transparent;background:linear-gradient(100deg,#19A8FF 0%,#6B2DFF 52%,#FF2F92 100%);color:#fff;box-shadow:0 9px 24px rgba(91,64,255,.23)}.favorites-count{display:inline-flex;min-width:22px;height:22px;padding:0 6px;align-items:center;justify-content:center;margin-left:6px;border-radius:999px;background:rgba(255,255,255,.2);font-size:.78em}.gallery{max-width:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gallery__item{min-height:350px}.card__topline{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:34px}.card__favorite{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:0;border-radius:50%;background:#f5f7fb;color:#58709a;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease;z-index:2}.card__favorite svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.card__favorite:hover{transform:scale(1.06);background:#fff0f6;color:#ff2f92}.card__favorite_active{background:linear-gradient(135deg,#ff2f92,#ff4d72);color:#fff;box-shadow:0 6px 16px rgba(255,47,146,.25)}.card__favorite_active svg{fill:currentColor;stroke:#fff}.all-products,.favorites-modal{width:min(820px,100%)}.all-products__heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.all-products__label{display:block;color:#68758f;font-size:.78rem;margin-bottom:4px;font-weight:600}.catalog-search_modal{margin-bottom:14px}.all-products__list{display:flex;flex-direction:column;gap:8px;max-height:62vh;overflow-y:auto;padding-right:2px}.all-products__row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #e6e9f0;border-radius:17px;background:#fff;box-shadow:0 3px 12px rgba(15,31,78,.035)}.all-products__info{display:flex;flex-direction:column;gap:3px;min-width:0}.all-products__info strong{font-size:1rem;line-height:1.2;color:#141a29}.all-products__info span{font-size:.86rem;color:#506080}.all-products__info small{font-size:.76rem;color:#8993a7}.all-products__controls{flex:0 0 auto}.all-products__empty{padding:34px 12px;text-align:center;color:#68758f}.favorites-modal__list{max-height:68vh;overflow-y:auto;padding:2px}.favorites-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.favorites-modal__grid .gallery__item{min-height:320px}@media(max-width:900px){.storefront-main{padding:18px 14px 32px}.catalog-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.catalog-toolbar__button{padding:0 16px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}@media(max-width:620px){.catalog-toolbar{grid-template-columns:1fr 1fr;grid-template-areas:"search search" "all fav"}.catalog-search{grid-area:search}.catalog-toolbar__button:first-of-type{grid-area:all}.catalog-toolbar__button:last-of-type{grid-area:fav}.catalog-toolbar__button{width:100%;padding:0 10px}.gallery{grid-template-columns:1fr;gap:12px}.favorites-modal__grid{grid-template-columns:1fr}.all-products__row{padding:11px 10px}.all-products__info strong{font-size:.93rem}.all-products__info span{font-size:.8rem}}@media(max-width:480px){.card__favorite{width:36px;height:36px}.card__favorite svg{width:21px;height:21px}}

.store-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 0}.store-feature{min-height:96px;display:flex;align-items:center;gap:15px;padding:16px 20px;border:1px solid #e5e9f1;border-radius:20px;background:#fff;box-shadow:0 8px 26px rgba(15,31,78,.06)}.store-feature__icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:15px;font-size:29px;font-weight:800}.store-feature strong{display:block;font-size:16px;line-height:1.2;color:#101827}.store-feature p{margin:6px 0 0;color:#66748f;font-size:13px;line-height:1.3}.store-feature_orange .store-feature__icon{background:linear-gradient(135deg,#ff7a00,#ffc52c);color:#fff}.store-feature_blue .store-feature__icon{background:linear-gradient(135deg,#19a8ff,#6b2dff);color:#fff}.store-feature_pink .store-feature__icon{background:linear-gradient(135deg,#ff2f92,#6b2dff);color:#fff}@media(max-width:900px){.store-features{grid-template-columns:1fr 1fr}}@media(max-width:620px){.store-features{grid-template-columns:1fr;gap:10px;margin-top:18px}.store-feature{min-height:82px;padding:13px 15px}.store-feature__icon{width:43px;height:43px;flex-basis:43px;font-size:25px}}
.form__field-error{display:block;min-height:1.05em;margin-top:5px;color:#d70015;font-size:.78rem;line-height:1.25}.order__field .form__input:invalid{border-color:#d2d2d7}

.address-suggestion_error{color:#d70015;cursor:default;background:#fff8f8}

.card__category_new{background:#e8f7ed!important;color:#1d7a42!important}.card__category_updated{background:#f5f5f7!important;color:#6e6e73!important}.card__title{overflow-wrap:anywhere}
.store-footer{position:relative;max-width:none;min-height:112px;margin:34px calc(50% - 50vw) 0;overflow:hidden;background-image:url(./footer.png);background-size:cover;background-position:center;border-radius:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.store-footer:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,10,38,.16),rgba(3,10,38,.04));pointer-events:none}.store-footer__content{position:relative;z-index:1;text-align:center;padding:20px 24px;color:#fff;max-width:900px;text-shadow:0 2px 14px rgba(0,0,0,.25)}.store-footer__content h2{margin:0;font-size:clamp(22px,3vw,34px);line-height:1.08;font-weight:800;letter-spacing:-.025em}.store-footer__content p{margin:8px 0 14px;font-size:clamp(14px,1.7vw,20px);line-height:1.3;font-weight:600}.store-footer__button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:46px;padding:0 30px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:linear-gradient(100deg,#19a8ff 0%,#147be8 50%,#6b2dff 100%);color:#fff;font:inherit;font-size:18px;font-weight:800;cursor:pointer;box-shadow:0 10px 30px rgba(0,20,90,.28),inset 0 1px 0 rgba(255,255,255,.28);transition:transform .18s ease,box-shadow .18s ease}.store-footer__button:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,20,90,.34),inset 0 1px 0 rgba(255,255,255,.35)}.store-footer__button:active{transform:translateY(0)}@media(max-width:620px){.store-footer{min-height:94px;margin-top:24px;background-position:center}.store-footer__content{padding:14px 18px}.store-footer__content h2{font-size:22px}.store-footer__content p{font-size:14px;margin:6px 0 10px}.store-footer__button{width:100%;max-width:330px;min-height:42px;padding:0 20px;font-size:16px}}
.basket__benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:2px 0 8px;border-bottom:1px solid #E5E5EA}.basket__benefit{display:flex;align-items:center;gap:9px;min-width:0}.basket__benefit-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#F5F5F7;font-size:22px}.basket__benefit div{display:flex;flex-direction:column;min-width:0}.basket__benefit strong{font-size:.95rem;line-height:1.15;color:#1D1D1F}.basket__benefit div span{font-size:.82rem;line-height:1.2;color:#6E6E73;margin-top:2px}@media(max-width:600px){.basket__benefits{gap:8px;padding-bottom:10px}.basket__benefit{gap:6px}.basket__benefit-icon{flex-basis:34px;width:34px;height:34px;font-size:18px}.basket__benefit strong{font-size:.78rem}.basket__benefit div span{font-size:.68rem}}

/* FINAL33: быстрые разделы, избранное товаров и поиск по всему каталогу. */
.catalog-quick-actions{grid-column:1/-1;display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:none}.catalog-quick-actions::-webkit-scrollbar{display:none}.catalog-quick-button{height:52px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border:1px solid #e3e7f0;border-radius:16px;background:#fff;color:#222;font:inherit;font-weight:750;white-space:nowrap;cursor:pointer;box-shadow:0 6px 18px rgba(15,31,78,.06);transition:.18s ease}.catalog-quick-button:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,31,78,.1)}.catalog-quick-button span{font-size:25px;line-height:1}.catalog-quick-button:nth-child(1) span{color:#222}.catalog-quick-button:nth-child(2) span{color:#ef5148}.catalog-quick-button:nth-child(3) span{color:#ff8500}.catalog-quick-button:nth-child(4) span{color:#ffb900}.catalog-quick-button_repeat{margin-left:auto;background:#f5f7fb}.product-card{min-height:350px;cursor:default}.product-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-card__category{max-width:calc(100% - 48px);padding:7px 11px;border-radius:999px;background:#f5f5f7;color:#6e6e73;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-card__favorite{width:40px;height:40px;border:0;border-radius:50%;background:#f5f7fb;color:#58709a;font-size:25px;cursor:pointer;line-height:1}.product-card__favorite_active{background:linear-gradient(135deg,#ff2f92,#ff4d72);color:#fff;box-shadow:0 6px 16px rgba(255,47,146,.25)}.product-card__image{height:190px;width:190px;max-width:100%;aspect-ratio:1;object-fit:cover;margin:12px auto;border-radius:18px;background:#f5f5f7;display:block}.product-card__title{margin:0;font-size:1.2rem;line-height:1.12;letter-spacing:-.02em;overflow-wrap:anywhere}.product-card__unit{margin-top:7px;color:#6e6e73;font-size:.9rem}.product-card__actions{margin-top:auto;padding-top:16px;display:flex;gap:8px;align-items:center}.product-card__actions .quantity-input{width:82px;min-height:44px}.product-card__add{min-height:44px;flex:1;border:0;border-radius:12px;background:#0071e3;color:#fff;font:inherit;font-weight:750;cursor:pointer;padding:0 14px}.product-card__add:hover{background:#0068d2}.store-footer{min-height:clamp(130px,12vw,170px);height:clamp(130px,12vw,170px);background-size:100% 100%;background-position:center center}.store-footer__content{padding:14px 24px}.store-footer__content h2{font-size:clamp(21px,2.6vw,32px)}.store-footer__content p{margin:7px 0 11px;font-size:clamp(13px,1.5vw,18px)}.store-footer__button{min-height:42px;padding:0 25px}@media(max-width:900px){.catalog-quick-actions{grid-column:1/-1}.catalog-quick-button{height:48px;padding:0 14px}.catalog-quick-button_repeat{margin-left:0};.catalog-quick-button__text{color:#fff!important}.catalog-quick-button:nth-child(1) span{color:#fff!important}.catalog-quick-button:nth-child(2) span{color:#fff!important}.catalog-quick-button:nth-child(3) span{color:#fff!important}.catalog-quick-button:nth-child(4) span{color:#fff!important}.catalog-quick-button_repeat span{color:#fff!important}.catalog-quick-button:nth-child(3) .catalog-quick-button__discount{color:#fff!important}; .catalog-quick-button:nth-child(1){background:linear-gradient(100deg,#19A8FF 0%,#147BE8 48%,#6B2DFF 100%)!important}.catalog-quick-button:nth-child(2){background:linear-gradient(100deg,#FF2F92 0%,#E91E8C 45%,#6B2DFF 100%)!important}.catalog-quick-button:nth-child(3){background:linear-gradient(100deg,#FF7A00 0%,#FF5336 48%,#FF2F92 100%)!important}.catalog-quick-button:nth-child(4){background:linear-gradient(100deg,#19A8FF 0%,#0068FF 45%,#6B2DFF 100%)!important}.catalog-quick-button_repeat{background:linear-gradient(100deg,#6B2DFF 0%,#9A25E8 45%,#FF2F92 100%)!important}.product-card__image{height:150px;width:150px}}@media(max-width:620px){.catalog-quick-actions{grid-column:1/-1;gap:7px}.catalog-quick-button{height:46px;padding:0 12px;border-radius:14px;font-size:13px}.catalog-quick-button span{font-size:21px}.product-card{min-height:320px}.product-card__image{height:135px;width:135px}.store-footer{height:132px;min-height:132px;background-size:100% 100%}.store-footer__content{padding:10px 12px}.store-footer__content h2{font-size:19px}.store-footer__content p{font-size:13px;margin:5px 0 8px}.store-footer__button{min-height:36px;padding:0 16px;font-size:13px}}@media(max-width:390px){.store-footer{height:120px;min-height:120px}.store-footer__content h2{font-size:17px}.store-footer__content p{font-size:11px}.store-footer__button{min-height:32px;font-size:12px}}
.product-list__favorite{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:50%;background:#f5f7fb;color:#58709a;font-size:24px;line-height:1;cursor:pointer}.product-list__favorite_active{background:linear-gradient(135deg,#ff2f92,#ff4d72);color:#fff;box-shadow:0 5px 14px rgba(255,47,146,.22)}
@media(max-width:600px){.product-list__favorite{width:38px;height:38px;flex-basis:38px;font-size:21px}}
.order-success{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:1rem;padding:2rem 1.5rem;max-width:560px;margin:0 auto}.order-success::before{display:none!important}.order-success__check{display:flex;align-items:center;justify-content:center;width:82px;height:82px;border-radius:50%;background:#E8F5E9;color:#1D6B3C;font-size:42px;font-weight:700}.order-success__order-id{margin:0;font-size:2rem;line-height:1.15}.order-success__greeting{margin:0;font-size:1.25rem;font-weight:600}.order-success__description{margin:0;max-width:470px;font-size:1rem;line-height:1.5;color:#555}.order-success__email{margin:0;font-size:1rem;color:#0071e3;min-height:1.5em}.order-success__close{margin-top:1rem}

/* FINAL39 overrides */
.storefront-main{max-width:1680px;padding:28px 28px 0}.catalog-toolbar{display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);gap:16px;align-items:center;margin-bottom:28px}.catalog-search input{height:58px;font-size:17px;padding-left:54px}.catalog-quick-actions{display:flex;align-items:center;gap:10px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px 2px 7px;scrollbar-width:thin;flex-wrap:nowrap}.catalog-quick-button{height:58px;flex:0 0 auto;padding:0 16px;gap:9px;border:1px solid rgba(255,255,255,.5);border-radius:18px;appearance:none;-webkit-appearance:none;opacity:1!important;filter:none;background:linear-gradient(100deg,#19A8FF 0%,#6B2DFF 52%,#FF2F92 100%)!important;color:#fff!important;font:inherit;font-size:15px;font-weight:700;white-space:nowrap;cursor:pointer;box-shadow:0 8px 22px rgba(44,52,180,.20),inset 0 1px 0 rgba(255,255,255,.28);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.catalog-quick-button:hover{transform:translateY(-1px);filter:saturate(1.08) brightness(1.04);box-shadow:0 11px 27px rgba(44,52,180,.28),inset 0 1px 0 rgba(255,255,255,.35)}.catalog-quick-button:active{transform:translateY(0)}.catalog-quick-button img{width:30px;height:30px;object-fit:contain;display:block;flex:0 0 30px;filter:drop-shadow(0 2px 5px rgba(0,0,0,.14))}.catalog-quick-button__discount{font-size:30px;line-height:1;color:#fff;font-weight:800}.catalog-quick-button_repeat{margin-left:0}.favorites-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:2px;border-radius:999px;background:rgba(255,255,255,.94)!important;color:#17203A!important;font-size:.78em;line-height:1;font-weight:800;box-sizing:border-box}.gallery{max-width:none;padding:0 0 34px;gap:20px}.gallery.gallery_search-list{display:flex;flex-direction:column;gap:8px;padding-bottom:28px}.gallery.gallery_search-list .search-result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 18px;border:1px solid #e3e7f0;border-radius:18px;background:#fff;box-shadow:0 4px 16px rgba(15,31,78,.045);box-sizing:border-box}.search-result-row__info{min-width:0;display:grid;grid-template-columns:minmax(0,2.2fr) minmax(220px,1fr) 90px;align-items:center;gap:16px}.search-result-row__title{min-width:0;margin:0;font-size:16px;line-height:1.25;font-weight:700;color:#161b27;overflow-wrap:anywhere}.search-result-row__group{min-width:0;color:#66748f;font-size:13px;line-height:1.3;overflow-wrap:anywhere}.search-result-row__unit{color:#8a94a8;font-size:13px;white-space:nowrap}.search-result-row__actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.search-result-row__actions .quantity-input{width:76px;min-height:42px}.search-result-row__add{min-height:42px;border:0;border-radius:12px;background:#0071e3;color:#fff;font:inherit;font-size:14px;font-weight:700;padding:0 16px;cursor:pointer;white-space:nowrap}.search-result-row__add:hover{background:#0068d2}.search-result-row__favorite{width:42px;height:42px;border:0;border-radius:50%;background:#f5f7fb;color:#58709a;font-size:24px;line-height:1;cursor:pointer}.search-result-row__favorite_active{background:linear-gradient(135deg,#ff2f92,#ff4d72);color:#fff;box-shadow:0 5px 14px rgba(255,47,146,.22)}.store-footer{width:100vw;min-height:250px;height:250px;margin:30px calc(50% - 50vw) 0;background-size:cover;background-position:center;box-sizing:border-box}.store-footer__content{padding:26px 24px}.store-footer__content h2{font-size:clamp(30px,3vw,46px)}.store-footer__content p{font-size:clamp(17px,1.5vw,23px);margin:10px 0 18px}.store-footer__button{min-height:50px;font-size:17px;padding:0 32px}@media(max-width:1280px){.storefront-main{max-width:1320px}.catalog-toolbar{grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:12px}.catalog-quick-actions{gap:7px}.catalog-quick-button{padding:0 12px;font-size:14px}.catalog-quick-button img{width:27px;height:27px;flex-basis:27px}.search-result-row__info{grid-template-columns:minmax(0,1.8fr) minmax(160px,1fr) 72px}}@media(max-width:900px){.storefront-main{padding:20px 16px 0}.catalog-toolbar{grid-template-columns:1fr;gap:10px}.catalog-quick-actions{width:100%;padding-bottom:5px}.gallery{gap:14px}.gallery.gallery_search-list .search-result-row{grid-template-columns:1fr;gap:10px}.search-result-row__info{grid-template-columns:minmax(0,1fr) minmax(140px,auto) 70px}.store-footer{height:220px;min-height:220px;margin-top:24px}}@media(max-width:620px){.catalog-search input{height:52px;font-size:16px}.catalog-quick-button{height:50px;border-radius:15px;padding:0 11px;font-size:13px}.catalog-quick-button img{width:25px;height:25px;flex-basis:25px}.catalog-quick-button__discount{font-size:27px}.gallery.gallery_search-list .search-result-row{padding:12px 13px;border-radius:15px}.search-result-row__info{grid-template-columns:1fr;gap:4px}.search-result-row__unit{font-size:12px}.search-result-row__actions{width:100%}.search-result-row__actions .quantity-input{width:78px}.search-result-row__add{flex:1}.store-footer{height:190px;min-height:190px;background-position:center}.store-footer__content{padding:18px 14px}.store-footer__content h2{font-size:24px}.store-footer__content p{font-size:15px;margin:7px 0 12px}.store-footer__button{min-height:44px;font-size:15px}}
.catalog-quick-button_reset{background:linear-gradient(100deg,#6B2DFF 0%,#19A8FF 52%,#19A8FF 100%)!important}.catalog-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:220px;width:100%;grid-column:1/-1;text-align:center}.catalog-empty-state__back{border:0;border-radius:14px;padding:12px 22px;background:linear-gradient(100deg,#19A8FF 0%,#6B2DFF 52%,#FF2F92 100%);color:#fff;font:inherit;font-weight:750;cursor:pointer;box-shadow:0 8px 22px rgba(44,52,180,.20);transition:transform .18s ease,box-shadow .18s ease}.catalog-empty-state__back:hover{transform:translateY(-1px);box-shadow:0 11px 27px rgba(44,52,180,.28)}@media(max-width:620px){.catalog-empty-state{min-height:180px}.catalog-empty-state__back{padding:11px 18px;font-size:14px}}
/* FINAL40 v5: bright Telegram storefront header — no gray/white glass overlay. */
.header{height:112px!important;background:#07133f url(./header-waves.png) center/cover no-repeat!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.14)!important;box-shadow:0 4px 22px rgba(7,19,63,.22)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.header:after{display:none!important;content:none!important}
.header__container{max-width:1320px!important;padding:0 28px!important;gap:22px!important;justify-content:flex-start!important}
.header__logo{height:62px!important;padding-right:20px!important;border-right:1px solid rgba(255,255,255,.35)!important}
.header__logo-image{height:100%!important;width:auto!important}
.header__tagline{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.18)!important}
.header__catalog-counts{color:rgba(255,255,255,.92)!important}
.header__catalog-date{color:rgba(255,255,255,.72)!important}
.header__basket{width:52px!important;height:52px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:50%!important;background:rgba(5,14,43,.42) url(./shopping_cart.svg) center/23px no-repeat!important;box-shadow:0 8px 24px rgba(0,0,0,.2),inset 0 0 0 1px rgba(255,255,255,.05)!important}
.header__basket:hover{background-color:rgba(5,14,43,.58)!important}
.header__basket-counter{background:#19A8FF!important;border-color:#07133f!important}
@media(max-width:900px){.header{height:64px!important}.header__container{padding:0 12px!important}.header__logo{height:42px!important;padding-right:12px!important}.header__basket{width:42px!important;height:42px!important;background-size:19px!important}}
@media(max-width:600px){.header{height:60px!important}.header__container{padding:0 14px!important;gap:10px!important}.header__logo{height:38px!important}.header__catalog-counts{font-size:12px!important}.header__catalog-date{font-size:9px!important}.header__basket{width:38px!important;height:38px!important;background-size:18px!important}}
@media(max-width:390px){.header__logo{height:34px!important}.header__catalog-counts{font-size:10px!important}.header__catalog-date{font-size:8px!important}}
.order__button.is-loading{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:wait;opacity:.92}.order__button.is-loading::before{content:"";width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:order-submit-spin .7s linear infinite;flex:0 0 16px}@keyframes order-submit-spin{to{transform:rotate(360deg)}}
/* ИЗМЕНЕНИЕ: 18.09.2026 | FINAL40 v7.2 — кнопка НАЗАД без фоновой плашки и градиентный разделитель. */
.modal-back{display:inline-flex;align-items:center;justify-content:flex-start;align-self:flex-start;width:auto;min-width:0;height:auto;padding:2px 0;margin:0 0 16px;border:0;border-radius:0;background:transparent!important;color:#1d1d1f;font:500 18px/1.2 inherit;letter-spacing:-.01em;cursor:pointer;transition:opacity .15s,transform .15s;box-sizing:border-box;position:sticky;top:0;z-index:20;box-shadow:none!important;flex-shrink:0}.modal-back::before{content:'←';margin-right:9px;font-size:28px;font-weight:400;line-height:.8}.modal-back:hover{background:transparent!important;box-shadow:none!important;opacity:.68;transform:translateX(-1px)}.modal-back:active{transform:translateX(0);opacity:.52}.group-picker__label{display:none!important}.group-picker__header{display:flex;flex-direction:column;gap:18px;margin:0 0 14px}.group-picker__header::before{content:"";display:block;width:100%;height:1px;background:linear-gradient(90deg,#19A8FF 0%,#6B2DFF 50%,#FF2F92 100%);opacity:.72}.group-picker__search{margin-bottom:14px}.modal__container{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-top:8px}@media(max-width:600px){.modal{padding:8px;align-items:flex-start}.modal__container{width:100%;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);margin:0 auto;padding:18px;border-radius:22px;overflow-y:auto;-webkit-overflow-scrolling:touch}.modal__content{min-height:0}.modal-back{position:sticky;top:0;z-index:20;padding:2px 0;margin-bottom:14px;font-size:17px}.modal-back::before{margin-right:8px;font-size:26px}.group-picker__header{gap:16px;margin-bottom:12px}.group-picker__search{margin-bottom:12px}}
.basket__item_clickable{cursor:pointer;transition:background .15s,transform .15s}.basket__item_clickable:hover{background:#f8fafc}.order-composition__input{resize:vertical;min-height:110px;line-height:1.45;font-family:inherit;white-space:pre-wrap}.order-composition__input:read-only{background:#f5f5f7!important;color:#424245!important;cursor:default}@media(max-width:600px){.basket__item_clickable:hover{background:transparent}.basket__item_clickable:active{background:#f5f5f7}.order-composition__input{min-height:96px;font-size:.94rem}}
/* ИЗМЕНЕНИЕ: 18.09.2026 | FINAL40 v7.2 — единый красный цвет активного лайка. */
.card__favorite_active, .product-card__favorite_active, .product-list__favorite_active, .search-result-row__favorite_active {
  background: #FF3B30 !important;
  color: #FFFFFF !important;
  box-shadow: 0 5px 14px rgba(255, 59, 48, .22) !important;
}
.card__favorite_active svg { fill: currentColor; stroke: #FFFFFF; }


/* ИЗМЕНЕНИЕ: 18.09.2026 | FINAL40 v7.2 — кнопка корзины вместо текстовой кнопки добавления и видимое удаление из корзины. */
.product-add-cart{width:46px;height:46px;flex:0 0 46px;border:0;border-radius:14px;background:#0071E3;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 6px 16px rgba(0,113,227,.22);transition:transform .15s,background .15s,box-shadow .15s}
.product-add-cart:hover{background:#0066CC;transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,113,227,.28)}.product-add-cart:disabled{opacity:.42;cursor:not-allowed;transform:none!important;box-shadow:none!important;background:#C9CDD5!important;color:#fff!important}
.product-add-cart:active{transform:scale(.96)}
.product-card__actions,.search-result-row__actions,.group-picker__controls,.all-products__controls{display:flex;align-items:center;gap:8px}
.basket__item-delete{width:36px!important;height:36px!important;border:0!important;border-radius:50%!important;background:#FF3B30 url(./trash-2.svg) center/20px no-repeat!important;opacity:1!important;box-shadow:0 4px 12px rgba(255,59,48,.22);cursor:pointer}
.basket__item-delete:hover{background-color:#D92D24!important;transform:scale(1.04)}
@media(max-width:600px){.product-add-cart{width:42px;height:42px;flex-basis:42px;font-size:20px}.basket__item-delete{width:34px!important;height:34px!important}}


/* ИЗМЕНЕНИЕ: 18.09.2026 | FINAL40 v7.2 — удобный мобильный степпер количества: − / число / +. */
.quantity-control{display:inline-flex;align-items:center;gap:6px;min-width:0;position:relative;touch-action:manipulation}.quantity-control .quantity-input{width:64px;min-width:64px;height:46px;padding:0 6px!important;box-sizing:border-box;text-align:center;font-weight:700;font-size:20px;line-height:46px;-moz-appearance:textfield}.quantity-control .quantity-input::-webkit-outer-spin-button,.quantity-control .quantity-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.quantity-control__buttons{display:contents}.quantity-control__button{width:44px;height:44px;flex:0 0 44px;border:1px solid #D7DBE3;border-radius:13px;background:#F5F7FB;color:#1D1D1F;font-size:25px;font-weight:600;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .12s,background .12s,border-color .12s}.quantity-control__button:hover{background:#EEF4FF;border-color:#BFD0EA}.quantity-control__button:active{transform:scale(.94);background:#E5EEFF}
@media(max-width:600px){.quantity-control{display:grid;grid-template-columns:44px 64px 44px;grid-template-rows:46px;gap:7px;align-items:center}.quantity-control .quantity-input{grid-column:2;grid-row:1;width:64px;min-width:64px;height:46px;font-size:20px}.quantity-control__buttons{display:contents}.quantity-control__button_down{grid-column:1;grid-row:1}.quantity-control__button_up{grid-column:3;grid-row:1}}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.2 — компактная типографика карточек, чтобы лайк не перекрывал текст. */
.product-card__top{gap:6px;min-width:0}.product-card__category{max-width:calc(100% - 38px);padding:5px 8px;font-size:11px}.product-card__favorite{width:32px;height:32px;flex:0 0 32px;font-size:20px}.product-card__title{font-size:1.02rem;line-height:1.18}.product-card__unit{margin-top:4px;font-size:.78rem}.product-card__actions{padding-top:9px;gap:5px;min-width:0;flex-wrap:nowrap}.product-card__actions .quantity-control{flex:0 1 auto}.product-card__actions .product-add-cart{width:34px;height:34px;flex:0 0 34px;border-radius:10px;font-size:17px}.quantity-control{gap:3px}.quantity-control .quantity-input{width:48px;min-width:48px;height:36px;font-size:16px}.quantity-control__button{width:34px;height:34px;flex-basis:34px;border-radius:9px;font-size:19px}
@media(max-width:600px){.product-card__title{font-size:.94rem}.product-card__unit{font-size:.72rem}.product-card__favorite{width:30px;height:30px;flex-basis:30px;font-size:19px}.product-card__actions{gap:4px;padding-top:7px}.quantity-control{grid-template-columns:34px 48px 34px;gap:3px}.quantity-control .quantity-input{width:48px;min-width:48px;height:34px;font-size:16px}.quantity-control__button{width:34px;height:34px;font-size:18px}.product-card__actions .product-add-cart{width:34px;height:34px;flex-basis:34px;font-size:16px}}
/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.2 — верхние быстрые кнопки только текстом. */
.catalog-quick-button img,.catalog-quick-button .catalog-quick-button__discount{display:none!important}.catalog-quick-button{gap:0;padding:0 14px;font-size:14px;font-weight:650;height:44px;border-radius:13px;box-shadow:none}.catalog-quick-button .catalog-quick-button__text{font-size:14px;line-height:1}@media(max-width:600px){.catalog-quick-button{height:40px;padding:0 12px;border-radius:12px;font-size:13px}.catalog-quick-button .catalog-quick-button__text{font-size:13px}}
/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.2 — лёгкая анимационная заставка загрузки каталога. */
/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.5 — полноэкранная заставка с плавными волнами шапки. *//* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.5 — полноэкранная заставка с плавными волнами шапки. */.catalog-loading{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;overflow:hidden;background:#07133F;opacity:1;visibility:visible;pointer-events:auto;transition:opacity .48s ease,visibility .48s ease}.catalog-loading_hidden{opacity:0;visibility:hidden;pointer-events:none}.catalog-loading__waves{position:absolute;inset:-12%;background:#07133F url(./header-waves.png) center center / cover no-repeat;transform:scale(1.08);animation:catalogLoadingWaveDrift 12s ease-in-out infinite alternate;will-change:transform,background-position}.catalog-loading__waves::before,.catalog-loading__waves::after{content:"";position:absolute;inset:-8%;pointer-events:none}.catalog-loading__waves::before{background:linear-gradient(115deg,rgba(25,168,255,.12) 0%,rgba(107,45,255,.05) 38%,rgba(255,47,146,.12) 68%,rgba(255,122,0,.08) 100%);mix-blend-mode:screen;animation:catalogLoadingGlow 8s ease-in-out infinite alternate}.catalog-loading__waves::after{background:radial-gradient(circle at 50% 48%,rgba(255,255,255,.08),transparent 34%),linear-gradient(180deg,rgba(7,19,63,.12),rgba(7,19,63,.46));animation:catalogLoadingBreath 6s ease-in-out infinite}.catalog-loading__veil{position:absolute;inset:0;background:rgba(4,9,31,.16);backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.catalog-loading__content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:28px 30px;text-align:center;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.28)}.catalog-loading__logo{display:block;width:min(220px,52vw);height:auto;filter:drop-shadow(0 8px 24px rgba(0,0,0,.2));animation:catalogLoadingLogo 3.8s ease-in-out infinite}.catalog-loading__text{font-size:16px;font-weight:650;letter-spacing:-.01em;color:rgba(255,255,255,.92)}.catalog-loading__progress{width:min(180px,42vw);height:3px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.24);box-shadow:0 0 20px rgba(255,255,255,.12)}.catalog-loading__progress span{display:block;width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#19A8FF,#6B2DFF,#FF2F92,#FF7A00);animation:catalogLoadingProgress 1.8s ease-in-out infinite}@keyframes catalogLoadingWaveDrift{0%{transform:scale(1.08) translate3d(-1.5%,-.5%,0);background-position:47% 50%}50%{transform:scale(1.12) translate3d(1%,1%,0);background-position:53% 48%}100%{transform:scale(1.08) translate3d(-.5%,1.5%,0);background-position:49% 52%}}@keyframes catalogLoadingGlow{0%{transform:translate3d(-3%,0,0) scale(1)}100%{transform:translate3d(3%,1%,0) scale(1.05)}}@keyframes catalogLoadingBreath{0%,100%{opacity:.65}50%{opacity:1}}@keyframes catalogLoadingLogo{0%,100%{transform:translateY(0) scale(.985)}50%{transform:translateY(-5px) scale(1)}}@keyframes catalogLoadingProgress{0%{transform:translateX(-140%)}50%{transform:translateX(180%)}100%{transform:translateX(360%)}}@media(max-width:600px){.catalog-loading__waves{inset:-20%;animation-duration:10s}.catalog-loading__content{gap:15px;padding:24px}.catalog-loading__logo{width:min(185px,58vw)}.catalog-loading__text{font-size:14px}.catalog-loading__progress{width:min(150px,46vw)}}@media(prefers-reduced-motion:reduce){.catalog-loading__waves,.catalog-loading__waves::before,.catalog-loading__waves::after,.catalog-loading__logo,.catalog-loading__progress span{animation:none}.catalog-loading__waves{transform:scale(1.08)}}/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.2 — заметная, но короткая анимация успешного добавления в корзину. */.product-add-cart{will-change:transform,box-shadow,background-color}.product-add-cart_added{background:#16A34A!important;color:#fff!important;box-shadow:0 0 0 4px rgba(22,163,74,.14),0 8px 20px rgba(22,163,74,.28)!important;animation:productCartAdded .42s cubic-bezier(.2,.8,.2,1)}@keyframes productCartAdded{0%{transform:scale(.9)}45%{transform:scale(1.14)}72%{transform:scale(.97)}100%{transform:scale(1)}}/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.2 — заметная, но короткая анимация успешного добавления в корзину. */.product-add-cart{will-change:transform,box-shadow,background-color}.product-add-cart_added{background:#16A34A!important;color:#fff!important;box-shadow:0 0 0 4px rgba(22,163,74,.14),0 8px 20px rgba(22,163,74,.28)!important;animation:productCartAdded .42s cubic-bezier(.2,.8,.2,1)}@keyframes productCartAdded{0%{transform:scale(.9)}45%{transform:scale(1.14)}72%{transform:scale(.97)}100%{transform:scale(1)}}/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.2 — компактная шапка, быстрые кнопки без горизонтального скролла и анимация корзины. */
@media(max-width:700px){.header{height:84px}.header__container{padding:0 12px;gap:8px}.header__brand{height:60px;gap:8px;min-width:0;flex:1 1 auto}.header__logo{height:43px;padding-right:8px}.header__brand-info{gap:4px;min-width:0}.header__tagline{font-size:12px;line-height:1;white-space:nowrap;max-width:none;overflow:hidden;text-overflow:clip}.header__catalog-counts{font-size:8.5px;gap:4px;color:rgba(255,255,255,.68)}.header__catalog-date{font-size:7.5px;color:rgba(255,255,255,.46)}.header__basket{width:40px;height:40px;flex:0 0 40px;background-size:18px}}
@media(max-width:430px){.header{height:80px}.header__brand{gap:6px}.header__logo{height:40px;padding-right:7px}.header__tagline{font-size:11px}.header__catalog-counts{font-size:8px;gap:3px}.header__catalog-date{font-size:7px}.header__basket{width:37px;height:37px;flex-basis:37px;background-size:17px}}
@media(max-width:380px){.header__container{padding:0 10px;gap:6px}.header__logo{height:38px;padding-right:6px}.header__tagline{font-size:10.2px}.header__catalog-counts{font-size:7.5px}.header__catalog-date{font-size:6.7px}.header__basket{width:35px;height:35px;flex-basis:35px;background-size:16px}}
.catalog-quick-actions{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;min-width:0;width:100%;overflow:visible!important;padding:1px 0 2px;box-sizing:border-box;scrollbar-width:none}.catalog-quick-actions::-webkit-scrollbar{display:none}.catalog-quick-button{width:100%;min-width:0;height:38px;min-height:38px;padding:0 7px;gap:0;border-radius:10px;font-size:11.5px;font-weight:650;line-height:1.05;white-space:nowrap;box-sizing:border-box}.catalog-quick-button .catalog-quick-button__text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-quick-button .favorites-count{min-width:18px;height:18px;padding:0 5px;margin-left:4px;font-size:10px}.catalog-quick-button_repeat .catalog-quick-button__text{white-space:normal;line-height:1.02;text-align:center}@media(max-width:1280px){.catalog-quick-actions{gap:5px}.catalog-quick-button{height:36px;min-height:36px;padding:0 6px;font-size:11px}}@media(max-width:900px){.catalog-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.catalog-quick-button{height:38px;min-height:38px;font-size:11.5px}}@media(max-width:430px){.catalog-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.catalog-quick-button{height:36px;min-height:36px;border-radius:9px;padding:0 7px;font-size:11px}}
.product-add-cart{will-change:transform,box-shadow,background-color}.product-add-cart_added{background:#16A34A!important;color:#fff!important;box-shadow:0 0 0 4px rgba(22,163,74,.14),0 8px 20px rgba(22,163,74,.28)!important;animation:productCartAdded .42s cubic-bezier(.2,.8,.2,1)}@keyframes productCartAdded{0%{transform:scale(.9)}45%{transform:scale(1.14)}72%{transform:scale(.97)}100%{transform:scale(1)}}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.2 — приоритет компактной мобильной статистики шапки. */
@media(max-width:600px){.header__catalog-counts{font-size:8.5px!important;gap:4px!important;color:rgba(255,255,255,.68)!important}.header__catalog-date{font-size:7.5px!important;color:rgba(255,255,255,.46)!important}}
@media(max-width:430px){.header__catalog-counts{font-size:8px!important;gap:3px!important}.header__catalog-date{font-size:7px!important}}
@media(max-width:380px){.header__catalog-counts{font-size:7.5px!important}.header__catalog-date{font-size:6.7px!important}}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.4 — полноширинный поиск, равномерная сетка карточек и компактные быстрые кнопки. */
.storefront-main{width:100%;max-width:none;margin:0;padding:24px 28px 44px;box-sizing:border-box}
.catalog-toolbar{width:100%;display:grid;grid-template-columns:1fr;gap:12px;align-items:stretch;margin-bottom:24px}
.catalog-search{width:100%;min-width:0}
.catalog-search input{width:100%;box-sizing:border-box}
.catalog-quick-actions{width:100%;min-width:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;overflow:visible;padding:0;box-sizing:border-box}
.catalog-quick-button,.catalog-quick-button .catalog-quick-button__text{color:#fff!important}
.catalog-quick-button{width:100%;min-width:0;height:38px;min-height:38px;padding:0 8px;border-radius:10px;font-size:12px;font-weight:700;line-height:1;white-space:nowrap;box-sizing:border-box}
.catalog-quick-button .catalog-quick-button__text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.catalog-quick-button_repeat .catalog-quick-button__text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gallery{width:100%;max-width:none;margin:0;padding:0 0 34px;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;box-sizing:border-box}
@media(max-width:1200px){.storefront-main{padding-left:20px;padding-right:20px}.catalog-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.catalog-quick-button{height:37px;min-height:37px;font-size:11.5px}}
@media(max-width:900px){.storefront-main{padding:18px 16px 32px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:620px){.storefront-main{padding:14px 12px 28px}.catalog-toolbar{gap:9px;margin-bottom:16px}.catalog-search input{height:52px;font-size:16px}.catalog-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.catalog-quick-button{height:36px;min-height:36px;padding:0 7px;border-radius:9px;font-size:11px}.gallery{grid-template-columns:1fr;gap:12px;padding-bottom:24px}}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.10 — списки «Все товары» и выбор варианта оформлены как корзина: без карточных рамок, с неоновыми разделителями и безопасным степпером. */
.all-products__list,.group-picker__list{display:flex;flex-direction:column;gap:0;max-height:62vh;overflow-y:auto;padding:0;margin:0}.all-products__row,.group-picker__item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;width:100%;min-width:0;padding:16px 2px;margin:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box}.all-products__row:not(:last-child)::after,.group-picker__item:not(:last-child)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,rgba(25,168,255,.9),rgba(107,45,255,.85),rgba(255,47,146,.9));opacity:.72;box-shadow:0 0 7px rgba(107,45,255,.16)}.all-products__info,.group-picker__info{min-width:0;max-width:100%;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}.all-products__info strong,.group-picker__info strong{min-width:0;font-size:1rem;line-height:1.2;color:#141a29;overflow-wrap:anywhere}.all-products__info span,.group-picker__info .group-picker__unit{font-size:.86rem;line-height:1.2;color:#506080}.all-products__info small{font-size:.76rem;line-height:1.2;color:#8993a7}.all-products__controls,.group-picker__controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:0 1 auto;min-width:0;flex-wrap:nowrap}.all-products__controls .quantity-control,.group-picker__controls .quantity-control{display:grid;grid-template-columns:34px max(52px,6ch) 34px;grid-template-rows:34px;gap:3px;align-items:center;flex:0 0 auto;min-width:0}.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{grid-column:2;grid-row:1;width:max(52px,6ch);min-width:max(52px,6ch);max-width:96px;height:34px;padding:0 4px!important;font-size:16px;line-height:34px;box-sizing:border-box}.all-products__controls .quantity-control__buttons,.group-picker__controls .quantity-control__buttons{display:contents}.all-products__controls .quantity-control__button,.group-picker__controls .quantity-control__button{width:34px;height:34px;flex:0 0 34px;border-radius:9px;font-size:18px}.all-products__controls .quantity-control__button_down,.group-picker__controls .quantity-control__button_down{grid-column:1;grid-row:1}.all-products__controls .quantity-control__button_up,.group-picker__controls .quantity-control__button_up{grid-column:3;grid-row:1}.all-products__controls .product-add-cart,.group-picker__controls .product-add-cart{width:34px;height:34px;flex:0 0 34px;border-radius:10px;font-size:16px}.all-products__controls .product-list__favorite,.group-picker__controls .product-list__favorite,.all-products__controls .search-result-row__favorite,.group-picker__controls .search-result-row__favorite{width:34px;height:34px;flex:0 0 34px}.all-products__empty{padding:34px 12px;text-align:center;color:#68758f}@media(max-width:600px){.all-products__list,.group-picker__list{max-height:none;overflow:visible}.all-products__row,.group-picker__item{grid-template-columns:minmax(0,1fr);gap:9px;padding:15px 0}.all-products__controls,.group-picker__controls{width:100%;justify-content:flex-start;flex-wrap:nowrap;gap:6px}.all-products__controls .quantity-control,.group-picker__controls .quantity-control{grid-template-columns:34px max(52px,6ch) 34px}.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{width:max(52px,6ch);min-width:max(52px,6ch);font-size:15px}.all-products__info strong,.group-picker__info strong{font-size:.96rem}.all-products__info span,.group-picker__info .group-picker__unit{font-size:.78rem}}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.11 — объединение v7.8 + v7.9 + v7.10. Возвращаем финальную раскладку корзины v7.8 поверх v7.10. */
/* Правка 15.09.2026: корзина оформлена как чистый мобильный список заявки. */
@use "variables" as *;
.basket{display:flex;flex-direction:column;gap:16px;height:100%}.basket__list{padding:0;margin:0;flex-grow:1;list-style:none}.basket__item{border-bottom:1px solid #E5E5EA;padding:14px 0}.basket__item-index{display:flex;justify-content:center;align-items:center;font-size:.76rem;width:30px;height:30px;border-radius:50%;background:#F5F5F7;color:#1D1D1F;margin-right:0;font-weight:650}.basket__item-delete{width:34px;height:34px;border:0;border-radius:50%;background:#F5F5F7 url(./trash-2.svg) center/17px no-repeat;cursor:pointer;opacity:.72}.basket__item-delete:hover{opacity:1;background-color:#E8E8ED}.basket__quantity-controls{display:flex;align-items:center;gap:6px}.basket__code{font-size:.82rem;color:#6E6E73}.basket__unit{font-size:.82rem;color:#6E6E73}

.basket__benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:2px 0 8px;border-bottom:1px solid #E5E5EA}.basket__benefit{display:flex;align-items:center;gap:9px;min-width:0}.basket__benefit-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#F5F5F7;font-size:22px}.basket__benefit div{display:flex;flex-direction:column;min-width:0}.basket__benefit strong{font-size:.95rem;line-height:1.15;color:#1D1D1F}.basket__benefit div span{font-size:.82rem;line-height:1.2;color:#6E6E73;margin-top:2px}@media(max-width:600px){.basket__benefits{gap:8px;padding-bottom:10px}.basket__benefit{gap:6px}.basket__benefit-icon{flex-basis:34px;width:34px;height:34px;font-size:18px}.basket__benefit strong{font-size:.78rem}.basket__benefit div span{font-size:.68rem}}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.7 — корзина: количество вынесено в отдельную строку, чтобы + не пересекался с полем количества. */
.basket__item{display:grid!important;grid-template-columns:34px minmax(0,1fr) 38px!important;grid-template-areas:"index title delete" "index code delete" "index unit delete" "index quantity delete"!important;align-items:center!important;column-gap:10px!important;row-gap:3px!important;width:100%!important;box-sizing:border-box!important;padding:14px 0 16px!important;}
.basket__item-index{grid-area:index!important;align-self:start!important;margin-top:2px!important;}
.basket__item .card__title{grid-area:title!important;min-width:0!important;overflow-wrap:anywhere!important;text-align:left!important;font-size:1rem!important;line-height:1.2!important;}
.basket__item .card__code{grid-area:code!important;min-width:0!important;text-align:left!important;font-size:.78rem!important;line-height:1.2!important;}
.basket__item .card__unit{grid-area:unit!important;min-width:0!important;text-align:left!important;font-size:.78rem!important;line-height:1.2!important;}
.basket__quantity-controls{grid-area:quantity!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;min-width:0!important;margin-top:5px!important;}
.basket__quantity-controls .quantity-control{display:grid!important;grid-template-columns:32px 44px 32px!important;grid-template-rows:34px!important;gap:3px!important;width:111px!important;min-width:111px!important;max-width:111px!important;flex:0 0 111px!important;align-items:center!important;}
.basket__quantity-controls .quantity-control .quantity-input{width:44px!important;min-width:44px!important;height:34px!important;padding:0 2px!important;font-size:14px!important;line-height:34px!important;box-sizing:border-box!important;text-align:center!important;}
.basket__quantity-controls .quantity-control .quantity-control__button{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;flex:0 0 32px!important;border-radius:8px!important;font-size:17px!important;box-sizing:border-box!important;}
.basket__quantity-controls .quantity-control__button_down{grid-column:1!important;grid-row:1!important;}
.basket__quantity-controls .quantity-input{grid-column:2!important;grid-row:1!important;}
.basket__quantity-controls .quantity-control__button_up{grid-column:3!important;grid-row:1!important;}
.basket__item-delete{grid-area:delete!important;align-self:start!important;justify-self:end!important;margin:0!important;}
@media(max-width:600px){
  .basket__item{grid-template-columns:30px minmax(0,1fr) 34px!important;column-gap:9px!important;row-gap:3px!important;padding:13px 0 15px!important;}
  .basket__item .card__title{font-size:.94rem!important;line-height:1.18!important;}
  .basket__item .card__code,.basket__item .card__unit{font-size:.72rem!important;}
  .basket__quantity-controls{margin-top:5px!important;}
  .basket__quantity-controls .quantity-control{grid-template-columns:30px 42px 30px!important;width:106px!important;min-width:106px!important;max-width:106px!important;flex-basis:106px!important;gap:2px!important;}
  .basket__quantity-controls .quantity-control .quantity-input{width:42px!important;min-width:42px!important;height:32px!important;font-size:14px!important;line-height:32px!important;}
  .basket__quantity-controls .quantity-control .quantity-control__button{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;flex-basis:30px!important;font-size:16px!important;}
}
@media(max-width:380px){
  .basket__item{grid-template-columns:27px minmax(0,1fr) 32px!important;column-gap:7px!important;}
  .basket__quantity-controls .quantity-control{grid-template-columns:28px 40px 28px!important;width:98px!important;min-width:98px!important;max-width:98px!important;flex-basis:98px!important;}
  .basket__quantity-controls .quantity-control .quantity-input{width:40px!important;min-width:40px!important;font-size:13px!important;}
  .basket__quantity-controls .quantity-control .quantity-control__button{width:28px!important;height:29px!important;min-width:28px!important;max-width:28px!important;font-size:15px!important;}
}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.8 — корзина: убрана рамка карточек, добавлен неоновый разделитель и внутренние отступы. */
.basket__item{
  position:relative!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding-left:10px!important;
  padding-right:10px!important;
}
.basket__item:not(:last-child)::after{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent 0%,#19A8FF 20%,#6B2DFF 50%,#FF2F92 80%,transparent 100%);
  box-shadow:0 0 7px rgba(25,168,255,.24),0 0 8px rgba(255,47,146,.16);
  pointer-events:none;
}
.basket__item-index{margin-left:0!important;justify-self:start!important;}
.basket__item-delete{justify-self:end!important;margin-right:0!important;}
@media(max-width:600px){
  .basket__item{padding-left:8px!important;padding-right:8px!important;}
  .basket__item:not(:last-child)::after{left:6px;right:6px;}
}
@media(max-width:380px){
  .basket__item{padding-left:6px!important;padding-right:6px!important;}
  .basket__item:not(:last-child)::after{left:4px;right:4px;}
}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.11 — единый фирменный цвет кнопки добавления и список «Любимое» без карточных рамок. */
.product-add-cart{
  background:#FF7A00!important;
  color:#fff!important;
  box-shadow:0 6px 16px rgba(255,122,0,.22)!important;
}
.product-add-cart:hover{
  background:#E96D00!important;
  box-shadow:0 8px 20px rgba(255,122,0,.30)!important;
}
.product-add-cart:active{transform:scale(.94)!important;}
.product-add-cart:disabled{
  background:#E9EBEF!important;
  color:#A5ABB5!important;
  box-shadow:none!important;
}
.product-add-cart_added{
  background:#6B2DFF!important;
  color:#fff!important;
  box-shadow:0 0 0 4px rgba(107,45,255,.14),0 8px 20px rgba(107,45,255,.28)!important;
}

/* Любимое: та же чистая раскладка, что «Все товары» и выбор варианта. */
.gallery.gallery_search-list{display:flex;flex-direction:column;gap:0;padding-bottom:28px;}
.gallery.gallery_search-list .search-result-row{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:14px;
  width:100%;
  min-width:0;
  padding:16px 2px;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  box-sizing:border-box;
}
.gallery.gallery_search-list .search-result-row:not(:last-child)::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,rgba(25,168,255,.9),rgba(107,45,255,.85),rgba(255,47,146,.9));
  opacity:.72;
  box-shadow:0 0 7px rgba(107,45,255,.16);
}
.search-result-row__info{min-width:0;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere;}
.search-result-row__title{margin:0;min-width:0;font-size:1rem;line-height:1.2;font-weight:700;color:#141a29;overflow-wrap:anywhere;}
.search-result-row__group{color:#506080;font-size:.86rem;line-height:1.2;overflow-wrap:anywhere;}
.search-result-row__unit{color:#8993a7;font-size:.76rem;line-height:1.2;white-space:normal;}
.search-result-row__actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:0 1 auto;min-width:0;flex-wrap:nowrap;}
.search-result-row__favorite{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:50%!important;background:#F5F7FB!important;color:#58709A!important;border:0!important;box-shadow:none!important;font-size:20px!important;line-height:1;}
.search-result-row__favorite_active{background:#FF3B30!important;color:#fff!important;box-shadow:0 5px 14px rgba(255,59,48,.22)!important;}
.gallery.gallery_search-list .search-result-row .product-add-cart{width:34px;height:34px;flex:0 0 34px;border-radius:10px;font-size:16px;}
@media(max-width:600px){
  .gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr);gap:9px;padding:15px 0;}
  .search-result-row__actions{width:100%;justify-content:flex-start;gap:6px;}
  .search-result-row__title{font-size:.96rem;}
  .search-result-row__group{font-size:.78rem;}
  .search-result-row__unit{font-size:.72rem;}
}

/* В списках товара количество и + физически разделены: поле имеет собственную ширину и не сжимается. */
.all-products__controls .quantity-control,
.group-picker__controls .quantity-control{
  width:max-content!important;
  min-width:max-content!important;
  max-width:none!important;
  flex:0 0 auto!important;
}
.all-products__controls .quantity-control .quantity-input,
.group-picker__controls .quantity-control .quantity-input{
  box-sizing:border-box!important;
  min-width:52px!important;
  max-width:128px!important;
  overflow:hidden!important;
}
.all-products__controls,
.group-picker__controls{overflow:visible!important;min-width:0!important;}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.12 — финальная адаптивная раскладка списков и динамическое поле количества. */
.storefront-main{width:100%!important;max-width:none!important;box-sizing:border-box}
.gallery{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
@media(min-width:901px){.storefront-main{padding-left:28px!important;padding-right:28px!important}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}}
.all-products__row,.group-picker__item,.gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;max-width:none!important}
.all-products__controls,.group-picker__controls,.gallery.gallery_search-list .search-result-row__actions{justify-self:end!important;width:auto!important;flex:0 0 auto!important;justify-content:flex-end!important;flex-wrap:nowrap!important;overflow:visible!important}
.all-products__controls .quantity-control,.group-picker__controls .quantity-control{grid-template-columns:34px var(--quantity-input-width,52px) 34px!important;width:calc(var(--quantity-input-width,52px) + 71px)!important;min-width:calc(var(--quantity-input-width,52px) + 71px)!important;max-width:none!important;flex:0 0 auto!important}
.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{width:var(--quantity-input-width,52px)!important;min-width:var(--quantity-input-width,52px)!important;max-width:128px!important;font-size:15px!important;overflow:visible!important}
.gallery.gallery_search-list .favorite-product-add-cart{width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:11px!important;font-size:17px!important}
@media(max-width:600px){.all-products__row,.group-picker__item,.gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:15px 0!important}.all-products__controls,.group-picker__controls,.gallery.gallery_search-list .search-result-row__actions{width:auto!important;justify-self:end!important;justify-content:flex-end!important;gap:5px!important}.all-products__controls .quantity-control,.group-picker__controls .quantity-control{grid-template-columns:32px var(--quantity-input-width,52px) 32px!important;width:calc(var(--quantity-input-width,52px) + 67px)!important;min-width:calc(var(--quantity-input-width,52px) + 67px)!important}.all-products__controls .quantity-control .quantity-control__button,.group-picker__controls .quantity-control .quantity-control__button{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;font-size:17px!important}.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{height:32px!important;font-size:14px!important}.gallery.gallery_search-list .search-result-row__actions{flex-wrap:nowrap!important}.gallery.gallery_search-list .favorite-product-add-cart{width:36px!important;height:36px!important;flex-basis:36px!important}}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.12 — финальная адаптивная раскладка списков и динамическое поле количества. */
.storefront-main{width:100%!important;max-width:none!important;box-sizing:border-box}
.gallery{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
@media(min-width:901px){.storefront-main{padding-left:28px!important;padding-right:28px!important}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}}
.all-products__row,.group-picker__item,.gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;max-width:none!important}
.all-products__controls,.group-picker__controls,.gallery.gallery_search-list .search-result-row__actions{justify-self:end!important;width:auto!important;flex:0 0 auto!important;justify-content:flex-end!important;flex-wrap:nowrap!important;overflow:visible!important}
.all-products__controls .quantity-control,.group-picker__controls .quantity-control{grid-template-columns:34px var(--quantity-input-width,52px) 34px!important;width:calc(var(--quantity-input-width,52px) + 71px)!important;min-width:calc(var(--quantity-input-width,52px) + 71px)!important;max-width:none!important;flex:0 0 auto!important}
.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{width:var(--quantity-input-width,52px)!important;min-width:var(--quantity-input-width,52px)!important;max-width:128px!important;font-size:15px!important;overflow:visible!important}
.gallery.gallery_search-list .favorite-product-add-cart{width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:11px!important;font-size:17px!important}
@media(max-width:600px){.all-products__row,.group-picker__item,.gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:15px 0!important}.all-products__controls,.group-picker__controls,.gallery.gallery_search-list .search-result-row__actions{width:auto!important;justify-self:end!important;justify-content:flex-end!important;gap:5px!important}.all-products__controls .quantity-control,.group-picker__controls .quantity-control{grid-template-columns:32px var(--quantity-input-width,52px) 32px!important;width:calc(var(--quantity-input-width,52px) + 67px)!important;min-width:calc(var(--quantity-input-width,52px) + 67px)!important}.all-products__controls .quantity-control .quantity-control__button,.group-picker__controls .quantity-control .quantity-control__button{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;font-size:17px!important}.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{height:32px!important;font-size:14px!important}.gallery.gallery_search-list .search-result-row__actions{flex-wrap:nowrap!important}.gallery.gallery_search-list .favorite-product-add-cart{width:36px!important;height:36px!important;flex-basis:36px!important}}

/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.12 — финальная адаптивная раскладка списков и динамическое поле количества. */
.storefront-main{width:100%!important;max-width:none!important;box-sizing:border-box}
.gallery{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
@media(min-width:901px){.storefront-main{padding-left:28px!important;padding-right:28px!important}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}}
.all-products__row,.group-picker__item,.gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;max-width:none!important}
.all-products__controls,.group-picker__controls,.gallery.gallery_search-list .search-result-row__actions{justify-self:end!important;width:auto!important;flex:0 0 auto!important;justify-content:flex-end!important;flex-wrap:nowrap!important;overflow:visible!important}
.all-products__controls .quantity-control,.group-picker__controls .quantity-control{grid-template-columns:34px var(--quantity-input-width,52px) 34px!important;width:calc(var(--quantity-input-width,52px) + 71px)!important;min-width:calc(var(--quantity-input-width,52px) + 71px)!important;max-width:none!important;flex:0 0 auto!important}
.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{width:var(--quantity-input-width,52px)!important;min-width:var(--quantity-input-width,52px)!important;max-width:128px!important;font-size:15px!important;overflow:visible!important}
.gallery.gallery_search-list .favorite-product-add-cart{width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:11px!important;font-size:17px!important}
@media(max-width:600px){.all-products__row,.group-picker__item,.gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:15px 0!important}.all-products__controls,.group-picker__controls,.gallery.gallery_search-list .search-result-row__actions{width:auto!important;justify-self:end!important;justify-content:flex-end!important;gap:5px!important}.all-products__controls .quantity-control,.group-picker__controls .quantity-control{grid-template-columns:32px var(--quantity-input-width,52px) 32px!important;width:calc(var(--quantity-input-width,52px) + 67px)!important;min-width:calc(var(--quantity-input-width,52px) + 67px)!important}.all-products__controls .quantity-control .quantity-control__button,.group-picker__controls .quantity-control .quantity-control__button{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;font-size:17px!important}.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{height:32px!important;font-size:14px!important}.gallery.gallery_search-list .search-result-row__actions{flex-wrap:nowrap!important}.gallery.gallery_search-list .favorite-product-add-cart{width:36px!important;height:36px!important;flex-basis:36px!important}}


/* ИЗМЕНЕНИЕ: 19.09.2026 | FINAL40 v7.13 — финальный hotfix: динамическое количество, рабочая кнопка «Любимое», full-width списки. */
.gallery.gallery_search-list{width:100%!important;max-width:none!important;box-sizing:border-box!important}.gallery.gallery_search-list .search-result-row{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;text-align:left!important}.gallery.gallery_search-list .search-result-row__info{text-align:left!important;align-self:center!important;min-width:0!important;max-width:none!important}.gallery.gallery_search-list .search-result-row__actions{justify-self:end!important;align-self:center!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:max-content!important;pointer-events:auto!important}.gallery.gallery_search-list .favorite-product-add-cart{position:relative!important;z-index:5!important;pointer-events:auto!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;cursor:pointer!important}.all-products__controls .quantity-control,.group-picker__controls .quantity-control{display:grid!important;grid-template-columns:34px var(--quantity-input-width,44px) 34px!important;grid-template-rows:34px!important;gap:3px!important;align-items:center!important;width:calc(var(--quantity-input-width,44px) + 71px)!important;min-width:calc(var(--quantity-input-width,44px) + 71px)!important;max-width:none!important;flex:0 0 auto!important}.all-products__controls .quantity-control__buttons,.group-picker__controls .quantity-control__buttons{display:contents!important}.all-products__controls .quantity-control .quantity-input,.group-picker__controls .quantity-control .quantity-input{grid-column:2!important;grid-row:1!important;width:var(--quantity-input-width,44px)!important;min-width:var(--quantity-input-width,44px)!important;max-width:128px!important;font-size:15px!important;overflow:visible!important}.all-products__controls .quantity-control__button_down,.group-picker__controls .quantity-control__button_down{grid-column:1!important;grid-row:1!important}.all-products__controls .quantity-control__button_up,.group-picker__controls .quantity-control__button_up{grid-column:3!important;grid-row:1!important}.basket__quantity-controls .quantity-control{grid-template-columns:32px var(--quantity-input-width,44px) 32px!important;width:calc(var(--quantity-input-width,44px) + 67px)!important;min-width:calc(var(--quantity-input-width,44px) + 67px)!important;max-width:none!important;flex:0 0 auto!important}.basket__quantity-controls .quantity-control__buttons{display:contents!important}.basket__quantity-controls .quantity-control .quantity-input{grid-column:2!important;grid-row:1!important;width:var(--quantity-input-width,44px)!important;min-width:var(--quantity-input-width,44px)!important;max-width:128px!important;font-size:14px!important;overflow:visible!important}.basket__quantity-controls .quantity-control__button_down{grid-column:1!important;grid-row:1!important}.basket__quantity-controls .quantity-control__button_up{grid-column:3!important;grid-row:1!important}.storefront-main{width:100%!important;max-width:none!important;box-sizing:border-box!important}.gallery{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}@media(min-width:901px){.storefront-main{padding-left:28px!important;padding-right:28px!important}.gallery:not(.gallery_search-list){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}}@media(max-width:600px){.gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:15px 0!important}.gallery.gallery_search-list .search-result-row__actions{width:auto!important;justify-self:end!important;min-width:max-content!important}.all-products__controls .quantity-control,.group-picker__controls .quantity-control{grid-template-columns:32px var(--quantity-input-width,44px) 32px!important;width:calc(var(--quantity-input-width,44px) + 67px)!important;min-width:calc(var(--quantity-input-width,44px) + 67px)!important}.basket__quantity-controls .quantity-control{grid-template-columns:30px var(--quantity-input-width,44px) 30px!important;width:calc(var(--quantity-input-width,44px) + 64px)!important;min-width:calc(var(--quantity-input-width,44px) + 64px)!important}}
/* FINAL40 v7.14 — Любимое: жёсткая раскладка и рабочая touch/click-кнопка. */
.gallery.gallery_search-list .search-result-row{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;width:100%!important;max-width:none!important;margin:0!important;padding:16px 0!important;align-items:center!important;text-align:left!important;position:relative!important;box-sizing:border-box!important}.gallery.gallery_search-list .search-result-row__info{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;justify-self:stretch!important;min-width:0!important;width:100%!important;text-align:left!important;gap:3px!important}.gallery.gallery_search-list .search-result-row__title,.gallery.gallery_search-list .search-result-row__group,.gallery.gallery_search-list .search-result-row__unit{display:block!important;width:100%!important;text-align:left!important}.gallery.gallery_search-list .search-result-row__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;justify-self:end!important;align-self:center!important;width:max-content!important;min-width:max-content!important;margin-left:auto!important;flex:0 0 auto!important;gap:8px!important;pointer-events:auto!important;position:relative!important;z-index:10!important}.gallery.gallery_search-list .favorite-product-add-cart{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;flex:0 0 38px!important;position:relative!important;z-index:30!important;pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important;user-select:none!important;-webkit-user-select:none!important;-webkit-tap-highlight-color:transparent!important}.gallery.gallery_search-list .favorite-product-add-cart:disabled{pointer-events:auto!important}@media(max-width:600px){.gallery.gallery_search-list .search-result-row{grid-template-columns:minmax(0,1fr) max-content!important;gap:10px!important;padding:14px 0!important}.gallery.gallery_search-list .search-result-row__actions{width:max-content!important;min-width:max-content!important;justify-self:end!important}.gallery.gallery_search-list .favorite-product-add-cart{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;flex-basis:36px!important}}.gallery.gallery_search-list .search-result-row__actions{margin-left:auto!important;pointer-events:auto!important;z-index:10!important}.gallery.gallery_search-list .favorite-product-add-cart{pointer-events:auto!important;touch-action:manipulation!important;z-index:30!important;cursor:pointer!important}

/* FINAL40 v7.15 — мобильный Telegram: прокручивается только список товаров. */
@media(max-width:600px){
  .modal{overflow:hidden!important}
  .modal__container{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
  .modal__content{min-height:0!important;height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
  .modal-back{position:static!important;flex:0 0 auto!important;z-index:30!important}
  .modal__content>.all-products,.modal__content>.group-picker,.modal__content>.favorites-modal{min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
  .all-products__heading,.group-picker__header{flex:0 0 auto!important}
  .all-products__search,.group-picker__search{flex:0 0 auto!important}
  .all-products__list,.group-picker__list,.favorites-modal__list{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;touch-action:pan-y!important;padding-bottom:24px!important}
}
/* FINAL40 v7.15 — видимый курсор и понятное состояние активного поля в Telegram WebView. */
.form__input,.form__input:focus,.address-field input,textarea.form__input{caret-color:#141a29!important;cursor:text!important;-webkit-user-select:text!important;user-select:text!important}
.form__input:focus{outline:2px solid rgba(25,168,255,.28)!important;outline-offset:1px!important;border-color:#19A8FF!important}
.all-products__search:focus,.group-picker__search:focus,#catalog-search:focus{caret-color:#141a29!important;cursor:text!important}


/* FINAL40 v7.21 — fixed navigation/search: only content lists scroll. */
/* Main catalog: search + quick buttons stay at the top while the product area scrolls. */
.catalog-toolbar{
  position:sticky!important;
  top:112px!important;
  z-index:18!important;
  background:rgba(244,247,251,.96)!important;
  -webkit-backdrop-filter:blur(14px)!important;
  backdrop-filter:blur(14px)!important;
  padding:10px 0 12px!important;
  margin-top:-10px!important;
  margin-bottom:12px!important;
}
/* Basket modal: header/navigation never scrolls; only the item list scrolls. */
.modal__container_basket{
  height:calc(100dvh - 40px)!important;
  max-height:calc(100dvh - 40px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.modal__content_basket{
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.modal__content_basket>.basket{
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.modal__content_basket>.basket>.modal-back,
.modal__content_basket>.basket>.modal__title,
.modal__content_basket>.basket>.basket__benefits,
.modal__content_basket>.basket>.modal__actions{
  flex:0 0 auto!important;
}
.modal__content_basket>.basket>.basket__list{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
  padding-right:4px!important;
}
/* Back button is part of the fixed basket header, never the scrolling region. */
.modal__content_basket>.basket>.modal-back{
  position:static!important;
  top:auto!important;
  flex-shrink:0!important;
  z-index:30!important;
}
@media(max-width:600px){
  .catalog-toolbar{
    top:84px!important;
    padding:8px 0 10px!important;
    margin-top:-8px!important;
    margin-bottom:8px!important;
  }
  .modal__container_basket{
    height:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    overflow:hidden!important;
  }
  .modal__content_basket>.basket>.basket__list{
    padding-bottom:24px!important;
  }
}
@media(max-width:430px){
  .catalog-toolbar{top:80px!important;}
}
