/* ==========================================================================
   DINK DISTRICT — Court Theme · Cart page styles (extends theme.css)
   ========================================================================== */

/* ---------- solid header variant + breadcrumbs (shared with product page) ---------- */
.site-top.is-solid { position: relative; inset: auto; height: calc(var(--bar-h) + 68px); }
.header.is-solid {
  height: 68px; color: var(--ink);
  background: rgba(244, 242, 234, .94);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-solid::after { opacity: 0; }
.header.is-solid .nav__link:hover, .header.is-solid .nav__item:hover > .nav__link, .header.is-solid .icon-btn:hover { background: rgba(10, 31, 28, .07); }
.header.is-solid .nav__link--sale { color: var(--coral); }
.header.is-stuck.is-solid { height: 64px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .i { width: 12px; height: 12px; stroke-width: 2.4; opacity: .6; }
.crumbs [aria-current] { color: var(--ink); }

.btn--lg { height: 60px; font-size: 14.5px; letter-spacing: .07em; }
.num { font-variant-numeric: tabular-nums; }
.logo__mark { flex: none; }

/* ==========================================================================
   PAGE HEAD
   ========================================================================== */
.cart-page { padding-bottom: clamp(72px, 8vw, 120px); }
.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding: 18px 0 34px; }
.cart-head h1 {
  display: block; margin-top: 16px;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  letter-spacing: -.035em; line-height: .9; font-size: clamp(38px, 7.4vw, 108px);
}
.cart-head h1 sup {
  display: inline-block; margin: .2em 0 0 .4em; padding: .28em .8em .3em; border-radius: 999px;
  background: var(--ink); color: var(--lime);
  font: 800 clamp(13px, 1.5vw, 19px)/1 var(--f-body); letter-spacing: 0; font-stretch: 100%; vertical-align: baseline;
}

.steps { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; padding: 0; list-style: none; font: 700 12px var(--f-display); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 10px; }
.steps li b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(10, 31, 28, .22); font-size: 12px; letter-spacing: 0; }
.steps li.is-on { color: var(--ink); }
.steps li.is-on b { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.steps li + li::before { content: ""; width: 44px; height: 1.5px; background: rgba(10, 31, 28, .2); margin-right: 4px; }

/* ==========================================================================
   REWARDS TRACK (free shipping → free gift)
   ========================================================================== */
.goal {
  position: relative; overflow: hidden; isolation: isolate;
  margin-bottom: clamp(28px, 3.4vw, 48px); padding: 22px 28px 20px;
  background: var(--ink); color: #fff; border-radius: var(--r-l);
}
.goal::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(520px 200px at 0% 0%, rgba(215, 242, 58, .13), transparent 70%), radial-gradient(420px 220px at 100% 100%, rgba(43, 89, 224, .28), transparent 70%); }
.goal__top { display: flex; align-items: center; gap: 14px; }
.goal__ico { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; }
.goal__ico .i { width: 20px; height: 20px; }
.goal__top p { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.goal__top p b { color: var(--lime); font-weight: 800; }
.goal__amt { font: 800 12px var(--f-display); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); white-space: nowrap; }

.goal__track { position: relative; height: 10px; margin: 26px 14px 42px; border-radius: 10px; background: rgba(255, 255, 255, .13); }
.goal__fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: 10px; background: linear-gradient(90deg, var(--lime-2), var(--lime)); transition: width .9s var(--ease); }
.goal__ball { position: absolute; top: 50%; left: var(--p, 0%); width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; box-shadow: 0 0 0 4px var(--ink), 0 6px 14px rgba(0, 0, 0, .4); transition: left .9s var(--ease); --b1: #d7f23a; }
.goal__ball svg { width: 100%; height: 100%; }
.goal__stop { position: absolute; top: 50%; left: var(--at); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--ink-3); border: 2px solid rgba(255, 255, 255, .28); display: grid; place-items: center; color: transparent; transition: background .4s, border-color .4s, color .4s; z-index: 1; }
.goal__stop .i { width: 12px; height: 12px; stroke-width: 3.2; }
.goal__stop.is-on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.goal__stop span { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; text-align: center; font: 700 11px/1.3 var(--f-display); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); transition: color .4s; }
.goal__stop span small { display: block; font: 600 12px var(--f-body); letter-spacing: 0; text-transform: none; opacity: .8; }
.goal__stop.is-on span { color: #fff; }
#stopGift span { transform: translateX(calc(-100% + 11px)); text-align: right; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cart-main { min-width: 0; display: grid; gap: 28px; }

.cols { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); font: 700 11.5px var(--f-display); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* ==========================================================================
   LINE ITEMS
   ========================================================================== */
.item {
  --img: 176px;
  display: grid; grid-template-columns: var(--img) minmax(0, 1fr) auto;
  grid-template-areas: "img info price" "img actions price";
  grid-template-rows: auto 1fr; column-gap: 28px; row-gap: 18px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: height .5s var(--ease), opacity .35s, padding .5s var(--ease), border-color .5s;
}
.item.is-leaving { height: 0 !important; opacity: 0; padding-block: 0; border-color: transparent; }
.is-boot .item { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.item.is-new { animation: slideIn .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-14px); background: rgba(215, 242, 58, .35); } to { background: transparent; } }

.item__img { grid-area: img; position: relative; width: var(--img); aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--tint, var(--cream-2)); isolation: isolate; align-self: start; }
.item__img::before { /* court lines */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)) 0 76% / 100% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, .42), rgba(255, 255, 255, .42)) 50% 0 / 2px 76% no-repeat;
}
.item__img svg { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.item__img:hover svg { transform: scale(1.06) rotate(-1.5deg); }

.item__info { grid-area: info; min-width: 0; display: grid; gap: 10px; align-content: start; }
.item__kicker { display: flex; align-items: center; gap: 10px; font: 700 11px var(--f-display); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.item__kicker .badge { position: static; letter-spacing: .08em; font-size: 9.5px; padding: 4px 9px; }
.item__name { font: 750 clamp(20px, 1.9vw, 26px)/1.1 var(--f-display); font-stretch: 112%; letter-spacing: -.025em; text-wrap: balance; }
.item__name a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease); }
.item__name a:hover { background-size: 100% 1.5px; }
.item__spec { display: flex; flex-wrap: wrap; gap: 6px; }
.item__spec li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.item__spec li:not(:has(i)) { padding-left: 12px; }
.item__spec i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22); }
.item__stock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.item__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1d9b5e; box-shadow: 0 0 0 0 rgba(29, 155, 94, .55); animation: ping 2s infinite; }
.item__stock.is-low { color: var(--coral); }
.item__stock.is-low::before { background: var(--coral); box-shadow: 0 0 0 0 rgba(240, 100, 60, .55); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.item__actions { grid-area: actions; align-self: end; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.stepper { display: inline-flex; align-items: center; height: 46px; border: 1.5px solid rgba(10, 31, 28, .2); border-radius: 999px; background: var(--paper); transition: border-color .25s; }
.stepper:hover, .stepper:focus-within { border-color: var(--ink); }
.stepper button { width: 44px; height: 100%; display: grid; place-items: center; border-radius: 999px; transition: background .2s, color .2s, opacity .2s; }
.stepper button:hover:not(:disabled) { background: var(--ink); color: var(--lime); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper .i { width: 15px; height: 15px; stroke-width: 2.4; }
.stepper output { min-width: 30px; text-align: center; font: 800 15px var(--f-body); font-variant-numeric: tabular-nums; }
.txt-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 2px; font-size: 13px; font-weight: 700; color: var(--muted); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1.5px no-repeat; transition: color .2s, background-size .35s var(--ease); }
.txt-btn .i { width: 16px; height: 16px; }
.txt-btn:hover { color: var(--ink); background-size: 100% 1.5px; }
.txt-btn--rm:hover { color: var(--coral); }

.item__price { grid-area: price; text-align: right; display: grid; justify-items: end; align-content: start; gap: 4px; min-width: 96px; }
.item__price b { font: 800 clamp(20px, 1.9vw, 26px)/1 var(--f-display); font-stretch: 112%; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.item__price small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.item__price s { font-size: 14px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.item__price em { margin-top: 6px; font: 800 10.5px var(--f-display); font-stretch: 112%; font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(240, 100, 60, .12); color: var(--coral); white-space: nowrap; }

.item--gift { position: relative; }
.item--gift .item__img { border: 1.5px dashed rgba(10, 31, 28, .35); }
.item--gift .item__kicker { color: #1d7a4e; }
.item--gift .item__price b { color: #1d7a4e; }
.gift-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.gift-chip .i { width: 16px; height: 16px; color: #1d7a4e; }

/* ==========================================================================
   PANELS (delivery, gift note)
   ========================================================================== */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 28px; box-shadow: var(--shadow-s); }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.panel__head h2 { font: 750 20px var(--f-display); font-stretch: 112%; letter-spacing: -.02em; }
.panel__head small { color: var(--muted); font-size: 13px; font-weight: 600; }

.ship-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ship-opt { position: relative; cursor: pointer; }
.ship-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ship-opt__box {
  display: grid; gap: 4px; height: 100%; padding: 16px 16px 16px; border-radius: var(--r-m); background: var(--cream);
  border: 1.5px solid transparent; box-shadow: inset 0 0 0 1px var(--line);
  transition: border-color .25s, background .25s, box-shadow .25s, transform .3s var(--ease);
}
.ship-opt:hover .ship-opt__box { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(10, 31, 28, .3); }
.ship-opt input:checked + .ship-opt__box { border-color: var(--ink); background: var(--paper); box-shadow: var(--shadow-m); }
.ship-opt input:focus-visible + .ship-opt__box { outline: 2px solid var(--blue); outline-offset: 3px; }
.ship-opt__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ship-opt__ico { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s; }
.ship-opt input:checked + .ship-opt__box .ship-opt__ico { background: var(--ink); color: var(--lime); box-shadow: none; }
.ship-opt__ico .i { width: 18px; height: 18px; }
.ship-opt__tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(10, 31, 28, .25); display: grid; place-items: center; color: transparent; transition: all .25s; }
.ship-opt__tick .i { width: 12px; height: 12px; stroke-width: 3.4; }
.ship-opt input:checked + .ship-opt__box .ship-opt__tick { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.ship-opt b { font: 750 15px var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.ship-opt small { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.ship-opt__price { margin-top: 8px; font-weight: 800; font-size: 14px; }
.ship-opt__price.is-free { color: #1d7a4e; }

.gift summary { list-style: none; display: flex; align-items: center; gap: 14px; cursor: pointer; }
.gift summary::-webkit-details-marker { display: none; }
.gift__ico { width: 44px; height: 44px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; flex: none; }
.gift__ico .i { width: 22px; height: 22px; }
.gift summary > span:nth-child(2) { flex: 1; min-width: 0; }
.gift summary b { display: block; font: 750 16px var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.gift summary small { color: var(--muted); font-size: 13px; font-weight: 500; }
.gift__plus { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(10, 31, 28, .2); display: grid; place-items: center; transition: transform .4s var(--ease), background .25s, color .25s; }
.gift__plus .i { width: 16px; height: 16px; }
.gift summary:hover .gift__plus { background: var(--ink); color: var(--lime); }
.gift[open] .gift__plus { transform: rotate(45deg); }
.gift__body { display: grid; gap: 12px; padding-top: 20px; }
.gift label.chk { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.gift label.chk input { accent-color: var(--ink); width: 18px; height: 18px; }
.gift textarea { width: 100%; min-height: 96px; resize: vertical; padding: 14px 16px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--cream); font: 500 14.5px/1.5 var(--f-body); transition: border-color .25s, background .25s; }
.gift textarea:focus { outline: 0; border-color: var(--ink); background: var(--paper); }
.gift__count { justify-self: end; font-size: 12px; color: var(--muted); font-weight: 600; }

/* ==========================================================================
   ORDER SUMMARY
   ========================================================================== */
.summary { position: sticky; top: 92px; display: grid; gap: 14px; }
.sum {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff; border-radius: 28px; padding: 30px 30px 26px;
  box-shadow: var(--shadow-l);
}
.sum::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(420px 260px at 100% -10%, rgba(215, 242, 58, .17), transparent 70%), radial-gradient(360px 240px at -10% 110%, rgba(43, 89, 224, .26), transparent 70%); }
.sum::after { /* court line motif */
  content: ""; position: absolute; z-index: -1; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .07); box-shadow: 0 0 0 38px rgba(255, 255, 255, .02), 0 0 0 39px rgba(255, 255, 255, .06);
}
.sum__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sum__head h2 { font: 800 20px var(--f-display); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; }
.sum__head span { font: 700 12px var(--f-body); padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }

.promo-box { margin-top: 22px; }
.promo-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 16px; border-radius: var(--r-m); background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .28); font-size: 14px; font-weight: 700; transition: background .25s, border-color .25s; }
.promo-toggle:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.promo-toggle span { display: inline-flex; align-items: center; gap: 10px; }
.promo-toggle .i { width: 18px; height: 18px; color: var(--lime); }
.promo-toggle .i--chev { transition: transform .35s var(--ease); color: rgba(255, 255, 255, .6); }
.promo-box.is-open .promo-toggle .i--chev { transform: rotate(180deg); }
.promo-form { display: none; margin-top: 10px; }
.promo-box.is-open .promo-form { display: block; animation: rise .45s var(--ease) both; }
.promo-form__row { display: flex; gap: 8px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1.5px solid rgba(255, 255, 255, .22); transition: border-color .25s; }
.promo-form__row:focus-within { border-color: var(--lime); }
.promo-form input { flex: 1; min-width: 0; padding: 0 16px; height: 42px; background: transparent; border: 0; outline: 0; font: 700 14px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.promo-form input::placeholder { color: rgba(255, 255, 255, .45); letter-spacing: .02em; text-transform: none; font-weight: 500; }
.promo-form .btn { height: 42px; padding: 0 20px; --bg: #fff; --fg: var(--ink); --bd: #fff; font-size: 12px; }
.promo-form .btn:hover { --bg: var(--lime); --bd: var(--lime); }
.promo-form.is-bad .promo-form__row { border-color: var(--coral); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.promo-msg { min-height: 20px; margin-top: 8px; padding-left: 6px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.promo-msg.is-bad { color: var(--coral); }
.promo-msg button { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; color: #fff; }
.promo-msg button:hover { color: var(--lime); }
.promo-applied { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 16px; border-radius: var(--r-m); background: rgba(215, 242, 58, .13); border: 1px solid rgba(215, 242, 58, .45); }
.promo-box.has-code .promo-applied { display: flex; }
.promo-box.has-code .promo-toggle, .promo-box.has-code .promo-form { display: none; }
.promo-applied span { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; min-width: 0; }
.promo-applied b { color: var(--lime); letter-spacing: .08em; }
.promo-applied .i { width: 18px; height: 18px; color: var(--lime); }
.promo-applied button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; color: rgba(255, 255, 255, .7); transition: background .2s, color .2s; }
.promo-applied button:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.promo-applied button .i { width: 14px; height: 14px; color: inherit; }

.totals { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; }
.totals div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.totals dt { color: rgba(255, 255, 255, .7); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.totals dt small { font-size: 12px; opacity: .7; }
.totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.totals .is-save dd, .totals .is-free dd { color: var(--lime); }
.totals div[hidden] { display: none; }
.sum__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-inv); }
.sum__total span { font: 700 12px var(--f-display); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.sum__total span small { display: block; margin-top: 4px; font: 500 12px var(--f-body); letter-spacing: 0; text-transform: none; opacity: .75; }
.sum__total output { font: 800 clamp(38px, 3.5vw, 48px)/.9 var(--f-display); font-stretch: 118%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sum__saved { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 11px 14px; border-radius: 12px; background: rgba(215, 242, 58, .12); color: var(--lime); font-size: 13px; font-weight: 700; }
.sum__saved .i { width: 17px; height: 17px; }
.sum__saved[hidden] { display: none; }
.bnpl { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .62); text-align: center; }
.bnpl b { color: #fff; }
.sum .btn--lime { margin-top: 18px; }
.sum .btn--lime .i:first-child { width: 17px; height: 17px; }

.express { margin-top: 22px; }
.express__label { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font: 700 11px var(--f-display); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.express__label::before, .express__label::after { content: ""; flex: 1; height: 1px; background: var(--line-inv); }
.express__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.express__row button { height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); font: 800 13px var(--f-display); font-stretch: 108%; letter-spacing: .02em; transition: background .25s, color .25s, transform .3s var(--ease); }
.express__row button:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.trust { display: grid; gap: 10px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-inv); list-style: none; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.trust .i { width: 18px; height: 18px; color: var(--lime); }

.points { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); }
.points__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.points__ico .i { width: 22px; height: 22px; }
.points b { display: block; font: 750 15px var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.points small { color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.4; display: block; margin-top: 2px; }
.points small a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   SAVED · KIT · ASSURANCE
   ========================================================================== */
.block { margin-top: clamp(56px, 7vw, 96px); }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.block__head .h2 { margin-top: 12px; }
.block__head p { color: var(--muted); max-width: 44ch; font-size: 15px; }

.saved__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 14px; }
.saved-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.saved-item:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.saved-item .item__img { --img: 84px; grid-area: auto; border-radius: 16px; align-self: center; }
.saved-item b { display: block; font: 700 15px/1.2 var(--f-display); font-stretch: 108%; letter-spacing: -.01em; }
.saved-item small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; margin: 3px 0 6px; }
.saved-item .num { font-weight: 800; font-size: 14px; }
.saved-item__go { display: grid; gap: 4px; justify-items: end; }
.saved-item__go .btn { height: 38px; padding: 0 16px; font-size: 11.5px; }

.kit__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kit-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.kit-card__img { position: relative; aspect-ratio: 1 / 1.04; border-radius: 24px; overflow: hidden; background: var(--tint, var(--cream-2)); isolation: isolate; transition: transform .6s var(--ease), box-shadow .5s; }
.kit-card__img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 0 78% / 100% 2px no-repeat, linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .4)) 50% 0 / 2px 78% no-repeat; }
.kit-card__img svg { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.kit-card:hover .kit-card__img { box-shadow: var(--shadow-m); }
.kit-card:hover .kit-card__img svg { transform: scale(1.07); }
.kit-card__add { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: var(--lime); font: 700 12px var(--f-display); font-stretch: 108%; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-m); transition: background .25s, color .25s, transform .3s var(--ease); }
.kit-card__add .i { width: 16px; height: 16px; stroke-width: 2.4; }
.kit-card__add:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.kit-card .badge { top: 12px; left: 12px; position: absolute; }
.kit-card h3 { font: 700 15.5px/1.25 var(--f-display); font-stretch: 108%; letter-spacing: -.01em; }
.kit-card p { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; font-weight: 800; font-size: 15px; }
.kit-card p s { font-weight: 500; color: var(--muted); font-size: 13px; }
.kit-card p small { font-weight: 600; font-size: 12.5px; color: var(--muted); }

.assure { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.assure li { display: flex; gap: 16px; padding: 32px 28px; align-items: flex-start; }
.assure li + li { border-left: 1px solid var(--line); }
.assure .i { width: 28px; height: 28px; stroke-width: 1.5; color: var(--ink-3); margin-top: 2px; }
.assure b { display: block; font: 750 15px var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.assure small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */
.empty-cart { display: none; text-align: center; padding: clamp(32px, 6vw, 72px) 0 0; }
.cart-page.is-empty .empty-cart { display: block; animation: rise .8s var(--ease) both; }
.cart-page.is-empty .cart-live { display: none; }
.cart-page.is-empty .cart-head h1 sup, .cart-page.is-empty .steps { display: none; }
.empty-cart__art { width: min(300px, 70vw); aspect-ratio: 1; margin: 0 auto 28px; border-radius: 50%; background: #dfe6fb; position: relative; overflow: hidden; isolation: isolate; }
.empty-cart__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)) 0 72% / 100% 2px no-repeat, linear-gradient(rgba(255, 255, 255, .42), rgba(255, 255, 255, .42)) 50% 0 / 2px 72% no-repeat; }
.empty-cart__art svg { width: 100%; height: 100%; }
.empty-cart h2 { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; line-height: .98; font-size: clamp(30px, 4.4vw, 56px); }
.empty-cart p { margin: 14px auto 0; color: var(--muted); max-width: 42ch; font-size: 16px; }
.empty-cart__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.empty-cart__chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.empty-cart__chips a { padding: 9px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; transition: background .25s, color .25s; }
.empty-cart__chips a:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   MOBILE CHECKOUT BAR + UNDO TOAST
   ========================================================================== */
.mbar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(244, 242, 234, .92); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 -1px 0 var(--line), 0 -14px 34px -18px rgba(10, 31, 28, .35); transform: translateY(110%); transition: transform .5s var(--ease); }
.mbar.is-on { transform: none; }
.mbar span { display: block; font: 700 10.5px var(--f-display); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mbar output { font: 800 24px/1.1 var(--f-display); font-stretch: 112%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mbar .btn { --fg: var(--lime); height: 52px; padding: 0 26px; flex: none; }

.toast { gap: 14px; }
.toast button { margin-left: 4px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 800 11.5px var(--f-display); font-stretch: 108%; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); transition: background .2s; }
.toast button:hover { background: rgba(255, 255, 255, .26); }
.toast button[hidden] { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header__nav-wrap { justify-self: start; }
  .header__book { display: none; }
  .topbar .container { grid-template-columns: 1fr; }
  .topbar__side { display: none; }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .kit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assure { grid-template-columns: 1fr 1fr; }
  .assure li:nth-child(3) { border-left: 0; }
  .assure li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 1040px) {
  .cart-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mbar { display: flex; }
  .cart-page { padding-bottom: 96px; }
  .footer { padding-bottom: 96px; }
  .to-top { bottom: 92px; }
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .proof { display: none; }
  .ship-opts { grid-template-columns: 1fr; }
  .ship-opt__box { grid-template-columns: 36px 1fr auto; column-gap: 14px; align-items: center; }
  .ship-opt__top { display: contents; }
  .ship-opt__ico { grid-row: 1 / span 2; }
  .ship-opt__tick { grid-column: 3; grid-row: 1 / span 2; }
  .ship-opt__box > b, .ship-opt__box > small, .ship-opt__box > .ship-opt__price { grid-column: 2; }
  .ship-opt__price { margin-top: 2px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .topbar__msg { white-space: normal; line-height: 1.2; padding: 0 14px; font-size: 12px; text-align: center; }
  .topbar__msg .i { display: none; }
  .header .container { gap: 8px; }
  .logo { gap: 8px; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__text { font-size: 15px; }
  .logo__text small { display: none; }
  .steps { display: none; }
  .cart-head { padding-bottom: 22px; }
  .goal { padding: 18px 18px 16px; border-radius: 20px; }
  .goal__top p { font-size: 14px; }
  .goal__amt { display: none; }
  .goal__track { margin-inline: 8px; }
  .goal__stop span { font-size: 10px; letter-spacing: .06em; }
  .goal__stop span small { font-size: 11px; }

  .item { --img: 104px; grid-template-columns: var(--img) minmax(0, 1fr); grid-template-areas: "img info" "img price" "actions actions"; column-gap: 16px; row-gap: 12px; padding: 22px 0; }
  .item__img { border-radius: 18px; }
  .item__price { justify-items: start; text-align: left; grid-auto-flow: column; grid-auto-columns: max-content; align-items: baseline; justify-content: start; gap: 4px 10px; min-width: 0; align-content: start; }
  .item__price b { font-size: 20px; }
  .item__price em { margin-top: 0; }
  .item__price small { grid-row: 2; grid-column: 1 / -1; }
  .item__spec li { font-size: 12px; padding: 4px 10px 4px 8px; }
  .item__actions { justify-content: space-between; gap: 6px 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
  .item__actions .txt-btn { padding: 8px 0; }
  .item__actions .actions-right { margin-left: auto; }
  .stepper { height: 44px; }

  .panel { padding: 20px 18px; border-radius: 20px; }
  .sum { padding: 26px 20px 22px; border-radius: 24px; }
  .saved-item { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 12px 14px 12px 12px; }
  .saved-item .item__img { --img: 72px; }
  .kit__grid { gap: 14px 12px; }
  .kit-card__add { height: 40px; padding: 0 14px 0 11px; right: 8px; bottom: 8px; font-size: 11px; }
  .kit-card__add .lbl { display: none; }
  .kit-card__add { padding: 0 12px; }
  .assure { grid-template-columns: 1fr; }
  .assure li { padding: 20px 4px; }
  .assure li + li { border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .toast { bottom: 90px; transform: translate(-50%, calc(100% + 170px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
