/* ---------- CART PAGE ---------- */
.wrap {
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.cart {
  padding: 56px 0 80px;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}

/* ----- Left column ----- */

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

.cart-title {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500;
  font-size: 40px;
  color: #111111;
  margin-bottom: 6px;
}

.cart-count {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: "Hanken Grotesk", sans-serif;
  color: #605E59;
}

.cart-line {
  height: 1px;
  background: #C8C8C8;
  margin: 24px 0;
}

.cart-item {
  display: flex;
  gap: 24px;
}

.cart-item-img {
  width: 160px;
  height: 210px;
  flex-shrink: 0;
  overflow: hidden;
}

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

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-item-name {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.cart-item-variant {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #605E59;
}

.cart-item-price {
  font-size: 18px;
  color: #111111;
  white-space: nowrap;
}

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

.qty-control {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qty-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #605E59;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #d8d4cd;
  background: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  color: #1a1a1a;
}

.qty-value {
  font-size: 16px;
  color: #1a1a1a;
  min-width: 12px;
  text-align: center;
}

.remove-btn {
  border: none;
  background: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #605E59;
  cursor: pointer;
}

.remove-btn:hover {
  color: #1a1a1a;
}

.continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: bold;
}

.continue-shopping svg {
  vertical-align: middle;
}

/* ----- Right column: Summary ----- */

.cart-summary {
  background: #faf3ee;
  padding: 32px;
  margin-top: 80px;
}

.summary-title {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #111111;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  font-family: "Hanken Grotesk", sans-serif;
  justify-content: space-between;
  font-size: 16px;
  color: #605E59;
  margin-bottom: 14px;
}

.summary-row .muted {
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #605E59;
}

.summary-divider {
  height: 1px;
  background: #e3d9d0;
  margin: 16px 0;
}
.summary-price {
  font-size: 16px;
  color: #1a1a1a;
}
.summary-total {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: #151515;
  color: #fff;
  border: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-bottom: 24px;
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500;
}

.checkout-btn:hover {
  background: #000;
}

.promo-label {
  display: block;
    font-family: "Hanken Grotesk", sans-serif;

  margin-top: 15px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #605E59;
  margin-bottom: 12px;
}

.promo-input-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d8cec5;
  padding-bottom: 8px;
    font-family: "Hanken Grotesk", sans-serif;

}

.promo-input-row input {
  flex: 1;
  border: none;
  background: none;
  font-size: 13px;
  outline: none;
  color: #1a1a1a;
}

.promo-input-row input::placeholder {
  color: #b5aca3;
}

.promo-apply {
  border: none;
  background: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  cursor: pointer;
}

.summary-notes {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-note {
  display: flex;
    font-family: "Hanken Grotesk", sans-serif;

  align-items: flex-start;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: #111111;
  line-height: 1.5;
}

.note-icon {
  flex-shrink: 0;
  font-size: 13px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width:1100px) {
  .cart-grid {
    grid-template-columns: 1fr 320px;
    gap: 48px;
  }
}

@media (max-width:860px) {
  .wrap {
    padding: 0 24px;
  }

  .cart-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cart-summary {
    order: 2;
  }

  .cart-items {
    order: 1;
  }
}

@media (max-width:480px) {
  .wrap {
    padding: 0 16px;
  }

  .cart {
    padding: 32px 0 56px;
  }

  .cart-title {
    font-size: 24px;
  }

  .cart-item {
    gap: 14px;
  }

  .cart-item-img {
    width: 88px;
    height: 88px;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .cart-item-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cart-summary {
    padding: 24px;
  }
}