.pt-cart-page {
  min-height: 70vh;
  background: var(--pt-paper);
}

.pt-cart-hero {
  padding-block: clamp(48px, 6vw, 76px);
  color: var(--pt-ivory);
  background: var(--pt-navy);
}

.pt-cart-hero__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.pt-cart-hero .pt-home-kicker {
  color: var(--pt-gold);
}

.pt-cart-hero h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.5rem, 5.4vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.pt-cart-hero h1 em {
  color: var(--pt-gold);
  font-style: normal;
}

.pt-cart-hero__inner > a {
  display: inline-flex;
  padding-bottom: 4px;
  align-items: center;
  gap: 9px;
  color: var(--pt-ivory-70);
  border-bottom: 1px solid var(--pt-ivory-46);
  font-size: 0.72rem;
  font-weight: 700;
}

.pt-cart-hero__inner > a span {
  color: var(--pt-gold);
}

.pt-cart-body {
  padding-block: clamp(56px, 7vw, 90px);
}

.pt-cart-loading {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 15px;
  color: var(--pt-ink-soft);
  font-size: 0.72rem;
}

.pt-cart-loading span {
  width: 28px;
  height: 28px;
  border: 1px solid var(--pt-line);
  border-top-color: var(--pt-gold-dark);
  border-radius: 50%;
  animation: pt-cart-spin 800ms linear infinite;
}

@keyframes pt-cart-spin {
  to { transform: rotate(360deg); }
}

.pt-cart-layout {
  display: grid;
  margin-top: 0;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.pt-cart-selection__head {
  display: flex;
  padding-bottom: 22px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--pt-line);
}

.pt-cart-selection__head h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: 2.35rem;
  font-weight: 400;
}

.pt-cart-selection__head > span {
  color: var(--pt-gold-dark);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pt-cart-item {
  padding-block: 24px;
  grid-template-columns: 132px minmax(0, 1fr) 92px;
  gap: 24px;
  border-top: 0;
  border-bottom: 1px solid var(--pt-line);
}

.pt-cart-item__image {
  width: 132px;
  height: 112px;
  overflow: hidden;
  background: var(--pt-cream);
  border-radius: 0;
}

.pt-cart-item__content > span {
  display: block;
  margin-bottom: 7px;
  color: var(--pt-gold-dark);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pt-cart-item__content h2 {
  max-width: 410px;
  margin-bottom: 8px;
  font-family: "Instrument Serif", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.02;
}

.pt-cart-item__content p {
  margin-bottom: 8px;
  font-size: 0.68rem;
}

.pt-cart-item__content strong {
  font-family: "Instrument Serif", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.pt-cart-item__actions {
  display: grid;
  justify-items: stretch;
  gap: 10px;
}

.pt-cart-item__quantity {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pt-cart-item__quantity select {
  width: 100%;
  min-height: 42px;
  margin-top: 5px;
  padding: 7px 10px;
  border-radius: 0;
}

.pt-remove-button {
  justify-self: start;
  color: var(--pt-ink-soft);
  font-size: 0.64rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.pt-cart-assurances {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--pt-line);
}

.pt-cart-assurances > div {
  padding: 14px;
  border-left: 1px solid var(--pt-line);
}

.pt-cart-assurances > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.pt-cart-assurances span,
.pt-cart-assurances strong {
  display: block;
}

.pt-cart-assurances span {
  margin-bottom: 5px;
  color: var(--pt-gold-dark);
  font-size: 0.54rem;
  font-weight: 700;
}

.pt-cart-assurances strong {
  font-size: 0.65rem;
  font-weight: 600;
}

.pt-order-summary {
  top: 100px;
  padding: 30px;
  background: var(--pt-ivory);
  border: 1px solid var(--pt-line);
  border-top: 3px solid var(--pt-gold);
  border-radius: 0;
}

.pt-order-summary .pt-home-kicker {
  color: var(--pt-gold-dark);
}

.pt-order-summary h2 {
  margin-bottom: 24px;
  font-family: "Instrument Serif", serif;
  font-size: 2.2rem;
  font-weight: 400;
}

.pt-order-summary dl {
  margin-bottom: 24px;
}

.pt-order-summary dl > div {
  padding-block: 10px;
  color: var(--pt-ink-soft);
  font-size: 0.74rem;
}

.pt-order-summary__total {
  margin-bottom: 0;
  color: var(--pt-ink) !important;
  font-family: "Instrument Serif", serif;
  font-size: 1.35rem !important;
  font-weight: 400;
}

.pt-order-summary .pt-button {
  color: var(--pt-ivory);
  background: var(--pt-navy);
  border-radius: 0;
}

.pt-order-summary .pt-button:hover {
  background: var(--pt-gold-dark);
}

.pt-order-summary__note {
  margin-top: 13px !important;
  font-size: 0.62rem !important;
}

.pt-order-summary__shop {
  display: block;
  width: max-content;
  margin: 20px auto 0;
  color: var(--pt-ink-soft);
  border-bottom: 1px solid currentColor;
  font-size: 0.64rem;
}

.pt-empty-cart {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px);
  background: var(--pt-ivory);
  border: 1px solid var(--pt-line);
  border-top: 3px solid var(--pt-gold);
  border-radius: 0;
}

.pt-empty-cart h2 {
  margin-bottom: 20px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.pt-empty-cart h2 em {
  color: var(--pt-gold-dark);
  font-style: normal;
}

.pt-empty-cart > p:not(.pt-home-kicker) {
  max-width: 500px;
  margin: 0 auto 28px;
  color: var(--pt-ink-soft);
}

.pt-empty-cart .pt-button {
  color: var(--pt-ivory);
  background: var(--pt-navy);
  border-radius: 0;
}

.pt-empty-cart .pt-button span {
  margin-left: 18px;
  color: var(--pt-gold);
}

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

  .pt-order-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .pt-cart-hero__inner {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .pt-cart-hero h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .pt-cart-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
  }

  .pt-cart-item__image {
    width: 92px;
    height: 92px;
  }

  .pt-cart-item__actions {
    grid-column: 2;
    grid-template-columns: 86px auto;
    align-items: end;
  }

  .pt-cart-assurances {
    grid-template-columns: 1fr;
  }

  .pt-cart-assurances > div,
  .pt-cart-assurances > div:first-child {
    padding: 12px 0;
    border-top: 1px solid var(--pt-line);
    border-left: 0;
  }

  .pt-cart-assurances > div:first-child {
    border-top: 0;
  }

  .pt-cart-selection__head > span {
    display: none;
  }

  .pt-order-summary {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pt-cart-loading span {
    animation: none;
  }
}
