/* XSTORE brand logo */
.header-logo{max-width:340px!important;width:auto!important}
.header-logo img,
.header-block__item-logo img,
#logo img,
a.logo img,
.uni-logo img,
.header-logo__img{
  max-height:86px!important;
  height:auto!important;
  width:auto!important;
  max-width:320px!important;
  object-fit:contain!important;
}
@media (max-width:991px){
  .header-logo{max-width:240px!important}
  .header-logo img,#logo img,.header-logo__img{max-height:60px!important;max-width:220px!important}
}
@media (max-width:767px){
  .header-logo{max-width:180px!important}
  .header-logo img,#logo img,.header-logo__img{max-height:48px!important;max-width:160px!important}
}

/* hide ex-tax / Без НДС */
.price-tax, .product-thumb .price-tax, .product-page .price-tax {display:none!important}

/* NBRB BYN official sign — only for glyph, not for digits */
@font-face {
  font-family: "nbrb";
  src: url("../fonts/nbrb/nbrb.woff2") format("woff2"),
       url("../fonts/nbrb/nbrb.woff") format("woff"),
       url("../fonts/nbrb/nbrb.ttf") format("truetype");
  unicode-range: U+E901;
  font-display: swap;
}

/* Beautiful price typography */
.price,
.product-thumb__price,
.product-page__price,
.product-thumb__price-new,
.product-thumb__price .price,
.quick-order__price,
.header-cart__price,
.header-cart__total-items,
.unicheckout-sticky__total,
.unicheckout-sticky .price,
.table .text-right,
.cart-total,
#cart .table,
.total {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "nbrb", sans-serif !important;
  font-variant-numeric: tabular-nums lining-nums !important;
  font-feature-settings: "tnum" 1, "lnum" 1 !important;
  letter-spacing: 0.01em !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.price,
.product-thumb__price,
.product-page__price,
.quick-order__price.price {
  font-weight: 650 !important;
  font-weight: 600 !important;
}

/* Product cards */
.product-thumb__price {
  font-size: 1.35em !important;
  line-height: 1.2 !important;
  color: #1a1a1a !important;
}

.product-thumb__price .price-new {
  color: #e84080 !important;
  font-weight: 700 !important;
}

.product-thumb__price .price-old {
  opacity: 0.55 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

/* Product page main price */
.product-page .price,
.product-block .price,
.product-page__price {
  font-size: 1.75em !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: #111 !important;
}

.product-page .price .price-new,
.product-block .price .price-new {
  color: #e84080 !important;
  font-weight: 700 !important;
}

/* Checkout totals */
.unicheckout-sticky__total-text,
.unicheckout-sticky .price,
.unicheckout .price {
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums !important;
}

/* Currency glyph slightly larger optically */
.price,
.product-thumb__price,
.product-page__price {
  font-variant-ligatures: none !important;
}

/* Compact quick order */
#modal-quick-order .quick-order__textblock,
#modal-quick-order .quick-order__description,
#modal-quick-order .product-data,
#modal-quick-order .quick-order__image-additional,
#modal-quick-order .price-tax,
#modal-quick-order .quick-order__discount {
  display: none !important;
}
#modal-quick-order .quick-order__image {
  max-width: 140px !important;
  padding-right: 10px !important;
}
#modal-quick-order .quick-order__img {
  max-width: 120px !important;
  height: auto !important;
}
#modal-quick-order .quick-order__price.price {
  font-size: 1.6em !important;
  font-weight: 700 !important;
  margin: 8px 0 16px !important;
  color: #e84080 !important;
  letter-spacing: -0.01em !important;
}
#modal-quick-order .modal-title {
  font-size: 16px !important;
  line-height: 1.35 !important;
}
#modal-quick-order .modal-dialog {
  max-width: 640px !important;
}

/* cookie-backdrop-fix */
body.modal-open:not(:has(.modal.in)):not(:has(.modal.show)) {
  overflow: auto !important;
  padding-right: 0 !important;
}
.modal-backdrop + .modal-backdrop { display: none !important; }
