body.woocommerce-cart .pressavo-commerce,
body.woocommerce-cart .pressavo-commerce__inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.woocommerce-cart .woocommerce-notices-wrapper:empty {
  display: none;
}

body.woocommerce-cart .cart-page {
  width: min(100%, 1200px);
  min-height: 60vh;
  margin: 0 auto;
  padding: 100px 24px 80px;
  background: #faf5e6;
}

.cart-page__header {
  margin-bottom: 48px;
  text-align: center;
}

.cart-page__label {
  display: inline-block;
  margin-bottom: 12px;
  color: #c9a96e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cart-page__title {
  margin: 0 0 16px;
  color: var(--black);
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}

.cart-page__divider {
  width: 48px;
  height: 1px;
  margin: 0 auto;
  background: #c9a96e;
}

.cart-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
}

.cart-items-count {
  margin-bottom: 8px;
  color: var(--gray-mid);
  font-size: 13px;
}

.cart-items {
  border-top: 1px solid #e8e0d5;
}

.cart-item {
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom-color: #e8e0d5;
}

.cart-item__image-wrap {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-card);
  background: #f5f2ee;
}

.cart-item__details {
  gap: 6px;
}

.cart-item__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.cart-item__variant {
  margin-top: 0;
  color: var(--gray-mid);
  font-size: 13px;
  line-height: 1.45;
}

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

.cart-item__variant dt,
.cart-item__variant dd {
  display: inline;
  float: none;
  margin: 0;
}

.cart-item__price {
  font-size: 15px;
  font-weight: 500;
}

.cart-item__remove {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.cart-item__qty {
  align-self: center;
  border-color: #d5cfc7;
}

.cart-summary {
  top: 24px;
  padding: 32px;
  border: 1px solid #e8e0d5;
  border-radius: var(--radius-card);
  background: #fafaf8;
}

.cart-summary__title {
  font-size: 20px;
  font-weight: 500;
}

.cart-free-shipping {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -4px 0 18px;
  padding: 14px;
  border: 1px solid rgba(201, 169, 110, 0.45);
  border-radius: var(--radius-card);
  background: #fbf6e9;
  color: var(--black);
}

.cart-free-shipping__icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
}

.cart-free-shipping__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cart-free-shipping strong,
.cart-free-shipping small {
  display: block;
}

.cart-free-shipping strong {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
}

.cart-free-shipping small {
  color: var(--gray-mid);
  font-size: 11px;
  line-height: 1.45;
}

.cart-summary__row {
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e8e0d5;
}

.cart-summary__row--total {
  margin-top: 4px;
  padding-top: 16px;
  border-bottom: 0;
  color: var(--black);
  font-size: 17px;
  font-weight: 700;
}

.cart-checkout-btn {
  min-height: 54px;
  margin-top: 18px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.cart-checkout-btn:hover {
  background: var(--black);
  color: #fff;
  opacity: 0.85;
}

.cart-checkout-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.cart-continue-link {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.cart-trust {
  justify-content: center;
  flex-wrap: wrap;
}

.cart-trust__item {
  flex: 0 1 auto;
  gap: 6px;
  letter-spacing: 0.04em;
}

[dir="rtl"] .cart-page__label,
[dir="rtl"] .cart-item__remove,
[dir="rtl"] .cart-checkout-btn,
[dir="rtl"] .cart-continue-link,
[dir="rtl"] .cart-trust__item {
  letter-spacing: 0;
}

[dir="rtl"] .cart-summary__row {
  flex-direction: row;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 600px) {
  body.woocommerce-cart .cart-page {
    padding: 94px 16px 48px;
  }

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

  .cart-page__label {
    margin-bottom: 8px;
  }

  .cart-page__title {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .cart-layout {
    gap: 20px;
  }

  .cart-items-count {
    margin: 0 0 10px;
    padding-inline: 2px;
  }

  .cart-items {
    border: 0;
  }

  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px 16px;
    padding: 16px;
    border: 1px solid #e5dccd;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.68);
  }

  .cart-item__image-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 88px;
    height: 112px;
    border: 1px solid #eee5d7;
  }

  .cart-item__details {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    gap: 4px;
  }

  .cart-item__name {
    font-size: 15px;
    line-height: 1.45;
  }

  .cart-item__variant,
  .cart-item__price,
  .cart-item__remove {
    font-size: 12px;
  }

  .cart-item__qty {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: end;
    background: #fff;
  }

  .cart-summary {
    padding: 24px;
    border-color: #ded4c4;
    background: #fffdf8;
  }

  .cart-summary__title {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: start;
  }

  .cart-summary__row {
    padding: 12px 0;
  }

  .cart-summary__row--total {
    margin-top: 0;
    padding-top: 16px;
    font-size: 18px;
  }

  .cart-checkout-btn {
    margin-top: 14px;
  }

  .cart-trust {
    gap: 8px;
    margin-top: 20px;
  }

  .cart-trust__item {
    justify-content: center;
    font-size: 10px;
  }
}
