.cart-page {
  padding: 56px 0 104px;
  background: #fcfaf7;
}
.cart-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 38px;
}
.cart-title h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cart-title h1 span {
  color: #a59b92;
  font-size: 0.38em;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.cart-title > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #78695d;
  font-size: 0.83rem;
  text-decoration: none;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: start;
  gap: 50px;
}
.cart-items {
  border-top: 1px solid var(--line);
}
.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 176px 1fr;
  gap: 25px;
  padding: 22px 45px 22px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item > img {
  width: 176px;
  height: 190px;
  object-fit: cover;
  object-position: top;
  background: #f2ece5;
}
.cart-item__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cart-item__info .store-kicker {
  margin-bottom: 8px;
}
.cart-item h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}
.cart-item__variant {
  margin: 10px 0 22px;
  color: #887b71;
  font-size: 0.83rem;
}
.cart-item__size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-item__size-select {
  padding: 3px 8px;
  border: 1px solid #ddd1c4;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item__bottom > p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.cart-item__remove {
  position: absolute;
  top: 19px;
  right: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #988a80;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.cart-item__remove:hover {
  background: #f2ece5;
  color: #c0392b;
}
.order-summary {
  padding: 29px;
  background: #fff;
  border: 1px solid #eadfd3;
  box-shadow: 0 14px 32px rgba(51, 34, 17, 0.04);
}
.order-summary h2 {
  margin: 0 0 23px;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}
.promo-input {
  display: flex;
  margin-bottom: 25px;
  border: 1px solid #ddd1c4;
}
.promo-input input {
  width: 100%;
  height: 45px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.8rem;
}
.promo-input button {
  padding: 0 14px;
  border: 0;
  background: #f1e7da;
  color: #76511c;
  font: 600 0.75rem var(--sans);
  cursor: pointer;
}
.order-summary dl {
  margin: 0;
}
.order-summary dl > div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  color: #75685f;
  font-size: 0.85rem;
}
.order-summary dt,
.order-summary dd {
  margin: 0;
}
.order-summary dd {
  color: #44382e;
}
.order-summary .free {
  color: #9c6a17;
  font-weight: 700;
}
.order-summary .summary-total {
  margin-top: 7px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}
.order-summary .summary-total dd {
  font-size: 1.26rem;
  font-weight: 700;
}
.checkout-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding: 16px 18px;
  background: #251b14;
  color: #fff;
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  outline: none;
  border: none;
  cursor: pointer;
}
.secure-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 15px 0 0;
  color: #96897f;
  font-size: 0.69rem;
  text-align: center;
}
@media (max-width: 800px) {
  .cart-page {
    padding: 34px 0 66px;
  }
  .cart-title {
    align-items: start;
    margin-bottom: 24px;
  }
  .cart-title h1 {
    font-size: 2.75rem;
  }
  .cart-title > a {
    padding-top: 22px;
    font-size: 0.72rem;
  }
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .cart-item {
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding: 15px 31px 15px 0;
  }
  .cart-item > img {
    width: 100px;
    height: 124px;
  }
  .cart-item h2 {
    font-size: 0.97rem;
  }
  .cart-item__variant {
    margin: 7px 0 13px;
    font-size: 0.72rem;
  }
  .cart-item__bottom > p {
    font-size: 1rem;
  }
  .cart-item .quantity button,
  .cart-item .quantity span {
    width: 28px;
    height: 32px;
    font-size: 0.86rem;
  }
  .cart-item__remove {
    top: 12px;
  }
  .order-summary {
    padding: 21px;
  }
  .checkout-button {
    min-height: 52px;
  }
  .store-actions .bag {
    display: grid;
    place-items: center;
    text-decoration: none;
  }
}
