.cart-page {
  overflow-x: hidden;
  background: #ffffff;
  color: #111111;
}

.mizhan-cart-page {
  overflow-x: hidden;
}

.cart-shell {
  padding-top: 46px;
  padding-bottom: 72px;
}

.cart-hero {
  margin-bottom: 30px;
}

.cart-hero h1 {
  margin: 0 0 12px;
  color: #111111;
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.05;
}

.cart-hero p {
  max-width: 620px;
  margin: 0;
  color: #5f6672;
  font-size: 15px;
  line-height: 1.55;
}

.cart-content .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 30px;
  align-items: start;
}

.cart-content .woocommerce > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

.cart-content .woocommerce-cart-form.mizhan-cart-form {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  float: none !important;
}

.cart-content .cart-collaterals {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  float: none !important;
}

.cart-content .woocommerce .woocommerce-message,
.cart-content .woocommerce .woocommerce-info,
.cart-content .woocommerce .woocommerce-error {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 14px 18px;
  background: #f8fafc;
  color: #222831;
}

.cart-content .woocommerce .cart-empty,
.cart-content .woocommerce .return-to-shop {
  grid-column: 1 / -1;
  margin: 0;
}

.cart-content .woocommerce .cart-empty {
  padding: 34px;
  border: 1px solid #e2e6eb;
  border-radius: 8px;
  background: #ffffff;
  color: #101010;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.cart-content .woocommerce .return-to-shop {
  margin-top: 16px;
  text-align: center;
}

.cart-content .mizhan-cart-form {
  min-width: 0;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.mizhan-cart-head,
.mizhan-cart-item {
  display: grid;
  grid-template-columns: minmax(320px, 1.7fr) minmax(120px, 0.56fr) minmax(130px, 0.7fr) minmax(130px, 0.76fr) 66px;
  align-items: center;
}

.mizhan-cart-head {
  min-height: 62px;
  border-bottom: 1px solid #e5e8ed;
  padding: 0 22px;
  color: #4e5662;
  font-size: 13px;
  font-weight: 600;
}

.mizhan-cart-list {
  display: block;
}

.mizhan-cart-item {
  min-height: 210px;
  padding: 22px;
  border-bottom: 1px solid #e7eaee;
}

.mizhan-cart-head span:nth-child(2),
.mizhan-cart-item .mizhan-cart-price {
  justify-self: end;
}

.mizhan-cart-head span:nth-child(3),
.mizhan-cart-item .mizhan-cart-qty {
  justify-self: center;
}

.mizhan-cart-head span:nth-child(4),
.mizhan-cart-item .mizhan-cart-subtotal {
  justify-self: end;
}

.mizhan-cart-head span:nth-child(5),
.mizhan-cart-item .mizhan-cart-remove-cell {
  justify-self: center;
}

.mizhan-cart-item:last-child {
  border-bottom: 0;
}

.mizhan-cart-product {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-width: 0;
}

.mizhan-cart-item__media a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.mizhan-cart-item__media img {
  display: block;
}

.mizhan-cart-item__media img {
  width: 150px;
  height: 150px;
  border: 1px solid #dde2e8;
  border-radius: 8px;
  object-fit: cover;
  background: #f7f8fa;
}

.mizhan-cart-item__title {
  margin: 0 0 12px;
  color: #111111;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.mizhan-cart-item__title a {
  color: inherit;
  text-decoration: none;
}

.mizhan-cart-item__meta {
  margin-bottom: 10px;
  color: #646c78;
  font-size: 13px;
  line-height: 1.5;
}

.mizhan-cart-item__meta dl,
.mizhan-cart-item__meta p {
  margin: 0;
}

.mizhan-cart-stock {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: #4e5662;
  font-size: 13px;
}

.mizhan-cart-stock span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #24a148;
}

.mizhan-cart-cell {
  color: #111111;
  font-size: 16px;
  font-weight: 500;
}

.mizhan-cart-qty {
  justify-self: start;
}

.cart-content .quantity {
  display: inline-grid;
  grid-template-columns: 36px 46px 36px;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #dce1e7;
  border-radius: 8px;
  background: #ffffff;
}

.cart-content .quantity input.qty {
  width: 46px;
  min-height: 42px;
  border: 0;
  border-right: 1px solid #edf0f3;
  border-left: 1px solid #edf0f3;
  padding: 0;
  color: #111111;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  appearance: textfield;
}

.cart-content .quantity input.qty::-webkit-outer-spin-button,
.cart-content .quantity input.qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.cart-content .sat-qty-btn,
.cart-content .mizhan-qty-btn {
  width: 36px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cart-content .sat-qty-btn:hover,
.cart-content .mizhan-qty-btn:hover {
  background: #f4f6f8;
}

.cart-content .mizhan-cart-remove.remove,
.cart-content a.mizhan-cart-remove.remove {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #4e5662 !important;
  background: transparent;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.cart-content .mizhan-cart-remove.remove:hover,
.cart-content a.mizhan-cart-remove.remove:hover {
  color: #111111 !important;
  background: #f0f2f5;
}

.mizhan-cart-remove-cell {
  justify-self: center;
}

.mizhan-cart-actions {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-top: 1px solid #e5e8ed;
}

.mizhan-cart-coupon {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.mizhan-cart-coupon input {
  width: min(210px, 100%);
  min-height: 48px;
  border: 1px solid #dce1e7;
  border-radius: 8px;
  padding: 0 16px;
  background: #ffffff;
  color: #111111;
}

.cart-content .button,
.cart-content .wc-block-components-button:not(.is-link) {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  color: #ffffff;
  background: #111111;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cart-content .button:hover {
  background: #2b3037;
}

.cart-content .button:disabled,
.cart-content .button[disabled],
.cart-content .button.disabled {
  color: #a0a7b2 !important;
  background: #f2f4f6 !important;
  cursor: not-allowed;
}

.mizhan-cart-secondary {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}

.mizhan-continue-shopping {
  color: #0b63ce;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.cart-content .cart-collaterals {
  min-width: 0;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.cart-content .cart_totals {
  float: none !important;
  width: auto !important;
  padding: 28px 28px 20px;
}

.cart-content .cart_totals h2 {
  margin: 0 0 24px;
  color: #111111;
  font-size: 22px;
  font-weight: 600;
}

.cart-content .cart_totals table.shop_table {
  width: 100%;
  margin: 0 0 20px;
  border: 0;
  border-collapse: collapse;
}

.cart-content .cart_totals table.shop_table th,
.cart-content .cart_totals table.shop_table td {
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid #e5e8ed;
  color: #333a45;
  font-size: 15px;
  line-height: 1.5;
  vertical-align: top;
}

.cart-content .cart_totals table.shop_table td {
  text-align: right;
}

.cart-content .cart_totals table.shop_table tr:last-child th,
.cart-content .cart_totals table.shop_table tr:last-child td {
  border-bottom: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 600;
}

.cart-content .shipping-calculator-button {
  display: inline-flex;
  margin-top: 8px;
  color: #0b63ce;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.cart-content .checkout-button.button.alt {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff !important;
  background: #111111 !important;
  font-size: 16px;
  font-weight: 600;
}

.mizhan-payment-options {
  padding: 0 28px 24px;
}

.mizhan-payment-divider {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 8px 0 16px;
  color: #9aa1aa;
  font-size: 12px;
}

.mizhan-payment-divider::before,
.mizhan-payment-divider::after {
  flex: 1;
  height: 1px;
  background: #e5e8ed;
  content: "";
}

.mizhan-pay-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  color: #111111;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.mizhan-pay-button--paypal {
  background: #f7f8fa;
}

.mizhan-pay-button:hover {
  background: #f7f8fa;
}

.mizhan-pay-button__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #111111;
}

.mizhan-pay-button__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mizhan-pay-button__icon--brand svg {
  width: 22px;
  height: 22px;
}

.mizhan-secure-note {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0;
  color: #707987;
  font-size: 12px;
  line-height: 1.45;
}

.mizhan-secure-note__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #111111;
}

.mizhan-secure-note__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.mizhan-cart-perks {
  display: grid;
  gap: 18px;
  padding: 24px 28px 28px;
  border-top: 1px solid #e5e8ed;
}

.mizhan-cart-perks div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.mizhan-cart-perks .mizhan-perk-icon,
.mizhan-summary-perks .mizhan-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f5f5f6;
  color: #111111;
  flex-shrink: 0;
  overflow: hidden;
}

.mizhan-cart-perks .mizhan-perk-icon svg,
.mizhan-summary-perks .mizhan-perk-icon svg,
.mizhan-secure-note__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  overflow: visible;
}

.mizhan-cart-perks strong {
  color: #111111;
  font-size: 14px;
  font-weight: 600;
}

.mizhan-cart-perks small {
  color: #69717d;
  font-size: 12px;
  line-height: 1.45;
}

.cart-recommendations {
  margin-top: 46px;
}

.cart-recommendations h2 {
  margin: 0 0 22px;
  text-align: center;
  color: #111111;
  font-size: 22px;
  font-weight: 600;
}

.cart-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cart-recommendation-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 210px;
  padding: 22px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #ffffff;
}

.cart-recommendation-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid #dde2e8;
  border-radius: 8px;
  background: #f7f8fa;
}

.cart-recommendation-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-recommendation-card h3 {
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.cart-recommendation-card h3 a {
  color: #111111;
  text-decoration: none;
}

.cart-recommendation-card p {
  margin: 0 0 14px;
  color: #66707d;
  font-size: 13px;
  line-height: 1.45;
}

.cart-recommendation-card strong {
  display: block;
  margin-bottom: 14px;
  color: #111111;
  font-size: 16px;
  font-weight: 600;
}

.cart-recommendation-button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  color: #111111;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.cart-recommendation-button:hover {
  background: #f7f8fa;
}

.cart-recommendation-button__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.cart-recommendation-button__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

@media (max-width: 1180px) {
  .cart-content .woocommerce {
    grid-template-columns: 1fr;
  }

  .cart-content .woocommerce-cart-form.mizhan-cart-form,
  .cart-content .cart-collaterals,
  .cart-content .woocommerce > .woocommerce-notices-wrapper {
    grid-column: 1;
    grid-row: auto;
  }

  .cart-content .cart-collaterals {
    max-width: 520px;
    justify-self: end;
  }

  .cart-recommendation-grid {
    grid-template-columns: 1fr;
  }

  .cart-recommendation-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .cart-shell {
    padding-top: 28px;
    padding-bottom: 46px;
  }

  .cart-hero h1 {
    font-size: 34px;
  }

  .mizhan-cart-head {
    display: none;
  }

  .cart-content .mizhan-cart-form,
  .cart-content .cart-collaterals {
    border-radius: 8px;
  }

  .cart-content .woocommerce-cart-form.mizhan-cart-form {
    order: 1;
  }

  .cart-content .cart-collaterals {
    order: 2;
  }

  .mizhan-cart-item {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
    gap: 14px;
  }

  .mizhan-cart-product {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .mizhan-cart-item__media img {
    width: 96px;
    height: 96px;
  }

  .mizhan-cart-item__title {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .mizhan-cart-cell {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #edf0f3;
    font-size: 15px;
  }

  .mizhan-cart-cell::before {
    content: attr(data-label);
    color: #65707d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .mizhan-cart-remove-cell {
    justify-self: stretch;
  }

  .mizhan-cart-remove-cell .mizhan-cart-remove {
    margin-left: auto;
  }

  .mizhan-cart-actions {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .mizhan-cart-coupon {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mizhan-cart-coupon input,
  .mizhan-cart-coupon .button {
    width: 100%;
  }

  .mizhan-cart-secondary {
    justify-content: space-between;
  }

  .cart-content .cart-collaterals {
    max-width: none;
    justify-self: stretch;
  }

  .cart-content .cart_totals,
  .mizhan-payment-options,
  .mizhan-cart-perks {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cart-recommendation-card {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .cart-shell {
    padding-top: 22px;
  }

  .cart-content .woocommerce {
    gap: 18px;
  }

  .mizhan-cart-product {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .mizhan-cart-item__media img {
    width: 86px;
    height: 86px;
  }

  .cart-content .quantity {
    grid-template-columns: 34px 46px 34px;
  }

  .mizhan-cart-secondary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mizhan-continue-shopping {
    text-align: center;
  }

  .cart-content .mizhan-update-cart {
    width: 100%;
  }

  .cart-recommendation-grid {
    gap: 14px;
  }

  .cart-recommendation-card {
    grid-template-columns: 1fr;
  }

}
