/* ==========================================================================
   STUDENTPEEPS COMPLETE DESIGN SYSTEM (From Prototype)
   ========================================================================== */

:root {
  --paper: #F5F6FA;
  --surface: #FFFFFF;
  --surface-2: #EDEFF6;
  --surface-3: #E4E7F1;
  --ink: #0F1533;
  --ink-2: #454C6F;
  --ink-3: #71779A;
  --rule: #E0E3EE;
  --rule-2: #C8CDDE;
  --blue: #2442E6;
  --blue-ink: #1A32BF;
  --blue-tint: #E7EBFF;
  --on-blue: #FFFFFF;
  --hl: #FFE24D;
  --hl-ink: #2E2600;
  --red: #D3352E;
  --red-tint: #FDECEA;
  --green: #11805A;
  --green-tint: #E1F4EB;
  --amber: #9A5A00;
  --amber-tint: #FFF0D6;
  --scrim: rgba(9, 12, 32, .5);
  --sh-float: 0 22px 48px -20px rgba(15, 21, 51, .38), 0 2px 8px rgba(15, 21, 51, .07);
  --sh-bar: 0 -10px 30px -14px rgba(15, 21, 51, .25);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-gc: 14px;
  --f: "Anek Latin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --f-hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  --max: 1200px;
  --gut: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B0E1E;
    --surface: #141933;
    --surface-2: #1B2141;
    --surface-3: #232A4E;
    --ink: #ECEEF9;
    --ink-2: #B3B8D4;
    --ink-3: #868CAD;
    --rule: #252C4D;
    --rule-2: #343C64;
    --blue: #8197FF;
    --blue-ink: #A3B3FF;
    --blue-tint: #1D2655;
    --on-blue: #0B0E1E;
    --red: #FF7D74;
    --red-tint: #3A1A1F;
    --green: #4FD6A1;
    --green-tint: #0F2F28;
    --amber: #FFB54D;
    --amber-tint: #33250E;
    --scrim: rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0B0E1E;
  --surface: #141933;
  --surface-2: #1B2141;
  --surface-3: #232A4E;
  --ink: #ECEEF9;
  --ink-2: #B3B8D4;
  --ink-3: #868CAD;
  --rule: #252C4D;
  --rule-2: #343C64;
  --blue: #8197FF;
  --blue-ink: #A3B3FF;
  --blue-tint: #1D2655;
  --on-blue: #0B0E1E;
  --red: #FF7D74;
  --red-tint: #3A1A1F;
  --green: #4FD6A1;
  --green-tint: #0F2F28;
  --amber: #FFB54D;
  --amber-tint: #33250E;
  --scrim: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* Base Reset & Strict Typography Enforcement */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper) !important;
  color: var(--ink) !important;
  font: 420 16px/1.5 var(--f) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  text-align: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6, .h-xl, .heading-xl, .heading-sm {
  margin: 0;
  font-family: var(--f) !important;
  font-weight: 740 !important;
  font-stretch: 110%;
  letter-spacing: -.018em;
  line-height: 1.08;
  color: var(--ink) !important;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}
.ic-s { width: 16px; height: 16px; }
.ic-l { width: 24px; height: 24px; }
.muted { color: var(--ink-3); }

/* ---------- Primitives ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--r-md);
  font-weight: 650;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: background .15s, box-shadow .15s, color .15s, transform .08s;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-p {
  background: var(--blue) !important;
  color: var(--on-blue) !important;
}
.btn-p:hover {
  background: var(--blue-ink) !important;
  color: var(--on-blue) !important;
}
.btn-s {
  background: var(--surface) !important;
  color: var(--blue) !important;
  box-shadow: inset 0 0 0 1.5px var(--rule-2);
}
.btn-s:hover {
  box-shadow: inset 0 0 0 1.5px var(--blue);
  color: var(--blue) !important;
}
.btn-ink {
  background: var(--ink) !important;
  color: var(--paper) !important;
}
.btn-q {
  color: var(--blue) !important;
  font-weight: 620;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-q:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.btn-lg { height: 56px; font-size: 17px; border-radius: 16px; padding: 0 24px; }
.btn-blk { width: 100%; }

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  position: relative;
  color: var(--ink);
  flex: none;
}
.icon-btn:hover { background: var(--surface-2); }

.badge {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--blue);
  color: var(--on-blue);
  font-size: 11px;
  font-weight: 720;
  display: grid;
  place-items: center;
  line-height: 1;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--rule);
  font-size: 14.5px;
  font-weight: 560;
  white-space: nowrap;
  color: var(--ink);
  flex: none;
  cursor: pointer;
  transition: all .15s ease;
  border: none;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--rule-2); color: var(--ink); }
.chip[aria-pressed="true"], .chip.active {
  background: var(--ink) !important;
  color: var(--paper) !important;
  box-shadow: none !important;
}
.chip .ct { color: var(--ink-3); font-weight: 500; font-size: 13px; }
.chip[aria-pressed="true"] .ct, .chip.active .ct { color: inherit; opacity: .72; }

.off {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--hl);
  color: var(--hl-ink);
  font-weight: 720;
  font-size: 13.5px;
  white-space: nowrap;
}

.hl {
  background: linear-gradient(100deg, transparent 0 .18em, var(--hl) .18em calc(100% - .14em), transparent calc(100% - .14em)) 0 58%/100% 74% no-repeat;
  color: var(--hl-ink);
  padding: 0 .24em;
  margin: 0 -.06em;
  border-radius: .22em .4em .28em .45em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 540;
}
.tag .ic { width: 17px; height: 17px; color: var(--ink-3); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  background: var(--surface-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.pill.g { background: var(--green-tint); color: var(--green); }
.pill.b { background: var(--blue-tint); color: var(--blue); }
.pill.a { background: var(--amber-tint); color: var(--amber); }
.pill.r { background: var(--red-tint); color: var(--red); }

.fld {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.lbl { font-size: 14.5px; font-weight: 620; color: var(--ink); }
.lbl small { font-weight: 450; color: var(--ink-3); font-size: 13.5px; margin-left: 6px; }
.hint { font-size: 13.5px; color: var(--ink-3); }

.inp {
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid var(--rule-2);
  background: var(--surface);
  padding: 0 14px;
  font-size: 16px;
  width: 100%;
  min-width: 0;
  transition: border-color .15s, box-shadow .15s;
  color: var(--ink);
}
.inp::placeholder { color: var(--ink-3); opacity: .85; }
.inp:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.inp.bad { border-color: var(--red); }

.range {
  width: 100%;
  margin: 12px 0 4px;
  accent-color: var(--blue);
  height: 28px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
}

.pre { display: flex; }
.pre > span {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1.5px solid var(--rule-2);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: var(--surface-2);
  font-weight: 620;
  color: var(--ink-2);
}
.pre .inp { border-radius: 0 12px 12px 0; }

.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: var(--surface-2);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
}
.seg button {
  height: 44px;
  border-radius: 10px;
  font-weight: 620;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15.5px;
}
.seg button[aria-pressed="true"], .seg button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 21, 51, .08), 0 0 0 1px var(--rule);
}

.toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: var(--rule-2);
  position: relative;
  cursor: pointer;
  flex: none;
  transition: background .15s;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  transition: transform .18s;
}
.toggle:checked { background: var(--blue); }
.toggle:checked::after { transform: translateX(18px); }

.hide { display: none !important; }

/* Responsive utility */
@media (max-width: 639px) { .md-up { display: none !important; } }
@media (min-width: 640px) { .sm-only { display: none !important; } }
@media (max-width: 1023px) { .lg-only { display: none !important; } }
@media (min-width: 1024px) { .not-lg { display: none !important; } }

/* ==========================================================================
   GIFT CARD ART COMPONENT (.gc)
   ========================================================================== */
.gc {
  position: relative;
  aspect-ratio: 1.586;
  border-radius: var(--r-gc);
  overflow: hidden;
  color: #fff !important;
  background: linear-gradient(140deg, var(--a, #2442E6), var(--b, #5B3FE0));
  isolation: isolate;
  container-type: inline-size;
  box-shadow: 0 16px 30px -20px rgba(15, 21, 51, .65), inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: box-shadow .2s, transform .2s;
}
.gc::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pat);
  background-size: var(--ps, 22px);
  opacity: .2;
  z-index: -1;
}
.gc::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: -55%;
  height: 95%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .3), transparent);
  transform: rotate(-10deg);
  z-index: -1;
  pointer-events: none;
}
.gc-in {
  position: absolute;
  inset: 0;
  padding: 7.5cqw 7cqw 6.5cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4cqw;
}
.gc-brand {
  font-stretch: 122%;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .92;
  font-size: 12.5cqw;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .08);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff !important;
}
.gc-brand.long { font-size: 9.6cqw; }
.gc-brand.xl { font-size: 8.2cqw; }
.gc-brand.xxl { font-size: 7cqw; }
.gc-brand.x3 { font-size: 6cqw; }

.gc-kind {
  font-size: 4.1cqw;
  font-weight: 650;
  opacity: .86;
  white-space: nowrap;
  margin-top: 1cqw;
  color: #fff !important;
}
.gc-bot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3cqw;
  min-width: 0;
}
.gc-amt {
  font-stretch: 115%;
  font-weight: 780;
  font-size: 10cqw;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: #fff !important;
}
.gc-amt small {
  display: block;
  font-size: 4cqw;
  font-weight: 600;
  opacity: .82;
  margin-bottom: 1.2cqw;
  letter-spacing: 0;
  font-stretch: 100%;
  color: #fff !important;
}
.gc-mark {
  font-size: 4.2cqw;
  font-weight: 780;
  opacity: .92;
  letter-spacing: -.01em;
  font-stretch: 112%;
  white-space: nowrap;
  color: #fff !important;
}
/* Brand logo badge (bottom-right of gift card art) */
.gc-mark-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16cqw;
  height: 16cqw;
  padding: 2cqw;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 3.2cqw;
  overflow: hidden;
  box-shadow:
    0 2px 10px rgba(15, 21, 51, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.gc-mark-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 1.4cqw;
}
.gc-theme {
  font-stretch: 118%;
  font-weight: 800;
  font-size: 10.5cqw;
  line-height: .95;
  letter-spacing: -.03em;
  max-width: 80%;
  color: #fff !important;
}
.gc-sub {
  font-size: 4.6cqw;
  font-weight: 700;
  opacity: .92;
  margin-bottom: 1.5cqw;
  color: #fff !important;
}

@container (max-width: 150px) { .gc .gc-mark:not(.gc-mark-fallback) { display: none; } }
@container (max-width: 150px) { .gc .gc-mark-badge { width: 13cqw; height: 13cqw; border-radius: 2.6cqw; padding: 1.6cqw; } }
@container (min-width: 280px) { .gc .gc-mark-badge { width: 18cqw; height: 18cqw; border-radius: 3.6cqw; padding: 2.2cqw; } }
@container (max-width: 150px) { .gc .gc-mark-logo { border-radius: 1.1cqw; } }
@container (min-width: 280px) { .gc .gc-mark-logo { border-radius: 1.6cqw; } }
@container (max-width: 110px) { .gc .gc-kind { display: none; } }

/* Patterns */
.p-dots { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='3' cy='3' r='1.7' fill='white'/%3E%3C/svg%3E"); --ps: 18px; }
.p-lines { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M-4 20 20-4M4 20 20 4M-4 12 12-4' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); --ps: 14px; }
.p-rings { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='24' cy='24' r='17' fill='none' stroke='white' stroke-width='2'/%3E%3Ccircle cx='24' cy='24' r='7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); --ps: 44px; }
.p-waves { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cpath d='M0 8q10-9 20 0t20 0' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); --ps: 34px 14px; }
.p-grid { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M22 0H0v22' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E"); --ps: 20px; }
.p-zig { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 10 6 2l6 8 6-8 6 8' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); --ps: 22px 11px; }
.p-confetti { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='white'%3E%3Crect x='6' y='8' width='8' height='3' rx='1.5' transform='rotate(30 10 9)'/%3E%3Ccircle cx='40' cy='12' r='2.5'/%3E%3Crect x='30' y='38' width='9' height='3' rx='1.5' transform='rotate(-35 34 39)'/%3E%3Ccircle cx='12' cy='44' r='2'/%3E%3Cpath d='M50 30l2 4 4 .5-3 3 .8 4-3.8-2-3.8 2 .8-4-3-3 4-.5z'/%3E%3C/g%3E%3C/svg%3E"); --ps: 60px; }
.p-diya { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cg fill='none' stroke='white' stroke-width='1.6'%3E%3Ccircle cx='22' cy='22' r='3'/%3E%3Ccircle cx='22' cy='22' r='9'/%3E%3Cpath d='M22 6v5M22 33v5M6 22h5M33 22h5M10.7 10.7l3.5 3.5M29.8 29.8l3.5 3.5M33.3 10.7l-3.5 3.5M14.2 29.8l-3.5 3.5'/%3E%3C/g%3E%3C/svg%3E"); --ps: 44px; }
.p-hearts { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 26s-8-4.8-8-10a4.5 4.5 0 0 1 8-2.8 4.5 4.5 0 0 1 8 2.8c0 5.2-8 10-8 10z' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E"); --ps: 34px; }
.p-stars { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 8c.8 5.2 3.2 7.6 8.4 8.4-5.2.8-7.6 3.2-8.4 8.4-.8-5.2-3.2-7.6-8.4-8.4 5.2-.8 7.6-3.2 8.4-8.4z' fill='white'/%3E%3C/svg%3E"); --ps: 38px; }

/* ==========================================================================
   HEADER & NAVBAR (.hdr)
   ========================================================================== */
.strip {
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  line-height: 1.35;
}
.strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
}
.strip a {
  font-weight: 650;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  white-space: nowrap;
  color: var(--paper);
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.hdr-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
}
@media (min-width: 1024px) {
  .hdr-row { height: 72px; gap: 20px; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  margin-right: auto;
  text-decoration: none !important;
}
@media (min-width: 1024px) { .logo { margin-right: 0; } }
.logo-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex: none;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-word {
  font-weight: 800;
  font-size: 20px;
  font-stretch: 114%;
  letter-spacing: -.03em;
  color: var(--ink);
}
.logo-sub {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-3);
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--rule);
  white-space: nowrap;
}

.hsearch {
  position: relative;
  flex: 1;
  max-width: 580px;
}
.hsearch .ic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}
.hsearch input {
  width: 100%;
  height: 46px;
  border-radius: 13px;
  border: 1.5px solid var(--rule);
  background: var(--surface);
  padding: 0 16px 0 44px;
  font-size: 15.5px;
  color: var(--ink);
  transition: all .15s ease;
}
.hsearch input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}

.hacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  margin-left: auto;
}

.acct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 620;
  font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--rule);
  color: var(--ink);
  background: var(--surface);
  transition: all .15s ease;
}
.acct:hover { box-shadow: inset 0 0 0 1.5px var(--rule-2); color: var(--ink); }
.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 720;
}
.avatar .ic {
  width: 14px;
  height: 14px;
}

.subnav { display: none; }
@media (min-width: 1024px) {
  .subnav {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    margin-top: -6px;
    padding-bottom: 6px;
  }
}
.subnav a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 560;
  color: var(--ink-2);
  white-space: nowrap;
  text-decoration: none !important;
}
.subnav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.subnav a.is-active {
  color: var(--blue);
  font-weight: 620;
}
.subnav a.is-active:hover {
  color: var(--blue-ink);
  background: var(--blue-tint);
}
.subnav a.subnav-end {
  margin-left: auto;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES
   ========================================================================== */
.hero { padding: 26px 0 8px; }
@media (min-width: 640px) { .hero { padding: 44px 0 16px; } }
@media (min-width: 1024px) { .hero { padding: 56px 0 28px; } }

.hero-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: 56px;
  }
}

.h-xl {
  font-stretch: 120%;
  font-weight: 790 !important;
  font-size: 42px;
  line-height: .97;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  max-width: 16ch;
  color: var(--ink) !important;
}
.h-emoji {
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 400;
  display: inline-block;
  transform: translateY(-.04em);
}
@media (min-width: 640px) { .h-xl { font-size: 58px; } }
@media (min-width: 1024px) { .h-xl { font-size: 70px; max-width: 14ch; } }

.lede {
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
}

.bigsearch {
  position: relative;
  margin-top: 24px;
  max-width: 560px;
}
.bigsearch .ic {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.bigsearch input {
  display: flex;
  align-items: center;
  width: 100%;
  height: 58px;
  border-radius: 16px;
  border: 1.5px solid var(--rule-2);
  background: var(--surface);
  padding: 0 18px 0 52px;
  font-size: 17px;
  color: var(--ink);
  transition: all .15s ease;
}
.bigsearch input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-tint);
}

.popchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}
.popchips .chip { height: 34px; font-size: 14px; }
.popchips > span { font-size: 14px; color: var(--ink-3); margin-right: 2px; }

/* Calculator Card (.est) */
.est {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 20px rgba(15, 21, 51, .04);
}
@media (min-width: 640px) { .est { padding: 26px; } }
.est h2 { font-size: 21px; font-stretch: 108%; margin-bottom: 4px; color: var(--ink) !important; }
.est .brands { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.est .brands .chip { height: 36px; }
.est .spend {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-2);
}
.est .spend b { font-size: 17px; color: var(--ink); font-weight: 700; }
.est .out { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--rule-2); }
.est .big { font-stretch: 122%; font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.est .big small { font-size: 18px; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); margin-left: 6px; }
.est .how { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; }
.est .btn { margin-top: 18px; }
.est.picks .btn { margin-top: 0; }
.est-calc { max-width: 720px; margin-left: auto; margin-right: auto; }

.pk {
  --pk-thumb-w: 76px;
  display: grid;
  gap: 2px;
  margin: 14px -8px 16px;
  list-style: none;
  padding: 0;
}
.pk a {
  display: grid;
  grid-template-columns: var(--pk-thumb-w) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  color: inherit;
}
.pk a:hover { background: var(--surface-2); }
.pk .gc {
  border-radius: 8px;
  box-shadow: none;
  width: var(--pk-thumb-w);
  aspect-ratio: 1.586;
  flex: none;
}
.pk .pk-thumb-in {
  padding: 7cqw 6.5cqw 6cqw !important;
}
.pk .gc-brand {
  font-size: 11cqw;
  line-height: 0.95;
}
.pk .gc-brand.long { font-size: 9cqw; }
.pk .gc-brand.xl { font-size: 8.2cqw; }
.pk .gc-brand.xxl { font-size: 7cqw; }
.pk .gc-brand.x3 { font-size: 6cqw; }
.pk .gc-kind {
  font-size: 4.5cqw;
  margin-top: 0.8cqw;
}
/* Hero picks: logo badge sized like explore / Popular rail (.bt) */
.pk .gc-bot .gc-mark-badge,
.pk .gc-bot .gc-mark.gc-mark-sp {
  width: 26cqw;
  height: 26cqw;
  padding: 3.4cqw;
  border-radius: 4.6cqw;
}
@container (max-width: 150px) {
  .pk .gc .gc-mark-badge,
  .pk .gc .gc-mark.gc-mark-sp {
    width: 20cqw;
    height: 20cqw;
    padding: 2.6cqw;
    border-radius: 4cqw;
  }
}
.pk .gc-bot > span:first-child { display: none; }

/* Student favourites: square brand mark, logo fills the tile */
.pk-brands { --pk-thumb-w: 52px; }
@media (min-width: 640px) { .pk-brands { --pk-thumb-w: 58px; } }
.pk.pk-brands a,
.bp-xs .pk.pk-brands a {
  grid-template-columns: var(--pk-thumb-w) minmax(0, 1fr) auto;
  gap: 12px;
  padding: 7px 8px;
}
.pk-mark {
  --pk-radius: 14px;
  --pk-pad: 4px;
  --pk-border: 1.5px;
  width: var(--pk-thumb-w);
  height: var(--pk-thumb-w);
  display: grid;
  place-items: center;
  padding: var(--pk-pad);
  border-radius: var(--pk-radius);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, var(--a, #2442E6), var(--b, #5B3FE0)) border-box;
  border: var(--pk-border) solid transparent;
  box-shadow: 0 1px 2px rgba(15, 21, 51, 0.05);
  position: relative;
  overflow: hidden;
}
.pk-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: calc(var(--pk-radius) - var(--pk-pad) - var(--pk-border));
}
.pk-mark-fallback {
  display: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.pk-mark.is-fallback {
  background: linear-gradient(145deg, var(--a, #2442E6), var(--b, #5B3FE0));
  border-color: transparent;
}
.pk-mark.is-fallback .pk-mark-fallback { display: block; }
.pk-brands a:hover .pk-mark {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 21, 51, 0.1);
}
.pk-p .off {
  height: 24px;
  padding: 0 8px;
  font-size: 13.5px;
}
.est.picks {
  align-self: start;
}
.pk-t b {
  display: block;
  font-size: 15.5px;
  font-weight: 680;
  line-height: 1.2;
}
.pk-t span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
.pk-p {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}
.pk-p small {
  font-size: 12.5px;
  color: var(--ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pk-p small b { color: var(--ink); font-weight: 700; }
.bp-xs .pk a { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; }

.logo-img {
  height: 36px;
  width: auto;
  flex: none;
  display: block;
}
.bp-lg .hdr .logo-img { height: 40px; }
.co-top .logo-img, .ftr .logo-img { height: 34px; }
.avatar.logo-av {
  background: #fff !important;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.avatar.logo-av img { width: 62%; height: auto; }

.gc-mark.gc-mark-sp,
.gc .gc-mark.gc-mark-sp {
  display: grid;
  place-items: center;
  width: 10cqw;
  height: 10cqw;
  padding: 1.3cqw;
  border-radius: 2.2cqw;
  background: #fff;
  opacity: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  font-size: unset;
  white-space: normal;
}
.gc-mark.gc-mark-sp img,
.gc .gc-mark.gc-mark-sp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@container (max-width: 150px) {
  .gc .gc-mark.gc-mark-sp { display: none; }
}

/* 4 Promises Row */
.promises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 32px;
}
@media (min-width: 1024px) { .promises { grid-template-columns: repeat(4, 1fr); margin-top: 24px; } }
.promise {
  padding: 16px 14px 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.promise:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--rule); }
.promise:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
@media (min-width: 1024px) {
  .promise {
    padding: 20px 20px;
    border-left: 1px solid var(--rule);
    border-bottom: 0 !important;
  }
  .promise:first-child { border-left: 0; padding-left: 0; }
}
.promise .ic { color: var(--blue); margin-top: 2px; width: 22px; height: 22px; }
.promise > div > b { display: block; font-size: 15.5px; font-weight: 680; line-height: 1.25; color: var(--ink); }
.promise > div > span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.35; }

/* Section Wrapper */
.sec { padding: 30px 0; }
@media (min-width: 1024px) { .sec { padding: 44px 0; } }
.sec-h {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.sec-h h2 { font-size: 25px; color: var(--ink) !important; }
@media (min-width: 1024px) { .sec-h h2 { font-size: 31px; } }
.sec-h p { font-size: 15.5px; color: var(--ink-2); margin-top: 6px; max-width: 52ch; }

/* Categories row */
.cats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 116px;
  gap: 12px;
  overflow-x: auto;
  margin: 0 calc(-1 * var(--gut));
  padding: 2px var(--gut) 8px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--gut);
  -webkit-overflow-scrolling: touch;
}
.cats::-webkit-scrollbar, .rail::-webkit-scrollbar, .occs::-webkit-scrollbar, .chiprow::-webkit-scrollbar { display: none; }
@media (min-width: 640px) and (max-width: 1023px) {
  .cats { grid-auto-columns: 128px; gap: 14px; }
}
@media (min-width: 1024px) {
  .cats {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 12px;
  }
}
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 118px;
  padding: 14px 10px 12px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  scroll-snap-align: start;
  text-decoration: none !important;
  color: var(--ink);
  transition: all .15s ease;
}
.cat > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  min-height: 2.6em;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
.cat .ic {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--blue);
  stroke-width: 1.6;
}
@media (min-width: 1024px) {
  .cat {
    flex-direction: row;
    min-height: 0;
    padding: 14px 16px;
    font-size: 15px;
    text-align: left;
    gap: 12px;
  }
  .cat > span {
    display: block;
    flex: 1;
    min-height: 0;
    text-wrap: wrap;
  }
}
.cat:hover { border-color: var(--rule-2); color: var(--ink); transform: translateY(-1px); }
@media (min-width: 1024px) { .cat .ic { width: 24px; height: 24px; } }

/* Product Rail & Cards (.rail & .bt) */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 46%;
  gap: 14px;
  overflow-x: auto;
  margin: 0 calc(-1 * var(--gut));
  padding: 4px var(--gut) 14px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gut);
}
@media (min-width: 640px) { .rail { grid-auto-columns: 30%; } }
@media (min-width: 1024px) {
  .rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 22px;
  }
}

.bt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  scroll-snap-align: start;
  min-width: 0;
  position: relative;
  text-decoration: none !important;
  color: var(--ink);
}
.bt:hover .gc {
  box-shadow: 0 22px 34px -20px rgba(15, 21, 51, .75), inset 0 0 0 1px rgba(255, 255, 255, .18);
  transform: translateY(-2px);
}
.bt-name {
  font-weight: 680;
  font-size: 16.5px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.bt-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bt-cat { font-size: 13px; color: var(--ink-3); font-weight: 560; }
.bt-meta {
  font-size: 13.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bt-meta .ic { width: 15px; height: 15px; }
.bt-meta span { display: inline-flex; align-items: center; gap: 4px; }
.bt .na { font-size: 13.5px; color: var(--red); font-weight: 620; }

/* Listing tiles (.bt): discount below art on phones; logo stays on the card */
.bt-off {
  display: none;
  align-self: flex-start;
  max-width: 100%;
}
@media (max-width: 639px) {
  .rail .bt-off,
  .ex-grid .bt-off {
    display: inline-flex;
    margin-top: 2px;
    font-size: 13px;
    height: 24px;
    padding: 0 8px;
  }
  .rail .bt .gc-bot .bt-off-in,
  .ex-grid .bt .gc-bot .bt-off-in {
    display: none !important;
  }
  .rail .bt .gc-bot,
  .ex-grid .bt .gc-bot {
    justify-content: flex-end;
  }
  .rail .bt .gc-bot .gc-mark-badge,
  .rail .bt .gc-bot .gc-mark.gc-mark-sp,
  .ex-grid .bt .gc-bot .gc-mark-badge,
  .ex-grid .bt .gc-bot .gc-mark.gc-mark-sp {
    width: 24cqw;
    height: 24cqw;
    padding: 3cqw;
    border-radius: 4.4cqw;
  }
}
/* Desktop / tablet: discount on the card art */
.bt .gc-bot .gc-mark-badge,
.bt .gc-bot .gc-mark.gc-mark-sp {
  flex: none;
  width: 20cqw;
  height: 20cqw;
  padding: 2.8cqw;
  border-radius: 4cqw;
}
@container (max-width: 150px) {
  .bt .gc .gc-mark-badge,
  .bt .gc .gc-mark.gc-mark-sp {
    width: 18cqw;
    height: 18cqw;
    padding: 2.4cqw;
    border-radius: 3.6cqw;
  }
}
@container (min-width: 280px) {
  .bt .gc .gc-mark-badge,
  .bt .gc .gc-mark.gc-mark-sp {
    width: 22cqw;
    height: 22cqw;
    padding: 3.2cqw;
    border-radius: 4.4cqw;
  }
}
@media (min-width: 640px) {
  .bt .gc-bot .bt-off-in {
    max-width: calc(100% - 22cqw);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Treats Under ₹300 (logo marks match Student favourites .pk-mark) */
.treats {
  display: grid;
  gap: 12px;
  --pk-thumb-w: 52px;
}
@media (min-width: 640px) {
  .treats { grid-template-columns: repeat(2, 1fr); --pk-thumb-w: 58px; }
}
@media (min-width: 1024px) { .treats { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.treat {
  display: grid;
  grid-template-columns: var(--pk-thumb-w) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  text-align: left;
  width: 100%;
  text-decoration: none !important;
  color: var(--ink);
  transition: all .15s ease;
}
.treat:hover { border-color: var(--rule-2); color: var(--ink); transform: translateY(-1px); }
.treat:hover .pk-mark {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 21, 51, 0.1);
}
.treat .pk-mark { flex: none; }
.treat > div > b { display: block; font-size: 16px; font-weight: 660; line-height: 1.25; color: var(--ink); }
.treat > div > span { font-size: 14px; color: var(--ink-3); }
.treat .p { font-weight: 720; font-size: 16px; text-align: right; white-space: nowrap; color: var(--ink); }
.treat .p small { display: block; font-size: 12.5px; font-weight: 550; color: var(--ink-3); text-decoration: line-through; }

/* Occasions */
.occs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64%;
  gap: 12px;
  overflow-x: auto;
  margin: 0 calc(-1 * var(--gut));
  padding: 2px var(--gut) 8px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
@media (min-width: 640px) { .occs { grid-auto-columns: 36%; } }
@media (min-width: 1024px) {
  .occs {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 16px;
  }
}
.occ {
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
  text-align: left;
  text-decoration: none !important;
  color: var(--ink);
}
.occ:hover { color: var(--ink); }
.occ .gc { border-radius: 16px; }
.occ > b { font-size: 16px; font-weight: 680; color: var(--ink); }
.occ > span { font-size: 13.5px; color: var(--ink-3); margin-top: -6px; }

/* Split Sections */
.split {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}
.steps3 { display: grid; gap: 18px; counter-reset: s; margin-top: 20px; }
.steps3 li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps3 li::before {
  counter-increment: s;
  content: counter(s);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 760;
  font-size: 16px;
  background: var(--ink);
  color: var(--paper);
  font-stretch: 110%;
}
.steps3 b { display: block; font-size: 17px; font-weight: 680; line-height: 1.3; color: var(--ink); }
.steps3 span { display: block; font-size: 15px; color: var(--ink-2); margin-top: 3px; }

/* Chat Preview */
.chatprev {
  background: var(--surface-2);
  border-radius: 28px;
  padding: 22px 18px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 1024px) { .chatprev { margin: 0 0 0 auto; } }
.cp-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
.cp-h .avatar { width: 36px; height: 36px; font-size: 14px; background: var(--blue); color: var(--on-blue); }
.cp-h > div > b { font-size: 15.5px; display: block; line-height: 1.2; color: var(--ink); }
.cp-h > div > span { font-size: 12.5px; color: var(--ink-3); }

.bubble {
  background: var(--surface);
  border-radius: 4px 18px 18px 18px;
  padding: 10px;
  max-width: 300px;
  box-shadow: 0 1px 1px rgba(15, 21, 51, .06);
}
.bubble .gc { border-radius: 10px; }
.bubble p { font-size: 14.5px; padding: 10px 4px 2px; line-height: 1.4; color: var(--ink); }
.bubble .lnk { color: var(--blue); font-weight: 600; word-break: break-all; }
.bubble time { display: block; text-align: right; font-size: 11.5px; color: var(--ink-3); padding: 2px 4px 0; }

/* Wallet Promo Card */
.wpromo {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  --pk-thumb-w: 52px;
}
@media (min-width: 640px) { .wpromo { --pk-thumb-w: 58px; } }
.wp-card {
  display: grid;
  grid-template-columns: var(--pk-thumb-w) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
}
.wp-card .pk-mark { flex: none; }
.wp-card > div > b { display: block; font-size: 15.5px; font-weight: 660; color: var(--ink); }
.wp-card > div > span { font-size: 13.5px; color: var(--ink-3); }

/* Quotes / Reviews */
.quotes { display: grid; gap: 14px; }
@media (min-width: 1024px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.quote {
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  margin: 0;
}
.quote p { font-size: 16px; line-height: 1.5; color: var(--ink); }
.quote footer {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote footer .av { width: 44px; height: 44px; border-radius: 50%; flex: none; }

/* FAQ Accordion */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 640;
  font-size: 16.5px;
  cursor: pointer;
  color: var(--ink) !important;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--ink-3); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .a {
  padding: 0 0 18px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 70ch;
  line-height: 1.5;
}

/* Cross-promotion banner */
.cross {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 20px;
  border: 1.5px dashed var(--rule-2);
  background: var(--surface);
}
.cross > div > b { font-size: 17px; font-weight: 680; display: block; color: var(--ink); }
.cross > div > span { font-size: 14.5px; color: var(--ink-2); }

/* Founders & Story */
.story {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}
.founders-w { max-width: 500px; width: 100%; margin: 0 auto; }
.founders { position: relative; }
.founders::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 15%;
  bottom: 0;
  border-radius: 999px 999px 24px 24px;
  background: var(--blue-tint);
}
.founders svg { position: relative; display: block; width: 100%; height: auto; }
.fnames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin-top: 12px;
  gap: 12px;
}
.fnames b { display: block; font-size: 16px; font-weight: 680; color: var(--ink); }
.fnames span { display: block; font-size: 13.5px; color: var(--ink-3); }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 22px;
}
.stats b {
  display: block;
  font-stretch: 118%;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
}
.stats span { display: block; font-size: 14px; color: var(--ink-3); }

/* ==========================================================================
   EXPLORE PAGE STYLES (.crumbs, .ex-head, .side, .sortsel)
   ========================================================================== */
.crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-3);
  padding: 16px 0 4px;
  flex-wrap: wrap;
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 14px; height: 14px; }

.ex-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 14px;
  flex-wrap: wrap;
}
.ex-head h1 { font-size: 30px; color: var(--ink) !important; }
@media (min-width: 1024px) { .ex-head h1 { font-size: 40px; } }
.ex-head p { color: var(--ink-3); font-size: 15px; margin-top: 4px; }

.chiprow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 calc(-1 * var(--gut));
  padding: 2px var(--gut) 10px;
  scrollbar-width: none;
}
@media (min-width: 1024px) {
  .chiprow { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0 0 4px; }
}

.fgroup {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.fgroup:first-child { padding-top: 0; }
.fgroup:last-child { border-bottom: 0; }
.fgroup h3 {
  font-size: 15.5px;
  font-stretch: 104%;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink) !important;
}

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  color: var(--ink);
}
.opt .ct {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.sortsel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-3);
  margin-left: auto;
}
.sortsel select {
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--rule);
  background-color: var(--surface);
  padding: 0 34px 0 12px;
  font-weight: 600;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2371779A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}
.sortsel select option {
  background: var(--surface);
  color: var(--ink);
}

.applied {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ==========================================================================
   PRODUCT PAGE STYLES (.amts, .amt, .money, .buybar, .qty)
   ========================================================================== */
.pdp { display: grid; gap: 22px; padding: 6px 0 28px; }
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); gap: 56px; padding: 12px 0 40px; }
}

.amts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 640px) { .amts { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .amts { grid-template-columns: repeat(6, 1fr); } }

.amt {
  height: 52px;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1.5px var(--rule-2);
  background: var(--surface);
  font-weight: 680;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  color: var(--ink);
  border: none;
  cursor: pointer;
  transition: all .15s ease;
}
.amt small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}
.amt:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
  color: var(--ink);
}
.amt[aria-pressed="true"], .amt.active {
  box-shadow: inset 0 0 0 2px var(--blue) !important;
  background: var(--blue-tint) !important;
  color: var(--blue) !important;
}
.amt[aria-pressed="true"] small, .amt.active small {
  color: var(--blue) !important;
}

.qty {
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1.5px var(--rule-2);
  background: var(--surface);
  color: var(--ink);
}
.qty button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
}
.qty button[disabled] {
  color: var(--ink-3);
  opacity: .5;
  cursor: not-allowed;
}
.qty output {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.money {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 16px 18px;
}
.mrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  font-size: 15.5px;
  color: var(--ink-2);
}
.mrow span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 560;
}
.mrow.minus span:last-child { color: var(--green); }
.mtot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px dashed var(--rule-2);
}
.mtot b { font-size: 17px; font-weight: 680; color: var(--ink); }
.mtot .p {
  font-stretch: 118%;
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.msave {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 650;
  text-align: right;
  color: var(--green);
}

.ctas {
  display: grid;
  gap: 10px;
}
@media (min-width: 640px) { .ctas { grid-template-columns: 1.4fr 1fr; } }

.assure {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  align-items: flex-start;
}
.assure .ic { color: var(--green); width: 18px; height: 18px; margin-top: 1px; }

.promise-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: var(--green-tint);
}
.promise-box .ic { color: var(--green); width: 24px; height: 24px; }
.promise-box > div > b { display: block; font-size: 15.5px; font-weight: 680; color: var(--ink); }
.promise-box > div > span { font-size: 14px; color: var(--ink-2); display: block; margin-top: 3px; }
.seller { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }

/* Gift card PDP (.pdp-*): shared across breakpoints; mobile block adds buy-bar spacing only */
.pdp-preview-art {
  width: 100%;
  max-width: min(100%, 500px);
  margin-inline: auto;
}
.pdp-preview-art .gc { width: 100%; }
.pv-cap,
.pdp-preview-cap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-3);
  margin: 14px 0 0;
  text-align: center;
}
.pdp-buy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pdp-title {
  font-size: 26px;
  letter-spacing: -.02em;
  line-height: 1.12;
}
.pdp-sub {
  font-size: 15.5px;
  color: var(--ink-2);
  margin-top: 6px;
}
.pdp-sub--warn {
  font-weight: 620;
  color: #b42318;
  margin-top: 8px;
}
.pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}
.pdp-amt-head {
  font-size: 17px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.pdp-amt-head small {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  text-align: right;
  flex: none;
}
.pdp-custom-amt { margin-top: 10px; }
.pdp-pre { display: flex; }
.pdp-pre-sym {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1.5px solid var(--rule-2);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: var(--surface-2);
  font-weight: 700;
}
.pdp-custom-inp {
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}
.pdp-amt-err { color: var(--red, #dc2626); margin-top: 8px; }
.pdp-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pdp-qty button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.pdp-qty output {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
}
.pdp-savings { font-weight: 600; color: var(--green); }
.pdp-alt-pay {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.pdp-alt-pay-title {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  margin: 0 0 10px;
}
.pdp-alt-pay-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.gc-pm-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.pdp-pm-label { min-width: 0; }
.pdp-pm-label > span { display: block; font-weight: 620; color: var(--ink); }
.pdp-pm-label small { display: block; font-size: 12px; margin-top: 2px; color: var(--ink-3); }
.gc-pm-pay { font-weight: 700; color: var(--ink); flex: none; white-space: nowrap; }
.pdp-ctas {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.pdp-ctas .btn { width: 100%; }
.pdp-assure {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  align-items: flex-start;
}
.pdp-assure .ic {
  color: var(--green);
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
}
.pdp-promise .ic { color: var(--green); width: 24px; height: 24px; }
.pdp-promise b { display: block; font-size: 15.5px; font-weight: 680; color: var(--ink); }
.pdp-promise span {
  font-size: 14px;
  color: var(--ink-2);
  display: block;
  margin-top: 3px;
}
.pdp-seller { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.pdp-detail-panels {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.pdp-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}
@media (min-width: 640px) {
  .pdp-title { font-size: 30px; }
  .pdp-ctas { grid-template-columns: 1.4fr 1fr; }
  .pdp-ctas .btn { width: auto; }
  .pdp-facts {
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }
}
@media (min-width: 1024px) {
  .pdp-detail-panels { margin-top: 36px; }
  .pdp-title { font-size: 32px; letter-spacing: -.02em; }
}

/* Sticky Buy Bar */
.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  box-shadow: var(--sh-bar);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gut);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  color: var(--ink);
}
@media (min-width: 640px) {
  .buybar {
    left: 50%;
    right: auto;
    bottom: 20px;
    width: min(620px, calc(100% - 48px));
    border-radius: 18px;
    border: 1px solid var(--rule);
    box-shadow: var(--sh-float);
    padding: 12px 12px 12px 22px;
    transform: translate(-50%, 0);
  }
}
.buybar .p {
  font-stretch: 115%;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.buybar .s {
  font-size: 13px;
  font-weight: 650;
  margin-top: 4px;
  color: var(--ink-2);
}
.buybar .btn {
  margin-left: auto;
  min-width: 150px;
}

/* ==========================================================================
   CHECKOUT PAGE (.co-top, .ck-*, .co-sec, .pm)
   ========================================================================== */
/* Checkout runs without the store chrome, like the prototype */
body.is-checkout .strip,
body.is-checkout .hdr,
body.is-checkout .ftr,
body.is-checkout .nav-sheet-ov { display: none !important; }

.co-top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.co-top .wrap { display: flex; align-items: center; gap: 10px; height: 60px; }
.co-top .co-ttl {
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid var(--rule-2);
  font-weight: 650;
  font-size: 15px;
  color: var(--ink-2);
}
.co-top .secure {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--green);
  font-weight: 640;
}

.ck { max-width: 680px; margin: 0 auto; padding: 24px 0 120px; }
@media (min-width: 640px) { .ck { padding: 32px 0 64px; } }

/* Stepper */
.ck-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.ck-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 640;
  color: var(--ink-2);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--rule);
  transition: background .15s, color .15s, box-shadow .15s;
}
.ck-step:hover { box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.ck-step .n {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 720;
  background: var(--surface-2);
  color: var(--ink-2);
}
.ck-step .n .ic { width: 13px; height: 13px; }
.ck-step .n .ck-tick { display: none; }
.ck-step.on { background: var(--blue); color: var(--on-blue); box-shadow: none; cursor: default; }
.ck-step.on .n { background: var(--on-blue); color: var(--blue); }
.ck-step.done { color: var(--ink); }
.ck-step.done .n { background: var(--green); color: #fff; }
.ck-step.done .n .ck-num { display: none; }
.ck-step.done .n .ck-tick { display: block; }
.ck-step .t { display: none; }
@media (min-width: 640px) { .ck-step { padding: 0 14px 0 8px; } .ck-step .t { display: inline; } }
.ck-line {
  width: 22px;
  height: 2px;
  margin: 0 4px;
  border-radius: 2px;
  background: var(--rule-2);
  transition: background .2s;
}
.ck-line.done { background: var(--green); }
@media (min-width: 640px) { .ck-line { width: 44px; margin: 0 8px; } }

/* Step views */
.ck-view { display: none; }
.ck-view.on { display: grid; gap: 14px; animation: ckIn .25s ease; }
@keyframes ckIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ck-view.on { animation: none; } }

.ck-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.ck-head h1 { font-size: 28px; font-stretch: 112%; font-weight: 760; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.ck-head p { color: var(--ink-3); font-size: 15px; margin-top: 4px; }

/* Section cards */
.co-sec {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 18px;
}
@media (min-width: 640px) { .co-sec { padding: 22px 24px; } }
.co-sec.flush { padding: 0; overflow: hidden; }
.co-sec h2 {
  font-size: 17px;
  font-stretch: 106%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.co-sec h2 .ic { color: var(--ink-3); }
.co-sec h2 .act, .co-sh .act {
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 620;
  color: var(--blue);
  font-stretch: 100%;
}
.co-sh {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 680;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (min-width: 640px) { .co-sh { padding: 12px 24px; } }

/* Cart line items */
.ck-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "info price" "qty rm";
  align-items: center;
  gap: 12px 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
}
.ck-item:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .ck-item { grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "info qty price rm"; padding: 16px 24px; }
}
.ck-info { grid-area: info; display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); text-decoration: none !important; }
.ck-info:hover b { color: var(--blue); }
.ck-art {
  width: 56px;
  aspect-ratio: 1.586;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--blue), #5B3FE0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  overflow: hidden;
}
.ck-art img { width: 100%; height: 100%; object-fit: cover; }
.ck-art--logo {
  aspect-ratio: 1;
  padding: 5px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.ck-art--logo img { object-fit: contain; object-position: center; }
.ck-art .ic { width: 18px; height: 18px; }
.ck-info b { color: var(--ink); display: block; font-size: 16px; font-weight: 660; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s; }
.ck-info span span, .ck-info > span > span { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ck-item .qty { grid-area: qty; justify-self: start; }
.ck-item .qty button { width: 36px; height: 36px; }
.ck-item .qty output { min-width: 26px; font-size: 15px; }
.ck-price { grid-area: price; text-align: right; line-height: 1.2; min-width: 76px; }
.ck-price b { display: block; font-size: 16px; font-weight: 720; font-variant-numeric: tabular-nums; }
.ck-price s { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ck-rm { grid-area: rm; justify-self: end; margin: 0; }
.ck-rm .icon-btn { width: 36px; height: 36px; color: var(--ink-3); }
.ck-rm .icon-btn:hover { color: var(--red); background: var(--red-tint); }

/* Promo */
.promo-in { display: flex; gap: 8px; }
.promo-in .inp { height: 46px; text-transform: uppercase; }
.promo-in .btn { height: 46px; flex: none; }
.promo-ok { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 620; color: var(--green); }

/* Bottom action bar (sticky on phones, inline on larger screens) */
.ck-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
}
.ck-bar small { display: block; font-size: 13.5px; color: var(--ink-3); }
.ck-bar .p { display: flex; align-items: baseline; gap: 8px; }
.ck-bar .p b { font-size: 24px; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ck-bar .p s { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ck-bar .btn { flex: none; }

/* Fixed dock (steps 1–3): sibling of scroll content so iOS keeps it pinned while scrolling */
.ck-dock { display: none; }
.ck-dock[hidden] { display: none !important; }
.ck-dock-bar { display: none; }
.ck-dock-bar.on { display: flex; }
@media (min-width: 640px) {
  #checkout-container .ck-dock {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .ck-view.on > .ck-dock,
  .ck-view.on .ck-dock {
    margin-top: 2px;
  }
  .ck-dock-bar.on { display: flex; }
}
@media (max-width: 639px) {
  body.is-checkout .ck {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .ck-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
  .ck-dock[hidden] { display: none !important; }
  .ck-dock .ck-bar,
  .ck-dock .ck-dock-bar.on {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--rule);
    box-shadow: var(--sh-bar);
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
  }
}

/* Details form */
.ck-form { display: grid; gap: 14px; }
.lbl .ic { width: 15px; height: 15px; color: var(--ink-3); vertical-align: -2px; margin-right: 4px; }

/* Payment methods */
.pms { display: grid; gap: 10px; }
.pm {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1.5px var(--rule);
  background: var(--surface);
  text-align: left;
  transition: box-shadow .15s;
}
.pm:hover { box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.pm.on { box-shadow: inset 0 0 0 2px var(--blue); }
.pm .ib { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.pm.on .ib { background: var(--blue-tint); color: var(--blue); }
.pm .tx { min-width: 0; }
.pm .tx b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; font-weight: 660; line-height: 1.2; }
.pm .tx span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.pm .pm-price { margin-left: auto; text-align: right; flex: none; font-size: 16px; font-weight: 720; font-variant-numeric: tabular-nums; }
.pm .pm-price.best { color: var(--green); }
.pm .rd { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rule-2); flex: none; transition: box-shadow .15s; }
.pm.on .rd { box-shadow: inset 0 0 0 7px var(--blue); }

/* Review */
.ck-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); }
.ck-row:last-child { border-bottom: 0; }
@media (min-width: 640px) { .ck-row { padding: 12px 24px; } }
.ck-row .ck-art { width: 44px; border-radius: 7px; }
.ck-row .ck-art .ic { width: 15px; height: 15px; }
.ck-row .tx { flex: 1; min-width: 0; }
.ck-row .tx b { display: block; font-size: 15.5px; font-weight: 640; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-row .tx span { font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ck-row .amt-r {
  flex: none;
  min-width: 4.75em;
  text-align: right;
  font-size: 15.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ck-who { padding: 14px 18px; }
@media (min-width: 640px) { .ck-who { padding: 14px 24px; } }
.ck-who b { display: block; font-size: 16px; font-weight: 660; }
.ck-who span { font-size: 14.5px; color: var(--ink-2); }
.mrow.fee span:last-child { color: var(--red); }
.mrow .ic { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; }

.ck-err {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--red-tint);
  color: var(--red);
  font-size: 14.5px;
  font-weight: 600;
}
.ck-err .ic { flex: none; }
.secure-l {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  text-align: center;
  text-wrap: balance;
  max-width: 36em;
  margin-inline: auto;
}
.secure-l .ic {
  display: inline-block;
  vertical-align: -0.22em;
  margin-right: 5px;
}
.secure-l .ck-gateway {
  text-transform: capitalize;
  font: inherit;
  color: inherit;
}

.ck-trust {
  display: grid;
  gap: 10px;
  justify-items: center;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink-3);
  text-align: center;
  margin-top: 4px;
}
.ck-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 22rem;
  text-wrap: balance;
}
.ck-trust .ic { width: 15px; height: 15px; flex: none; color: var(--green); }
@media (min-width: 640px) {
  .ck-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 14px;
    align-items: start;
    justify-items: center;
  }
}
.ck-stack { display: grid; gap: 10px; }
.ck-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: ckSpin .7s linear infinite; }
@keyframes ckSpin { to { transform: rotate(360deg); } }
#btn-pay-now[disabled] { opacity: .7; cursor: not-allowed; }

/* Empty state */
.empty {
  padding: 40px 20px;
  text-align: center;
  border: 1.5px dashed var(--rule-2);
  border-radius: 22px;
  max-width: 560px;
  margin: 40px auto;
}
.empty .ib { width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); color: var(--ink-3); display: grid; place-items: center; margin: 0 auto 16px; }
.empty .ib .ic { width: 28px; height: 28px; }
.empty h3 { font-size: 21px; margin-bottom: 8px; }
.empty p { color: var(--ink-2); font-size: 15.5px; }
.empty .btn { margin-top: 18px; }

/* Checkout paused (orders off) */
.ck-paused {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin: 28px auto 48px;
  padding: 0 4px;
}
.ck-paused-hero {
  text-align: center;
  padding: 36px 24px 32px;
  border-radius: 22px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.ck-paused-hero .ib {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.ck-paused-hero .ib .ic { width: 32px; height: 32px; }
.ck-paused-hero h1 {
  font-size: clamp(22px, 4vw, 26px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.ck-paused-lede {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 8px;
  font-weight: 600;
}
.ck-paused-sub {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 28em;
  margin-inline: auto;
}
.ck-paused-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.ck-paused-cart h2 {
  font-size: 17px;
  margin: 0 0 6px;
}
.ck-paused-cart-note {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.ck-paused-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ck-paused-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
}
.ck-paused-art {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink-3);
  overflow: hidden;
}
.ck-paused-art--logo img { width: 100%; height: 100%; object-fit: contain; }
.ck-paused-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.ck-paused-meta b {
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ck-paused-amt { font-weight: 700; font-size: 15px; white-space: nowrap; }
.ck-paused-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule-2);
  font-size: 15px;
  color: var(--ink-2);
}
.ck-paused-total b { font-size: 18px; color: var(--ink); }

.ck-pay-blocked {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}
.ck-pay-blocked .ic { flex: none; margin-top: 2px; }
.ck-pay-blocked b { display: block; font-size: 15px; margin-bottom: 4px; color: #7c2d12; }
.ck-pay-blocked p { margin: 0; font-size: 14px; line-height: 1.45; color: #9a3412; }

/* ==========================================================================
   ACCOUNT / PROFILE (.acc-*)
   ========================================================================== */
.acc { display: grid; gap: 20px; padding: 24px 0 48px; align-items: start; }
@media (min-width: 1024px) { .acc { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding-top: 32px; } }

.acc-side { display: grid; gap: 14px; }
@media (min-width: 1024px) { .acc-side { position: sticky; top: 24px; } }
.acc-me {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
}
.acc-me .avatar { width: 56px; height: 56px; font-size: 22px; flex: none; background: var(--blue); color: var(--on-blue); }
.acc-me b { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.acc-me div span { display: block; font-size: 14px; color: var(--ink-3); overflow-wrap: anywhere; }

/* Nav: tabs on phones/tablets, list on desktop */
.acc-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  scrollbar-width: none;
}
.acc-nav::-webkit-scrollbar { display: none; }
.acc-nav button, .acc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 6px;
  margin-right: 12px;
  font-weight: 640;
  font-size: 15.5px;
  color: var(--ink-3);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  text-decoration: none !important;
}
.acc-nav .ic { width: 18px; height: 18px; }
.acc-nav button.active,
.acc-nav a.active { color: var(--ink); border-bottom-color: var(--blue); }
.acc-nav .out { color: var(--red); margin-left: auto; }
@media (min-width: 1024px) {
  .acc-nav {
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--rule);
    border-radius: 20px;
    background: var(--surface);
  }
  .acc-nav button, .acc-nav a {
    width: 100%;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    color: var(--ink-2);
  }
  .acc-nav button:hover, .acc-nav a:hover { background: var(--surface-2); color: var(--ink); }
  .acc-nav button.active,
  .acc-nav a.active { background: var(--blue-tint); color: var(--blue); }
  .acc-nav .out { margin: 6px 0 0; border-top: 1px solid var(--rule); border-radius: 0 0 12px 12px; color: var(--red); }
  .acc-nav .out:hover { background: var(--red-tint); color: var(--red); }
}

.acc-main {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 20px 18px;
  min-width: 0;
}
@media (min-width: 640px) { .acc-main { padding: 28px; } }
.acc-sec h2 { font-size: 24px; font-stretch: 110%; font-weight: 740; letter-spacing: -.015em; margin: 0 0 4px; }
.acc-sec > p.sub { color: var(--ink-3); font-size: 15px; margin-bottom: 20px; }

.acc-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .acc-grid { grid-template-columns: 1fr 1fr; } }
.inp[readonly] { background: var(--surface-2); color: var(--ink-2); cursor: not-allowed; }
.inp[type="date"] { color-scheme: inherit; }
.acc-actions { display: flex; justify-content: flex-end; margin-top: 22px; }
@media (max-width: 639px) { .acc-actions .btn { width: 100%; } }

.acc-note {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--ink-2);
  font-size: 14.5px;
}
.acc-note .ic { color: var(--blue); flex: none; margin-top: 2px; }

/* Orders */
.acc-orders { border-top: 1px solid var(--rule); }
.acc-order {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none !important;
}
.acc-order:hover b { color: var(--blue); }
.acc-order .ck-art { width: 72px; border-radius: 9px; }
.acc-order b { display: block; font-size: 16px; font-weight: 670; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s; }
.acc-order .meta { font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.acc-order .pill { margin-top: 6px; }
.acc-order .r { text-align: right; }
.acc-order .r b { font-variant-numeric: tabular-nums; }
.acc-order .r span { font-size: 14px; font-weight: 620; color: var(--blue); }

/* ==========================================================================
   FOOTER (.ftr)
   ========================================================================== */
.ftr {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  padding: 44px 0 calc(48px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
}
@media (min-width: 640px) { .ftr { padding-bottom: 40px; } }

.ftr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}
@media (min-width: 1024px) {
  .ftr-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 32px;
  }
}
.ftr h4 {
  font-size: 14.5px;
  font-stretch: 100%;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0;
  color: var(--ink) !important;
}
.ftr li { margin: 8px 0; }
.ftr li a {
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none !important;
}
.ftr li a:hover { color: var(--ink); }
.ftr-brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .ftr-brand { grid-column: auto; } }
.ftr-brand p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 12px;
  max-width: 36ch;
}
.legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-3);
  display: grid;
  gap: 8px;
  line-height: 1.5;
}
.legal b { color: var(--ink-2); font-weight: 620; }
.paylist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.paylist span {
  font-size: 12.5px;
  font-weight: 650;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--ink-2);
}

/* ==========================================================================
   MOBILE NAV SHEET (.nav-sheet-ov)
   ========================================================================== */
body.nav-sheet-open { overflow: hidden; }

.nav-sheet-ov {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
}
.nav-sheet-ov.is-open {
  pointer-events: auto;
  visibility: visible;
}
.nav-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(12, 14, 18, .42);
  opacity: 0;
  transition: opacity .22s ease;
  cursor: default;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-sheet-backdrop { background: rgba(0, 0, 0, .58); }
}
:root[data-theme="dark"] .nav-sheet-backdrop { background: rgba(0, 0, 0, .58); }

.nav-sheet-ov.is-open .nav-sheet-backdrop { opacity: 1; }

.nav-sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100vw - 40px, 320px);
  max-width: 100%;
  background: var(--surface);
  border-left: 1px solid var(--rule);
  box-shadow: var(--sh-float);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .26s cubic-bezier(.32, .72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav-sheet-ov.is-open .nav-sheet { transform: translateX(0); }

.nav-sheet-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px 12px 18px;
  border-bottom: 1px solid var(--rule);
  flex: none;
}
.nav-sheet-title {
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -.01em;
  color: var(--ink);
}
.nav-sheet-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none !important;
  color: var(--ink);
  flex: none;
}
.nav-sheet-user:hover { background: var(--surface-2); }
.nav-sheet-user-name {
  flex: 1;
  font-size: 16px;
  font-weight: 640;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-sheet-user-chev { color: var(--ink-3); flex: none; }
.nav-sheet-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 6px 14px 20px;
}
.nav-sheet-list > a[aria-current="page"] {
  color: var(--blue);
  font-weight: 640;
}
.nav-sheet-list > a[aria-current="page"] .ic { color: var(--blue); }

.hidden { display: none !important; }
.ck .hidden, .acc .hidden { display: none !important; }
.acct-list > form { margin: 0; }
.acct-list > form button.out {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15.5px;
  font-weight: 560;
  color: var(--red);
  cursor: pointer;
  text-align: left;
}
.acct-list > form button.out .ic { color: var(--red); }

/* ==========================================================================
   ORDER PAGES (success / detail / failed) (.ord-*, .vc)
   ========================================================================== */
.ord { padding: 24px 0 48px; }
@media (min-width: 640px) { .ord { padding-top: 32px; } }
.ord-back { margin-bottom: 16px; }
.ord-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ord-head h1 { font-size: 30px; font-stretch: 112%; font-weight: 760; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 6px; }
.ord-head p { color: var(--ink-3); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ord-ref {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  user-select: all;
}
.ord-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1024px) { .ord-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; } }
.ord-col { display: grid; gap: 16px; min-width: 0; }

.ord-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin: 0 0 22px; padding: 4px 0 0; }
.ord-hero h1 { font-size: 30px; font-stretch: 112%; font-weight: 760; letter-spacing: -.02em; margin: 0; line-height: 1.12; }
.ord-hero p { color: var(--ink-2); font-size: 15.5px; margin: 0; max-width: 36ch; line-height: 1.45; }
.ord-hero .ord-ref { margin-top: 2px; }
.ck.ord-confirm { max-width: 540px; padding-bottom: 48px; }
@media (min-width: 640px) { .ck.ord-confirm { padding-bottom: 64px; } }
.ord-confirm-trust { gap: 8px 10px; padding: 2px 0; }
.ord-confirm .secure-l { margin: 0; }
.ord-badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ord-badge .ic { width: 34px; height: 34px; stroke-width: 2.4; }
.ord-badge.g { background: var(--green-tint); color: var(--green); box-shadow: 0 0 0 8px color-mix(in srgb, var(--green-tint) 50%, transparent); }
.ord-badge.r { background: var(--red-tint); color: var(--red); }
.ord-badge.a { background: var(--amber-tint); color: var(--amber); }
.ord-badge.b { background: var(--blue-tint); color: var(--blue); }

.ord-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px 22px; }
.ord-state h3 { font-size: 21px; margin: 0; }
.ord-state p { color: var(--ink-2); font-size: 15px; max-width: 46ch; line-height: 1.45; margin: 0; }
.ord-state .money { width: 100%; }
.ck.ord-failed { max-width: 480px; padding-bottom: 48px; }
@media (min-width: 640px) { .ck.ord-failed { padding-bottom: 64px; } }
.ord-failed .secure-l { margin-top: 16px; }
.ord-failed-summary { text-align: left; background: var(--surface-2); border: 0; border-radius: 14px; }
.ord-failed-payid { overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.ord-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  text-align: left;
}
.ord-callout .ic { flex: none; color: var(--ink-3); margin-top: 2px; }
.ord-callout b { display: block; font-size: 14px; font-weight: 680; color: var(--ink); margin-bottom: 4px; }
.ord-callout p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); font-weight: 520; }
.ord-callout-ok { width: 100%; text-align: left; }

.ord-kv { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.ord-kv > .ic { color: var(--ink-3); margin-top: 3px; flex: none; }
.ord-kv b { display: block; font-size: 15px; font-weight: 640; overflow-wrap: anywhere; }
.ord-kv span { font-size: 13px; color: var(--ink-3); }

/* Order detail (account) */
.od-back { margin-bottom: 12px; }
.od-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.od-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 640; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.od-id { margin: 0; font-size: clamp(32px, 5vw, 40px); font-stretch: 112%; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.od-meta { margin: 8px 0 0; font-size: 15px; color: var(--ink-3); }
.od-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.od-banner > .ic, .od-banner > .ck-spin { flex: none; margin-top: 2px; }
.od-banner b { display: block; font-size: 15px; font-weight: 680; margin-bottom: 4px; }
.od-banner p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); max-width: 52ch; }
.od-banner .btn { margin-left: auto; align-self: center; }
.od-banner--g { background: var(--green-tint); border-color: color-mix(in srgb, var(--green) 22%, var(--rule)); }
.od-banner--g .ic { color: var(--green); }
.od-banner--r { background: var(--red-tint); border-color: color-mix(in srgb, var(--red) 18%, var(--rule)); }
.od-banner--r .ic { color: var(--red); }
.od-banner--a { background: var(--amber-tint); border-color: color-mix(in srgb, var(--amber) 22%, var(--rule)); }
.od-banner--a .ic { color: var(--amber); }
.od-banner--b { background: var(--blue-tint); border-color: color-mix(in srgb, var(--blue) 18%, var(--rule)); }
.od-sheet {
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
}
.od-block { padding: 20px 22px; border-bottom: 1px solid var(--rule); }
.od-block:last-child { border-bottom: 0; }
.od-block-title { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.od-amount { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.od-amount-lbl { margin: 4px 0 16px; font-size: 14px; color: var(--ink-3); }
.od-dl { margin: 0; }
.od-dl-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
}
.od-dl-row:first-child { border-top: 0; padding-top: 0; }
.od-dl-row dt { margin: 0; font-size: 14px; color: var(--ink-3); font-weight: 520; flex-shrink: 0; }
.od-dl-row dd { margin: 0; font-size: 15px; font-weight: 640; color: var(--ink); text-align: right; }
.od-dl-row--stack { flex-direction: column; align-items: stretch; gap: 4px; }
.od-dl-row--stack dd { text-align: left; font-weight: 560; overflow-wrap: anywhere; }
.od-dl-ok { color: var(--green); font-weight: 680; }
.od-ref-copy { font-size: 13.5px; font-weight: 560; color: var(--ink-2); user-select: all; }
.od-foot { margin: 22px 0 0; font-size: 14.5px; color: var(--ink-3); }
.od-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.od-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.od-item:first-child { border-top: 0; padding-top: 0; }
.od-item .ck-art { width: 56px; height: 56px; border-radius: 10px; }
.od-item-body { min-width: 0; }
.od-item-body b {
  display: block;
  font-size: 15px;
  font-weight: 670;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.od-item-meta { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.od-item-amt { text-align: right; }
.od-item-amt b { display: block; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.od-item-amt small { display: block; margin-top: 2px; font-size: 12px; font-weight: 520; color: var(--ink-3); }

/* Voucher codes */
.vc { border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); overflow: hidden; }
.vc-n { padding: 10px 16px 0; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.vc-grid { display: grid; gap: 14px; padding: 14px 16px 16px; }
@media (min-width: 640px) { .vc-grid { grid-template-columns: 1fr 1fr; } }
.vc-lbl { display: flex; align-items: center; justify-content: space-between; }
.vc-lbl .btn-q { font-size: 14px; }
.vc-code { position: relative; }
.vc-code .inp { height: 48px; padding-right: 52px; font-weight: 700; letter-spacing: .06em; background: var(--surface-2); border-style: dashed; cursor: default; }
.vc-code .icon-btn { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; color: var(--ink-3); }
.vc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 16px; border-top: 1px solid var(--rule); background: var(--surface-2); font-size: 13.5px; color: var(--ink-3); }
.vc-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.vc-foot b { color: var(--ink); font-weight: 650; }
.ord .hidden { display: none !important; }

/* ==========================================================================
   SEARCH SUGGESTIONS (.sugg, .sg-*) and mobile search sheet (.sg-ov)
   ========================================================================== */
.sugg {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: 420px;
  overflow: auto;
  padding: 8px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--sh-float);
}
.sg-h { padding: 8px 10px 4px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.sg-i {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none !important;
}
.sg-i:hover, .sg-i.on { background: var(--surface-2); color: var(--ink); }
.sg-i > .ic { color: var(--ink-3); flex: none; }
.sg-i .mini {
  width: 44px;
  flex: none;
  overflow: hidden;
  display: block;
  background: none;
}
.sg-i .mini .pk-mark.sg-pk-mark {
  width: 44px;
  height: 44px;
  --pk-radius: 12px;
  --pk-pad: 3px;
  --pk-border: 1.5px;
}
.sg-i .mini .gc {
  width: 44px;
  aspect-ratio: 1.586;
  border-radius: 6px;
  box-shadow: none;
}
.sg-i .mini .sg-mini-photo {
  width: 44px;
  aspect-ratio: 1.586;
  border-radius: 6px;
  overflow: hidden;
  background: var(--blue-tint);
}
.sg-i .mini .sg-mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sg-i .mini .sg-mini-in {
  padding: 7cqw 6.5cqw 6cqw !important;
}
.sg-i .mini .gc-brand { font-size: 11cqw; line-height: 0.95; }
.sg-i .mini .gc-brand.long { font-size: 9cqw; }
.sg-i .mini .gc-brand.xl { font-size: 8.2cqw; }
.sg-i .mini .gc-brand.xxl { font-size: 7cqw; }
.sg-i .mini .gc-brand.x3 { font-size: 6cqw; }
.sg-i .mini .gc-kind { font-size: 4.5cqw; margin-top: 0.8cqw; }
.sg-i .mini .gc-bot > span:first-child { display: none; }
.sg-i .mini .gc-mark-sp,
.sg-i .mini .gc-mark-badge {
  width: 9cqw;
  height: 9cqw;
  padding: 1.2cqw;
  border-radius: 2cqw;
}
.sg-t { min-width: 0; font-weight: 560; line-height: 1.25; }
.sg-t small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 450; color: var(--ink-3); }
.sg-i .r { margin-left: auto; flex: none; }
.sg-p { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sg-all .sg-t { color: var(--blue); font-weight: 620; }
.sg-all > .ic { color: var(--blue); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 10px 8px; }
.sg-empty { padding: 14px 10px; }

/* Full-screen search (phones and tablets) */
.sg-ov {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--ink);
}
.sg-ov.hide { display: none !important; }
.sg-ov-h { display: flex; align-items: center; gap: 12px; padding: 12px var(--gut); padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.sg-ov-h .msrch { position: relative; flex: 1; margin: 0; }
.sg-ov-h .msrch .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.sg-ov-h .msrch input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 44px;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--blue);
  border-radius: 14px;
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.sg-ov-h .msrch input:focus { outline: none; }
.sg-ov-b { flex: 1; min-height: 0; overflow: auto; padding: 4px calc(var(--gut) - 8px) 24px; }
.sg-ov-b .sg-i { padding: 10px; }
@media (min-width: 1024px) { .sg-ov { display: none !important; } }

/* ==========================================================================
   ACCOUNT HOVER MENU + THEME SWITCH (.acct-wrap, .acct-menu, .acct-theme)
   ========================================================================== */
.acct-wrap { position: relative; }
.acct-menu {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 70;
  width: 300px;
  padding-top: 8px; /* hover bridge between button and card */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.acct-wrap:hover .acct-menu,
.acct-wrap:focus-within .acct-menu { opacity: 1; visibility: visible; transform: none; }
.acct-menu .acct-list {
  padding: 6px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--sh-float);
}
.acct-list > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  font-weight: 560;
  color: var(--ink);
  text-decoration: none !important;
}
.acct-list > a:hover { color: var(--blue); }
.acct-list > a:last-child { border-bottom: 0; }
.acct-list .ic { color: var(--ink-3); flex: none; }
.acct-list > a.out, .acct-list > a.out .ic { color: var(--red); }
.acct-theme { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; font-weight: 560; }
.acct-theme .seg { margin-left: auto; width: 190px; }
.acct-theme .seg button { height: 32px; font-size: 13px; }

/* ==========================================================================
   LOGIN / OTP (.auth, .auth-card)
   ========================================================================== */
.auth { display: flex; justify-content: center; padding: 40px 0 72px; }
@media (min-width: 640px) { .auth { padding-top: 72px; } }
.auth-card {
  width: 100%;
  max-width: 440px;
  display: grid;
  gap: 14px;
  padding: 28px 22px;
  text-align: center;
}
@media (min-width: 640px) { .auth-card { padding: 36px 36px 30px; } }
.auth-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin: 0 auto 2px; }
.auth-ic .ic { width: 26px; height: 26px; }
.auth-card h1 { font-size: 26px; font-stretch: 110%; font-weight: 760; letter-spacing: -.02em; margin: 0; }
.auth-sub { color: var(--ink-2); font-size: 15.5px; margin-top: -8px; }
.auth-sub b { color: var(--ink); }
.auth-form { display: grid; gap: 16px; text-align: left; margin-top: 6px; }
.auth-err { color: var(--red); font-size: 13.5px; font-weight: 560; }
.auth-ok {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 12px 14px; border-radius: 14px;
  background: var(--green-tint); color: var(--green); font-size: 14.5px; font-weight: 600;
}
.auth-ok .ic { flex: none; }
.auth-otp { text-align: center; font-size: 24px; font-weight: 700; letter-spacing: .5em; padding-left: .5em; }
.auth-resend { font-size: 14.5px; color: var(--ink-3); }
.auth-card .secure-l { margin-top: 2px; }
.pm .pm-price small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.pm .pm-price.best small { color: var(--green); }

/* ==========================================================================
   CONTACT US (.contact)
   ========================================================================== */
.contact { padding: 24px 0 48px; }
@media (min-width: 640px) { .contact { padding-top: 32px; } }
.contact .ex-head { margin-bottom: 20px; }
.contact-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; } }
.contact-side { display: grid; gap: 16px; }
.contact-side .co-sec h2 { margin-bottom: 8px; }
.contact-msg { height: 140px; padding: 14px; resize: vertical; line-height: 1.5; }

/* Help center index */
.hc-page { padding: 0 0 56px; }
.hc-page .crumbs { padding-top: 14px; }

.hc-hero {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 8px 0 28px;
  padding: 22px 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: linear-gradient(128deg, var(--blue-tint) 0%, var(--surface) 52%, var(--surface) 100%);
  box-shadow: 0 1px 0 rgba(15, 21, 51, 0.04);
}
@media (min-width: 640px) {
  .hc-hero { padding: 28px 32px; gap: 22px; }
}
.hc-hero-mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -18px rgba(36, 66, 230, 0.55);
}
.hc-hero-mark .ic { width: 26px; height: 26px; }
.hc-hero-copy h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  font-stretch: 110%;
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink) !important;
}
.hc-hero-copy p {
  margin: 10px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}

.hc-layout {
  display: grid;
  gap: 20px;
  align-items: start;
}
@media (min-width: 1024px) {
  .hc-layout {
    grid-template-columns: minmax(0, 1fr) min(320px, 30%);
    gap: 24px;
  }
}

.hc-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hc-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 190px;
  padding: 22px 22px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(15, 21, 51, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.hc-tile:hover {
  border-color: var(--rule-2);
  box-shadow: var(--sh-float);
  transform: translateY(-2px);
  text-decoration: none;
}
.hc-tile:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.hc-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.hc-tile-icon .ic { width: 22px; height: 22px; }
.hc-tile-body h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-stretch: 106%;
  font-weight: 760;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.hc-tile-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.hc-tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.hc-tile-date {
  font-size: 13px;
  color: var(--ink-3);
}
.hc-tile-go {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 650;
  color: var(--blue);
  white-space: nowrap;
}
.hc-tile:hover .hc-tile-go { color: var(--blue-ink); }

.hc-aside { display: grid; gap: 16px; }
.hc-aside .co-sec h2 { margin-bottom: 10px; }
.hc-tip { background: var(--surface-2); }

.hc-empty .hint { margin: 0; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  .hc-tile { transition: none; }
  .hc-tile:hover { transform: none; }
}

/* Student discounts / coupons hub */
.disc-hero { padding-top: 8px; }
.disc-hero .crumbs { margin-bottom: 18px; }
.disc-kicker { margin-bottom: 12px; }
.disc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.disc-hero-grid { align-items: stretch; }
.disc-hero-panel h2 { font-size: 1.15rem; margin-bottom: 10px; }
.disc-steps {
  margin: 0 0 16px;
  padding-left: 1.15rem;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}
.disc-steps b { color: var(--ink); font-weight: 650; }
.disc-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.disc-rail { margin-top: 4px; }
@media (min-width: 1024px) {
  .disc-rail {
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 22px) / 5);
    grid-template-columns: unset;
  }
}
.disc-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow .2s ease, transform .2s ease;
}
.disc-offer:hover .disc-card {
  box-shadow: 0 18px 32px -22px rgba(15, 21, 51, .55);
  transform: translateY(-2px);
}
.disc-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--blue-tint);
  overflow: hidden;
}
.disc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.disc-card-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-tint), var(--surface));
}
.disc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 21, 51, .78);
  color: #fff;
}
.disc-card-body {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px 14px;
}
.disc-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 4px;
}
.disc-card-copy { min-width: 0; }
.disc-brand {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-3);
  text-transform: capitalize;
}
.disc-title {
  font-size: 15px;
  font-weight: 680;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.disc-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px 18px;
}
.disc-testimonial {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: var(--surface);
  align-items: start;
}
@media (min-width: 768px) {
  .disc-testimonial {
    grid-column: span 2;
    grid-template-columns: auto 1fr;
  }
}
.disc-testimonial img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  grid-row: span 2;
}
.disc-testimonial blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  font-style: italic;
}
.disc-testimonial-name {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.disc-testimonial-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}
.disc-social-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .disc-social-grid {
    grid-template-columns: 1fr minmax(260px, 420px);
  }
}
.disc-social-heading {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.disc-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.disc-social-media img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
}
.disc-cta-box {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--r-xl);
  background: var(--blue-tint);
  border: 1px solid var(--rule);
}
.disc-cta-box h2 { margin-bottom: 8px; }
.disc-cta-box .lede { max-width: 520px; margin: 0 auto 20px; }

.disc-pk-photo {
  overflow: hidden;
  background: var(--blue-tint);
}
.disc-pk-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.disc-home-tile .disc-card-rail {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.disc-home-tile .disc-card-img {
  aspect-ratio: 1.586;
}
.disc-home-tile .disc-card-fallback-gc {
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.disc-home-tile:hover .disc-card {
  box-shadow: 0 22px 34px -20px rgba(15, 21, 51, .75);
  transform: translateY(-2px);
}

/* ==========================================================================
   OFFER / COUPON DETAIL (student discount offer pages)
   ========================================================================== */
.offer-page {
  min-height: 100%;
  padding-bottom: 48px;
  background: var(--paper);
}
.offer-banner {
  width: 100%;
  height: clamp(220px, 32vw, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface-2);
}
.offer-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 1280px;
  margin: 0 auto;
}
.offer-shell {
  max-width: 720px;
  margin: -80px auto 48px;
  padding: 0 var(--gut);
  position: relative;
  z-index: 2;
}
@media (min-width: 640px) {
  .offer-shell { padding: 0 24px; }
}
.offer-panel {
  position: relative;
  padding: 0 24px 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--sh-float);
}
@media (min-width: 640px) {
  .offer-panel { padding: 0 40px 40px; }
}
.offer-logo-wrap {
  display: flex;
  justify-content: center;
  margin-top: -52px;
  margin-bottom: 20px;
}
.offer-panel-top-spacer {
  height: 24px;
}
.offer-logo {
  position: relative;
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  padding: 8px;
  background: var(--surface);
  border: 4px solid var(--surface);
  box-shadow: 0 8px 24px -12px rgba(15, 21, 51, .35);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 999px;
}
.offer-head {
  text-align: center;
}
.offer-head h1 {
  font-size: clamp(26px, 4vw, 32px);
  margin-bottom: 8px;
}
.offer-brand-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 620;
  color: var(--blue) !important;
}
.offer-brand-link:hover {
  color: var(--blue-ink) !important;
  text-decoration: underline !important;
}
.offer-cta {
  max-width: 420px;
  margin: 0 auto 32px;
}
.offer-divider {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0 0 32px;
}
.offer-content-html {
  text-align: left;
  display: grid;
  gap: 28px;
}
.offer-content-html :where(h1, h2, h3, h4, h5, h6) {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink) !important;
}
.offer-content-html :where(p, li, ul, ol, span, div, td, th) {
  color: var(--ink-2) !important;
  line-height: 1.75;
}
.offer-content-html ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0 0 12px;
}
.offer-content-html li { margin-bottom: 6px; }
.offer-content-html a {
  color: var(--blue);
  text-decoration: underline;
}
.offer-code-label {
  font-size: 14px;
  font-weight: 620;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.offer-code-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.offer-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 420px);
  margin: 0;
  padding: 14px 18px 14px 22px;
  border-radius: var(--r-md);
  border: 2px dashed var(--red) !important;
  background: var(--red-tint);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background .15s;
  text-align: left !important;
}
.offer-code-box:hover { background: var(--surface-2); }
.offer-code-value {
  flex: 1;
  min-width: 0;
  text-align: center;
  word-break: break-all;
  line-height: 1.3;
}
.offer-code-box .copy-btn {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 8px;
  color: var(--ink-3);
  background: transparent;
  pointer-events: none;
}
.offer-code-box:hover .copy-btn { color: var(--ink); }
.offer-code-box .copy-btn::before,
.offer-code-box .copy-btn::after {
  display: none !important;
}

/* Help center policy document */
.hc-policy-page { padding: 0 0 56px; }
.hc-policy-page .crumbs { padding-top: 14px; }
.hc-policy-doc {
  margin-top: 20px;
  padding: 28px 22px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: var(--surface);
}
@media (min-width: 640px) {
  .hc-policy-doc { padding: 32px 36px 40px; }
}
.hc-policy-doc h1 {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
}
.hc-policy-updated {
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.hc-policy-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}
/* Override Word/Docs inline black text so dark mode stays readable */
.hc-policy-body :where(p, li, span, div, td, th, label, em, i, u) {
  color: var(--ink-2) !important;
}
.hc-policy-body :where(h1, h2, h3, h4, h5, h6, strong, b) {
  margin: 1.5rem 0 .75rem;
  color: var(--ink) !important;
}
.hc-policy-body :where(p, li) { margin-bottom: .85rem; }
.hc-policy-body ul {
  list-style: disc;
  padding-left: 1.4rem;
}
.hc-policy-body a {
  color: var(--blue) !important;
  text-decoration: underline;
}
.hc-policy-body a span { color: inherit !important; }

/* Brand offers grid tile (legacy brand page) */
.brand-offer-tile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.brand-offer-tile {
  position: relative;
  height: 300px;
  border-radius: var(--r-md);
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: 0 8px 24px -16px rgba(15, 21, 51, .35);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.brand-offer-tile:hover {
  box-shadow: var(--sh-float);
  transform: translateY(-2px);
}
.brand-offer-tile__media {
  position: relative;
  width: 100%;
  height: 200px;
}
.brand-offer-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-offer-tile__brand {
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.brand-offer-tile__logo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: 0 6px 16px -10px rgba(15, 21, 51, .45);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-offer-tile__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-offer-tile__name {
  font-size: 17px;
  font-weight: 650;
  color: var(--ink);
  text-transform: capitalize;
  text-align: center;
}
.brand-offer-tile__body {
  margin-top: 72px;
  padding: 16px;
}
.brand-offer-tile__body h3 {
  font-size: 17px;
  line-height: 1.25;
}
.brand-offer-tile__body p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ID verification success */
.verify-success-page {
  background: var(--paper);
  padding: 24px 16px 48px;
}
.verify-success-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: var(--surface);
}
.verify-success-card h2 { margin-top: 1rem; }
.verify-success-card p { color: var(--ink-2); margin-top: .5em; }
.verify-success-card .btn { margin-top: 1.25rem; }

/* ---------- wallet ---------- */
.wtabs{display:flex;gap:6px;border-bottom:1px solid var(--rule);margin-bottom:8px;overflow-x:auto;scrollbar-width:none}
.wtabs button{height:46px;padding:0 6px;margin-right:14px;font-weight:640;font-size:15.5px;color:var(--ink-3);border-bottom:2.5px solid transparent;white-space:nowrap;background:none;border-top:0;border-left:0;border-right:0;cursor:pointer}
.wtabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--blue)}
.wl{display:grid;gap:10px;margin-top:4px}
.bp-lg .wl{grid-template-columns:1fr 1fr;gap:12px 40px}
.wc{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--rule);
  background:var(--surface);
  text-align:left;
  width:100%;
  color:inherit;
  text-decoration:none;
  transition:border-color .15s, box-shadow .15s;
}
.wc:hover{border-color:var(--rule-2);box-shadow:0 2px 8px rgba(15,21,51,.06)}
.wc:hover b{color:var(--blue)}
.wc:focus-visible{outline:none;box-shadow:0 0 0 3px var(--blue-tint);border-color:var(--blue)}
.wc .ck-art{width:72px;height:auto;border-radius:9px}
.wc-body{min-width:0}
.wc b{display:block;font-size:16px;font-weight:670;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .15s}
.wc-meta{display:block;margin-top:4px;font-size:14px;color:var(--ink-3);font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wsum{display:flex;gap:28px;flex-wrap:wrap;padding:6px 0 20px;border-bottom:1px solid var(--rule);margin-bottom:16px}
.wsum div small{display:block;font-size:13.5px;color:var(--ink-3)}
.wsum .num{font-stretch:115%;font-size:26px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.wc{cursor:pointer;font:inherit}
.wmdl{position:fixed;inset:0;z-index:1100;display:flex;align-items:flex-end;justify-content:center;padding:16px}
@media (min-width:640px){.wmdl{align-items:center;padding:24px}}
.wmdl.hide{display:none!important}
.wmdl-bg{position:absolute;inset:0;border:0;background:rgba(15,21,51,.45);cursor:pointer}
.wmdl-panel{
  position:relative;z-index:1;width:min(100%,440px);max-height:min(92vh,720px);overflow:auto;
  border-radius:20px;border:1px solid var(--rule);background:var(--surface);
  box-shadow:0 24px 64px rgba(15,21,51,.18);
}
.wmdl-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 8px}
.wmdl-head h2{margin:0;font-size:20px;font-weight:750;line-height:1.25}
.wmdl-body{padding:8px 20px 22px}
.wmdl-preview .gc{max-width:320px;margin:0 auto}
.wmdl-body .vc-code .btn-q{flex-shrink:0;height:44px;padding:0 14px;font-weight:640}

/* ==========================================================================
   MOBILE POLISH (≤639px / ≤1023px)
   ========================================================================== */
@media (max-width: 639px) {
  .h-xl {
    font-size: 36px;
    max-width: none;
    text-wrap: balance;
  }

  .promises { grid-template-columns: 1fr; }
  .promise:nth-child(2n) { padding-left: 0; border-left: 0; }
  .promise:nth-child(-n+2) { border-bottom: 0; }
  .promise:not(:last-child) {
    border-bottom: 1px solid var(--rule);
    padding-right: 0;
    padding-bottom: 16px;
    margin-bottom: 4px;
  }

  .pk-brands a { gap: 10px; }
  .pk-brands .pk-p {
    min-width: 0;
    max-width: 38vw;
  }
  .pk-brands .pk-p small { white-space: normal; line-height: 1.25; }

  .ex-page { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
  .ex-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px 16px;
  }
  .ex-sort-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    font-size: 14.5px;
    color: var(--ink-3);
  }
  .ex-sort-mobile select {
    flex: 1;
    min-width: 0;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid var(--rule);
    background-color: var(--surface);
    padding: 0 34px 0 12px;
    font-weight: 600;
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2371779A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
  }

  .auth { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }

  .pdp-preview-art { max-width: min(100%, 420px); }

  body.has-buybar #view {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  body.has-buybar .pdp-buybar.buybar { z-index: 997; }
  body.has-buybar .ftr {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 640px) {
  .ex-sort-mobile { display: none !important; }
  .ex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px 18px;
  }
  .ex-page { padding-bottom: 40px; }
}

@media (min-width: 1024px) {
  .pdp-buybar { display: none !important; }
  body.has-buybar #view { padding-bottom: 0; }
}

/* Coupons / student offers (mobile) */
@media (max-width: 639px) {
  .disc-grid,
  .disc-ex-page .ex-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .disc-offer.bt {
    width: 100%;
    min-width: 0;
  }
  .disc-pk-photo {
    width: var(--pk-thumb-w, 52px);
    aspect-ratio: 1.586;
    border-radius: 8px;
  }
  .disc-rail {
    grid-auto-columns: min(78vw, 280px);
    padding-bottom: 4px;
  }
  .disc-rail-more,
  .rail-more {
    display: inline-flex;
    margin-top: 14px;
  }
  .disc-social-btns {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }
  .disc-social-btns .btn { width: 100%; }

  .offer-page {
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  }
  .offer-shell {
    margin-top: -56px;
    margin-bottom: 32px;
  }
  .offer-banner {
    height: clamp(160px, 42vw, 240px);
  }
  .offer-panel {
    padding: 0 18px 28px;
  }
  .offer-logo-wrap { margin-top: -44px; }
  .offer-logo {
    width: 84px;
    height: 84px;
  }
  .offer-head h1 { font-size: clamp(22px, 6.5vw, 28px); }
  .offer-brand-link { margin-bottom: 20px; font-size: 15px; }
  .offer-cta { margin-bottom: 24px; }
  .offer-content-html {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .offer-code-box {
    font-size: 1.05rem;
    padding: 12px 14px 12px 16px;
    gap: 10px;
  }
  .offer-code-value {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    text-align: left;
  }
  .offer-page .wrapper {
    z-index: auto;
    width: auto;
    padding-top: 0;
    background: transparent;
  }

  body.has-offer-bar #view {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  body.has-offer-bar .ftr {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .offer-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 997;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--gut);
    background: var(--surface);
    border-top: 1px solid var(--rule);
    box-shadow: var(--sh-bar);
  }
  .offer-bar-label {
    font-size: 13px;
    font-weight: 620;
    color: var(--ink-2);
    line-height: 1.25;
    min-width: 0;
  }
  .offer-bar .btn {
    flex: none;
    min-width: 132px;
    height: 44px;
    padding: 0 18px;
  }
}

@media (min-width: 640px) {
  .disc-rail-more,
  .rail-more { display: none !important; }
  .disc-social-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .offer-bar { display: none !important; }
  body.has-offer-bar #view { padding-bottom: 0; }
}
