/* One storefront radius for controls, cards, checkout panels and dialogs. */
html:root{--aq-control-radius:8px;--border-radius-sm:8px!important;--border-radius-md:8px!important;--border-radius-m:8px!important;--border-radius:8px!important;--border-radius-lg:8px!important;--border-radius-pill:8px!important}
html body :is(.btn:not(:has(>svg:only-child)):not(:has(>i:only-child)):not(.btn-icon):not(.btn-circle),.catalog-btn,.pill,.input-text,.input-text-container,.form-control,.select2-selection,.search-label,.bx-ui-sls-input-block,.bx-ui-slst-input-block,.bx-soa-coupon-input input,.counter,.counter__label){border-radius:var(--aq-control-radius)!important}
html body :is(input[type=text],input[type=search],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=url],textarea,select):not(.counter__input):not(.bx-ui-sls-fake):not(.bx-ui-sls-route){border-radius:var(--aq-control-radius)!important}
html body .search-label:before{border-radius:var(--aq-control-radius)!important}
/* Compact previews, shared by catalog, home and all recommendation components. */
.aq-product-preview{display:flex;flex-direction:column;height:100%;min-width:0}
.aq-product-preview .catalog-item__card-controls,.aq-product-preview .catalog-item__labels,.aq-product-preview .catalog-item__badges,.aq-product-preview .catalog-item__props,.aq-product-preview .catalog-item__slider-pagination{display:none!important}
.aq-product-preview .catalog-item__info{display:flex;flex-direction:column;flex:1;gap:0}
.aq-product-preview .catalog-item__name{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;overflow-wrap:break-word;max-height:67.2px!important;height:67.2px;min-height:67.2px;line-height:22.4px!important;font-size:16px;margin:12px 0!important;color:inherit}
.aq-product-preview .catalog-item__price-main{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.aq-product-preview .catalog-item__price-stack{min-height:var(--aq-price-height,0px)}
.aq-product-preview .catalog-item__review-container{padding:0;font-size:13px;line-height:20px}
.aq-product-preview .product-item-quantity__wrap{font-size:13px;line-height:20px}
.aq-product-preview .product-item-quantity__wrap svg{width:16px;height:16px}
.aq-product-preview .product-item-info-container:has([data-entity="quantity-limit-value"]){margin-top:6px}
.aq-product-preview .catalog-product-bonuses{display:flex!important;align-items:center;gap:4px;margin:8px 0 0!important;font-size:14px;line-height:20px;color:var(--aq-muted,#495057)}
.aq-product-preview .catalog-product-bonuses svg{stroke:currentColor!important;width:16px;height:16px}
.aq-preview-meta{font-size:13px;line-height:18px;color:var(--aq-muted,#495057);margin:0 0 12px;overflow-wrap:anywhere}
.aq-preview-meta>div+div{margin-top:6px}
.aq-preview-delivery{margin-top:auto;padding-top:8px;font-size:12px;line-height:18px;color:var(--aq-muted,#495057)}
.aq-preview-date{display:block;min-height:20px;margin-top:4px;color:#0b478d;text-decoration:none;font-size:14px;line-height:20px;font-weight:500}
.aq-product-preview .catalog-item__buttons-block{margin-top:0;padding-top:16px}
.aq-product-preview .catalog-item__buttons-block>.btn,.aq-product-preview .catalog-item__buttons-block>div>.btn{min-height:44px}
.swiper-wrapper:has(>.aq-product-preview),.swiper-wrapper:has(>.swiper-slide .aq-product-preview){align-items:stretch}
.swiper-slide:has(>.aq-product-preview){height:auto}
/* Delivery summary: stock readiness and carrier transit stay separate. */
.aq-delivery{margin:20px 0;padding:20px;border:1px solid var(--aq-border,#ced4da);border-radius:var(--aq-control-radius);color:inherit;min-width:0}
.aq-delivery h2{font-size:20px;line-height:28px;margin:0 0 16px}
.aq-delivery-city{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap;font-size:14px;line-height:22px}
.aq-delivery [data-aq-city]{color:#e20613;overflow-wrap:anywhere}
.aq-link{display:block;border:0;background:none;padding:0;color:#0b478d;text-align:left;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.aq-city-editor{margin-top:14px}.aq-city-editor .bx-ui-sls-container{min-width:0!important}
.aq-delivery-cost{display:flex;flex-direction:column;gap:8px;margin:16px 0;padding:14px;border:1px solid var(--aq-border,#ced4da);border-radius:8px}
.aq-delivery-cost>strong{font-size:18px;line-height:26px}
.aq-delivery-timeline{background:var(--aq-surface,#f3f5f6);padding:14px;border-radius:8px}
.aq-delivery-timeline>div+div{margin-top:12px;border-top:1px solid var(--aq-border,#ced4da);padding-top:12px}
.aq-delivery-timeline span{display:block;font-size:12px;line-height:18px;color:var(--aq-muted,#495057)}
.aq-delivery-timeline strong{display:block;font-size:15px;line-height:22px;margin-top:4px;overflow-wrap:anywhere}
.aq-delivery-options{margin:12px 0;font-size:14px;line-height:20px}
.aq-delivery-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:10px 0;border-bottom:1px solid var(--aq-border,#ced4da)}
.aq-delivery-option small{grid-column:1/-1;color:var(--aq-muted,#495057)}
.aq-delivery-note{font-size:12px;line-height:18px;color:var(--aq-muted,#495057);margin:12px 0 0}
.aq-delivery [hidden]{display:none!important}
html[data-aq-scheme=dark] :is(.aq-preview-meta,.aq-preview-delivery,.catalog-product-bonuses){color:#bdc9d7}
html[data-aq-scheme=dark] :is(.aq-preview-date,.aq-link){color:#8bc4ff}
html[data-aq-scheme=dark] .aq-delivery [data-aq-city]{color:#ff8a8a}
html[data-aq-scheme=dark] .aq-delivery-timeline{background:#19212b}
@media(max-width:767px){.aq-product-preview .catalog-product-bonuses{font-size:12px;line-height:18px}.aq-preview-meta{font-size:12px;line-height:17px}.aq-preview-date{font-size:13px}.aq-delivery{padding:16px}}

/* The sale-unit stylesheet uses display:contents/grid. Keep its controls inside the agreed card flow. */
html body .aq-product-preview{display:flex!important}
html body .aq-product-preview .catalog-item__price-stack{display:flex!important;flex-direction:column;min-height:var(--aq-price-height,0px)!important}
html body .aq-product-preview .catalog-item__info{display:flex!important}
html body .aq-product-preview .catalog-item__price-main{display:flex!important}
.aq-preview-delivery{flex-shrink:0}

html body .aq-city-editor .quick-location-tag{border-radius:8px!important}

/* Text buttons supplied by additional modules follow the same token. Icon-only controls keep their shape. */
html body [data-aq-rounded-control]{border-radius:var(--aq-control-radius)!important}

/* Modules with literal radii, including surfaces loaded only in dialogs. */
html body :is(.theme-toggle,.gallery-main,.store-amount__stores-item,.store-amount__stores-block,.detail__fixed-header-image,.review__image-wrapper,.header-basket-image,.smartsearch-title__current_searchimg img,.aq-card,.aq-empty-search,.aq-empty-page .aq-empty-page__category,.aq-empty-page__picture,.blog-detail__tag-link,.bx-soa-coupon-item-danger-mess,.bx-soa-coupon-item-mess,.b24-widget-button-social-tooltip,.input-checkbox){border-radius:var(--aq-control-radius)!important}
/* Keep the square joins of the quantity control. */
html body .counter__button--increment{border-radius:var(--aq-control-radius) 0 0 var(--aq-control-radius)!important}
html body .counter__button--decrement{border-radius:0 var(--aq-control-radius) var(--aq-control-radius) 0!important}
/* This corner is part of the social icon's existing silhouette. */
html body .socnet-link--rutube{border-top-right-radius:var(--aq-control-radius)!important}

/* Inline CMS content can carry its own radius; only existing rounded corners are marked. */
html body [data-aq-radius-tl]{border-top-left-radius:var(--aq-control-radius)!important}
html body [data-aq-radius-tr]{border-top-right-radius:var(--aq-control-radius)!important}
html body [data-aq-radius-br]{border-bottom-right-radius:var(--aq-control-radius)!important}
html body [data-aq-radius-bl]{border-bottom-left-radius:var(--aq-control-radius)!important}

/* Native location assets are loaded on demand after the storefront stylesheet. */
html body :is(.bx-sls .dropdown-block,.bx-sls .bx-ui-sls-pane,.bx-sls .dropdown-item,.bx-sls .quick-location-tag,.bx-slst .dropdown-block,.bx-slst .dropdown-item,.bx-slst .quick-location-tag){border-radius:var(--aq-control-radius)!important}

/* The main detail price keeps the same VAT and native loyalty facts as the mobile bar. */
html body .aq-detail-price-facts{display:flex;flex-direction:column;gap:8px}
html body .aq-detail-price-facts :is(.vat-text,.detail-product-bonuses){font-size:14px;line-height:20px;color:var(--aq-muted,#495057);font-weight:400}
html body .aq-detail-price-bonuses{display:flex;align-items:center;gap:6px}
html body .aq-detail-price-bonuses svg{flex-shrink:0;stroke:currentColor}
html[data-aq-scheme=dark] .aq-detail-price-facts :is(.vat-text,.detail-product-bonuses){color:#bdc9d7}

/* Receiving replaces the old stock panel and uses its native soft background. */
html body .aq-delivery{background:var(--primary-100,rgba(11,71,141,.06));border-color:transparent}
html body .aq-delivery-cost{background:var(--aq-field,#fff)}
html body .aq-delivery-timeline{background:transparent}
html[data-aq-scheme=dark] .aq-delivery{background:var(--aq-surface,#232f3d)}
html[data-aq-scheme=dark] .aq-delivery-cost{background:var(--aq-page,#19212b)}
/* Keep the real location widget, with compact aligned quick cities and a single search icon. */
html body .aq-city-editor .quick-locations{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
html body .aq-city-editor .quick-location-tag{display:inline-flex;align-items:center;justify-content:center;height:auto!important;min-height:40px;padding:8px 12px;margin:0;max-width:100%;font-size:14px;line-height:20px;white-space:normal;text-align:center;color:var(--aq-link,#0b478d);background:var(--aq-field,#fff);border:1px solid var(--aq-border,#8793a1);box-sizing:border-box}
html body .aq-city-editor .quick-location-tag:hover{background:var(--aq-info-bg,#edf5ff)}
html body .aq-city-editor .dropdown-block{height:48px;min-height:48px;padding:0;cursor:text;background:var(--aq-field,#fff);border:1px solid var(--aq-border,#8793a1);box-shadow:none;box-sizing:border-box}
html body .aq-city-editor .bx-ui-sls-container{height:46px;min-height:46px!important;width:100%;position:relative;overflow:hidden}
html body .aq-city-editor :is(.bx-ui-sls-fake,.bx-ui-sls-route){height:46px!important;line-height:46px!important;top:0!important;left:0!important;transform:none!important;margin:0!important;padding:0 40px 0 44px!important;font-size:16px;width:100%;box-sizing:border-box;color:var(--aq-text,#2c2c2c)!important}
html body .aq-city-editor .bx-ui-sls-route{color:var(--aq-muted,#596675)!important;pointer-events:none}
html body .aq-city-editor .dropdown-icon{pointer-events:none;z-index:20;display:flex;align-items:center;justify-content:center;left:12px;right:auto;top:50%;width:20px;height:20px;transform:translateY(-50%);background:none!important;color:var(--aq-muted,#596675)}
html body .aq-city-editor .dropdown-icon svg{width:20px;height:20px}
html body .aq-city-editor .bx-ui-sls-clear{width:32px;height:32px;padding:8px;margin:0;box-sizing:border-box;top:50%;right:7px;transform:translateY(-50%);background:none!important}
html body .aq-city-editor .bx-ui-sls-loader{top:50%;right:10px;width:24px;height:24px;transform:translateY(-50%);background:var(--aq-field,#fff)!important}
html body .aq-city-editor .bx-ui-sls-pane-wrapper{position:absolute;top:calc(100% + 6px);left:0;width:100%;max-height:260px;border-radius:8px;clip-path:none;background:var(--aq-field,#fff);box-shadow:var(--shadow);z-index:1000}
html body .aq-city-editor .bx-ui-sls-pane{position:relative;top:auto;left:0;right:auto;max-height:260px;width:100%;border:0;background:var(--aq-field,#fff)}
html body .aq-city-editor .bx-ui-sls-variants{padding:4px}
html body .aq-city-editor .dropdown-item{padding:10px 12px;line-height:20px;overflow-wrap:anywhere}
html body .aq-city-editor .dropdown-item :is(span,.dropdown-item-text){color:var(--aq-text,#2c2c2c)}
html body .aq-city-editor .dropdown-item:is(:hover,.bx-ui-sls-variant-active){background:var(--aq-info-bg,#edf5ff)}

/* Keep the native stock node visible with the price on desktop and mobile. */
html body .aq-detail-price-facts .aq-detail-stock{margin:0!important;text-align:left!important;font-size:14px;line-height:20px;color:var(--aq-muted,#495057)}
html body .aq-detail-price-facts .aq-detail-stock .text-center{text-align:left!important}
html[data-aq-scheme=dark] .aq-detail-price-facts .aq-detail-stock{color:#bdc9d7}

/* Accepted variant A: stock capacities and dates, with receipt as the primary accent. */
html body .aq-delivery{padding:16px}
html body .aq-delivery h2{margin:0 0 8px}
.aq-stock-state{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin-top:12px;padding:6px 8px;border-radius:8px;background:#eaf5ec;color:#216b30;font-size:14px;line-height:20px;font-weight:700;overflow-wrap:anywhere}
.aq-stock-state svg{flex-shrink:0}.aq-stock-state.aq-stock-empty{background:transparent;color:var(--aq-muted,#495057);padding-left:0}.aq-stock-empty svg{display:none}
html body .aq-delivery .aq-delivery-timeline{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:12px;padding:0;background:transparent;border-radius:0}
html body .aq-delivery .aq-delivery-timeline>div{min-width:0}
html body .aq-delivery .aq-delivery-timeline>div+div{margin:0;padding:0 0 0 16px;border-top:0;border-left:1px solid var(--aq-border,#ced4da)}
html body .aq-delivery .aq-delivery-timeline [data-aq-selected]{display:inline;font:inherit;color:inherit}
html body .aq-delivery .aq-arrival-summary [data-aq-arrival]{font-size:18px;line-height:26px;font-weight:500;color:var(--aq-link,#0b478d);margin-top:4px}
html body .aq-delivery .aq-availability-table{width:100%;border:0!important;border-collapse:collapse;margin:4px 0 0;font-size:14px;line-height:22px}
html body .aq-delivery .aq-availability-table th,html body .aq-delivery .aq-availability-table td{padding:3px 0;vertical-align:top;background:transparent;border:0!important}
.aq-availability-table th{text-align:left;font-weight:500}.aq-availability-table td{text-align:right;font-weight:400;overflow-wrap:anywhere}
html body .aq-delivery .aq-delivery-cost{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin:14px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--aq-border,#ced4da);border-radius:0;background:transparent}
html body .aq-delivery .aq-delivery-cost>strong{font-size:14px;line-height:22px;font-weight:500}
html body .aq-delivery .aq-delivery-cost>.aq-link{font-size:14px;line-height:22px}
html body .aq-delivery .aq-delivery-note{margin:10px 0 0}
html body .aq-product-preview .product-item-quantity__wrap:has([data-entity="quantity-limit-value"]){display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;max-width:100%;padding:5px 7px;background:#eaf5ec;color:#216b30;border-radius:8px;font-size:13px;line-height:18px;font-weight:700;overflow-wrap:anywhere}
.aq-preview-stock-label{font-weight:500;white-space:nowrap}
html body .aq-detail-compact .info__main{gap:0;margin:0;padding:0;width:100%;align-items:stretch}
html body .aq-detail-compact .info__main-data{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;margin:0}
html body .aq-detail-compact .info__main-data h1{font-size:22px;line-height:30px;margin:4px 0 0!important}
html body .aq-detail-compact .info__badges,html body .aq-detail-compact .aq-empty-detail-rating,html body .aq-detail-compact .aq-vacated,html body .aq-detail-compact .aq-native-stock{display:none!important}
html body .aq-detail-compact .aq-detail-title-actions{display:flex!important;gap:12px!important;align-items:flex-start;grid-column:2;grid-row:1}
html body .aq-detail-compact .aq-detail-title-actions :is(button,svg){width:28px;height:28px;min-width:28px}
html body .aq-detail-compact .aq-detail-old-actions{margin:8px 0!important}
html body .aq-detail-compact .aq-detail-buyline{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 16px;margin:16px 0!important;min-width:0;width:100%}
html body .aq-detail-compact .aq-detail-buyline>div{min-width:0}
html body .aq-detail-compact .aq-detail-buyline .detail-buttons-container{flex:0 0 auto;margin:0!important;width:auto!important;max-width:100%}
html body .aq-detail-compact .aq-detail-buyline .detail-action-buttons{margin:0!important;justify-content:flex-end;align-items:flex-end}
html body .aq-detail-compact .aq-detail-price-facts{gap:4px}
html body .aq-detail-compact .aq-delivery{margin-top:0}
html[data-aq-scheme=dark] .aq-stock-state,html[data-aq-scheme=dark] body .aq-product-preview .product-item-quantity__wrap:has([data-entity="quantity-limit-value"]){background:#243e33;color:#9bdfab}
html[data-aq-scheme=dark] .aq-stock-state.aq-stock-empty{background:transparent;color:#bdc9d7}
html[data-aq-scheme=dark] body .aq-delivery .aq-arrival-summary [data-aq-arrival]{color:#8bc4ff}
@media(max-width:767px){html body .aq-detail-compact .info__main-data h1{font-size:19px;line-height:26px}html body .aq-detail-compact .aq-detail-title-actions{gap:4px!important}html body .aq-delivery .aq-delivery-timeline{grid-template-columns:minmax(0,1fr);gap:10px}html body .aq-delivery .aq-delivery-timeline>.aq-arrival-summary{grid-row:1;border:0;border-bottom:1px solid var(--aq-border,#ced4da);padding:0 0 10px}html body .aq-detail-compact .aq-detail-buyline{gap:10px}}

/* Keep purchase directly below the price facts as one full-width action. */
html body .aq-detail-compact .aq-detail-buyline{align-items:stretch;gap:12px}
html body .aq-detail-compact .aq-detail-buyline>.detail-buttons-container{width:100%!important;flex:1 0 100%;max-width:100%;align-self:stretch}
html body .aq-detail-compact .aq-detail-buyline .detail-action-buttons{width:100%;align-items:stretch;justify-content:flex-start}
html body .aq-detail-compact .aq-detail-buyline .detail-action-buttons>.d-flex{width:100%}
html body .aq-detail-compact .aq-detail-buyline .detail-action-buttons .btn{width:100%;flex:1;min-width:0}

html body .aq-detail-compact .aq-detail-buyline>.detail-buttons-container{display:flex!important;flex-direction:column;align-items:stretch}
html body .aq-detail-compact .aq-detail-buyline .detail-action-buttons{width:100%!important;min-width:0}

/* Preserve native action height after removing the sale-unit grid tracks. */
html body .aq-detail-compact .aq-detail-buyline .detail-action-buttons>.btn{min-height:52px;flex:1 0 auto}
html body .aq-detail-compact{row-gap:0!important}
html body .aq-detail-compact>.d-md-flex.mt-4.mb-4:not(:has(*)){display:none!important}

/* A recognisable compact purchase button; the native counter keeps its full row. */
html body .aq-detail-compact .aq-detail-buyline .detail-action-buttons>.btn{width:200px;max-width:100%;min-height:52px;flex:0 0 auto;align-self:flex-start}

/* The original code input is replaced by the native widget after its assets load.
   Keep it out of the visible field so a slow first load cannot expose a small,
   displaced input or accept unconfirmed location text as a location code. */
html body .aq-city-editor .dropdown-field{display:none!important}
html body .aq-city-editor .dropdown-block:not(:has(.bx-ui-sls-fake)):after{content:"Загружаем поиск города…";display:flex;align-items:center;height:46px;padding:0 40px 0 44px;font-size:16px;color:var(--aq-muted,#596675);pointer-events:none;box-sizing:border-box}
html body .aq-city-editor .dropdown-block:focus-within{border-color:var(--aq-link,#0b478d)}
