.cart-page {
  padding-bottom: 0;
}
.cart-page #header-count {
  display: none;
}
.cart-page main > :not(#case-review):not(#cart-loading),
.cart-page .case-bar {
  display: none;
}
.cart-loading,
.cart-page #case-review {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 40px 96px;
  border: 0;
}
.cart-loading[hidden] {
  display: none;
}
.cart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
}
.cart-heading h1,
.cart-loading h1 {
  font:
    500 clamp(3rem, 6vw, 5rem)/1.08 'Fraunces Variable',
    Georgia,
    serif;
  margin: 12px 0;
}
.cart-heading p {
  margin: 8px 0 0;
}
.cart-layout {
  align-items: start;
  gap: 48px;
}
.cart-item {
  border-top: 1px solid #d7d7cb;
  padding: 28px 0;
}
.cart-item h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 7px;
}
.cart-item .case-product-image {
  width: 90px;
  height: 106px;
}
.cart-item .case-product {
  gap: 20px;
}
.cart-item p {
  font-size: 0.85rem;
  margin: 5px 0;
}
.cart-item-bottom {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cart-item-bottom form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cart-item-bottom label {
  font-size: 0.75rem;
}
.cart-item-bottom .input {
  width: 74px;
  padding: 8px;
}
.cart-item-bottom strong {
  margin-left: auto;
}
.cart-item-bottom .btn {
  min-height: 40px;
  padding: 10px 12px;
}
.cart-summary {
  background: #e8e9df;
  padding: 28px;
}
.cart-summary .primary {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
}
.cart-separate {
  border-top: 1px solid #c9ccbf;
  margin-top: 28px;
  padding-top: 24px;
  font-size: 0.8rem;
  line-height: 1.6;
}
.cart-separate a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-empty {
  padding: 40px 0 80px;
  max-width: 440px;
}
.cart-empty > span {
  font:
    3rem Georgia,
    serif;
  color: #53614b;
}
.cart-empty h2 {
  font-size: 2rem;
}
.cart-empty p {
  line-height: 1.7;
  margin: 20px 0 28px;
}
@media (max-width: 800px) {
  .cart-loading,
  .cart-page #case-review {
    padding: 36px 22px 60px;
  }
  .cart-heading {
    align-items: start;
    flex-direction: column;
  }
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cart-item-bottom {
    gap: 8px;
  }
  .cart-item-bottom label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .cart-item-bottom .input {
    width: 64px;
  }
  .cart-summary {
    padding: 24px;
  }
}
