/* salonoboev: cart, system fonts, compact cards, vector +/- (sob-shop). Linked from header.tpl after all module CSS. */

/* ===================== B. system fonts ===================== */
@font-face { font-family: "Sob UI"; src: local("Segoe UI Light"), local("SegoeUI-Light"); font-weight: 300; font-style: normal; }
@font-face { font-family: "Sob UI"; src: local("Segoe UI"), local("SegoeUI"); font-weight: 400; font-style: normal; }
@font-face { font-family: "Sob UI"; src: local("Segoe UI Semibold"), local("SegoeUI-Semibold"); font-weight: 500 600; font-style: normal; }
@font-face { font-family: "Sob UI"; src: local("Segoe UI Bold"), local("SegoeUI-Bold"); font-weight: 700 900; font-style: normal; }
@font-face { font-family: "Sob UI"; src: local("Segoe UI Italic"), local("SegoeUI-Italic"); font-weight: 300 400; font-style: italic; }
@font-face { font-family: "Sob UI"; src: local("Segoe UI Semibold Italic"), local("SegoeUI-SemiboldItalic"); font-weight: 500 600; font-style: italic; }
@font-face { font-family: "Sob UI"; src: local("Segoe UI Bold Italic"), local("SegoeUI-BoldItalic"); font-weight: 700 900; font-style: italic; }
:root {
  --sob-font: "Sob UI", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sob-i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath d='M0 5h12v2H0z'/%3E%3C/svg%3E");
  --sob-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath d='M0 5h12v2H0zM5 0h2v12H5z'/%3E%3C/svg%3E");
  --sob-step-line: #d9e1e8;
  --sob-step-ink: #51738f;
  --sob-step-hover: #eef3f7;
  --sob-step-active: #dde7ef;
}
body, .tooltip, .popover, footer h5, .simplecheckout-button,
.promo_popup_content, .promo_content h2.promo-title, .promo_content .pp-button { font-family: var(--sob-font); }
html body .sobc { --sobc-font: var(--sob-font); }
html body .product-thumb .h4, html body .product-thumb h4, html body .product-thumb .button-group button,
html body .carttxt, html body .allcollection a, html body .fv-items, html body .fv-item_total_css,
html body .fv-choice_group_label, html body .simplecheckout-cart th { font-weight: 400; }
html body .rev-date { font-weight: 400 !important; }

/* ===================== D. one stepper for every quantity control ===================== */
.product-thumb .quantity,
.my_quantity:has(.quant),
#popupcart_extended .popupcart_info td.quantity > div,
#popup-quickview .quantity-adder > div,
.sob-qty {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: auto !important;
  height: 36px !important;
  padding: 0 1px !important;
  border: 1px solid var(--sob-step-line) !important;
  border-radius: 18px !important;
  background: #fff;
  overflow: visible !important;
  vertical-align: middle;
}
.product-thumb .quantity [data-change],
.my_quantity .my_minus, .my_quantity .my_plus,
#popupcart_extended .popupcart_info td.quantity i.fa-plus,
#popupcart_extended .popupcart_info td.quantity i.fa-minus,
#popup-quickview .quantity-adder .add-action,
.sob-qty__btn {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  float: none !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--sob-step-ink) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease, color .15s ease;
}
.product-thumb .quantity [data-change]::before,
#popupcart_extended .popupcart_info td.quantity i.fa-plus::before,
#popupcart_extended .popupcart_info td.quantity i.fa-minus::before,
#popup-quickview .quantity-adder .add-action::before {
  content: "" !important;
  display: block;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: var(--sob-i-minus) center / 12px 12px no-repeat;
  mask: var(--sob-i-minus) center / 12px 12px no-repeat;
}
.product-thumb .quantity [data-change="+1"]::before,
#popupcart_extended .popupcart_info td.quantity i.fa-plus::before,
#popup-quickview .quantity-adder .add-up::before {
  -webkit-mask-image: var(--sob-i-plus);
  mask-image: var(--sob-i-plus);
}
.sob-pm { display: block; width: 12px; height: 12px; flex: 0 0 12px; }
.my_quantity .my_minus img, .my_quantity .my_plus img { display: none; }
.product-thumb .quantity [data-change]:hover,
.my_quantity .my_minus:hover, .my_quantity .my_plus:hover,
#popupcart_extended .popupcart_info td.quantity i.fa:hover,
#popup-quickview .quantity-adder .add-action:hover,
.sob-qty__btn:hover { background: var(--sob-step-hover) !important; color: #1a3f5d !important; }
.product-thumb .quantity [data-change]:active,
.my_quantity .my_minus:active, .my_quantity .my_plus:active,
#popupcart_extended .popupcart_info td.quantity i.fa:active,
#popup-quickview .quantity-adder .add-action:active,
.sob-qty__btn:active { background: var(--sob-step-active) !important; }
.sob-qty__btn:focus-visible { outline: 2px solid var(--sob-accent, #0e7e99); outline-offset: 1px; }
.product-thumb .quantity input,
.my_quantity input.quant,
#popupcart_extended .popupcart_info td.quantity input[type=text],
#popup-quickview .quantity-adder .quantity-number input,
.checkout-simplecheckout #simplecheckout_cart .sob-qty__input {
  flex: 0 0 38px !important;
  width: 38px !important;
  min-width: 0 !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #333;
  font-size: 15px !important;
  line-height: 32px;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.product-thumb .quantity input::-webkit-inner-spin-button,
.product-thumb .quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* listing cards */
.product-thumb .quantity { min-width: 104px; margin-top: 6px !important; }
.product-thumb .quantity > * { height: auto !important; }
.product-thumb .button-group > .quantity { align-self: flex-start; margin-left: 6px !important; }

/* product page */
.my_quantity:has(.quant) {
  position: relative;
  display: flex !important;
  width: max-content !important;
  height: 40px !important;
  margin: 0 auto 26px !important;
  border-radius: 20px !important;
}
.my_quantity .my_minus, .my_quantity .my_plus { width: 36px !important; height: 36px !important; }
.my_quantity input.quant { flex-basis: 48px !important; width: 48px !important; height: 36px !important; font-size: 18px !important; }
.my_quantity .quant-txt {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin: 4px 0 0 !important;
  color: #777;
  font-size: 11px;
  line-height: 14px;
  text-align: center;
}

/* popup cart: input + stacked icons -> [-][n][+] */
#popupcart_extended .popupcart_info td.quantity { width: 122px; min-width: 122px; }
#popupcart_extended .popupcart_info td.quantity > div > span { display: contents !important; }
#popupcart_extended .popupcart_info td.quantity i.fa-minus { order: 0; }
#popupcart_extended .popupcart_info td.quantity input[type=text] { order: 1; }
#popupcart_extended .popupcart_info td.quantity i.fa-plus { order: 2; }
@media (max-width: 650px) {
  #popupcart_extended .popupcart_info table,
  #popupcart_extended .popupcart_info tbody { display: block; width: 100%; }
  #popupcart_extended .popupcart_info tr:first-child { display: none; }
  #popupcart_extended .popupcart_info tr.hr,
  #popupcart_extended .popupcart_info tr.hr td { display: block; }
  #popupcart_extended .popupcart_info tr[class^="row_"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name remove" "qty price";
    align-items: center;
    gap: 8px 10px;
    padding: 12px 10px;
  }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td {
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0 !important;
  }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td.image { display: none; }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td.name { grid-area: name; line-height: 1.35; }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td.name a { line-height: 1.35; }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td.name > div:empty { display: none; }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td.quantity { grid-area: qty; justify-self: start; text-align: left; }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td.price { grid-area: price; justify-self: end; font-size: 15px; font-weight: 600; text-align: right; white-space: nowrap; }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td.remove { grid-area: remove; align-self: start; margin: -6px -6px 0 0; }
  #popupcart_extended .popupcart_info tr[class^="row_"] > td.remove i { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-size: 16px; color: #888; }
}

/* quick view: input + stacked arrows -> [-][n][+] */
#popup-quickview .quantity-adder > div { height: 38px !important; }
#popup-quickview .quantity-adder .quantity-wrapper { display: contents; }
#popup-quickview .quantity-adder .quantity-number { order: 1; float: none; }
#popup-quickview .quantity-adder .add-down { order: 0; }
#popup-quickview .quantity-adder .add-up { order: 2; }

/* ===================== C. compact listing cards (grid view) ===================== */
:is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) {
  --sob-cols: 2;
  --sob-gap: 8px;
  display: grid;
  grid-template-columns: repeat(var(--sob-cols), minmax(0, 1fr));
  gap: var(--sob-gap);
  grid-auto-flow: row dense;
  margin-left: 0;
  margin-right: 0;
}
:is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid)::before,
:is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid)::after { display: none; }
:is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) > * { grid-column: 1 / -1; }
:is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) > .product-layout.product-grid {
  grid-column: auto;
  float: none;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  padding: 0 !important;
}
:is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) > .clearfix { display: none; }
@media (min-width: 550px) { :is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) { --sob-cols: 3; } }
@media (min-width: 768px) {
  :is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) { --sob-gap: 16px; }
  :is(.categorypage, .brandpage, .infopage) #content.col-sm-12 .row:has(> .product-layout.product-grid) { --sob-cols: 4; }
}
@media (min-width: 1280px) {
  :is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) { --sob-cols: 4; }
  :is(.categorypage, .brandpage, .infopage) #content.col-sm-12 .row:has(> .product-layout.product-grid) { --sob-cols: 5; }
}
@media (min-width: 1600px) {
  :is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) { --sob-cols: 5; }
  :is(.categorypage, .brandpage, .infopage) #content.col-sm-12 .row:has(> .product-layout.product-grid) { --sob-cols: 6; }
}
.product-grid .product-thumb {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 !important;
  padding-bottom: 10px !important;
  border-radius: 8px;
}
.product-grid .product-thumb:hover { transform: translateY(-3px); }
.product-grid .product-thumb .image img.img-thumbnail { padding: 0; border: 0; border-radius: 8px 8px 0 0; }
.product-grid .product-thumb > div:has(> .button-group) { flex: 1 1 auto; display: flex; flex-direction: column; }
.product-grid .product-thumb .caption { padding: 0 8px; }
.product-grid .product-thumb .h4 {
  min-height: 0 !important;
  margin: 8px 0 4px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}
.product-grid .product-thumb .button-group { margin-top: auto !important; bottom: auto !important; }
.product-layout.product-grid .product-thumb:hover .quickview { right: auto; left: 50%; width: max-content; max-width: calc(100% - 12px); margin: 0; transform: translateX(-50%); }
.product-layout:is(.product-grid, .product-list) .product-thumb .quickview .btn-quickview { max-width: 100%; white-space: normal; }
:is(.product-grid, .product-list) .product-thumb .button-group > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "wish price price" "qty qty cart";
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}
:is(.product-grid, .product-list) .product-thumb .wish-price-cart { display: contents !important; }
:is(.product-grid, .product-list) .product-thumb .wish-price-cart > .btn-wish { grid-area: wish; width: 28px; height: 28px; margin: 0 !important; }
:is(.product-grid, .product-list) .product-thumb .wish-price-cart > .price,
:is(.product-grid, .product-list) .product-thumb .wish-price-cart > .price_by_call { grid-area: price; justify-content: flex-start !important; font-size: 16px; white-space: nowrap; }
:is(.product-grid, .product-list) .product-thumb .wish-price-cart > button:not(.btn-wish) { grid-area: cart; position: relative !important; inset: auto !important; width: 36px !important; height: 36px !important; margin: 0 !important; border-radius: 10px; }
:is(.product-grid, .product-list) .product-thumb .button-group .quantity { grid-area: qty; justify-self: start; margin-top: 0 !important; }
:is(.product-grid, .product-list) .product-thumb .fastlink { margin: 8px 0 0 !important; font-size: 14px; line-height: 18px; }
@media (max-width: 767px) {
  :is(.categorypage, .brandpage, .infopage) #content .row:has(> .product-layout.product-grid) { padding: 0 6px; }
  .product-grid .product-thumb .caption { padding: 0 6px; }
  .product-grid .product-thumb .h4 { font-size: 13px !important; }
  .product-grid .product-thumb .button-group > a { gap: 6px 4px; padding: 0 6px; }
  .product-grid .product-thumb .wish-price-cart > .price { font-size: 15px; }
  .product-grid .product-thumb .quantity { min-width: 96px; }
  .product-grid .product-thumb .quantity [data-change] { width: 30px !important; height: 30px !important; }
  .product-grid .product-thumb .quantity input { flex-basis: 32px !important; width: 32px !important; }
}
@media (max-width: 359px) {
  .product-grid .product-thumb .button-group > a { column-gap: 2px; }
  .product-grid .product-thumb .quantity { min-width: 0; }
  .product-grid .product-thumb .quantity [data-change] { width: 26px !important; }
  .product-grid .product-thumb .quantity input { flex-basis: 26px !important; width: 26px !important; }
  .product-grid .product-thumb .wish-price-cart > button:not(.btn-wish) { width: 34px !important; height: 34px !important; }
}

/* narrow phones: page width stays at the screen width */
@media (max-width: 400px) { .limitit_ select#input-limit { width: 58px; padding-left: 8px; padding-right: 4px; } }
.midleft .stock p:has(.notinstock_label) { padding-right: 30px; }

/* ===================== C. compact listing cards (list view: #list-view toggle, >=768) ===================== */
.product-layout.product-list .product-thumb {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  margin: 0 0 12px !important;
  padding: 12px !important;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 10px;
}
.product-layout.product-list .product-thumb:hover { transform: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.product-layout.product-list .product-thumb > a { grid-column: 1; grid-row: 1; display: block; min-width: 0; }
.product-layout.product-list .product-thumb > div {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 24px;
  min-width: 0;
}
.product-layout.product-list .product-thumb .image { position: relative; float: none; max-width: none; padding: 0; }
.product-layout.product-list .product-thumb .image img.img-thumbnail { display: block; width: 100%; height: auto; padding: 0; border: 0; border-radius: 8px; }
.product-layout.product-list .product-thumb:hover .quickview { top: auto; right: auto; bottom: 6px; left: 50%; width: max-content; max-width: calc(100% - 12px); margin: 0; transform: translateX(-50%); text-align: center; }
.product-layout.product-list .product-thumb > div > a:has(> .caption) { display: block; flex: 1 1 240px; min-width: 0; }
.product-layout.product-list .product-thumb .caption { min-height: 0; margin: 0; padding: 0; }
.product-layout.product-list .product-thumb .h4 {
  min-height: 0 !important;
  margin: 0 0 6px !important;
  color: var(--sob-ink, #333);
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.35 !important;
  text-align: left;
}
.product-layout.product-list .product-thumb .parametrs { margin: 0; text-align: left; }
.product-layout.product-list .product-thumb .parametrs p { margin: 0; padding: 0; color: var(--sob-text, #444); font-size: 13px; line-height: 1.5; }
.product-layout.product-list .product-thumb .parametrs .fa-stack { width: 1.35em; }
html body .product-layout.product-list .product-thumb .button-group {
  display: flex !important;
  flex-direction: column;
  flex: 0 0 236px;
  position: static;
  width: auto;
  margin: 0 !important;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.product-layout.product-list .product-thumb .button-group > a { padding: 0; }
.product-layout.product-list .product-thumb .wish-price-cart > .price { font-size: 18px; }
.product-layout.product-list .product-thumb .button-group .quantity { width: auto !important; }
.product-layout.product-list .product-thumb .fastlink { text-align: left; }
@media (min-width: 1200px) {
  .product-layout.product-list .product-thumb { grid-template-columns: 168px minmax(0, 1fr); column-gap: 20px; padding: 14px !important; }
  .product-layout.product-list .product-thumb > div > a:has(> .caption) { flex-basis: 300px; }
  html body .product-layout.product-list .product-thumb .button-group { flex-basis: 248px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  html body .product-layout.product-list .product-thumb .button-group { flex: 1 1 100%; }
  .product-layout.product-list .product-thumb .button-group > a { grid-template-columns: repeat(4, auto); grid-template-areas: "wish price qty cart"; justify-content: start; column-gap: 12px; }
}
@media (max-width: 767px) {
  .product-layout.product-list .product-thumb { grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; padding: 10px !important; }
  .product-layout.product-list .product-thumb .h4 { font-size: 14px !important; }
  html body .product-layout.product-list .product-thumb .button-group { flex: 1 1 100%; }
}

/* ===================== C. compact carousel cards (home, product page carousels) ===================== */
.productcarusel :is(.owl-wrapper, .owl-stage):has(.product-thumb .quantity) { display: flex !important; }
.productcarusel :is(.owl-wrapper, .owl-stage):has(.product-thumb .quantity)::after { display: none; }
.productcarusel .owl-item:has(.product-thumb .quantity) { display: flex; flex: 0 0 auto; float: none; }
.productcarusel .owl-item > .item:has(> .product-thumb .quantity) { display: flex; flex-direction: column; width: 100%; height: auto !important; }
.productcarusel .product-thumb:has(> .button-group .quantity) { display: flex; flex-direction: column; flex: 1 1 auto; height: auto !important; padding-bottom: 10px !important; }
.productcarusel .product-thumb:has(> .button-group .quantity) > .button-group { top: 0 !important; margin-top: auto !important; }
.productcarusel .product-thumb:has(> .button-group .quantity) .caption { min-height: 0 !important; padding-bottom: 4px !important; }
.productcarusel .product-thumb:has(> .button-group .quantity) .caption h4 {
  min-height: 2.7em !important;
  margin: 8px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}
.productcarusel .product-thumb:has(> .button-group .quantity) .caption h4 a { font-size: inherit !important; line-height: inherit !important; }
.productcarusel .product-thumb:has(> .button-group .quantity) .caption .rating { height: auto; padding: 2px 0 0 !important; line-height: 16px; }
.productcarusel .product-thumb:has(> .button-group .quantity) .caption .rating .fa-stack { height: 16px; line-height: 16px; vertical-align: top; }
.productcarusel .product-thumb:has(> .button-group .quantity) .caption .rating .fa-stack-2x { line-height: 16px; }
.productcarusel .product-thumb:has(> .button-group .quantity) .wish-price-cart .price p { margin: 0 !important; }
@media (max-width: 767px) {
  .productcarusel .product-thumb:has(> .button-group .quantity) .caption h4 { font-size: 13px !important; }
}

/* ===================== A. cart (Simple checkout) ===================== */
.checkout-simplecheckout .simple-content { position: relative; max-width: 1400px; margin: 0 auto; }
.checkout-simplecheckout .simplecheckout { width: 100% !important; }
.checkout-simplecheckout .simplecheckout-step:not([style*="none"]) { display: flex !important; flex-direction: column; }
.checkout-simplecheckout .simplecheckout-step > .simplecheckout-block { margin-bottom: 14px; }
.checkout-simplecheckout #simplecheckout_payment_form:empty { display: none; }

/* list */
.sob-cart {
  padding: 2px 16px;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 12px;
  background: #fff;
}
.sob-cart__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0 11px;
  border-bottom: 1px solid var(--sob-line, #e6e6e6);
}
.sob-cart__title { color: var(--sob-ink, #333); font-size: 18px; font-weight: 600; line-height: 1.2; }
.sob-cart__count { color: var(--sob-muted, #777); font-size: 14px; }
.sob-ci {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-areas: "img body" "act act";
  gap: 10px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sob-line, #e6e6e6);
}
.sob-ci:last-child { border-bottom: 0; }
.sob-ci__img {
  grid-area: img;
  display: block;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sob-soft, #f4f4f4);
}
.sob-ci__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sob-ci__body { grid-area: body; min-width: 0; color: var(--sob-text, #444); font-size: 13px; line-height: 1.4; text-align: left; }
.sob-ci__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--sob-ink, #333); font-size: 17px; line-height: 1.25; }
.sob-ci__price b { font-weight: 600; }
.sob-ci__price s { color: var(--sob-muted, #777); font-size: 13px; }
.sob-ci__each { margin-top: 1px; color: var(--sob-muted, #777); font-size: 12.5px; }
.sob-ci__name {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--sob-ink, #333) !important;
  font-size: 14.5px;
  line-height: 1.35;
  text-decoration: none !important;
  border: 0 !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sob-ci__name:hover { color: var(--sob-accent, #0e7e99) !important; }
.sob-ci .product-warning { color: var(--sob-red, #d0342c); font-weight: 600; }
.sob-ci__meta { margin-top: 3px; color: var(--sob-muted, #777); font-size: 12.5px; }
.sob-ci__meta span { display: inline; }
.sob-ci__meta span + span::before { content: "·"; margin: 0 6px; color: #bbb; }
.sob-ci__opts { margin-top: 3px; color: var(--sob-muted, #777); font-size: 12.5px; }
.sob-ci__note { margin: 6px 0 0; color: var(--sob-red, #d0342c); font-size: 12px; line-height: 1.3; }
.sob-ci__actions { grid-area: act; display: flex; align-items: center; gap: 8px; min-width: 0; }
.sob-ci__uom { color: var(--sob-muted, #777); font-size: 13px; white-space: nowrap; }
.sob-ci__tools { display: flex; gap: 2px; margin-left: auto; }
.sob-ci__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8a9096;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.sob-ci__tool svg { display: block; width: 20px; height: 20px; }
.sob-ci__tool:hover { background: var(--sob-soft, #f4f4f4); color: var(--sob-accent, #0e7e99); }
.sob-ci__tool--del:hover { color: var(--sob-red, #d0342c); }
.sob-ci__tool--wish.is-on { color: var(--sob-red, #d0342c); }
.sob-ci__tool--wish.is-on svg path { fill: currentColor; }
.sob-ci__tool.is-busy { opacity: .55; pointer-events: none; }
.sob-ci__tool:focus-visible { outline: 2px solid var(--sob-accent, #0e7e99); outline-offset: 1px; }
.sob-ci__tool[disabled], .sob-qty__btn[disabled] { cursor: default; }
.sob-qty__btn.is-min { opacity: .35; }
.sob-qty__btn.is-min:hover { background: transparent !important; color: var(--sob-step-ink) !important; cursor: default; }
.checkout-simplecheckout #simplecheckout_cart .sob-qty { height: 38px !important; border-radius: 19px !important; }
.checkout-simplecheckout #simplecheckout_cart .sob-qty__btn { width: 34px !important; height: 34px !important; }
.checkout-simplecheckout #simplecheckout_cart .sob-qty__input { flex-basis: 42px !important; width: 42px !important; height: 34px !important; }
@media (max-width: 767px) {
  .sob-cart { padding: 2px 12px; }
  .checkout-simplecheckout #simplecheckout_customer,
  .checkout-simplecheckout #simplecheckout_shipping,
  .checkout-simplecheckout #simplecheckout_payment { padding: 2px 12px 4px; }
  .checkout-simplecheckout #affix_button_block { padding: 16px 12px !important; }
}
@media (min-width: 768px) {
  .sob-cart { padding: 2px 20px; }
  .sob-ci { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "img body" "img act"; gap: 10px 16px; padding: 16px 0; }
  .sob-ci__actions { align-self: end; }
  .sob-ci__img { width: 96px; height: 96px; }
  .sob-ci__price { font-size: 18px; }
}

/* empty cart */
.sob-cempty {
  max-width: 560px;
  margin: 8px auto 40px;
  padding: 36px 24px 32px;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.sob-cempty__ico { display: block; width: 64px; height: 64px; margin: 0 auto 14px; color: var(--sob-blue, #51738f); }
.sob-cempty__title { margin: 0 0 8px; color: var(--sob-ink, #333); font-size: 22px; font-weight: 600; line-height: 1.25; }
.sob-cempty__text { margin: 0 auto 20px; max-width: 400px; color: var(--sob-muted, #777); font-size: 15px; line-height: 1.45; }
.sob-cempty__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sob-cempty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--sob-blue, #51738f);
  border-radius: 10px;
  background: #fff;
  color: var(--sob-blue, #51738f) !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
}
.sob-cempty__btn:hover { background: var(--sob-step-hover); }
.sob-cempty__btn--main { background: var(--sob-blue, #51738f); color: #fff !important; }
.sob-cempty__btn--main:hover { background: #1a3f5d; border-color: #1a3f5d; }
.sob-cempty__link { display: inline-block; margin-top: 18px; color: var(--sob-accent, #0e7e99) !important; font-size: 14px; }

/* sticky checkout bar */
.sob-cbar {
  position: sticky;
  bottom: var(--sob-cookie-h, 0px);
  z-index: 900;
  order: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 14px;
  padding: 10px 16px;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .10);
}
.sob-cbar.is-hidden { display: none; }
.sob-cbar__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; text-align: left; }
.sob-cbar__count { color: var(--sob-muted, #777); font-size: 13px; }
.sob-cbar__sum { color: var(--sob-ink, #333); font-size: 18px; font-weight: 600; white-space: nowrap; }
.sob-cbar__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 170px;
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--sob-blue, #51738f);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  border: 0 !important;
  cursor: pointer;
  transition: background-color .15s ease;
}
.sob-cbar__go:hover, .sob-cbar__go:focus { background: #1a3f5d; color: #fff !important; }
.sob-cbar__go.is-disabled { opacity: .55; pointer-events: none; }
@media (max-width: 767px) {
  .sob-cbar {
    margin: 2px calc(-1 * var(--sob-gutter, 16px)) 14px;
    padding: 10px var(--sob-gutter, 16px) calc(10px + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: 0;
  }
  .sob-cbar__go { min-width: 0; padding: 0 18px; }
  body.sob-has-cbar #supportTrigger { bottom: calc(var(--sob-cbar-h, 72px) + var(--sob-cookie-h, 0px) + 10px) !important; }
}

/* order summary */
.checkout-simplecheckout .cart-total-left__wrapper { position: static; width: auto; }
.checkout-simplecheckout #affix_button_block,
.checkout-simplecheckout #affix_button_block.affix,
.checkout-simplecheckout #affix_button_block.affix-top,
.checkout-simplecheckout #affix_button_block.affix-bottom {
  position: static !important;
  top: auto !important;
  right: auto !important;
  display: block;
  width: 100% !important;
  max-width: none;
  margin: 0 0 20px !important;
  padding: 18px !important;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
  text-align: left;
}
.checkout-simplecheckout #affix_button_block .bordbl { padding: 0; border-radius: 0; background: none; }
.checkout-simplecheckout #additional_total_block { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
.checkout-simplecheckout #additional_total_block > * { grid-column: 1 / -1; }
.checkout-simplecheckout #additional_total_block .h3 { margin: 0 0 8px; color: var(--sob-ink, #333); font-size: 18px; font-weight: 600; line-height: 1.25; text-align: left; }
.checkout-simplecheckout #additional_total_block .simplecheckout-cart-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 6px 0;
  border: 0;
  color: var(--sob-text, #444);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}
.checkout-simplecheckout #additional_total_block .simplecheckout-cart-total::after { display: none; }
.checkout-simplecheckout #additional_total_block .simplecheckout-cart-total br { display: none; }
.checkout-simplecheckout #additional_total_block .simplecheckout-cart-total > span:first-child,
.checkout-simplecheckout #additional_total_block .shippind-title { order: 1; flex: 1 1 auto; }
.checkout-simplecheckout #additional_total_block .simplecheckout-cart-total-value { order: 2; min-width: 0; margin: 0; color: var(--sob-ink, #333); font-weight: 600; text-align: right; white-space: nowrap; }
.checkout-simplecheckout #additional_total_block .simplecheckout-cart-total-remove { order: 3; width: auto; }
.checkout-simplecheckout #additional_total_block .simplecheckout-cart-total-remove:empty { display: none; }
.checkout-simplecheckout #additional_total_block #total_shipping > span:not(.shippind-title):not(.simplecheckout-cart-total-value):not(.simplecheckout-cart-total-remove) {
  order: 4;
  flex: 0 0 100%;
  max-width: none;
  color: var(--sob-muted, #777);
  font-size: 13px;
}
.checkout-simplecheckout #additional_total_block #total_shipping > span:not(.shippind-title):not(.simplecheckout-cart-total-value):not(.simplecheckout-cart-total-remove):empty { display: none; }
.checkout-simplecheckout #additional_total_block #total_total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--sob-line, #e6e6e6); color: var(--sob-ink, #333); font-size: 16px; font-weight: 600; }
.checkout-simplecheckout #additional_total_block #total_total .simplecheckout-cart-total-value { font-size: 21px; font-weight: 700; }
.checkout-simplecheckout #additional_total_block > .simplecheckout-cart-total:not([id]):not(.promobl):not(.simplecheckout-cart-buttons) { display: none; }
.checkout-simplecheckout #additional_total_block .promobl { grid-column: 1; padding: 10px 0 0; }
.checkout-simplecheckout #additional_total_block .simplecheckout-cart-buttons { grid-column: 2; margin: 0 !important; padding: 10px 0 0 !important; align-self: end; }
.checkout-simplecheckout #additional_total_block .promobl input {
  width: 100%;
  max-width: none !important;
  height: 42px !important;
  padding: 0 12px;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 10px;
  background: var(--sob-soft, #f4f4f4);
  box-shadow: none;
  font-size: 14px;
}
.checkout-simplecheckout #additional_total_block #simplecheckout_button_cart {
  display: inline-flex !important;
  align-items: center;
  height: 42px;
  padding: 0 16px !important;
  border-radius: 10px;
  font-size: 14px !important;
  line-height: 1;
}
.checkout-simplecheckout #affix_button_block #buttons { margin: 14px 0 0; text-align: left; }
.checkout-simplecheckout #affix_button_block #buttons .simplecheckout-button-right { display: flex; flex-direction: column; gap: 12px; }
.checkout-simplecheckout #affix_button_block #agreement_checkbox .checkbox { margin: 0; }
.checkout-simplecheckout #affix_button_block #agreement_checkbox label {
  position: relative;
  display: block !important;
  padding: 0 0 0 24px;
  color: var(--sob-muted, #777);
  font-size: 11.5px;
  line-height: 1.45;
  text-align: left;
}
.checkout-simplecheckout #affix_button_block #agreement_checkbox input { position: absolute; top: 1px; left: 0; margin: 0; }
.checkout-simplecheckout #simplecheckout_button_confirm {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 0 16px !important;
  border: 0;
  border-radius: 10px;
  background: var(--sob-blue, #51738f);
  color: #fff;
  font-size: 16px !important;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.checkout-simplecheckout #simplecheckout_button_confirm:hover { background: #1a3f5d; }
.checkout-simplecheckout #simplecheckout_button_confirm[disabled] { opacity: .55; }
.checkout-simplecheckout #affix_button_block .cart-info { margin: 14px 0 0; color: var(--sob-muted, #777); font-size: 12px; line-height: 1.45; text-align: left; }

/* customer, shipping, payment, comment */
.checkout-simplecheckout #simplecheckout_customer,
.checkout-simplecheckout #simplecheckout_shipping,
.checkout-simplecheckout #simplecheckout_payment {
  padding: 4px 16px 6px;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 12px;
  background: #fff;
}
.checkout-simplecheckout .simplecheckout-step .checkout-heading {
  float: none;
  margin: 0;
  padding: 13px 0 8px !important;
  border: 0;
  background: none !important;
  color: var(--sob-ink, #333);
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}
.checkout-simplecheckout .simplecheckout-step .checkout-heading span { float: none; }
.checkout-simplecheckout .simplecheckout-step .simplecheckout-block-content { padding: 6px 0 10px; text-align: left; }
.checkout-simplecheckout .simplecheckout-step .form-group { margin-bottom: 12px; }
.checkout-simplecheckout #simplecheckout_shipping .form-horizontal .form-group,
.checkout-simplecheckout #simplecheckout_payment .form-horizontal .form-group { margin-left: 0; margin-right: 0; }
.checkout-simplecheckout .simplecheckout-step .control-label { margin-bottom: 4px; color: var(--sob-muted, #777); font-size: 12.5px; font-weight: 400; }
.checkout-simplecheckout .simplecheckout-step .form-control {
  height: 44px !important;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--sob-soft, #f4f4f4);
  box-shadow: none;
  color: var(--sob-ink, #333);
  font-size: 15px;
}
.checkout-simplecheckout .simplecheckout-step .form-control:focus { border-color: var(--sob-accent, #0e7e99); background: #fff; outline: 0; }
.checkout-simplecheckout .simplecheckout-step .has-error .form-control,
.checkout-simplecheckout .simplecheckout-step [data-error=true] .form-control { border-color: var(--sob-red, #d0342c); }
.checkout-simplecheckout .simplecheckout-step .simplecheckout-error-text { margin-top: 4px; color: var(--sob-red, #d0342c); font-size: 12px; }
.checkout-simplecheckout .simplecheckout-step .simplecheckout-warning-block { padding: 10px 12px; border-radius: 10px; background: #fdecea; color: var(--sob-red, #d0342c); }
.checkout-simplecheckout #simplecheckout_shipping .simplecheckout-block-content .radio,
.checkout-simplecheckout #simplecheckout_payment .simplecheckout-block-content .radio {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.checkout-simplecheckout #simplecheckout_shipping .radio:has(input:checked),
.checkout-simplecheckout #simplecheckout_payment .radio:has(input:checked) { border-color: var(--sob-accent, #0e7e99); background: #f3f9fa; }
.checkout-simplecheckout #simplecheckout_shipping .radio > label,
.checkout-simplecheckout #simplecheckout_payment .radio > label {
  position: relative;
  display: block !important;
  min-height: 0;
  margin: 0;
  padding: 13px 14px 13px 44px !important;
  color: var(--sob-ink, #333);
  font-size: 14.5px;
  line-height: 1.4;
  cursor: pointer;
}
.checkout-simplecheckout #simplecheckout_shipping .radio input[type=radio],
.checkout-simplecheckout #simplecheckout_payment .radio input[type=radio] {
  position: absolute;
  top: 15px;
  left: 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--sob-accent, #0e7e99);
}
.checkout-simplecheckout #simplecheckout_shipping .shipping-price { display: block; margin-top: 2px; color: var(--sob-muted, #777); font-size: 13px; }
.checkout-simplecheckout #simplecheckout_shipping .radio + .form-group { margin: -4px 0 10px; padding: 0 2px 0 44px; }
.checkout-simplecheckout #simplecheckout_shipping .radio + .form-group label { color: var(--sob-muted, #777); font-size: 12.5px; line-height: 1.45; text-align: left !important; }
.checkout-simplecheckout #simplecheckout_shipping .simplecheckout-block-content > fieldset { margin: 0 0 12px; }
.checkout-simplecheckout #pvzView_field__id { margin: 4px 0 8px !important; }
.checkout-simplecheckout #pvzView_field__id a {
  display: inline-flex !important;
  align-items: center;
  height: 40px;
  padding: 0 16px !important;
  border: 1px solid var(--sob-blue, #51738f);
  border-radius: 10px;
  color: var(--sob-blue, #51738f);
  text-decoration: none;
}
.checkout-simplecheckout #pvzView_field__id a:hover { background: var(--sob-step-hover); }
.checkout-simplecheckout #simplecheckout_comment .simplecheckout-block-content::before {
  content: "Комментарий к заказу";
  display: block;
  margin: 0 0 8px;
  color: var(--sob-ink, #333);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}
.checkout-simplecheckout #simplecheckout_comment textarea {
  min-height: 90px;
  padding: 12px 14px;
  border: 1px solid var(--sob-line, #e6e6e6);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
}

/* wide screens: right sticky summary (Ozon-like) */
@media (min-width: 992px) {
  .checkout-simplecheckout .simplecheckout:has(.cart-total-left__wrapper) { width: calc(100% - 324px) !important; }
  .checkout-simplecheckout .cart-total-left__wrapper { position: absolute; top: 0; right: 0; bottom: 0; width: 300px; }
  .checkout-simplecheckout #affix_button_block,
  .checkout-simplecheckout #affix_button_block.affix,
  .checkout-simplecheckout #affix_button_block.affix-top,
  .checkout-simplecheckout #affix_button_block.affix-bottom { position: sticky !important; top: 76px !important; }
}
@media (min-width: 1200px) {
  .checkout-simplecheckout .simplecheckout:has(.cart-total-left__wrapper) { width: calc(100% - 368px) !important; }
  .checkout-simplecheckout .cart-total-left__wrapper { width: 340px; }
}
