/* Homestyle checkout — compact catalog-like cards + grid align */

:root {
  --hs-card-border: #eee;
  --hs-card-radius: 8px;
  --hs-ph: #ececec;
  --hs-ph-2: #d8d8d8;
  --hs-text: #333;
  --hs-muted: #9a9a9a;
  --hs-blue: #5D7CA6;
  --hs-blue-hover: #4a668c;
}

/* ===== CART: catalog grid of compact cards ===== */
#basket-root .basket-items-list-wrapper,
#basket-root .basket-items-list-container {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
#basket-root .basket-items-list-wrapper-height-fixed {
  height: auto !important;
  max-height: none !important;
}
#basket-root .basket-items-list-header {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
#basket-root thead { display: none !important; }

#basket-root .basket-items-list-table,
#basket-root table.basket-items-list-table {
  display: block !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}
#basket-root .basket-items-list-table tbody {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px 12px;
  width: 100% !important;
}

#basket-root tr.basket-items-list-item-container {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  background: #fff !important;
  border: 1px solid var(--hs-card-border) !important;
  border-radius: var(--hs-card-radius) !important;
  box-shadow: none !important;
  overflow: hidden;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}
#basket-root tr.basket-items-list-item-container > td {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  vertical-align: top !important;
}

#basket-root .basket-items-list-item-descriptions {
  padding: 0 !important;
  margin: 0 !important;
  order: 1;
}
#basket-root .basket-items-list-item-descriptions-inner {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* portrait photo like catalog */
#basket-root .basket-item-block-image,
#basket-root .basket-items-list-wrapper-compact .basket-item-block-image {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 0 149.875% !important; /* catalog ratio */
  margin: 0 !important;
  float: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, var(--hs-ph), var(--hs-ph-2)) !important;
  position: relative;
  flex: none !important;
  top: 0;
  border: none !important;
}
#basket-root .basket-item-image-link {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
#basket-root .basket-item-image,
#basket-root .basket-items-list-wrapper-compact .basket-item-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: block !important;
}
#basket-root .basket-item-image[src*="no_photo"] {
  opacity: 0 !important;
}
#basket-root .basket-item-image:not([src*="no_photo"]) {
  opacity: 1 !important;
}

#basket-root .basket-item-block-info {
  padding: 8px 10px 0 !important;
  margin: 0 !important;
}
#basket-root .basket-item-info-name,
#basket-root h2.basket-item-info-name {
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: var(--hs-text) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#basket-root .basket-item-info-name-link {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit !important;
}

/* hide noisy props / price type / ruble clutter in meta */
#basket-root .basket-item-block-properties,
#basket-root .basket-item-property,
#basket-root .basket-item-property-custom,
#basket-root .basket-item-price-title,
#basket-root .basket-item-amount-field-description {
  display: none !important;
}

#basket-root .basket-items-list-item-price,
#basket-root .basket-items-list-item-price-for-one,
#basket-root .basket-items-list-item-amount,
#basket-root .basket-items-list-item-remove,
#basket-root td[data-entity="basket-item-sum"] {
  order: 3;
  padding: 0 10px 10px !important;
  text-align: left !important;
}
#basket-root .basket-items-list-item-amount { order: 4; }
#basket-root .basket-items-list-item-remove,
#basket-root td.basket-items-list-item-remove { order: 5; padding: 0 10px 10px !important; }

#basket-root .basket-item-price-current-text,
#basket-root .basket-item-price-current,
#basket-root .basket-item-price-sum-current {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--hs-text) !important;
}
/* show amount of money without oversized currency */
#basket-root .basket-item-price-current-text {
  font-variant-numeric: tabular-nums;
}

#basket-root .basket-item-block-amount {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px;
  background: #f3f3f3;
  border-radius: 6px;
  padding: 2px 6px;
  border: none !important;
  margin-top: 4px;
}
#basket-root .basket-item-amount-btn-minus,
#basket-root .basket-item-amount-btn-plus {
  border: none !important;
  background: transparent !important;
  width: 24px !important;
  height: 24px !important;
}
#basket-root .basket-item-amount-filed,
#basket-root .basket-item-amount-field {
  border: none !important;
  background: transparent !important;
  width: 32px !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

#basket-root .basket-item-actions-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  opacity: 0.7;
  background: rgb(255 255 255 / 85%);
  border-radius: 50%;
  width: 28px;
  height: 28px;
}

/* total bar */
#basket-root .basket-checkout-container {
  border: 1px solid var(--hs-card-border) !important;
  border-radius: var(--hs-card-radius) !important;
  box-shadow: none !important;
  padding: 14px 16px !important;
  background: #fff !important;
  margin-bottom: 16px;
}
#basket-root .btn.basket-btn-checkout,
#basket-root .btn.btn-default.basket-btn-checkout {
  background: var(--hs-blue) !important;
  border-color: var(--hs-blue) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
#basket-root .btn.basket-btn-checkout:hover {
  background: var(--hs-blue-hover) !important;
  border-color: var(--hs-blue-hover) !important;
  color: #fff !important;
}
#basket-root input::placeholder,
#basket-root .form-control::placeholder {
  color: var(--hs-muted) !important;
  opacity: 1 !important;
}

@media (min-width: 960px) {
  #basket-root .basket-items-list-table tbody {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
}
@media (max-width: 639px) {
  #basket-root .basket-items-list-table tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }
  #basket-root .basket-item-info-name,
  #basket-root h2.basket-item-info-name { font-size: 12px !important; }
}


/* one price line only — hide unit/ duplicate / discount noise */
#basket-root .basket-items-list-item-price-for-one,
#basket-root td.basket-items-list-item-price.basket-items-list-item-price-for-one,
#basket-root .basket-item-block-price .basket-item-price-title,
#basket-root .basket-items-list-item-price:not(.basket-items-list-item-price-for-one) .basket-item-price-old,
#basket-root .basket-item-price-old-text {
  display: none !important;
}
/* if both unit and sum exist, hide unit price td */
#basket-root td.basket-items-list-item-price.hidden-xs {
  display: none !important;
}
#basket-root .basket-items-list-item-price .basket-item-price-current-text,
#basket-root .basket-item-price-sum-current {
  font-size: 14px !important;
  font-weight: 600 !important;
}
/* compact price+qty row */
#basket-root .basket-items-list-item-price,
#basket-root .basket-items-list-item-amount,
#basket-root td[class*="basket-items-list-item-sum"],
#basket-root .basket-items-list-item-remove {
  display: block !important;
  padding: 0 10px 8px !important;
  text-align: left !important;
}
#basket-root .basket-item-block-price {
  margin: 0 !important;
  padding: 0 !important;
}


/* Bitrix SOA duplicates item table for adaptive — keep first only */
.sz-order-page .bx-soa-item-table ~ .bx-soa-item-table {
  display: none !important;
}


/* compact meta under photo: title already in info; price + qty in one row */
#basket-root .basket-items-list-item-price,
#basket-root .basket-items-list-item-amount,
#basket-root .basket-items-list-item-remove,
#basket-root td[data-entity="basket-item-sum"],
#basket-root td[class*="basket-items-list-item-sum"] {
  order: 3;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  border: none !important;
  background: transparent !important;
}
#basket-root .basket-items-list-item-amount { order: 4; }
#basket-root .basket-items-list-item-remove,
#basket-root td.basket-items-list-item-remove { order: 5; }

#basket-root .basket-item-block-price,
#basket-root .basket-items-list-item-price .basket-item-block-price {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  padding: 6px 10px 10px !important;
  margin: 0 !important;
}
#basket-root .basket-item-price-current-text,
#basket-root .basket-item-price-current,
#basket-root .basket-item-price-sum-current,
#basket-root .basket-items-list-item-price .basket-item-price-current-text {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--hs-text) !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.2 !important;
}

/* qty — compact pill under/near price */
#basket-root .basket-items-list-item-amount {
  padding: 0 10px 10px !important;
}
#basket-root .basket-item-block-amount {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: 112px;
  height: 30px;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 0 2px;
  border: 1px solid #ececec !important;
  margin: 0 !important;
  box-sizing: border-box;
}
#basket-root .basket-item-amount-btn-minus,
#basket-root .basket-item-amount-btn-plus {
  border: none !important;
  background: transparent !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
  opacity: 0.7;
  cursor: pointer;
}
#basket-root .basket-item-amount-btn-minus:hover,
#basket-root .basket-item-amount-btn-plus:hover {
  opacity: 1;
}
#basket-root .basket-item-amount-filed,
#basket-root .basket-item-amount-field {
  border: none !important;
  background: transparent !important;
  width: 36px !important;
  height: 28px !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  color: var(--hs-text) !important;
}

/* put price + qty side by side via grid on card bottom */
#basket-root tr.basket-items-list-item-container {
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-descriptions {
  grid-column: 1 / -1;
  grid-row: 1;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-price {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  padding: 0 0 10px 10px !important;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-amount {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  padding: 0 10px 10px 0 !important;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-remove {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  height: 0;
  padding: 0 !important;
  overflow: visible;
}
#basket-root .basket-item-actions-remove {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  z-index: 3;
  opacity: 0.75;
  background: rgb(255 255 255 / 90%);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
}
#basket-root .basket-item-block-price {
  padding: 0 !important;
}

/* ===== ORDER: same catalog cards ===== */
.sz-order-page #bx-soa-basket .bx-soa-section-content {
  padding: 12px !important;
}
.sz-order-page .bx-soa-item-table {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px 12px;
  width: 100% !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info {
  display: flex !important;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
  border: 1px solid var(--hs-card-border);
  border-radius: var(--hs-card-radius);
  overflow: hidden;
  box-shadow: none;
  width: auto !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-item-info-container,
.sz-order-page .bx-soa-item-tr.hidden-sm,
.sz-order-page .bx-soa-item-tr.hidden-xs,
.sz-order-page .bx-soa-item-table > .bx-soa-item-tr:not(.bx-soa-basket-info) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
}
.sz-order-page .bx-soa-item-tr .bx-soa-item-td {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  border: none !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}
.sz-order-page .bx-soa-item-img-block {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 0 149.875% !important;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(145deg, var(--hs-ph), var(--hs-ph-2));
}
.sz-order-page .bx-soa-item-imgcontainer,
.sz-order-page .bx-soa-item-img-block img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 0;
  background-size: cover !important;
  background-position: center !important;
}
.sz-order-page .bx-soa-item-img-block img[src*="product_logo"],
.sz-order-page .bx-soa-item-img-block img[src*="no_photo"],
.sz-order-page img[src*="product_logo"] {
  opacity: 0 !important;
}
.sz-order-page .bx-soa-item-title {
  padding: 10px 10px 4px !important;
}
.sz-order-page .bx-soa-item-title a {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--hs-text) !important;
  text-decoration: none !important;
}
/* hide redundant labels / ruble noise in order item meta */
.sz-order-page .bx-soa-item-td-title {
  display: none !important;
}
.sz-order-page .bx-soa-item-tr .bx-soa-item-td:not(:first-child) {
  display: inline-block !important;
  width: auto !important;
  padding: 2px 10px 8px 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--hs-text);
}
/* hide duplicate sum — leave price + qty */
.sz-order-page .bx-soa-item-tr .bx-soa-item-td:nth-child(4) {
  display: none !important;
}
.sz-order-page .bx-soa-item-tr .bx-soa-item-td:nth-child(3) {
  font-weight: 500 !important;
  color: var(--hs-muted) !important;
  font-size: 12px !important;
}
.sz-order-page .bx-soa-item-td-text {
  font-size: 13px !important;
  font-weight: 600 !important;
}
.sz-order-page #bx-soa-basket.bx-soa-section,
.sz-order-page .bx-soa-section {
  border: 1px solid var(--hs-card-border) !important;
  border-radius: var(--hs-card-radius) !important;
  box-shadow: none !important;
  overflow: hidden;
  background: #fff;
}
.sz-order-page .bx-soa-section-title-container {
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--hs-card-border);
}
.sz-order-page .bx-soa-section-title {
  font-size: 15px !important;
  font-weight: 600 !important;
}
.sz-order-page .bx-soa-cart-total {
  border: 1px solid var(--hs-card-border) !important;
  border-radius: var(--hs-card-radius) !important;
  box-shadow: none !important;
  padding: 14px !important;
}
.sz-order-page .bx-soa-button.bx-soa-button-colored,
.sz-order-page .btn-order-save,
.sz-order-page a.bx-soa-button-colored {
  background: var(--hs-blue) !important;
  border-color: var(--hs-blue) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.sz-order-page .form-control,
.sz-order-page input[type=text],
.sz-order-page input[type=email],
.sz-order-page input[type=tel],
.sz-order-page textarea,
.sz-order-page select.form-control {
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  background: #fafafa !important;
  min-height: 42px;
  box-shadow: none !important;
}
.sz-order-page input::placeholder,
.sz-order-page textarea::placeholder {
  color: var(--hs-muted) !important;
  opacity: 1 !important;
}
@media (max-width: 639px) {
  .sz-order-page .bx-soa-item-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }
}

/* ===== ORDER cards: flush photo, compact price/qty ===== */
.sz-order-page #bx-soa-basket .bx-soa-section-content {
  padding: 10px !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info {
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child {
  padding: 0 !important;
  margin: 0 !important;
}
.sz-order-page .bx-soa-item-block {
  margin: 0 !important;
  padding: 0 !important;
}
.sz-order-page .bx-soa-item-img-block {
  margin: 0 !important !important;
  padding: 0 0 149.875% !important;
  border-radius: 0 !important;
}
.sz-order-page .bx-soa-item-title {
  padding: 8px 10px 2px !important;
  margin: 0 !important;
}
.sz-order-page .bx-soa-item-title a {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}
/* price + qty one compact row */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info {
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child {
  grid-column: 1 / -1;
  grid-row: 1;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
  display: block !important;
  padding: 4px 0 10px 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--hs-text) !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  display: block !important;
  padding: 4px 10px 10px 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--hs-muted) !important;
  text-align: right !important;
  justify-self: end;
  align-self: center;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4) {
  display: none !important;
}
.sz-order-page .bx-soa-item-td-title { display: none !important; }

/* CART: kill any leftover top padding inside card */
#basket-root tr.basket-items-list-item-container,
#basket-root tr.basket-items-list-item-container > td,
#basket-root .basket-items-list-item-descriptions,
#basket-root .basket-items-list-item-descriptions-inner,
#basket-root .basket-item-block-image {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#basket-root .basket-items-list-table tbody {
  gap: 14px 10px;
}
#basket-root .basket-item-block-info {
  padding: 8px 10px 0 !important;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-price {
  padding: 4px 0 10px 10px !important;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-amount {
  padding: 4px 10px 10px 0 !important;
}
#basket-root .basket-item-block-amount {
  max-width: 100px;
  height: 28px;
  border-radius: 7px;
  background: #f6f6f6;
  border: 1px solid #eee !important;
}
#basket-root .basket-item-price-current-text,
#basket-root .basket-item-price-sum-current {
  font-size: 13px !important;
  letter-spacing: -0.01em;
}

/* ===== CART card layout fix: photo full-bleed, price+qty row ===== */
#basket-root tr.basket-items-list-item-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-content: flex-start;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}
#basket-root tr.basket-items-list-item-container > td {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-descriptions {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  order: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}
#basket-root .basket-items-list-item-descriptions-inner,
#basket-root .basket-item-block-image {
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}
#basket-root .basket-item-block-image {
  padding-bottom: 149.875% !important;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-price {
  flex: 1 1 auto !important;
  order: 2 !important;
  width: auto !important;
  padding: 6px 8px 10px 10px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-amount {
  flex: 0 0 auto !important;
  order: 3 !important;
  width: auto !important;
  padding: 6px 10px 10px 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}
#basket-root tr.basket-items-list-item-container > .basket-items-list-item-remove {
  position: absolute !important;
  top: 0; right: 0;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  order: 0 !important;
}
#basket-root .basket-item-block-info {
  padding: 8px 10px 0 !important;
}
#basket-root .basket-item-block-amount {
  width: 96px !important;
  max-width: 96px !important;
  height: 28px !important;
  border-radius: 8px !important;
  background: #f4f4f4 !important;
  border: 1px solid #ebebeb !important;
}
#basket-root .basket-item-price-current-text,
#basket-root .basket-item-price-sum-current {
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Cart/order product links clickable */
#basket-root .basket-item-info-name-link,
#basket-root .basket-item-image-link,
.sz-order-page .bx-soa-item-title a,
.sz-order-page .bx-soa-item-img-block a {
  pointer-events: auto !important;
  cursor: pointer !important;
  color: inherit !important;
  text-decoration: none !important;
  position: relative;
  z-index: 2;
}
#basket-root .basket-item-info-name-link:hover,
.sz-order-page .bx-soa-item-title a:hover {
  color: var(--hs-blue, #5D7CA6) !important;
  text-decoration: underline !important;
}
#basket-root .basket-item-block-image,
#basket-root .basket-item-image-link {
  pointer-events: auto !important;
}

/* ===== Shared shell: header = main container (left + right) ===== */
:root {
  --hs-shell-pad: 40px;
}
@media (max-width: 639px) {
  :root { --hs-shell-pad: 15px; }
}

.headerv5 > .sz-container,
.headerv5 .sz-container.sz-container-xlarge,
.headerv5 .sz-container.sz-navbar-container,
.sz-section > .sz-container.sz-container-xlarge,
.sz-section > .sz-container.sz-container-large,
.sz-order-page.sz-container,
.sz-detail-element-v2.sz-container {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--hs-shell-pad) !important;
  padding-right: var(--hs-shell-pad) !important;
  box-sizing: border-box !important;
}

/* Nested: no second gutter */
.headerv5 .sz-navbar.sz-padding-small,
.headerv5 .sz-container.sz-navbar-container,
.sz-container.sz-container-xlarge > .sz-container,
.sz-container.sz-container-xlarge > .sz-container.sz-container-expand,
.sz-container.sz-container-xlarge > .sz-container.sz-breadcrumb-wrap,
.sz-container.sz-container-xlarge .sz-container.sz-container-expand.sz-margin-medium-top,
.sz-container.sz-container-xlarge .sz-container.sz-container-expand.sz-margin-medium-bottom {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Cart products: same left edge as shell */
#basket-root.bx-basket,
#basket-root .row,
#basket-root .col-xs-12,
#basket-root .col-sm-12,
#basket-root .basket-items-list-wrapper,
#basket-root .basket-items-list-container,
#basket-root .basket-items-list,
#basket-root .basket-items-list-table,
#basket-root .basket-items-list-table tbody {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
#basket-root .basket-items-list-table tbody {
  justify-items: stretch;
}

/* ===== Restore: full row + UIKit-like animation ===== */
#basket-root tr.basket-items-list-item-container.hs-basket-restore-row,
#basket-root tr.basket-items-list-item-container-expend {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  border: 1px solid var(--hs-card-border, #eee) !important;
  border-radius: 8px !important;
  background: #f7f8fa !important;
  overflow: hidden !important;
  animation: hs-restore-in 0.35s ease both;
}
#basket-root .hs-basket-restore-row > td,
#basket-root .basket-items-list-item-container-expend > td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
}
#basket-root .basket-items-list-item-notification-inner,
#basket-root .basket-items-list-item-removed-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}
#basket-root .basket-items-list-item-removed-block {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
#basket-root .basket-items-list-item-removed-block a {
  color: var(--hs-blue, #5D7CA6) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}
@keyframes hs-restore-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Prefer UIKit class when present */
#basket-root .sz-animation-slide-top {
  animation: hs-restore-in 0.35s ease both;
}

/* ===== Qty like product card, compact ===== */
#basket-root .basket-item-block-amount.quantity_inner,
#basket-root .quantity_inner--sm {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 96px !important;
  max-width: 118px !important;
  height: 28px !important;
  margin: 6px 10px 8px !important;
  padding: 0 !important;
  border: 1px solid #5D7CA6 !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
#basket-root .quantity_inner--sm .bt_minus,
#basket-root .quantity_inner--sm .bt_plus,
#basket-root .basket-item-amount-btn-minus,
#basket-root .basket-item-amount-btn-plus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  position: static !important;
  box-shadow: none !important;
}
#basket-root .quantity_inner--sm .bt_minus:before,
#basket-root .quantity_inner--sm .bt_minus:after,
#basket-root .quantity_inner--sm .bt_plus:before,
#basket-root .quantity_inner--sm .bt_plus:after,
#basket-root .basket-item-amount-btn-minus:before,
#basket-root .basket-item-amount-btn-minus:after,
#basket-root .basket-item-amount-btn-plus:before,
#basket-root .basket-item-amount-btn-plus:after {
  display: none !important;
  content: none !important;
}
#basket-root .quantity_inner--sm svg {
  display: block;
  stroke: #5D7CA6;
  stroke-width: 2;
  fill: none;
}
#basket-root .quantity_inner--sm .bt_minus:hover,
#basket-root .quantity_inner--sm .bt_plus:hover {
  background: #5D7CA6 !important;
}
#basket-root .quantity_inner--sm .bt_minus:hover svg,
#basket-root .quantity_inner--sm .bt_plus:hover svg {
  stroke: #fff;
}
#basket-root .quantity_inner--sm .basket-item-amount-filed-block {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
#basket-root .quantity_inner--sm .basket-item-amount-filed,
#basket-root .quantity_inner--sm input.quantity {
  width: 36px !important;
  max-width: 40px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333 !important;
  box-shadow: none !important;
}
#basket-root .basket-item-amount-field-description {
  display: none !important;
}


/* Beat sale.order.ajax style.css paddings (bioorder.*.!important) */
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr .bx-soa-item-td,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr .bx-soa-item-td:first-child,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr .bx-soa-item-td:last-child,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info .bx-soa-item-td,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-section-content,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-section-content.container-fluid,
.sz-order-page.bioorder .bx-soa-item-tr .bx-soa-item-td,
.sz-order-page.bioorder .bx-soa-item-tr .bx-soa-item-td:first-child {
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-section-content.container-fluid,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-section.bx-active .bx-soa-section-content,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-table-fade,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-table,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info {
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-left: none !important;
}

/* ===== HS FIX 2026-09: cart spacing / order borders / restore stack ===== */

/* Cart: equal vertical gaps name → price → qty, shared left edge */
#basket-root tr.basket-items-list-item-container:not(.hs-basket-restore-row):not(.basket-items-list-item-container-expend) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}
#basket-root tr.basket-items-list-item-container:not(.hs-basket-restore-row):not(.basket-items-list-item-container-expend) > .basket-items-list-item-descriptions {
  order: 1 !important;
  width: 100% !important;
  flex: 0 0 auto !important;
}
#basket-root tr.basket-items-list-item-container:not(.hs-basket-restore-row):not(.basket-items-list-item-container-expend) > .basket-items-list-item-price,
#basket-root tr.basket-items-list-item-container:not(.hs-basket-restore-row):not(.basket-items-list-item-container-expend) > td[data-entity="basket-item-sum"],
#basket-root tr.basket-items-list-item-container:not(.hs-basket-restore-row):not(.basket-items-list-item-container-expend) > td[class*="basket-items-list-item-sum"] {
  order: 2 !important;
  width: 100% !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  padding: 0 10px !important;
  margin: 0 0 8px !important;
  text-align: left !important;
  display: block !important;
}
#basket-root tr.basket-items-list-item-container:not(.hs-basket-restore-row):not(.basket-items-list-item-container-expend) > .basket-items-list-item-amount {
  order: 3 !important;
  width: 100% !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  justify-self: start !important;
  padding: 0 10px 12px !important;
  margin: 0 !important;
  text-align: left !important;
  display: block !important;
}
#basket-root tr.basket-items-list-item-container:not(.hs-basket-restore-row):not(.basket-items-list-item-container-expend) > .basket-items-list-item-remove {
  order: 0 !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
#basket-root .basket-item-block-info {
  padding: 10px 10px 0 !important;
  margin: 0 !important;
  text-align: left !important;
}
#basket-root .basket-item-info-name,
#basket-root h2.basket-item-info-name {
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-align: left !important;
}
#basket-root .basket-item-block-price,
#basket-root .basket-items-list-item-price .basket-item-block-price {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  justify-content: flex-start !important;
}
#basket-root .basket-item-price-current-text,
#basket-root .basket-item-price-current,
#basket-root .basket-item-price-sum-current {
  display: block !important;
  text-align: left !important;
  margin: 0 !important;
}
#basket-root .basket-item-block-amount,
#basket-root .basket-item-block-amount.quantity_inner,
#basket-root .quantity_inner--sm {
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: space-between !important;
}

/* Restore notifications: one stack on top, same style */
#basket-root .basket-items-list-table tbody {
  display: grid !important;
}
#basket-root tr.basket-items-list-item-container.hs-basket-restore-row,
#basket-root tr.basket-items-list-item-container-expend,
#basket-root tr.basket-items-list-item-container.hs-basket-restore-row.hs-basket-restore-row,
#basket-root #hs-basket-restore-stack tr.hs-basket-restore-row {
  grid-column: 1 / -1 !important;
  order: -100 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  position: relative !important;
  border: 1px solid #e6e8ec !important;
  border-radius: 8px !important;
  background: #f7f8fa !important;
  box-shadow: none !important;
  overflow: hidden !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  min-height: 0 !important;
  animation: hs-restore-in 0.35s ease both;
}
#basket-root #hs-basket-restore-stack {
  grid-column: 1 / -1 !important;
  order: -101 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 0 6px !important;
}
#basket-root #hs-basket-restore-stack tr.hs-basket-restore-row {
  margin: 0 !important;
}
#basket-root .hs-basket-restore-row > td,
#basket-root .basket-items-list-item-container-expend > td,
#basket-root .hs-basket-restore-row > td.basket-items-list-item-notification {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
#basket-root .basket-items-list-item-notification-inner,
#basket-root .basket-items-list-item-removed-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
  text-align: left !important;
  background: transparent !important;
  border: none !important;
  min-height: 52px !important;
}
#basket-root .basket-items-list-item-removed-block {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
}
#basket-root .basket-items-list-item-removed-block a {
  color: #5D7CA6 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  font-size: 14px !important;
}
#basket-root .basket-items-list-item-removed-container > div:first-child,
#basket-root .basket-items-list-item-notification-inner > div:first-child {
  font-size: 14px !important;
  color: #333 !important;
  line-height: 1.35 !important;
}

/* Order: drop excess borders, align like cart cards */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.sz-order-page .bx-soa-item-img-block {
  border-radius: 0 !important;
  overflow: hidden !important;
}
.sz-order-page .bx-soa-item-title {
  padding: 10px 0 8px !important;
  text-align: left !important;
  margin: 0 !important;
}
.sz-order-page .bx-soa-item-title a {
  text-align: left !important;
}
.sz-order-page .bx-soa-item-tr .bx-soa-item-td:not(:first-child) {
  display: block !important;
  width: 100% !important;
  padding: 0 0 8px !important;
  margin: 0 !important;
  text-align: left !important;
  float: none !important;
}
.sz-order-page .bx-soa-item-tr .bx-soa-item-td:nth-child(3) {
  padding: 0 0 12px !important;
}
.sz-order-page #bx-soa-basket.bx-soa-section,
.sz-order-page .bx-soa-section {
  border: 1px solid var(--hs-card-border) !important;
  border-radius: var(--hs-card-radius) !important;
}
.sz-order-page #bx-soa-basket .bx-soa-section-content {
  padding: 16px 12px !important;
  border: none !important;
}
.sz-order-page .bx-soa-item-table {
  gap: 20px 16px !important;
}
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info,
.sz-order-page .bioorder .bx-soa-item-tr.bx-soa-basket-info {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-section-content,
.sz-order-page .bioorder .bx-soa-section-content {
  border: none !important;
  box-shadow: none !important;
}

/* Restore: Bitrix/UIkit scrollspy hides with visibility:hidden — force visible */
#basket-root tr.hs-basket-restore-row .basket-items-list-item-notification-inner,
#basket-root tr.basket-items-list-item-container-expend .basket-items-list-item-notification-inner,
#basket-root tr.hs-basket-restore-row .basket-items-list-item-removed-container,
#basket-root tr.basket-items-list-item-container-expend .basket-items-list-item-removed-container,
#basket-root tr.hs-basket-restore-row [sz-scrollspy],
#basket-root tr.basket-items-list-item-container-expend [sz-scrollspy] {
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
#basket-root tr.hs-basket-restore-row,
#basket-root tr.basket-items-list-item-container-expend {
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 52px !important;
}

div#bx-soa-properties {
	margin-bottom: 30px;
}

div#bx-soa-properties .form-group.bx-soa-customer-field {
	padding: 0 15px;
}

div#bx-soa-properties .form-group.bx-soa-customer-field select {
	border-radius: 6px;
}
/* Order align v2: stack meta left like cart */

/* Order align v2: stack meta left like cart */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td,
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td,
.sz-order-page .bioorder .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-align: left !important;
  vertical-align: top !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td.bx-text-right,
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info .bx-soa-item-td-text {
  text-align: left !important;
  float: none !important;
}
.sz-order-page .bx-soa-item-title {
  padding: 10px 0 8px !important;
  margin: 0 !important;
  text-align: left !important;
  width: 100% !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  padding: 0 0 8px !important;
  font-size: 13px !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4) {
  display: none !important;
}
.sz-order-page .bx-soa-item-table,
.sz-order-page .bx-soa-table-fade,
.sz-order-page .bx-soa-item-table td,
.sz-order-page .bx-soa-item-table tr {
  border: none !important;
  border-collapse: separate !important;
  outline: none !important;
}
.sz-order-page #bx-soa-basket .bx-soa-section-content.container-fluid {
  border: none !important;
  box-shadow: none !important;
}
/* Order hide sum + equal gaps */

/* Order hide sum + equal gaps */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:last-child {
  display: none !important;
}
.sz-order-page .bx-soa-item-title {
  padding: 10px 0 0 !important;
  margin: 0 0 8px !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  padding: 0 0 8px !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}



/* Order hide sum STRONG */

/* Order hide sum STRONG */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:last-child,
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:last-child,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:last-child,
.sz-order-page .bioorder .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:last-child {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* bust 1789653530 */
.bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-coupon {
	margin-top: 20px;
	padding: 35px;
}

/* ===== ORDER: single price + qty row ===== */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child {
  display: block !important;
  width: 100% !important;
}
/* price + qty as one compact meta row */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2) {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 10px 10px 0 !important;
  margin: 0 !important;
  text-align: left !important;
  float: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333 !important;
  vertical-align: baseline !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 0 10px 0 !important;
  margin: 0 !important;
  text-align: left !important;
  float: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #8a8a8a !important;
  vertical-align: baseline !important;
}
/* hide second price / sum completely */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4) {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  border: none !important;
}
.sz-order-page .bx-soa-item-td-title { display: none !important; }

/* ===== ORDER meta inline FINAL ===== */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  display: inline !important;
  width: auto !important;
  float: none !important;
  padding: 0 10px 12px 0 !important;
  margin: 0 !important;
  text-align: left !important;
  vertical-align: baseline !important;
  white-space: nowrap !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2) {
  font-weight: 600 !important;
  color: #333 !important;
  font-size: 13px !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  font-weight: 500 !important;
  color: #8a8a8a !important;
  font-size: 13px !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3)::before {
  content: "·";
  margin-right: 10px;
  color: #ccc;
}

/* ===== ORDER meta flex wrap FINAL2 ===== */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info,
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: baseline !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child,
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
  float: none !important;
  padding: 0 12px 12px 0 !important;
  margin: 0 !important;
  text-align: left !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2) {
  font-weight: 600 !important;
  color: #333 !important;
  font-size: 13px !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  font-weight: 500 !important;
  color: #8a8a8a !important;
  font-size: 13px !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3)::before {
  content: "·";
  margin-right: 12px;
  color: #ccc;
}

/* ===== RESTORE compact stable FINAL ===== */
#basket-root tr.basket-items-list-item-container.hs-basket-restore-row,
#basket-root tr.basket-items-list-item-container-expend {
  grid-column: 1 / -1 !important;
  order: -100 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  border: 1px solid #ebebeb !important;
  border-radius: 6px !important;
  background: #f8f8f8 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  animation: none !important;
}
#basket-root tr.hs-basket-restore-row.hs-restore-enter {
  animation: hs-restore-in 0.22s ease both !important;
}
#basket-root .hs-basket-restore-row > td,
#basket-root .basket-items-list-item-container-expend > td,
#basket-root .hs-basket-restore-row > td.basket-items-list-item-notification {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  height: auto !important;
}
#basket-root .basket-items-list-item-notification-inner,
#basket-root .basket-items-list-item-removed-container,
#basket-root tr.hs-basket-restore-row .basket-items-list-item-notification-inner,
#basket-root tr.basket-items-list-item-container-expend .basket-items-list-item-notification-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
  background: transparent !important;
  border: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}
#basket-root .basket-items-list-item-removed-container > div:first-child,
#basket-root .basket-items-list-item-notification-inner > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  color: #555 !important;
}
#basket-root .basket-items-list-item-removed-container > div:first-child strong {
  font-weight: 600;
  color: #333;
}
#basket-root .basket-items-list-item-removed-block {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  flex: 0 0 auto;
}
#basket-root .basket-items-list-item-removed-block a {
  color: #5D7CA6 !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(93,124,166,.35);
}
#basket-root .basket-items-list-item-clear-btn {
  width: 18px !important;
  height: 18px !important;
  opacity: 0.55;
  cursor: pointer;
}
#basket-root .sz-animation-slide-top {
  animation: none !important;
}
@keyframes hs-restore-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ORDER align even FINAL3 ===== */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info,
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child,
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.sz-order-page .bx-soa-item-title {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 8px 0 0 !important;
  margin: 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}
.sz-order-page .bx-soa-item-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #333 !important;
  text-decoration: none !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  hyphens: auto;
  min-height: calc(1.3em * 2);
}
/* meta row under title: price + qty, same left edge */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 6px 0 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
  line-height: 1.25 !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2) {
  order: 2;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333 !important;
  padding-top: 6px !important;
  padding-bottom: 0 !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  order: 3;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #8a8a8a !important;
  padding-top: 4px !important;
  padding-bottom: 10px !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3)::before {
  content: none !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4) {
  display: none !important;
}
.sz-order-page .bx-soa-item-td-text {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}


/* ===== ORDER align even FINAL4 ===== */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info,
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  overflow: hidden !important;
  height: auto !important;
  min-height: 0 !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child,
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child,
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:first-child {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  order: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.sz-order-page .bx-soa-item-title {
  display: block !important;
  width: 100% !important;
  padding: 8px 0 0 !important;
  margin: 0 !important;
  text-align: left !important;
}
.sz-order-page .bx-soa-item-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #333 !important;
  text-decoration: none !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  min-height: calc(1.3em * 2);
}
/* meta: price + qty one row, same left edge as title */
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  display: block !important;
  float: none !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2) {
  order: 2 !important;
  padding: 6px 0 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333 !important;
  line-height: 1.25 !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  order: 3 !important;
  padding: 3px 0 10px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #8a8a8a !important;
  line-height: 1.25 !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3)::before {
  content: none !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder.c-sale-order-ajax .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(4),
.sz-order-page .bioorder.c-sale-order-ajax.c-sale-order-ajax-simple-1 .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(n+4) {
  display: none !important;
}
.sz-order-page .bx-soa-item-td-text,
.sz-order-page .bx-soa-item-td-text * {
  display: inline !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

/* ===== ORDER left-edge FINAL5 ===== */
.sz-order-page .bx-soa-item-title a,
.sz-order-page .bioorder .bx-soa-item-title a {
  margin: 0 !important;
  padding: 0 !important;
  margin-left: 0 !important;
}
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(2),
.sz-order-page .bx-soa-item-tr.bx-soa-basket-info > .bx-soa-item-td:nth-child(3) {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
/* hide inline labels like "Цена"/"Количество" if Bitrix injects them */
.sz-order-page .bx-soa-item-td-title,
.sz-order-page .bx-soa-item-properties .bx-soa-item-td-title {
  display: none !important;
}

/* ===== HS RESTORE rewrite v1 — simple stack, no Bitrix styles ===== */
#basket-root #hs-restore-stack.hs-restore-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  grid-column: 1 / -1 !important;
}

/* restore rows live outside product grid table */
#basket-root #hs-restore-stack > tr.hs-basket-restore-row,
#basket-root #hs-restore-stack > .hs-basket-restore-row {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  float: none !important;
  order: 0 !important;
}

#basket-root #hs-restore-stack .hs-restore-cell,
#basket-root #hs-restore-stack td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

#basket-root .hs-restore {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 8px !important;
  background: #f7f7f7 !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#basket-root .hs-restore__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #444 !important;
  text-align: left !important;
}
#basket-root .hs-restore__text strong {
  font-weight: 600;
  color: #222;
}

#basket-root .hs-restore__actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 0 0 auto;
}

#basket-root .hs-restore__btn,
#basket-root .hs-restore__actions a[data-entity="basket-item-restore-button"] {
  color: #5D7CA6 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(93,124,166,.35);
  white-space: nowrap;
}

#basket-root .hs-restore__close,
#basket-root button.hs-restore__close,
#basket-root .hs-restore [data-entity="basket-item-close-restore-button"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #888 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  background-image: none !important;
}
#basket-root .hs-restore__close:hover {
  background: rgba(0,0,0,.06) !important;
  color: #333 !important;
}

#basket-root #hs-restore-stack tr.hs-restore-enter .hs-restore {
  animation: hs-restore-in 0.2s ease both !important;
}
@keyframes hs-restore-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* kill Bitrix notification leftovers inside basket */
#basket-root .basket-items-list-item-notification,
#basket-root .basket-items-list-item-notification-inner,
#basket-root .basket-items-list-item-notification-removed,
#basket-root .basket-items-list-item-removed-container,
#basket-root .basket-items-list-item-removed-block,
#basket-root .basket-items-list-item-clear-btn,
#basket-root .basket-items-list-item-container-expend {
  animation: none !important;
  transition: none !important;
}
#basket-root #basket-item-table > tbody > tr.hs-basket-restore-row,
#basket-root #basket-item-table > tr.hs-basket-restore-row {
  display: none !important;
}

/* restore stack inner table */
#basket-root .hs-restore-stack .hs-restore-table {
  width: 100% !important;
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  background: transparent !important;
  table-layout: fixed !important;
}
#basket-root .hs-restore-stack .hs-restore-table tbody {
  display: block !important;
  width: 100% !important;
}
#basket-root .hs-restore-stack .hs-restore-table tr.hs-basket-restore-row {
  display: block !important;
  width: 100% !important;
  margin: 0 0 8px !important;
}

#basket-root #hs-restore-stack:not(:has(tr.hs-basket-restore-row)) {
  display: none !important;
  margin: 0 !important;
}
