/* Cart: the treatments page's surfaces (white page, one parchment tint), with the order summary as the one wine panel,
   matching the wine checkout it leads to. */
.cart-page { padding-bottom: 88px; }
.cart-page .tx-hero { text-align: center; }
.cart-one { max-width: 620px; margin: 28px auto 0; padding: 28px; border-radius: 22px; background: #f2ede6; }
.cart-one-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid #e3d8d0; }
.cart-item-art { position: relative; height: 150px; }
.cart-item-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cart-one-info h2 { color: #47181c; font: 500 34px/1.05 'Welm Display', Georgia, serif; }
.cart-one-info > p { margin-top: 6px; color: #6e3438; font-size: 16px; }
.cart-one-info > .cart-includes { margin-top: 4px; color: #47181c; font-size: 15px; font-weight: 500; }
.cart-switch { margin-top: 10px; padding: 0; border: 0; background: none; color: #6e3438; font: 14.5px Jost, sans-serif; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cart-switch:hover { color: #47181c; }
.cart-save { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; color: #7a5a2e; font-size: 14.5px; }
.cart-save strong { font-weight: 600; }
.cart-save-chip { padding: 2px 9px; border-radius: 999px; background: #8a6636; color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; line-height: 18px; white-space: nowrap; }
.cart-save .cart-switch { margin-top: 0; }
.cart-switch--save { color: #7a5a2e; font-weight: 600; }
.cart-switch--save:hover { color: #5e4521; }
.cart-item-links { display: flex; gap: 22px; margin-top: 12px; }
.cart-item-links a, .cart-item-links button { padding: 0; border: 0; background: none; color: #47181c; font: 14.5px Jost, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cart-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.cart-plans button { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid #ddd0c5; border-radius: 12px; background: #fff; color: #47181c; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s; }
.cart-plans button:hover { border-color: #a98779; }
.cart-plans button[aria-pressed=true] { border-color: #47181c; box-shadow: inset 0 0 0 1px #47181c; }
.cart-plans strong { font-size: 14px; font-weight: 500; }
.cart-plans small { color: #8b5d54; font-size: 13px; }
.cart-one-lines { margin-top: 14px; }
.cart-one-lines div { display: flex; justify-content: space-between; padding: 6px 0; color: #6e3438; font-size: 15.5px; }
.cart-one-lines dd { color: #47181c; font-weight: 500; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 10px; padding-top: 16px; border-top: 1px solid #e3d8d0; color: #47181c; }
.cart-total span { font-size: 17px; font-weight: 500; }
.cart-total strong { font: 500 44px/1 'Welm Display', Georgia, serif; }
.cart-renew { margin-top: 6px; color: #6e3438; font-size: 15px; }
.cart-one .cart-checkout { width: 100%; min-height: 56px; margin-top: 22px; font-size: 16px; }
.cart-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; }
.cart-trust li { display: flex; align-items: center; gap: 7px; color: #47181c; font-size: 13.5px; font-weight: 500; }
.cart-trust svg { flex: none; color: #8a6636; }
/* What happens next: one connected path, across on desktop and down the side on phones. */
.cart-next { max-width: 620px; margin: 36px auto 0; }
.cart-next h3 { margin-bottom: 18px; color: #47181c; font: 500 24px/1.2 'Welm Display', Georgia, serif; text-align: center; }
.cart-next ol { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cart-next ol::before { content: ""; position: absolute; top: 16px; right: 12.5%; left: 12.5%; height: 1px; background: #dccdc2; }
.cart-next li { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; }
.cart-next b { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c9b7ab; border-radius: 50%; background: #fff; color: #47181c; font-size: 13.5px; font-weight: 600; }
.cart-next li[aria-current] b { border-color: #47181c; background: #47181c; color: #fbf6f0; box-shadow: 0 0 0 5px #f2ede6; }
.cart-next strong { display: block; margin-bottom: 3px; color: #47181c; font-size: 15px; font-weight: 500; }
.cart-next span { color: #8b5d54; font-size: 13.5px; line-height: 1.45; }
.cart-here { display: block; width: max-content; margin: 6px auto 0; padding: 1px 9px; border-radius: 999px; background: #8a6636; color: #fff; font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: .02em; }
.cart-pay { margin-top: 14px; color: #8b5d54; font-size: 13.5px; line-height: 1.55; }
.cart-keep { display: table; margin: 22px auto 0; color: #47181c; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; }

.cart-guide { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1180px; min-height: 120px; margin: 8px auto 0; padding: 28px 40px; border-radius: 22px; background: #47181c; color: #fbf6f0; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.cart-guide:hover { box-shadow: 0 14px 32px rgba(71, 24, 28, .25); }
.cart-guide:active { transform: scale(.995); }
.cart-guide strong { display: block; font: 500 34px/1.1 'Welm Display', Georgia, serif; }
.cart-guide small { display: block; margin-top: 6px; color: #ead8d0; font-size: 16px; }
.cart-guide-arrow { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fbf6f0; color: #47181c; font-size: 24px; transition: transform .15s; }
.cart-guide:hover .cart-guide-arrow { transform: translateX(3px); }
#cart-cards { scroll-margin-top: 96px; }
.cart-cards .related-card-art { position: relative; }
.cart-recent-chip { position: absolute; top: 16px; right: 16px; padding: 0 10px; border-radius: 30px; background: #8a6636; color: #fff; font-size: 12px; font-weight: 600; line-height: 22px; }
.cart-cards .is-recent { border-color: #8a6636; box-shadow: inset 0 0 0 1px #8a6636; }
.cart-bar { display: none; }
.cart-shelf { max-width: 1180px; margin: 44px auto 18px; text-align: center; }
.cart-shelf h2 { color: #47181c; font: 500 30px/1.1 'Welm Display', Georgia, serif; }
.cart-shelf p { margin-top: 6px; color: #775c57; font-size: 15px; }
.cart-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.cart-note { max-width: 1180px; margin: 22px auto 0; }

@media (max-width: 1000px) {
  .cart-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cart-one { padding: 20px 18px; border-radius: 18px; }
  .cart-one-item { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .cart-item-art { height: 116px; }
  .cart-one-info h2 { font-size: 28px; }
  .cart-total strong { font-size: 38px; }
  .cart-one-item { align-items: start; }
  .cart-plans button { padding: 8px 10px; }
  .cart-plans strong { font-size: 13.5px; line-height: 1.25; }
  .cart-plans small { font-size: 12.5px; }
  .cart-trust { flex-direction: column; align-items: flex-start; }
  .cart-next h3 { text-align: left; }
  .cart-next ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cart-next ol::before { display: none; }
  .cart-next li:not(:last-child)::after { content: ""; position: absolute; top: 32px; bottom: 0; left: 16px; width: 1px; background: #dccdc2; }
  .cart-next li { grid-template-columns: 32px minmax(0, 1fr); justify-items: start; column-gap: 16px; padding-bottom: 20px; text-align: left; }
  .cart-next li:last-child { padding-bottom: 0; }
  .cart-next strong { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 5px; }
  .cart-here { display: inline-block; margin: 0; }
  .cart-guide { gap: 16px; min-height: 0; padding: 22px; border-radius: 18px; }
  .cart-guide strong { font-size: 26px; }
  .cart-guide small { font-size: 14.5px; }
  .cart-guide-arrow { width: 46px; height: 46px; font-size: 20px; }
  .cart-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fbf8f4; box-shadow: 0 -8px 24px rgba(71, 24, 28, .14); visibility: hidden; transform: translateY(110%); transition: transform .2s ease, visibility .2s; }
  .cart-bar.is-shown { visibility: visible; transform: none; }
  .cart-bar span { color: #6e3438; font-size: 13px; }
  .cart-bar strong { display: block; color: #47181c; font: 500 26px/1 'Welm Display', Georgia, serif; }
  .cart-bar .button { min-height: 48px; padding: 0 30px; }
  .cart-shelf { margin-top: 36px; text-align: left; }
  .cart-shelf h2 { font-size: 25px; }
  /* Phones: swipe through full-size cards, as on the homepage. */
  .cart-cards { display: flex; gap: 12px; margin: 0 -22px; padding: 4px 22px 14px; overflow-x: auto; overflow-y: hidden; contain: paint; scroll-snap-type: x mandatory; scroll-padding-inline: 22px; }
  .cart-cards .related-card { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .cart-bar, .cart-guide, .cart-guide-arrow { transition: none; } }
