/* ===== Прайс-лист: строки товаров и переключатель «шт / куб» (07.11.2026) ===== */
.cat_data_accord .product_pricelist{display:grid;grid-template-columns:minmax(0,1fr) 150px auto 124px 140px 136px;grid-template-areas:"info price unit qty sum btn";align-items:center;gap:12px 20px;padding:14px 0;border-bottom:1px solid #eef1ec}
.cat_data_accord .product_pricelist>*{min-width:0;width:auto!important;margin:0!important}
.cat_data_accord .product_pricelist_image_title{grid-area:info;display:flex;align-items:center;gap:14px}
.cat_data_accord .product_pricelist .price{grid-area:price}
.cat_data_accord .product_pricelist .order_details_form_content{grid-area:unit}
.cat_data_accord .product_pricelist .quantity{grid-area:qty}
.cat_data_accord .product_pricelist .price_kg{grid-area:sum}
.cat_data_accord .product_pricelist .spec452{grid-area:btn}
.cat_data_accord .product_pricelist .on_pr_row{margin:0 0 2px!important;white-space:nowrap}
.cat_data_accord .product_pricelist .pr_title_cart a{font-size:15px;line-height:1.35;color:#1f2a1f}

/* переключатель единиц — сегменты, как на карточке товара */
.cat_data_accord .erb-unit{display:inline-flex!important;align-items:stretch;gap:3px;padding:3px;border-radius:10px;background:#f1f3f0;justify-self:start}
.cat_data_accord .erb-unit[style*="none"]{display:none!important}
.cat_data_accord .erb-unit .reg_radio_buttons{position:relative;display:flex;align-items:center;justify-content:center;min-width:52px;height:34px;margin:0!important;padding:0 14px;cursor:pointer;border-radius:8px;gap:0;width:auto}
.cat_data_accord .erb-unit .reg_radio_buttons input{position:absolute;opacity:0;width:0;height:0;pointer-events:none;display:block!important}
.cat_data_accord .erb-unit .reg_radio_buttons input+span{position:absolute!important;inset:0;width:auto!important;height:auto!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;transition:background .15s,box-shadow .15s}
.cat_data_accord .erb-unit .reg_radio_buttons input+span::before,.cat_data_accord .erb-unit .reg_radio_buttons input+span::after{display:none!important}
.cat_data_accord .erb-unit .reg_radio_buttons input:checked+span{background:#ffd83a!important;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.cat_data_accord .erb-unit .reg_radio_buttons:hover input:not(:checked)+span{background:#e6e9e4!important}
.cat_data_accord .erb-unit .reg_radio_buttons input:focus-visible+span{outline:2px solid #58a841;outline-offset:1px}
.cat_data_accord .erb-unit .pay_item{position:relative;z-index:1;margin:0!important;font-style:normal;display:block}
.cat_data_accord .erb-unit .pay_item b{font-size:14px;font-weight:600;color:#1f2a1f;margin:0!important}

.cat_data_accord .product_pricelist .quantity-box{width:124px}
.cat_data_accord .product_pricelist .price_kg_center{justify-content:flex-start}
.cat_data_accord .product_pricelist .ad_cart_button{width:100%;min-height:42px;padding:0 14px;white-space:nowrap;font-size:14px;border-radius:10px}

@media (max-width:1100px){
  .cat_data_accord .product_pricelist{grid-template-columns:minmax(0,1fr) 140px auto;grid-template-areas:"info info info" "price unit unit" "qty sum btn"}
}
@media (max-width:767px){
  .cat_data_accord .product_pricelist{grid-template-columns:1fr 1fr;grid-template-areas:"info info" "price unit" "qty sum" "btn btn";gap:10px 12px;padding:16px 0}
  .cat_data_accord .product_pricelist .order_details_form_content{justify-self:end}
  .cat_data_accord .product_pricelist .price_kg{justify-self:end}
  .cat_data_accord .product_pricelist .pr_title_cart a{font-size:14px}
}
