:root {
  --cart-bg: #fcf8f3;
  --cart-card: rgba(255, 255, 255, 0.88);
  --cart-text: #2f241f;
  --cart-muted: #6a5950;
  --cart-line: rgba(94, 69, 58, 0.14);
  --cart-accent: #b85c3c;
  --cart-accent-dark: #8f4328;
  --cart-shadow: 0 18px 46px rgba(74, 49, 39, 0.10);
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--cart-text);
  background: radial-gradient(circle at top, rgba(225, 187, 164, 0.22), transparent 32%), var(--cart-bg);
  line-height: 1.65;
}

.pl-cart-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0;
}

.pl-cart-hero {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.pl-cart-kicker {
  color: var(--cart-accent-dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pl-cart-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.pl-cart-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--cart-muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

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

.pl-cart-items,
.pl-cart-summary,
.pl-cart-empty {
  border: 1px solid var(--cart-line);
  border-radius: 28px;
  background: var(--cart-card);
  box-shadow: var(--cart-shadow);
}

.pl-cart-items {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.pl-cart-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.pl-cart-item__image {
  width: 112px;
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
  background: #f6efe7;
}

.pl-cart-item__image--empty {
  display: grid;
  place-items: center;
  color: var(--cart-accent);
  font-size: 1.6rem;
}

.pl-cart-item__body h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
}

.pl-cart-item__body p,
.pl-cart-item__body label {
  margin: 0;
  color: var(--cart-muted);
}

.pl-cart-item__body label {
  display: inline-grid;
  gap: 6px;
  margin-top: 0.75rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.pl-cart-item__body input {
  width: 88px;
  min-height: 42px;
  border: 1px solid var(--cart-line);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--cart-text);
  background: #fff;
  font: inherit;
}

.pl-cart-item__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  text-align: right;
}

.pl-cart-item__aside strong {
  font-size: 1.05rem;
}

.pl-cart-item__aside button {
  border: 0;
  background: transparent;
  color: var(--cart-accent-dark);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
}

.pl-cart-summary {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.pl-cart-summary h2 {
  margin: 0 0 16px;
  font-size: 1.55rem;
}

.pl-cart-summary dl {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.pl-cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--cart-muted);
}

.pl-cart-summary__row dt,
.pl-cart-summary__row dd {
  margin: 0;
}

.pl-cart-summary__row--total {
  border-top: 1px solid var(--cart-line);
  padding-top: 16px;
  color: var(--cart-text);
  font-size: 1.25rem;
  font-weight: 800;
}

.pl-cart-checkout,
.pl-cart-continue {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.pl-cart-checkout {
  color: #fff;
  background: linear-gradient(180deg, var(--cart-accent), var(--cart-accent-dark));
  box-shadow: 0 16px 34px rgba(143, 67, 40, 0.24);
}

.pl-cart-checkout[aria-disabled="true"] {
  opacity: 0.48;
  pointer-events: none;
}

.pl-cart-continue {
  margin-top: 10px;
  color: var(--cart-accent-dark);
  border: 1px solid var(--cart-line);
  background: rgba(255, 255, 255, 0.68);
}

.pl-cart-empty {
  padding: clamp(24px, 5vw, 44px);
  text-align: center;
}

.pl-cart-empty h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
}

.pl-cart-empty p {
  max-width: 560px;
  margin: 0 auto 1.25rem;
  color: var(--cart-muted);
}

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

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

@media (max-width: 620px) {
  .pl-cart-page {
    width: min(100% - 20px, 1120px);
    padding-top: 34px;
  }

  .pl-cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .pl-cart-item__image {
    width: 82px;
    border-radius: 16px;
  }

  .pl-cart-item__aside {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}

.pl-cart-shipping-choice {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--cart-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.pl-cart-shipping-choice label {
  display: grid;
  gap: 2px;
  color: var(--cart-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.pl-cart-shipping-choice label span,
.pl-cart-shipping-choice p {
  color: var(--cart-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.pl-cart-shipping-choice input,
.pl-cart-shipping-choice select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--cart-line);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--cart-text);
  background: #fff;
  font: inherit;
}

.pl-cart-shipping-choice p {
  margin: 2px 0 0;
}
