.cart-page {
  max-width: 1920px;
  margin: 24px auto 80px;
  padding: 0 28px;
  font-size: 1rem;
}

.cart-page h1 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 3.5vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #1f252b;
}

.cart-status-message {
  margin: 0;
  font-size: 1.05rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(28, 31, 35, 0.08);
  align-items: start;
}

.cart-item-media {
  display: flex;
  justify-content: center;
}

.cart-item-image {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  border: 2px solid #8a8583;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cart-item-sku {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  color: #25292f;
}

.cart-remove-form {
  margin: 0;
}

.cart-remove-button {
  border: 0;
  background: transparent;
  color: #23272d;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}

.cart-remove-button svg {
  display: block;
}

.cart-item-copy h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #25292f;
  max-width: 940px;
  font-family: 'Avenir LT W01_45 Book1475508';
}

.cart-item-price {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1;
  color: #111416;
  font-family: 'Avenir LT W01_85 Heavy1475544';
}

.cart-item-quantity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.cart-qty-form {
  margin: 0;
}

.cart-qty-button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #171b1f;
  font-size: 1.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.cart-qty-value {
  min-width: 20px;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
  color: #111416;
}

.cart-summary-panel {
  position: sticky;
  top: 24px;
}

.cart-summary-card {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(28, 31, 35, 0.08);
  padding: 24px 22px 22px;
}

.cart-coupon {
  display: grid;
  gap: 12px;
  margin: 0;
}

.cart-coupon label {
  font-size: 1rem;
  color: #1f252b;
}

.cart-coupon input {
  width: 100%;
  height: 44px;
  border: 1.5px solid #8c8886;
  border-radius: 10px;
  padding: 0 14px;
  box-sizing: border-box;
  font-size: 1rem;
  color: #1f252b;
  text-transform: uppercase;
}

.cart-coupon input::placeholder {
  color: #aaa6a5;
  text-transform: uppercase;
}

.cart-summary-button {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #212529;
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
  cursor: pointer;
  text-decoration: none;
}

.cart-summary-button-apply {
  min-height: 48px;
}

.cart-summary-row {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: #171b1f;
  font-size: 1rem;
}

.cart-summary-row strong {
  font-size: 1rem;
}

.cart-summary-row-discount strong {
  color: #c7358c;
}

.cart-coupon-applied {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: #1f252b;
}

.cart-coupon-applied strong {
  font-family: 'Avenir LT W01_85 Heavy1475544';
}

.cart-summary-note {
  max-width: 320px;
  margin: 6px auto 18px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.3;
  color: #31353a;
}

@media screen and (max-width: 1280px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-panel {
    position: static;
  }
}

@media screen and (max-width: 760px) {
  .cart-page {
    margin-top: 18px;
    padding: 0 16px 40px;
  }

  .cart-page h1 {
    margin-bottom: 24px;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 18px;
  }

  .cart-item-image {
    max-width: 120px;
  }

  .cart-item-copy h2 {
    font-size: 1rem;
  }

  .cart-item-price {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .cart-item-quantity {
    gap: 14px;
  }

  .cart-qty-button {
    width: 28px;
    height: 28px;
    font-size: 1.8rem;
  }

  .cart-qty-value {
    font-size: 1rem;
  }

  .cart-summary-card {
    padding: 20px 18px;
  }
}
