/* Opt-in only. Load after theme CSS. Existing CMS widgets keep their handlers. */
body.rx-listing{--r-ink:#193d33;--r-muted:#718079;--r-line:#dce6df;--r-bg:#f2f6f3;--r-green:#195e45;color:#25352e!important;line-height:1.5}
body.rx-listing :is(h1,h2,h3,h4,h5,h6,input,button,select,textarea,.btn){font-family:Arial,Helvetica,sans-serif!important}
body.rx-listing :is(h1,h2,h3,h4,h5,h6){color:var(--r-ink);letter-spacing:-.025em}

body.rx-listing #main-content{padding-top:20px}
body.rx-listing .breadcrumb-box{padding-bottom:18px}
body.rx-listing :is(.products-layout-information-title,.order-title){font-size:30px!important;line-height:1.15!important;font-weight:750!important;margin:0!important}
body.rx-listing .products-layout-information{margin:0 0 22px!important}
body.rx-listing .products-layout-information-heading{gap:18px}
body.rx-listing .selectric{background:white!important;border:1px solid var(--r-line)!important;border-radius:10px!important;color:var(--r-ink)!important}
body.rx-listing .selectric .label{font-family:Arial,sans-serif!important;font-weight:600!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products.products-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products.products-grid>.product{width:auto!important;min-width:0!important;background:transparent!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-wrapper{border:1px solid var(--r-line)!important;background:#fff!important;border-radius:18px!important;box-shadow:0 4px 14px #1a3f2d04}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-content{flex-direction:column!important;padding:14px!important;height:100%!important;position:relative!important;gap:10px}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-images-wrapper{width:100%!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-images{height:200px!important;padding:28px 0 8px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-images .product-image img{width:100%!important;height:160px!important;object-fit:contain!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-images-hover-gallery{bottom:0!important;opacity:.5}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-stickers{gap:5px!important;flex-wrap:wrap!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-sticker-text{font-size:9px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-sticker-label{font-size:9px!important;line-height:1.2!important;font-family:Arial,sans-serif!important;letter-spacing:.025em}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-sticker-graphic img{max-width:46px!important;max-height:46px!important}

:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-description{padding:0!important;min-width:0!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-description>a.product-link{display:block!important;max-height:none!important;margin:0 0 8px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-description .product-title{line-height:1.45!important;font-weight:600!important;height:61px!important;max-height:61px!important;display:-webkit-box!important;overflow:hidden!important;letter-spacing:-.015em!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-rating{font-size:11px!important;min-height:18px}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-rating .icon{font-size:12px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-cart{position:static!important;align-items:end!important;justify-content:space-between!important;width:100%!important;margin:0!important;padding:0!important;gap:8px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-prices{flex-direction:column!important;align-items:start!important;line-height:1.25!important;min-height:49px;justify-content:end}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-price{font-size:23px!important;font-weight:700!important;color:var(--r-ink)!important;white-space:nowrap}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .has-special .product-price{font-size:12px!important;font-weight:400!important;color:#8d9992!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-price-special{font-size:23px!important;line-height:1.25!important;color:var(--r-green)!important;font-weight:750!important;white-space:nowrap}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-buy .btn{width:42px!important;height:42px!important;min-width:42px!important;padding:0!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-buy-title{display:none!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-bottom{position:static!important;padding:10px 0 0!important;border-top:1px solid #edf1ed!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-bottom .bottom-stickers{display:flex!important;gap:5px!important;margin-bottom:8px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-bottom .bottom-stickers img{width:24px!important;height:24px!important;object-fit:contain!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-variation{display:flex!important;gap:4px!important;flex-wrap:wrap!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-variation-item{line-height:1.3!important;padding:3px 5px!important;border:1px solid var(--r-line)!important;border-radius:5px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-variation-item:after{display:none!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-manufacturer{font-size:10px!important;margin-top:6px!important}
body.rx-listing #column-left{padding-right:20px!important}
body.rx-listing .ocf-container{background:#fff!important;border:1px solid var(--r-line)!important;border-radius:16px!important}

body.rx-listing .ocf-filter.ocf-open .ocf-value-list{max-height:220px!important}
body.rx-listing .show-more-wrapper{margin:24px 0!important}
body.rx-listing .show-more-wrapper .btn{border-radius:12px!important;background:#fff!important;color:var(--r-green)!important;border:1px solid var(--r-line)!important}
body.rx-listing .swiper-scrollbar{display:none!important}

body.rx-listing .manufacturer-series-title{letter-spacing:0!important}

body.rx-listing .manufacturer-series-link{font-size:12px!important;display:block}
body.rx-listing .description-wrapper{background:#fff;border-radius:18px;padding:24px!important;border:1px solid var(--r-line);margin:24px 0!important}
/* Checkout: existing fields, totals and provider elements are preserved. */
body.rx-listing .simple-content{max-width:1240px;margin:auto}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-title{margin-bottom:24px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-step{grid-template-columns:minmax(0,1fr) 340px!important;gap:24px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-left-column{min-width:0}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-right-column{position:sticky!important;top:92px!important;min-width:0}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-left-column>.simplecheckout-block{background:white!important;border:1px solid var(--r-line)!important;border-radius:18px!important;padding:20px!important;margin:0 0 16px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-block-header{margin:0 0 14px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-block-title{line-height:1.3!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-block-content{max-height:none!important;overflow:visible!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-fields fieldset{grid-template-columns:1fr 1fr;gap:12px!important}

body.rx-listing #simplecheckout_form_0 :is(input.form-control,textarea.form-control,select.form-control){font-size:16px!important;border:1px solid #d8e3da!important;background:#fbfcfa!important;border-radius:10px!important;min-height:48px!important;color:var(--r-ink)!important;padding:12px!important;width:100%!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variants{grid-template-columns:1fr 1fr!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant{width:auto!important;padding:0!important;border:1px solid var(--r-line)!important;border-radius:12px!important;min-height:72px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant:has(input:checked){border-color:#2c8060!important;background:#eff8f1!important;box-shadow:inset 0 0 0 1px #2c8060!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-wrapper{display:flex!important;gap:9px!important;padding:12px!important;align-items:center!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-radio-pseudo{height:16px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-icon{display:none!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-text{flex:1!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-title{font-size:12px!important;line-height:1.45!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-description{font-size:10px!important;line-height:1.45!important;color:var(--r-muted)!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-cost{font-size:10px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary{display:flex!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary-label{font-size:11px!important;min-width:0}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary-label strong{font-size:15px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary-total{font-size:13px!important;text-align:right}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-product{gap:10px!important;padding:16px 0!important;border-bottom:1px solid var(--r-line)!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-product-name{font-size:12px!important;line-height:1.5!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-product-price-current{font-size:17px!important;font-weight:700!important;color:var(--r-ink)!important}

body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-section{border-radius:18px!important;background:#fff!important;border:1px solid var(--r-line)!important;padding:22px!important;box-shadow:0 8px 30px #163e3008}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-block{background:none!important;margin:0 0 18px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-header{border:none!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-title{font-size:22px!important;margin:0 0 18px!important;font-weight:700!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-content{padding:0!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-subtotal{font-size:12px!important;gap:12px}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-total{padding:18px 0!important;border-top:1px solid var(--r-line)!important;align-items:center}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-total-label{font-size:14px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-total-value{font-size:28px!important;font-weight:750!important;color:var(--r-ink)!important;white-space:nowrap}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-button{background:var(--r-green)!important;color:#fff!important;font-size:14px!important;line-height:1.3!important;min-height:50px!important;border-radius:12px!important;padding:14px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-assurances-copy{font-size:10px!important;line-height:1.5!important;color:var(--r-muted)!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-trust{gap:10px!important;margin-top:18px!important;font-size:11px!important}

body.rx-listing :focus-visible{outline:3px solid #e9b944!important;outline-offset:3px}
@media(min-width:960px){body.rx-listing .container-with-column>.row{display:grid!important}body.rx-listing .container-with-column #content{width:auto!important;padding:0!important}body.rx-listing #column-left{padding-left:0!important}}
@media(max-width:1199px){:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-step{grid-template-columns:minmax(0,1fr) 300px!important;gap:16px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variants{grid-template-columns:1fr!important}}
@media(max-width:959px){:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-step{display:block!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-right-column{position:static!important;margin-top:20px}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variants{grid-template-columns:1fr 1fr!important}body.rx-listing :is(.products-layout-information-title,.order-title){font-size:26px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-images{height:170px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-images .product-image img{height:130px!important}}
@media(max-width:599px){body.rx-listing #main-content{padding-top:12px}body.rx-listing .breadcrumb-box{padding-bottom:12px}body.rx-listing :is(.products-layout-information-title,.order-title){font-size:24px!important}body.rx-listing .products-layout-information-heading{gap:14px!important}body.rx-listing .products-layout-information-actions{width:100%!important;justify-content:space-between!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-content{gap:9px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-wrapper{border-radius:14px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-images{height:150px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-images .product-image img{height:110px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-description .product-title{font-size:12px!important;height:54px!important;max-height:54px!important;line-height:1.5!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) :is(.product-price-special,.product-price){font-size:19px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .has-special .product-price{font-size:11px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-buy .btn{width:34px!important;height:36px!important;min-width:34px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-rating{font-size:10px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-sticker-label{font-size:8px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-bottom{padding-top:8px!important}:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-variation-item{font-size:9px!important;padding:3px!important}body.rx-listing .manufacturer-series-link{font-size:11px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-left-column>.simplecheckout-block{padding:16px!important;border-radius:15px!important;margin-bottom:12px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-fields fieldset{gap:10px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-block-title{font-size:17px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variants{grid-template-columns:1fr!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-wrapper{padding:12px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant{min-height:60px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-title{font-size:13px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-section{padding:18px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-product-name{font-size:12px!important}}
@media(min-width:960px){body.rx-listing .container-with-column>.row:before,body.rx-listing .container-with-column>.row:after{display:none!important}body.rx-listing .container-with-column #column-left{grid-column:1;grid-row:1}body.rx-listing .container-with-column #content{grid-column:2;grid-row:1}}
body.rx-listing header #search input{height:44px!important;padding:0 16px 0 44px!important;line-height:44px!important}

body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-step:before,body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .simplecheckout-step:after{display:none!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-bottom-wrapper{position:static!important;box-shadow:none!important;padding:0!important;background:transparent!important}

:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .product-bottom .product-sticker-graphic{width:24px!important;height:24px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid .product-wrapper:hover{box-shadow:0 5px 20px #183d3310!important}
:is(body.rx-listing :is(#product-category,#product-manufacturer-info,#product-search,#product-special),:where(body[data-rx-page=home]) #common-home) .products .product .product-buy .btn{background:#195e45!important;background-color:#195e45!important;color:#fff!important;border-radius:10px!important}
:is(body.rx-listing :is(#product-category,#product-manufacturer-info,#product-search,#product-special),:where(body[data-rx-page=home]) #common-home) .products .product .product-buy .btn .icon{display:block!important;font-size:20px!important}
:is(body.rx-listing :is(#product-category,#product-manufacturer-info,#product-search,#product-special),:where(body[data-rx-page=home]) #common-home) .product-stickers .product-sticker-text{padding:5px 7px!important;border-radius:6px!important;line-height:1!important;min-height:0!important}

body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-summary-header{background:transparent!important;color:#193d33!important;padding:0!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-wrapper{flex-direction:row!important;text-align:left!important;min-height:64px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-radio-pseudo{position:relative!important;left:auto!important;top:auto!important;transform:none!important;align-self:center!important;flex:0 0 16px!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-cost{flex:0 0 auto!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variant-text{align-items:flex-start!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .selectric-wrapper{width:100%!important;max-width:100%!important;min-width:0!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary-label{text-align:left!important}

@media(max-width:599px){body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-fields fieldset{grid-template-columns:1fr 1fr!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .row-customer_email,body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .row-customer_telephone{grid-column:1/-1}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary{gap:8px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary-total{font-size:12px!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary-label strong{font-size:13px!important}}
:is(body.rx-listing :is(#product-category,#product-manufacturer-info,#product-search,#product-special),:where(body[data-rx-page=home]) #common-home) .product:hover .product-wrapper{position:relative!important;top:auto!important;left:auto!important;width:100%!important;transform:none!important;border-radius:18px!important;box-shadow:0 4px 16px #193d3310!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .select2-container{max-width:100%!important}
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .select2-selection{border-radius:10px!important;border:1px solid #d8e3da!important}
@media(max-width:599px){body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .row-customer_firstname{grid-row:auto!important}body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .row-customer_lastname{grid-column:2!important;grid-row:auto!important}}
/* Preserve the theme accordion's collapsed state. */
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .accordion-box:not(.open)>.accordion-content{max-height:0!important;overflow:hidden!important}

/* Fix 19.11: the order total must not run under the open/close arrow. */
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-order-summary-total{flex-shrink:0}

/* 19.11 правки владельца (4): на телефоне больше места фото в карточках категории и бренда —
   квадрат на всю ширину карточки (стикеры поверх фото), поля карточки 8px, сетка плотнее. */
@media(max-width:599px){
body.rx-listing .container{padding-left:12px!important;padding-right:12px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products.products-grid{gap:8px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid .product .product-content{padding:8px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid .product .product-images-wrapper{width:100%!important;height:auto!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid .product .product-images{height:auto!important;padding:0 0 4px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid .product .product-images img{display:block;width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:contain!important}
}

/* 19.11 правки владельца (7): категория/бренд на телефоне — единая рабочая область, как на карточке:
   карточки и блоки в 6px от края экрана, текст (крошки, заголовок) в 12px. */
@media(max-width:767px){
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) #main-content .container{padding-left:0!important;padding-right:0!important}
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) #content{padding-left:6px!important;padding-right:6px!important}
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) #content .products-layout-content{margin-left:0!important;margin-right:0!important}
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) .products-layout-information{margin-left:6px!important;margin-right:6px!important}
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) .products.products-grid{gap:6px!important}
}

/* 19.11 правки владельца (6): оформление заказа.
   Выбранная «Покупка частинами» — плитка на всю ширину (тема делала её inline в группе с рамкой),
   панель рассрочки, обычные и select2-списки (поиск города/отделения) — в новом стиле. */
body.rx-listing #checkout-simplecheckout .checkout-variant-payment-group{border:0!important;background:transparent!important;display:grid!important;gap:10px}
body.rx-listing #checkout-simplecheckout .checkout-variant-payment-group>.checkout-variant{max-width:none!important}
body.rx-listing #checkout-simplecheckout .checkout-variant-payment-group>*{min-width:0;max-width:100%}
body.rx-listing #checkout-simplecheckout .ukrcredits-checkout [class*="term"]:has(>*+*+*+*){scrollbar-width:none}
body.rx-listing #checkout-simplecheckout .ukrcredits-checkout{max-width:100%;overflow:hidden;border:1px solid #d7e9dc!important;border-radius:14px!important;padding:14px!important;background:#f6faf7!important}
body.rx-listing #checkout-simplecheckout .ukrcredits-checkout-heading strong{font:650 15px/1.3 var(--rx-font)!important;color:#16392d}
body.rx-listing #checkout-simplecheckout select.form-control,
body.rx-listing #checkout-simplecheckout .select2-container .select2-selection{border:1px solid #cbd5db!important;border-radius:12px!important;min-height:48px!important;background-color:#fff!important;font:400 16px/1.3 var(--rx-font)!important;color:#16392d!important}
/* Текст в select2 по центру по вертикали: у темы padding 14px сверху + line-height 46px уводили его вниз. */
body.rx-listing #checkout-simplecheckout .select2-container{width:100%!important}
body.rx-listing #checkout-simplecheckout .select2-container .select2-selection{height:48px!important;padding:0 36px 0 14px!important;display:flex!important;align-items:center}
body.rx-listing #checkout-simplecheckout .select2-container .select2-selection__rendered{line-height:1.3!important;padding:0!important}
body.rx-listing #checkout-simplecheckout .select2-container .select2-selection__arrow{top:0!important;height:46px!important;right:8px!important}
body.rx-listing #checkout-simplecheckout select.form-control{height:48px!important;padding:0 36px 0 14px!important}
/* Адрес доставки на телефоне — поля в одну колонку (по два в ряд область/город обрезались). */
@media(max-width:599px){body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 :is(#simplecheckout_shipping_address,#simplecheckout_payment_address) .checkout-fields fieldset{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}}
body.rx-ui .select2-container--open .select2-dropdown{border:1px solid #cbd5db!important;border-radius:12px!important;overflow:hidden;box-shadow:0 12px 30px #102a2426!important}
body.rx-ui .select2-search--dropdown{padding:8px!important}
body.rx-ui .select2-search--dropdown .select2-search__field{border:1px solid #cbd5db!important;border-radius:10px!important;min-height:42px;padding:8px 12px!important;outline:none!important;font:400 16px var(--rx-font)!important}
body.rx-ui .select2-search--dropdown .select2-search__field:focus{border-color:#126344!important;box-shadow:0 0 0 2px #12634433!important}
body.rx-ui .select2-results__option{padding:10px 12px!important;font:400 15px/1.35 var(--rx-font)!important;color:#16392d!important}
body.rx-ui .select2-results__option--highlighted,body.rx-ui .select2-results__option[aria-selected=true]{background:#eaf5ee!important;color:#105c3c!important}

/* 19.11 правки владельца (11): категория/бренд на телефоне.
   — описание категории и «Популярні товари» (#bottom-content) в той же области, что карточки (6px);
   — панель «Сортування / Фільтр» всегда прижата к низу над нижним меню: была sticky внутри блока товаров
     и в конце списка застревала посреди страницы. Странице добавлен отступ снизу под неё. */
@media(max-width:767px){
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) #bottom-content .container{padding-left:0!important;padding-right:0!important}
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) .products-layout-mobile.mobile{position:fixed!important;left:6px!important;right:6px!important;z-index:20!important;margin:0!important}
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) .page{padding-bottom:64px}
}

/* 19.11 правки владельца (12): «Сортування / Фільтр» на телефоне — две одинаковые кнопки 44px,
   скругление 12px, мягкая тень, чуть выше нижнего меню. */
@media(max-width:767px){
body.rx-listing:is([data-rx-page=category],[data-rx-page=brand],[data-rx-page=search],[data-rx-page=special]) .products-layout-mobile.mobile{bottom:calc(58px + env(safe-area-inset-bottom,0px))!important}
body.rx-listing .products-layout-mobile .products-layout-mobile-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px!important;align-items:stretch}
body.rx-listing .products-layout-mobile .products-layout-mobile-actions-item{flex:none!important;margin:0!important;min-width:0}
body.rx-listing .products-layout-mobile :is(.selectric,.products-layout-mobile-actions-item-filter .btn){min-height:44px!important;border-radius:12px!important;box-shadow:0 4px 14px #102e261f!important}
body.rx-listing .products-layout-mobile :is(.selectric-wrapper,.selectric){width:100%!important;min-width:0!important}
body.rx-listing .products-layout-mobile .selectric{border:1px solid #dce6df!important}
body.rx-listing .products-layout-mobile .selectric .label{font:600 15px/1.2 var(--rx-font)!important;color:#16392d!important;line-height:42px!important}
body.rx-listing .products-layout-mobile-actions-item-filter .btn{padding:0 14px!important;display:flex!important;justify-content:center;gap:10px}
}

/* 19.11 правки владельца (17): способы оплаты на десктопе — выбранная «Покупка частинами» с панелью
   на всю строку, соседние плитки не растягиваются по её высоте. */
body.rx-listing #checkout-simplecheckout #simplecheckout_form_0 .checkout-variants-payment{align-items:start!important;grid-auto-flow:row dense}
body.rx-listing #checkout-simplecheckout .checkout-variant-payment-group:has(.checkout-variant.checked):has(.ukrcredits-checkout){grid-column:1/-1}

/* 19.11 правки владельца (18): больше места фото в карточках категории/бренда на всех ширинах —
   квадрат на всю ширину карточки (стикеры поверх), поля карточки 10px (на телефоне 8px). */
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid:not(.products-list):not(.products-square) .product .product-content{padding:10px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid:not(.products-list):not(.products-square) .product .product-images-wrapper{width:100%!important;height:auto!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid:not(.products-list):not(.products-square) .product .product-images{height:auto!important;padding:0 0 4px!important}
:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid:not(.products-list):not(.products-square) .product .product-images img{display:block;width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:contain!important}
@media(max-width:599px){:is(body.rx-listing,:where(body[data-rx-page=home] .products-layout)) .products-grid:not(.products-list):not(.products-square) .product .product-content{padding:8px!important}}
