.xs-checkout .block {
  background: #fff;
  border: 1px solid #e4e7ea;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 24px rgba(20, 30, 40, .04);
}
.xs-checkout .widget-title {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f2;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.xs-checkout .checkout-form .form-group { margin-bottom: 12px; }
.xs-checkout .checkout-form label,
.xs-checkout .xs-city-row label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7f858c;
}
.xs-checkout .form-control {
  min-height: 52px;
  border-radius: 0;
  border: 1px solid #dfe3e7;
  background: #fbfcfd;
  padding: 13px 15px;
  color: #2f3337;
  box-shadow: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.xs-checkout .form-control:focus {
  border-color: #222;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(215, 185, 90, .16);
}
.xs-checkout .form-control::placeholder {
  color: #b2b7bc;
  text-transform: uppercase;
  font-size: 12px;
}
.xs-checkout textarea.form-control { min-height: 88px; resize: vertical; }
.xs-choice { margin-bottom: 10px; }
.xs-choice.is-hidden { display: none; }
.xs-native-submit {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.xs-choice label {
  position: relative;
  display: block;
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid #d9dde2;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.xs-choice label:hover {
  border-color: #9aa3ad;
  box-shadow: 0 4px 14px rgba(20, 30, 40, .06);
}
.xs-choice label.is-selected,
.xs-choice label:has(input:checked) {
  border-color: #222;
  background: #fffdf5;
  box-shadow: inset 3px 0 0 #d7b95a;
}
.xs-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.xs-choice-content {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  font-size: 13px;
  line-height: 1.35;
  color: #555;
}
.xs-choice-content img {
  flex: 0 0 auto;
  display: block;
  width: 54px;
  max-width: 54px;
  max-height: 46px;
  object-fit: contain;
}
.xs-payment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.xs-payment .xs-choice { margin-bottom: 0; }
.xs-payment .xs-choice-content img {
  width: 72px;
  max-width: 72px;
  max-height: 42px;
}
.xs-choice-text strong { display: block; color: #555; font-size: 13px; font-weight: 600; }
.xs-choice-text span { display: block; color: #777; font-size: 12px; line-height: 1.45; }
.xs-delivery-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .92fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}
.xs-delivery-address,
.xs-transport-box {
  display: none;
  padding: 14px;
  border: 1px solid #e6e6e6;
  background: #fff;
}
.xs-delivery-address.is-visible,
.xs-transport-box.is-visible { display: block; }
.xs-delivery-address .widget-title {
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  letter-spacing: .08em;
}
.xs-delivery-address p { margin-bottom: 12px; font-size: 13px; color: #777; }
.xs-delivery-address .checkout-form.row { margin-left: -6px; margin-right: -6px; }
.xs-delivery-address .form-group { padding-left: 6px; padding-right: 6px; }
.xs-city-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}
.xs-loader { display: none; align-items: center; gap: 8px; color: #777; font-size: 13px; }
.xs-loader.is-visible { display: flex; }
.xs-alert { display: none; margin: 10px 0; padding: 10px 12px; border: 1px solid #efd58d; background: #fff8df; color: #6e623b; font-size: 13px; }
.xs-alert.is-visible { display: block; }
.xs-provider-list { display: grid; gap: 10px; }
.xs-provider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #d9dde2;
  background: #fff;
  cursor: pointer;
}
.xs-provider.is-selected {
  border-color: #222;
  background: #fffdf5;
  box-shadow: inset 3px 0 0 #d7b95a;
}
.xs-provider-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.xs-provider-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 32px;
  border: 1px solid #edf0f2;
  background: #fff;
}
.xs-provider-logo {
  display: block;
  max-width: 52px;
  max-height: 26px;
  object-fit: contain;
}
.xs-provider-logo-text {
  color: #333;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.xs-provider-copy { min-width: 0; }
.xs-provider strong { display: block; color: #333; font-size: 14px; }
.xs-provider small { display: block; color: #777; font-size: 12px; line-height: 1.45; }
.xs-provider-price { color: #222; font-size: 16px; font-weight: 700; text-align: right; white-space: nowrap; }
.product-checkout-details .summary-prices {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
@media (min-width: 992px) {
  .xs-checkout .product-checkout-details {
    position: sticky;
    top: 82px;
  }
}
.product-checkout-details .summary-prices li {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  column-gap: 14px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed #ececec;
  font-size: 14px;
  line-height: 1.35;
}
.product-checkout-details .summary-prices li > span:first-child { color: #858585; }
.product-checkout-details .summary-prices li > span:last-child {
  color: #333;
  font-weight: 500;
  text-align: right;
}
.product-checkout-details .summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding: 14px 0 4px;
  border-top: 1px solid #ddd;
}
.product-checkout-details .summary-total > span:first-child {
  font-size: 18px;
  font-weight: 600;
  color: #2c2f33;
}
.product-checkout-details .summary-total > span:last-child {
  font-size: 22px;
  font-weight: 700;
  color: #202327;
}
.xs-how {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #f0e0a0;
  background: linear-gradient(180deg, #fffdf5 0%, #fff9e8 100%);
  box-shadow: 0 5px 16px rgba(180, 140, 40, .08);
}
.xs-how-title {
  margin-bottom: 6px;
  color: #888;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.xs-how p { margin: 0; color: #555; font-size: 12px; line-height: 1.6; }
.xs-how strong { color: #4a4a4a; font-weight: 800; }
.xs-order-actions .block { border: 0; box-shadow: none; padding-left: 0; }
.xs-checkout-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 34px;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}
.xs-checkout-submit:hover,
.xs-checkout-submit:focus {
  background: #222;
  border-color: #222;
  color: #fff !important;
}
.product-checkout-details .xs-checkout-submit {
  width: 100%;
  margin-top: 16px;
}
@media (max-width: 991px) {
  .product-checkout-details .block { margin-top: 24px; }
  .xs-delivery-workspace { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .xs-city-row { grid-template-columns: 1fr; }
  .xs-payment { grid-template-columns: 1fr; }
  .xs-provider {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .xs-provider-price { text-align: left; }
}

/* Checkout form field layout */
.xs-checkout .checkout-form .input-parent {
  position: relative !important;
}
.xs-checkout .checkout-form .form-group {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  margin-bottom: 12px;
  padding: 0 16px;
  border: 1px solid #dfe3e7;
  background: #fbfcfd;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.xs-checkout .checkout-form .form-group:focus-within {
  border-color: #222;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(215, 185, 90, .14);
}
.xs-checkout .checkout-form .form-group > label {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: 1;
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 14px 0 0;
  color: #7d858d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: transparent !important;
  pointer-events: none;
}
.xs-checkout .checkout-form .form-group .form-control {
  min-width: 0;
  min-height: 54px;
  height: auto;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: #2f3337;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: none;
}
.xs-checkout .checkout-form .form-group .form-control:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
}
.xs-checkout .checkout-form .form-group .form-control::placeholder {
  color: #c1c7cd;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.xs-checkout .checkout-form .form-group textarea.form-control {
  min-height: 116px;
  padding-top: 16px;
  resize: vertical;
}
.xs-checkout .checkout-form .form-group:has(textarea) {
  align-items: start;
  padding-top: 14px;
  padding-bottom: 10px;
}
.xs-checkout .checkout-form .form-group:has(textarea) > label {
  padding-top: 5px;
}
.xs-checkout .required-star {
  color: #b01818;
  font-weight: 800;
}

/* Cart preview */
.xs-cart-preview {
  margin-bottom: 22px;
}
.xs-cart-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #d9dde2;
  background: #f7f8f9;
  color: #2f3337;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.xs-cart-toggle:hover,
.xs-cart-toggle:focus {
  border-color: #222;
  background: #fff;
  box-shadow: 0 5px 16px rgba(20, 30, 40, .08);
}
.xs-cart-collapse {
  border: 1px solid #e4e7ea;
  background: #fff;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(20, 30, 40, .04);
}
.xs-cart-table .border-bottom {
  border-color: #edf0f2 !important;
}
.xs-cart-table .d-xl-flex:first-child {
  color: #2f3337;
  font-size: 13px;
  font-weight: 800;
}
.xs-cart-item img {
  max-width: 54px;
  border: 1px solid #edf0f2;
  background: #fff;
}
.xs-cart-item a {
  color: #2f3337;
  font-size: 13px;
  line-height: 1.4;
}
.xs-cart-item .price,
.xs-cart-item .count,
.xs-cart-item .weight,
.xs-cart-item .cost {
  color: #333;
  font-size: 13px;
}

/* Order confirmation */
.xs-order-confirmation {
  margin-top: 18px;
}
.xs-order-confirmation .block {
  background: #fff;
  border: 1px solid #e4e7ea;
  box-shadow: 0 8px 24px rgba(20, 30, 40, .04);
}
.xs-confirm-hero .block {
  padding: 24px 18px 22px;
}
.xs-confirm-hero i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #18bf2c;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}
.xs-confirm-wrong i {
  background: #b01818;
}
.xs-confirm-hero h2 {
  margin: 6px 0 6px;
  color: #2c2f33;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: .02em;
}
.xs-confirm-hero p {
  margin: 0;
  color: #858585;
  font-size: 14px;
}
.xs-confirm-body {
  margin-top: 18px;
}
.xs-confirm-cart .row.mt-20 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 24px;
  align-items: start;
  margin-left: 0;
  margin-right: 0;
}
.xs-confirm-cart .row.mt-20 > [class*="col-"] {
  width: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.xs-confirm-products {
  border: 1px solid #e4e7ea;
  background: #fff;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(20, 30, 40, .04);
}
.xs-confirm-table {
  margin-bottom: 0;
}
.xs-confirm-table thead th {
  border-bottom: 1px solid #edf0f2 !important;
  color: #2f3337;
  font-size: 13px;
  font-weight: 800;
}
.xs-confirm-table td,
.xs-confirm-table th {
  padding: 12px 8px !important;
  vertical-align: middle !important;
  border-top: 0 !important;
  border-bottom: 1px solid #edf0f2;
  color: #333;
  font-size: 13px;
}
.xs-confirm-table .product-info {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.xs-confirm-table .product-info img {
  width: 54px;
  max-width: 54px;
  border: 1px solid #edf0f2;
  background: #fff;
}
.xs-confirm-table .product-info a {
  color: #2f3337;
}
.xs-confirm-table .total,
.xs-confirm-table .total_count,
.xs-confirm-table .total_weight,
.xs-confirm-table .total_cost {
  font-weight: 800;
  color: #202327;
}
.xs-confirm-cart .product-checkout-details .block {
  padding: 20px 22px;
}
.xs-confirm-cart .product-checkout-details .widget-title {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f2;
  color: #2c2f33;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.xs-confirm-actions {
  margin-top: 24px;
}
.xs-confirm-actions .xs-checkout-submit {
  text-decoration: none;
}

@media (max-width: 991px) {
  .xs-confirm-cart .row.mt-20 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .xs-checkout .checkout-form .form-group {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 11px 14px 8px;
  }
  .xs-checkout .checkout-form .form-group > label {
    padding: 0 0 4px;
    white-space: normal;
  }
  .xs-checkout .checkout-form .form-group .form-control {
    min-height: 40px;
    padding: 4px 0 8px;
  }
  .xs-confirm-table,
  .xs-confirm-table thead,
  .xs-confirm-table tbody,
  .xs-confirm-table tr,
  .xs-confirm-table td,
  .xs-confirm-table th {
    display: block;
    width: 100%;
  }
  .xs-confirm-table thead { display: none; }
  .xs-confirm-table tr {
    padding: 10px 0;
    border-bottom: 1px solid #edf0f2;
  }
  .xs-confirm-table td,
  .xs-confirm-table th {
    border-bottom: 0 !important;
    padding: 6px 0 !important;
  }
  .xs-confirm-hero h2 {
    font-size: 24px;
  }
}
/* Full cart page */
.xs-cart-page {
  align-items: flex-start;
  margin-top: 12px;
}
.xs-cart-page > .col-xl-9 {
  padding-right: 18px;
}
.xs-cart-page .xs-cart-table {
  border: 1px solid #e4e7ea;
  background: #fff;
  padding: 10px 14px 14px;
  box-shadow: 0 8px 24px rgba(20, 30, 40, .04);
}
.xs-cart-page .d-xl-flex.border-bottom {
  color: #2f3337;
  font-size: 13px;
  font-weight: 800;
  border-color: #edf0f2 !important;
}
.xs-cart-page .xs-cart-item {
  margin-bottom: 0 !important;
  border-color: #edf0f2 !important;
}
.xs-cart-page .xs-cart-item:hover {
  background: #fbfcfd;
}
.xs-cart-page .xs-cart-item img {
  width: 58px;
  max-width: 58px;
  border: 1px solid #edf0f2;
  border-radius: 0;
  background: #fff;
}
.xs-cart-page .xs-cart-item a.small {
  color: #2f3337;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}
.xs-cart-page .xs-cart-item a.small:hover {
  color: #111;
  text-decoration: underline;
}
.xs-cart-page .product-quantity {
  gap: 6px;
}
.xs-cart-page .product-quantity input[name="count"] {
  width: 52px;
  height: 34px;
  border: 1px solid #dfe3e7;
  border-radius: 0;
  background: #fbfcfd;
  color: #2f3337;
  text-align: center;
}
.xs-cart-page .product-quantity button[value="cart/change"],
.xs-cart-page button[value="cart/remove"] {
  width: 34px;
  height: 34px;
  border: 1px solid #dfe3e7;
  border-radius: 0;
  background: #fff;
  color: #7f858c !important;
}
.xs-cart-page .product-quantity button[value="cart/change"]:hover,
.xs-cart-page button[value="cart/remove"]:hover {
  border-color: #222;
  color: #222 !important;
  background: #fffdf5;
}
.xs-cart-page .total,
.xs-cart-page .total_cost {
  padding-top: 16px;
  color: #2c2f33;
  font-size: 18px !important;
}
.xs-cart-page .info-checkout > .d-flex {
  border: 1px solid #e4e7ea !important;
  border-radius: 0 !important;
  padding: 20px 22px !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 30, 40, .04);
}
.xs-cart-page .info-checkout .fw-bold.fs-4 {
  margin-bottom: 14px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f2 !important;
  color: #2c2f33;
  font-size: 18px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.xs-cart-page .info-checkout .justify-content-between {
  gap: 14px;
  padding: 8px 0;
  margin-bottom: 0 !important;
  border-bottom: 1px dashed #ececec;
  color: #858585;
  font-size: 14px;
  line-height: 1.35;
}
.xs-cart-page .info-checkout .justify-content-between span:last-child {
  color: #333;
  font-weight: 500;
  text-align: right;
}
.xs-cart-page .info-checkout .justify-content-between.border-bottom {
  margin-top: 4px;
  padding-top: 14px;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #ddd !important;
}
.xs-cart-page .info-checkout .justify-content-between.border-bottom span:first-child {
  color: #2c2f33;
  font-size: 16px;
  font-weight: 700;
}
.xs-cart-page .info-checkout .justify-content-between.border-bottom .ms2_total_cost {
  color: #202327;
  font-size: 22px;
  font-weight: 800;
}
.xs-cart-page .info-checkout .btn-main {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid #000;
  border-radius: 0 !important;
  background: #000;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}
.xs-cart-page .info-checkout .btn-main:hover,
.xs-cart-page .info-checkout .btn-main:focus {
  background: #222;
  border-color: #222;
  color: #fff !important;
  transform: none;
}
@media (max-width: 1199px) {
  .xs-cart-page > .col-xl-9 { padding-right: 15px; }
  .xs-cart-page .info-checkout { margin-top: 22px; }
}
@media (max-width: 767px) {
  .xs-cart-page .xs-cart-table { padding: 8px 12px 12px; }
  .xs-cart-page .xs-cart-item .price,
  .xs-cart-page .xs-cart-item .weight,
  .xs-cart-page .xs-cart-item .cost {
    margin-top: 8px;
    text-align: left !important;
  }
  .xs-cart-page .product-quantity {
    justify-content: flex-start;
    margin-top: 8px;
  }
}
/* Required transport city */
.xs-checkout .xs-city-row.has-error .form-control {
  border-color: #b01818 !important;
  background: #fffafa !important;
  box-shadow: 0 0 0 3px rgba(176, 24, 24, .10) !important;
}
.xs-checkout .xs-city-row.has-error label {
  color: #b01818;
}
.xs-checkout .xs-city-row > div {
  min-width: 0;
}
.xs-checkout .xs-city-row #city {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  min-height: 52px;
}
