/* umr-shop.css v1 (shop-order) */
.umr-sh-cartlink{position:relative}
.umr-sh-badge{position:absolute;top:-6px;right:-8px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#b41818;color:#fff;font:700 11px/18px Arial,sans-serif;text-align:center;pointer-events:none}
.umr-sh-quickwrap{margin:10px 0 0}
.umr-sh-quick{display:block;width:100%;height:48px;background:#fff;border:1.5px solid #b41818;border-radius:8px;color:#b41818;font:600 15px/1.2 "Open Sans",Arial,sans-serif;white-space:nowrap;padding:0 8px;cursor:pointer;text-transform:none}
.umr-sh-quick:hover{background:#fdf4f4}
.umr-sh-quick-sub{font-size:12px;color:#777;text-align:center;margin:5px 0 0;line-height:1.35}
.umr-sh-card{margin:14px 0 18px;padding:14px 0 0;border-top:1px solid #eee}
.umr-sh-note{list-style:none;margin:0 0 8px;padding:0;font-size:13px;line-height:1.45;color:#444}
.umr-sh-note li{padding-left:18px;position:relative;margin:0 0 6px}
.umr-sh-note li:before{content:"✓";position:absolute;left:0;color:#b41818;font-weight:700}
.umr-sh-draw{display:inline-block;font-size:13px;font-weight:600;color:#b41818;text-decoration:underline}
/* широкий блок покупки: цена | количество, «В корзину» | «Быстрый заказ», ниже условия */
.umr-sh-wide{display:grid;grid-template-columns:1fr 1fr;column-gap:14px;row-gap:14px;align-items:center;padding:22px 22px 0 !important;border-radius:12px;border-color:#e4e1dc !important}
.umr-sh-wide>.product-item-detail-info-container{margin:0 !important}
.umr-sh-wide>[data-entity="quantity-block"]{justify-self:end}
.umr-sh-wide>[data-entity="main-button-container"]{align-self:start}
.umr-sh-wide>[data-entity="main-button-container"] .product-item-detail-info-container{margin:0}
.umr-sh-wide .umr-sh-quickwrap{margin:0;align-self:start}
.umr-sh-wide .umr-sh-card{grid-column:1 / -1;margin:0 0 18px}
.umr-sh-wide .product-item-detail-price-current{font-size:30px}
.umr-sh-isCard .product-item-detail-buy-button{height:48px;line-height:48px;padding:0 10px;background:#b41818 !important;border:0 !important;border-radius:8px;color:#fff !important;font:600 15px/48px "Open Sans",Arial,sans-serif !important;text-transform:none !important}
.umr-sh-isCard .product-item-detail-buy-button:hover{background:#8f1212 !important}
@media (max-width:420px){.umr-sh-wide{grid-template-columns:1fr;padding:16px 16px 0 !important}.umr-sh-wide>[data-entity="quantity-block"]{justify-self:start}}
/* без окна «Товар добавлен»: окно темы скрыто, пока идёт добавление */
.umr-sh-noPop .popup-window[id^="CatalogElementBasket_"],.umr-sh-noPop .popup-window-overlay{visibility:hidden !important}
.umr-sh-incart{display:flex;flex-direction:column;align-items:center;justify-content:center;height:48px;border-radius:8px;background:#2e9e4f;color:#fff !important;text-decoration:none !important;line-height:1.15;align-self:start}
.umr-sh-incart b{font:700 14px "Open Sans",Arial,sans-serif}
.umr-sh-incart span{font:600 12px "Open Sans",Arial,sans-serif;opacity:.9;text-decoration:underline}
.umr-sh-incart:hover{background:#25853f}
.umr-sh-more{grid-column:1 / -1;font-size:12px;color:#777;margin:-6px 0 0}
.umr-sh-more a{color:#b41818}
.umr-sh-qdim{opacity:.45;pointer-events:none}
.umr-sh-cartnote{display:flex;justify-content:flex-end;padding:10px 20px 0}
.umr-sh-isCart .umr-sh-checkout,.umr-sh-isCart .basket-btn-checkout{background:#b41818 !important;border-color:#b41818 !important;color:#fff !important;border-radius:0}
.umr-sh-isCart .umr-sh-checkout:hover{background:#8f1212 !important;border-color:#8f1212 !important}
@media (max-width:600px){.umr-sh-cartnote{justify-content:flex-start;padding:10px 0 0}}
/* корзина: крестик удаления виден всегда, кнопка без капслока */
.umr-sh-isCart .basket-item-block-actions .basket-item-actions-remove{opacity:1 !important;visibility:visible !important;display:block !important}
.umr-sh-isCart .basket-items-list-item-container .basket-item-block-actions{opacity:1 !important;visibility:visible !important}
.umr-sh-isCart .umr-sh-checkout{text-transform:none !important;font:600 16px "Open Sans",Arial,sans-serif !important;border-radius:8px !important}
/* пустая корзина */
.umr-sh-empty{margin:20px 0 30px;padding:24px 26px;border:1px solid #e4e1dc;border-radius:12px;background:#fff;font-family:"Open Sans",Arial,sans-serif}
.umr-sh-empty-t{font-size:20px;font-weight:700;color:#26241f;margin:0 0 6px}
.umr-sh-empty p{color:#555;margin:0 0 16px;font-size:14px}
.umr-sh-empty-a{display:flex;flex-wrap:wrap;gap:10px}
.umr-sh-ebtn{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:8px;border:1px solid #ddd9d4;background:#fff;color:#26241f !important;font-weight:600;font-size:14px;text-decoration:none !important}
.umr-sh-ebtn:hover{border-color:#b41818;color:#b41818 !important}
.umr-sh-ebtn--red{background:#b41818;border-color:#b41818;color:#fff !important}
.umr-sh-ebtn--red:hover{background:#8f1212;color:#fff !important}
.umr-sh-empty-last{margin-top:12px;font-size:12.5px;color:#888}
@media (max-width:600px){.umr-sh-ebtn{flex:1 1 100%;justify-content:center}}
/* v1.6 корзина: подписи цен, компактное фото */
.umr-sh-isCart .basket-items-list-item-price-for-one .basket-item-price-current-text{font-size:15px !important;color:#777 !important}
.umr-sh-isCart .basket-items-list-item-price:not(.basket-items-list-item-price-for-one) .basket-item-price-current-text{font-weight:700 !important;color:#26241f !important}
.umr-sh-isCart .basket-items-list-item-price:not(.basket-items-list-item-price-for-one) .basket-item-block-price:after{content:"сумма";display:block;font-size:12px;color:#999;margin-top:3px;font-weight:400}
.umr-sh-isCart .basket-item-block-image{width:96px !important;min-width:96px;max-width:96px}
.umr-sh-isCart .basket-item-image-link{display:flex;align-items:center;justify-content:center;width:84px;height:84px;border:1px solid #eee;border-radius:6px;overflow:hidden;background:#fff}
.umr-sh-isCart .basket-item-image{max-width:82px !important;max-height:82px !important;width:auto !important;height:auto !important;object-fit:contain}
/* телефон: строка товара — фото слева, название справа, ниже количество и сумма */
@media (max-width:767px){
  .umr-sh-isCart .basket-items-list-item-container{display:grid !important;grid-template-columns:1fr auto;align-items:center;column-gap:12px;padding:12px 40px 12px 12px !important;position:relative;border-bottom:1px solid #eee}
  .umr-sh-isCart .basket-items-list-item-container>td.hidden-xs{display:none !important}
  .umr-sh-isCart .basket-items-list-item-container>td:not(.hidden-xs){display:block !important;border:0 !important;padding:0 !important;text-align:left !important}
  .umr-sh-isCart .basket-items-list-item-descriptions{grid-column:1 / -1}
  .umr-sh-isCart .basket-items-list-item-descriptions-inner{display:flex !important;flex-direction:row !important;gap:12px;align-items:flex-start;padding:0 !important}
  .umr-sh-isCart .basket-item-block-image{flex:0 0 64px !important;width:64px !important;min-width:64px;max-width:64px;margin:0 !important;float:none !important}
  .umr-sh-isCart .basket-item-image-link{width:64px;height:64px}
  .umr-sh-isCart .basket-item-image{max-width:62px !important;max-height:62px !important}
  .umr-sh-isCart .basket-item-block-info{flex:1 1 auto;min-width:0;width:auto !important;float:none !important;padding:0 !important;text-align:left !important}
  .umr-sh-isCart .basket-item-info-name{font-size:14px !important;line-height:1.35 !important;margin:2px 0 0 !important;text-align:left !important}
  .umr-sh-isCart .basket-item-block-info .basket-item-actions-remove.visible-xs{position:absolute !important;top:12px;right:10px;left:auto !important}
  .umr-sh-isCart .basket-items-list-item-amount{padding-left:76px !important;margin-top:8px}
  .umr-sh-isCart .basket-items-list-item-amount .basket-item-block-amount{justify-content:flex-start;margin:0 !important}
  .umr-sh-isCart .basket-items-list-item-price:not(.basket-items-list-item-price-for-one){margin-top:8px;text-align:right !important}
  .umr-sh-isCart .basket-items-list-item-price .basket-item-block-price{text-align:right !important;padding:0 !important}
}
.umr-sh-incart--sm{height:34px;padding:0 10px;display:inline-flex;flex-direction:row;gap:6px;align-items:center;white-space:nowrap}
.umr-sh-incart--sm b{font-size:12.5px}
.umr-sh-incart--sm span{font-size:11.5px}
.umr-sh-qbusy{opacity:.5}
.umr-sh-qok{border-color:#2e9e4f !important;box-shadow:0 0 0 2px rgba(46,158,79,.25)}
.umr-sh-qerr{border-color:#b41818 !important}
input[data-umr-id]{border-color:#2e9e4f}
.umr-sh-bubble{position:absolute;z-index:9999;background:#2e9e4f;color:#fff;font:600 13px/1.3 "Open Sans",Arial,sans-serif;padding:7px 12px;border-radius:8px;white-space:nowrap;box-shadow:0 4px 14px rgba(0,0,0,.18);opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s;pointer-events:none}
.umr-sh-bubble:after{content:"";position:absolute;left:50%;bottom:-6px;margin-left:-6px;border:6px solid transparent;border-bottom:0;border-top-color:inherit}
.umr-sh-bubble{border-top-color:#2e9e4f}
.umr-sh-bubble--off{background:#555;border-top-color:#555}
.umr-sh-bubble--err{background:#b41818;border-top-color:#b41818}
.umr-sh-bubble.on{opacity:1;transform:none}
