:root {
  color-scheme: light;
  --ink: #11121a;
  --ink-soft: #2f3140;
  --muted: #6e7182;
  --muted-strong: #55596b;
  --line: rgba(17, 18, 26, 0.09);
  --line-strong: rgba(17, 18, 26, 0.15);
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-soft: #f5f5fa;
  --surface-tint: #f0f1ff;
  --bg: #f8f8fc;
  --brand: #5b5ce2;
  --brand-hover: #4d4ece;
  --brand-dark: #32339a;
  --brand-pale: #eeeeff;
  --accent: #18b994;
  --accent-pale: #e8faf5;
  --accent-ink: #08755e;
  --danger: #c9364f;
  --danger-pale: #fff0f3;
  --warning: #9a6100;
  --warning-pale: #fff7e7;
  --info: #245fab;
  --info-pale: #edf5ff;
  --shadow-xs: 0 1px 2px rgba(17, 18, 26, 0.04);
  --shadow-sm: 0 10px 30px rgba(22, 24, 42, 0.07);
  --shadow-md: 0 22px 60px rgba(22, 24, 42, 0.11);
  --shadow-lg: 0 34px 100px rgba(22, 24, 42, 0.16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(91, 92, 226, 0.045), transparent 28rem),
    radial-gradient(circle at 100% 35rem, rgba(24, 185, 148, 0.035), transparent 24rem),
    var(--bg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
svg { display: block; }
::selection { color: white; background: var(--brand); }
.hidden { display: none !important; }

:focus-visible {
  outline: 3px solid rgba(91, 92, 226, 0.28);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17, 18, 26, 0.07);
  background: rgba(250, 250, 253, 0.82);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}
.header-inner {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  color: white;
  background: linear-gradient(145deg, #7778f3 0%, #4d4ed1 58%, #303188 100%);
  box-shadow: 0 10px 25px rgba(91, 92, 226, 0.3), inset 0 1px rgba(255,255,255,.28);
}
.brand-mark::after {
  position: absolute;
  width: 23px;
  height: 23px;
  top: -8px;
  right: -7px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  content: "";
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-size: 16px; font-weight: 850; letter-spacing: -0.035em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 10px 13px;
  border-radius: 11px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover { color: var(--brand-dark); background: var(--brand-pale); }
.nav-link-muted { color: var(--muted-strong); }
.cart-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin-left: 7px;
  padding: 0 8px 0 14px;
  border: 1px solid rgba(91, 92, 226, .12);
  border-radius: 13px;
  color: white;
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(17, 18, 26, .13);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.cart-link:hover { transform: translateY(-1px); background: #242632; box-shadow: 0 11px 28px rgba(17, 18, 26, .18); }
.cart-link > svg { width: 19px; height: 19px; }
.count-badge {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  place-items: center;
  border-radius: 9px;
  color: var(--ink);
  background: white;
  font-size: 11px;
  font-weight: 900;
}
.global-banner {
  position: relative;
  z-index: 45;
  padding: 9px 20px;
  color: #6f4500;
  border-bottom: 1px solid rgba(154, 97, 0, .12);
  background: linear-gradient(90deg, #fff9ec, #fff4df, #fff9ec);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

#app { min-height: calc(100vh - 220px); outline: none; }
.page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 88px;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.page-heading-copy { max-width: 720px; }
.page-heading h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.058em;
}
.page-heading p { max-width: 680px; margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.page-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 13px;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(91,92,226,.1);
  content: "";
}

.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 27px; height: 27px; }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-decoration: none;
  transition: transform .17s ease, box-shadow .17s ease, background .17s ease, border-color .17s ease, color .17s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { cursor: not-allowed; opacity: .52; transform: none; }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, #696af0, #5051d8);
  box-shadow: 0 11px 28px rgba(91, 92, 226, .24), inset 0 1px rgba(255,255,255,.18);
}
.btn-primary:hover { background: linear-gradient(135deg, #5f60e6, #4445c4); box-shadow: 0 14px 34px rgba(91, 92, 226, .31); }
.btn-secondary { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.82); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: rgba(91,92,226,.24); background: white; box-shadow: var(--shadow-sm); }
.btn-ghost { min-height: 40px; color: var(--muted-strong); background: transparent; }
.btn-ghost:hover { color: var(--ink); background: var(--surface-soft); }
.btn-danger { min-height: 38px; color: var(--danger); border-color: rgba(201,54,79,.18); background: var(--danger-pale); }
.btn-danger:hover { border-color: rgba(201,54,79,.28); background: #ffe5eb; }
.btn-wide { width: 100%; }
.btn-large { min-height: 56px; padding-inline: 24px; border-radius: 16px; font-size: 15px; }
.btn-compact { min-height: 40px; padding-inline: 14px; border-radius: 11px; font-size: 13px; }

/* Landing */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 77% 13%, rgba(123, 124, 247, .2), transparent 25rem),
    radial-gradient(circle at 91% 68%, rgba(24, 185, 148, .12), transparent 22rem),
    linear-gradient(180deg, #fafaff 0%, #f5f5fb 100%);
}
.hero::before {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: linear-gradient(rgba(91,92,226,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(91,92,226,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: "";
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(42px, 6vw, 86px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 96px;
  align-items: center;
}
.hero-copy { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 12px 8px 9px;
  border: 1px solid rgba(91, 92, 226, .13);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-xs);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.hero-badge-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--brand);
}
.hero-badge-icon svg { width: 14px; height: 14px; }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(46px, 6.6vw, 78px);
  font-weight: 900;
  line-height: .99;
  letter-spacing: -0.073em;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(110deg, #5b5ce2 0%, #7778ed 45%, #21a98a 115%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-lead { max-width: 660px; margin: 25px 0 0; color: var(--muted-strong); font-size: clamp(17px, 2vw, 20px); line-height: 1.68; letter-spacing: -.015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 26px; color: var(--muted-strong); font-size: 12px; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-ink); }
.hero-note { max-width: 660px; margin: 18px 0 0; color: #8b8e9d; font-size: 11px; }
.hero-visual { position: relative; min-height: 520px; }
.visual-orb {
  position: absolute;
  width: 390px;
  height: 390px;
  top: 42px;
  left: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,125,247,.55), rgba(24,185,148,.25));
  filter: blur(1px);
  opacity: .7;
}
.visual-orb::after {
  position: absolute;
  inset: 48px;
  border-radius: inherit;
  background: rgba(255,255,255,.45);
  content: "";
}
.browser-mock {
  position: absolute;
  inset: 18px 12px 36px 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(17,18,26,.06);
  transform: perspective(1300px) rotateY(-5deg) rotateX(1.5deg) rotateZ(1deg);
  transform-origin: center;
}
.browser-mock-bar { display: flex; height: 52px; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--line); background: #f7f7fb; }
.browser-mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #d2d3dd; }
.browser-mock-dot:nth-child(1) { background: #ff7169; }
.browser-mock-dot:nth-child(2) { background: #ffc451; }
.browser-mock-dot:nth-child(3) { background: #45c982; }
.mock-address { display: flex; height: 29px; flex: 1; align-items: center; gap: 7px; margin-left: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: #8a8d9b; background: white; font-size: 10px; }
.mock-address svg { width: 12px; height: 12px; }
.mock-storebar { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px 11px; }
.mock-store-logo { font-size: 15px; font-weight: 900; letter-spacing: -.05em; }
.mock-store-logo span { color: var(--brand); }
.mock-store-links { display: flex; gap: 13px; color: #8a8d9b; font-size: 9px; font-weight: 700; }
.mock-search { display: flex; align-items: center; gap: 8px; margin: 0 20px 17px; padding: 11px 13px; border: 1.5px solid rgba(91,92,226,.4); border-radius: 11px; color: #9b9daa; background: white; font-size: 10px; }
.mock-search svg { width: 14px; height: 14px; color: var(--brand); }
.mock-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 20px 20px; }
.mock-product { position: relative; overflow: hidden; min-width: 0; padding: 0 0 13px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-xs); }
.mock-product-visual { display: grid; height: 138px; place-items: center; background: linear-gradient(145deg, #f0f1ff, #e9ecff); font-size: 51px; }
.mock-product:nth-child(2) .mock-product-visual { background: linear-gradient(145deg, #edf9f5, #dff7ef); }
.mock-product-copy { padding: 12px 12px 0; }
.mock-product small { display: block; color: #9295a3; font-size: 9px; }
.mock-product strong { display: block; overflow: hidden; margin-top: 4px; font-size: 11px; font-weight: 800; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.mock-product b { display: block; margin-top: 8px; font-size: 14px; }
.mock-product-badge { position: absolute; top: 9px; left: 9px; padding: 4px 7px; border-radius: 7px; color: var(--brand-dark); background: rgba(255,255,255,.9); font-size: 8px; font-weight: 900; }
.mock-checkout {
  position: absolute;
  right: -7px;
  bottom: 12px;
  width: 225px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 20px;
  color: white;
  background: linear-gradient(145deg, #20212c, #101117);
  box-shadow: 0 25px 55px rgba(17,18,26,.27);
  transform: rotate(-2deg);
}
.mock-checkout-head { display: flex; align-items: center; justify-content: space-between; }
.mock-checkout-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #cbcaff; background: rgba(124,125,247,.18); }
.mock-checkout-icon svg { width: 18px; height: 18px; }
.mock-checkout small { color: rgba(255,255,255,.58); font-size: 9px; }
.mock-checkout strong { display: block; margin-top: 14px; font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.mock-checkout p { margin: 7px 0 0; color: rgba(255,255,255,.64); font-size: 10px; }
.mock-success {
  position: absolute;
  top: 4px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 15px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  transform: rotate(-2deg);
}
.mock-success-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; color: var(--accent-ink); background: var(--accent-pale); }
.mock-success-icon svg { width: 16px; height: 16px; }
.mock-success strong { display: block; font-size: 10px; }
.mock-success small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }

.trust-strip { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); }
.trust-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.trust-item { display: flex; min-height: 95px; align-items: center; gap: 13px; padding: 20px 28px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: var(--brand-dark); background: var(--brand-pale); }
.trust-icon svg { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: 13px; }
.trust-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }

.section { padding: 92px 0; }
.section-tinted { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(240,241,255,.63), rgba(247,248,252,.48)); }
.section-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-head > div { max-width: 650px; }
.section-title { margin: 0; font-size: clamp(31px, 4vw, 48px); font-weight: 850; line-height: 1.08; letter-spacing: -0.055em; }
.section-lead { max-width: 580px; margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.section-side-note { max-width: 360px; margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps::before { position: absolute; top: 34px; right: 12%; left: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(91,92,226,.22), rgba(91,92,226,.22), transparent); content: ""; }
.step { position: relative; z-index: 1; padding: 25px 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-3px); border-color: rgba(91,92,226,.18); box-shadow: var(--shadow-sm); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--brand); background: var(--brand-pale); }
.step-icon svg { width: 21px; height: 21px; }
.step-number { color: #a6a8b4; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.step h3 { margin: 21px 0 8px; font-size: 17px; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.feature-card { position: relative; overflow: hidden; grid-column: span 4; min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature-card::after { position: absolute; width: 120px; height: 120px; right: -32px; bottom: -42px; border-radius: 50%; background: var(--brand-pale); opacity: .7; content: ""; }
.feature-card:nth-child(2)::after { background: var(--accent-pale); }
.feature-card:nth-child(3)::after { background: #fff2e6; }
.feature-icon { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: var(--brand); background: var(--brand-pale); }
.feature-card:nth-child(2) .feature-icon { color: var(--accent-ink); background: var(--accent-pale); }
.feature-card:nth-child(3) .feature-icon { color: #a95800; background: #fff2e6; }
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { position: relative; z-index: 1; margin: 30px 0 9px; font-size: 19px; letter-spacing: -.03em; }
.feature-card p { position: relative; z-index: 1; max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; }
.feature-label { position: absolute; top: 29px; right: 28px; color: #a2a4af; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }

.cta-section { padding: 0 0 94px; }
.cta-card {
  position: relative;
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  min-height: 250px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: 52px 56px;
  border-radius: 30px;
  color: white;
  background: linear-gradient(125deg, #25263a 0%, #3435a1 58%, #5152d8 100%);
  box-shadow: var(--shadow-md);
}
.cta-card::before { position: absolute; width: 390px; height: 390px; right: -110px; top: -150px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.04), 0 0 0 110px rgba(255,255,255,.025); content: ""; }
.cta-copy { position: relative; z-index: 1; max-width: 660px; }
.cta-copy .eyebrow { color: #d9d9ff; }
.cta-copy .eyebrow::before { background: #b8b8ff; box-shadow: 0 0 0 4px rgba(184,184,255,.13); }
.cta-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 47px); line-height: 1.08; letter-spacing: -.055em; }
.cta-copy p { margin: 14px 0 0; color: rgba(255,255,255,.68); }
.cta-card .btn { position: relative; z-index: 1; flex: 0 0 auto; color: var(--ink); background: white; box-shadow: 0 12px 30px rgba(0,0,0,.18); }

/* Shared surfaces */
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; font-size: 13px; font-weight: 650; }
.notice svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.notice-warning { color: var(--warning); border: 1px solid rgba(154,97,0,.14); background: var(--warning-pale); }
.notice-danger { color: var(--danger); border: 1px solid rgba(201,54,79,.14); background: var(--danger-pale); }
.notice-info { color: var(--info); border: 1px solid rgba(36,95,171,.13); background: var(--info-pale); }
#shop-access-notice[hidden], #shop-viewer-notice[hidden], #shop-session-notice[hidden], #shop-page-recovery[hidden], #embedded-payment-retry[hidden], #restore-shopping-profile[hidden] { display: none; }
#shop-page-recovery { margin-top: 12px; flex-wrap: wrap; align-items: center; }
#shop-page-recovery p { flex-basis: 100%; margin: 0; }
.card { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.93); box-shadow: var(--shadow-sm); }
.card-body { padding: 27px; }
.meta { color: var(--muted); font-size: 12px; }

/* Embedded shopper */
.shop-page { padding-top: 44px; }
.shop-stepper { display: flex; align-items: center; gap: 7px; margin-bottom: 28px; }
.shop-step { display: inline-flex; align-items: center; gap: 7px; color: #a1a3b0; font-size: 11px; font-weight: 800; }
.shop-step::after { width: 23px; height: 1px; margin-left: 2px; background: #d9dae2; content: ""; }
.shop-step:last-child::after { display: none; }
.shop-step.active { color: var(--brand-dark); }
.shop-step-index { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; background: #ececf2; }
.shop-step.active .shop-step-index { color: white; background: var(--brand); box-shadow: 0 5px 13px rgba(91,92,226,.22); }
.shop-info { margin-bottom: 18px; }
.shop-shell { overflow: hidden; border: 1px solid rgba(17,18,26,.12); border-radius: 25px; background: white; box-shadow: var(--shadow-md); }
.shop-toolbar { display: flex; min-height: 62px; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfbfd, #f5f5f9); }
.toolbar-window-dots { display: flex; gap: 5px; margin-right: 4px; }
.toolbar-window-dots span { width: 8px; height: 8px; border-radius: 50%; background: #d4d5de; }
.toolbar-window-dots span:nth-child(1) { background: #ff756d; }
.toolbar-window-dots span:nth-child(2) { background: #ffc655; }
.toolbar-window-dots span:nth-child(3) { background: #50cb86; }
.toolbar-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; color: var(--muted-strong); background: white; box-shadow: var(--shadow-xs); transition: color .17s ease, border-color .17s ease, background .17s ease; }
.toolbar-button:hover { color: var(--brand); border-color: rgba(91,92,226,.18); background: var(--brand-pale); }
.toolbar-button svg { width: 17px; height: 17px; }
.shop-source { display: flex; min-width: 0; flex: 1; height: 38px; align-items: center; gap: 9px; margin-left: 4px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: white; font-size: 11px; box-shadow: var(--shadow-xs); }
.shop-source svg { width: 14px; height: 14px; color: var(--muted); }
.shop-source-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-search { display: flex; gap: 8px; padding: 10px 14px; background: white; border-bottom: 1px solid var(--line); }
.shop-search input { flex: 1; min-width: 0; margin: 0; }
.shop-search-status { margin: 0; padding: 8px 14px; color: var(--muted); background: white; font-size: 12px; }
.shop-search-status:empty { display: none; }
.shop-viewer-notice, .shop-session-notice { margin: 12px 14px; }
.live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(24,185,148,.12); }
.shop-frame-wrap { position: relative; height: min(70vh, 780px); min-height: 530px; background: #eff0f5; }
/* The remote viewport tracks this frame's measured size, including resizes. */
.shop-frame-wrap.shop-frame-wrap-live { height: clamp(300px, 65vh, 780px); height: clamp(300px, 65dvh, 780px); min-height: 0; overflow: hidden; }
.shop-frame { display: block; width: 100%; height: 100%; border: 0; background: white; }
.shop-frame-wrap-live .shop-frame { position: absolute; inset: 0; }
.shop-actionbar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 16px 13px 20px; border-top: 1px solid var(--line); background: white; }
.shop-action-copy { display: flex; align-items: center; gap: 11px; }
.shop-action-copy-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--brand); background: var(--brand-pale); }
.shop-action-copy-icon svg { width: 18px; height: 18px; }
.shop-actionbar p { margin: 0; color: var(--muted); font-size: 12px; }
.shop-actionbar strong { display: block; color: var(--ink); font-size: 13px; }
.shop-empty { position: relative; display: grid; min-height: 550px; place-items: center; overflow: hidden; padding: 46px 34px; text-align: center; background: linear-gradient(145deg, #fbfbff, #f4f5fb); }
.shop-empty::before { position: absolute; width: 410px; height: 410px; top: -250px; right: -130px; border-radius: 50%; background: rgba(91,92,226,.08); box-shadow: 0 0 0 60px rgba(91,92,226,.035); content: ""; }
.shop-empty-card { position: relative; z-index: 1; max-width: 620px; }
.shop-empty-visual { position: relative; width: 114px; height: 92px; margin: 0 auto 25px; }
.shop-empty-window { position: absolute; inset: 0 14px 8px 0; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 19px; color: var(--brand); background: white; box-shadow: var(--shadow-sm); }
.shop-empty-window svg { width: 34px; height: 34px; }
.shop-empty-bag { position: absolute; right: 0; bottom: 0; display: grid; width: 44px; height: 44px; place-items: center; border: 4px solid #f5f5fa; border-radius: 14px; color: white; background: var(--brand); box-shadow: 0 8px 20px rgba(91,92,226,.24); }
.shop-empty-bag svg { width: 21px; height: 21px; }
.shop-empty h2 { margin: 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -.045em; }
.shop-empty p { max-width: 540px; margin: 14px auto 0; color: var(--muted); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shop-detail-return { padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.catalog-search { padding: clamp(18px, 3vw, 32px); }
.catalog-search-form { display: flex; align-items: center; gap: 12px; }
.catalog-search-form input { flex: 1; min-width: 0; margin: 0; }
.catalog-site { flex: 0 0 auto; margin: 0; }
.catalog-search-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.catalog-search-status { min-height: 48px; display: flex; align-items: center; color: var(--muted-strong); font-size: 13px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-card { display: flex; min-width: 0; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: white; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.catalog-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.catalog-card:disabled { cursor: wait; opacity: .7; }
.catalog-image { display: grid; width: 100%; aspect-ratio: 1; place-items: center; padding: 16px; background: #fafafa; }
.catalog-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.catalog-image svg { color: var(--muted); }
.catalog-card-body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 17px; }
.catalog-merchant { color: var(--brand-dark); font-size: 11px; font-weight: 700; }
.catalog-title { display: -webkit-box; min-height: 44px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.55; }
.catalog-price { font-size: 19px; font-weight: 800; letter-spacing: -.035em; }
.catalog-delivery { color: var(--muted); font-size: 11px; }
.catalog-open { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--brand-dark); font-size: 12px; font-weight: 700; }
.catalog-open svg { width: 15px; height: 15px; }
.catalog-empty { display: grid; min-height: 270px; justify-items: center; align-content: center; padding: 30px 15px; border-radius: 18px; background: var(--surface-soft); text-align: center; }
.catalog-empty-icon { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 17px; background: var(--brand-pale); color: var(--brand); }
.catalog-empty h2 { margin: 18px 0 6px; font-size: 22px; letter-spacing: -.04em; }
.catalog-empty p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; }
.catalog-loading .catalog-empty-icon { animation: catalog-pulse 1.2s ease-in-out infinite alternate; }
.catalog-alternatives { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-top: 26px; padding-top: 23px; border-top: 1px solid var(--line); }
.catalog-link-form { flex: 1; max-width: 620px; min-width: 0; }
.catalog-link-form label { display: block; margin-bottom: 9px; color: var(--muted-strong); font-size: 12px; }
.catalog-link-form > div { display: flex; gap: 8px; }
.catalog-link-form input { flex: 1; min-width: 0; margin: 0; font-size: 12px; }
.catalog-fallback-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 7px; }
@keyframes catalog-pulse { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .catalog-loading .catalog-empty-icon { animation: none; } }
@media (max-width: 1000px) { .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog-search-form { flex-wrap: wrap; gap: 9px; }
  .catalog-site { width: 100%; }
  .catalog-search-form .btn { padding-inline: 16px; }
  .catalog-card-body { padding: 13px; }
  .catalog-price { font-size: 17px; }
  .catalog-alternatives { align-items: stretch; flex-direction: column; }
  .catalog-fallback-actions { align-items: flex-start; }
}
@media (max-width: 390px) {
  .catalog-grid { gap: 9px; }
  .catalog-image { padding: 10px; }
  .catalog-card-body { padding: 10px; }
  .catalog-title { font-size: 12px; }
  .catalog-price { font-size: 15px; }
  .catalog-link-form > div { flex-direction: column; }
}
.mode-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 28px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(91,92,226,.1); border-radius: 999px; color: var(--brand-dark); background: var(--brand-pale); font-size: 11px; font-weight: 800; }
.pill svg { width: 13px; height: 13px; }

/* Cart and checkout */
.grid-two { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.sticky-card { position: sticky; top: 103px; }
.address-search-button { width: 100%; margin-top: 8px; }
.address-search-panel { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.address-search-panel[hidden] { display: none; }
.address-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.address-search-heading h3 { margin: 0; font-size: 15px; }
.address-search-close { flex: none; padding: 7px 12px; font-size: 12px; }
.address-search-help, .address-search-status { margin: 10px 0; color: var(--muted-strong); font-size: 12px; line-height: 1.6; }
.address-search-status:empty { display: none; }
.address-search-frame { width: 100%; min-width: 0; height: 400px; background: white; }
.address-search-frame iframe { max-width: 100%; border: 0; }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 20px; padding: 19px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-xs); transition: border-color .18s ease, box-shadow .18s ease; }
.cart-item:hover { border-color: rgba(91,92,226,.16); box-shadow: var(--shadow-sm); }
.product-thumb { display: grid; width: 104px; height: 104px; place-items: center; overflow: hidden; border-radius: 16px; color: var(--brand); background: linear-gradient(145deg, #f0f1ff, #e9eaff); font-size: 29px; }
.product-thumb svg { width: 31px; height: 31px; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-source { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 7px; color: var(--brand-dark); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.cart-source svg { width: 12px; height: 12px; }
.cart-item h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.43; letter-spacing: -.02em; }
.option-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.option-chip { padding: 5px 8px; border: 1px solid rgba(17,18,26,.05); border-radius: 8px; color: var(--muted-strong); background: var(--surface-soft); font-size: 11px; }
.item-price { display: flex; min-width: 104px; flex-direction: column; align-items: flex-end; justify-content: space-between; white-space: nowrap; text-align: right; }
.item-price strong { font-size: 17px; letter-spacing: -.02em; }
.empty-state { display: grid; min-height: 420px; place-items: center; padding: 54px 24px; text-align: center; }
.empty-state-inner { max-width: 480px; }
.empty-state-icon { display: grid; width: 78px; height: 78px; margin: 0 auto 21px; place-items: center; border-radius: 24px; color: var(--brand); background: var(--brand-pale); }
.empty-state-icon svg { width: 34px; height: 34px; }
.empty-state .emoji { font-size: 44px; }
.empty-state h2 { margin: 0 0 7px; font-size: 27px; letter-spacing: -.04em; }
.empty-state p { margin: 0 0 22px; color: var(--muted); }
.summary-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.summary-card-header h2 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.summary-card-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; color: var(--brand); background: var(--brand-pale); }
.summary-card-icon svg { width: 19px; height: 19px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; color: var(--muted-strong); font-size: 13px; }
.summary-row strong { color: var(--ink); }
.summary-row + .summary-row { border-top: 1px dashed var(--line-strong); }
.summary-row.total { margin-top: 10px; padding-top: 17px; border-top: 1px solid var(--line-strong); color: var(--ink); font-size: 18px; font-weight: 900; }
.summary-row.total strong { color: var(--brand-dark); font-size: 21px; }
.summary-note { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: #898c99; font-size: 10px; }
.secure-note svg { width: 13px; height: 13px; }
.skeleton { height: 18px; border-radius: 8px; background: linear-gradient(90deg, #ededf3, #f8f8fb, #ededf3); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.form-card .card-body { padding: 30px; }
.form-section + .form-section { margin-top: 31px; padding-top: 29px; border-top: 1px solid var(--line); }
.form-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.form-section-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: var(--brand-dark); background: var(--brand-pale); font-size: 12px; font-weight: 900; }
.form-section h2 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.form-section-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid rgba(17,18,26,.14);
  border-radius: 12px;
  color: var(--ink);
  background: #fdfdfe;
  outline: none;
  transition: border-color .17s ease, background .17s ease, box-shadow .17s ease;
}
.field textarea { min-height: 94px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a9abb5; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(91,92,226,.24); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); background: white; box-shadow: 0 0 0 4px rgba(91,92,226,.09); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; color: var(--muted-strong); font-size: 12px; }
.checkbox input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--brand); }
.checkbox a { color: var(--brand-dark); font-weight: 800; }

/* Modal and feedback */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(13,14,23,.62); backdrop-filter: blur(8px); }
.modal { width: min(650px, 100%); max-height: 88vh; overflow: auto; border: 1px solid rgba(255,255,255,.15); border-radius: 25px; background: white; box-shadow: 0 35px 110px rgba(0,0,0,.34); animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 21px 23px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.icon-button { display: grid; width: 37px; height: 37px; place-items: center; border: 0; border-radius: 11px; cursor: pointer; color: var(--muted-strong); background: var(--surface-soft); }
.icon-button:hover { color: var(--ink); background: #ececf2; }
.icon-button svg { width: 18px; height: 18px; }
.modal-body { padding: 24px; }
.modal-product { display: grid; grid-template-columns: 128px 1fr; gap: 20px; }
.modal-product .product-thumb { width: 128px; height: 128px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 23px; border-top: 1px solid var(--line); background: #fafafd; }
.toast-region { position: fixed; right: 22px; bottom: 22px; z-index: 130; display: grid; gap: 10px; width: min(390px, calc(100% - 44px)); }
.toast { position: relative; overflow: hidden; padding: 15px 17px 15px 45px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); animation: toast-in .22s ease-out; font-size: 13px; font-weight: 750; }
.toast::before { position: absolute; left: 17px; top: 16px; width: 17px; height: 17px; border-radius: 50%; color: white; background: var(--accent); content: "✓"; text-align: center; font-size: 11px; line-height: 17px; }
.toast.error { color: var(--danger); border-color: rgba(201,54,79,.18); background: #fff9fa; }
.toast.error::before { background: var(--danger); content: "!"; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }

.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.75); }
.footer-inner { display: flex; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; justify-content: space-between; gap: 40px; padding: 44px 0; }
.footer-brand .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
.footer-brand-block p { max-width: 450px; margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 19px; align-content: flex-start; padding-top: 7px; }
.site-footer nav a { color: var(--muted-strong); font-size: 12px; font-weight: 700; text-decoration: none; }
.site-footer nav a:hover { color: var(--brand-dark); }

/* Success */
.success-wrap { max-width: 790px; margin: 20px auto 0; }
.success-card { overflow: hidden; }
.success-top { padding: 44px 42px 36px; text-align: center; }
.success-icon { display: grid; width: 76px; height: 76px; margin: 0 auto 24px; place-items: center; border-radius: 25px; color: var(--accent-ink); background: var(--accent-pale); box-shadow: 0 12px 30px rgba(24,185,148,.12); }
.success-icon svg { width: 35px; height: 35px; }
.success-top h1 { margin: 0; font-size: clamp(32px, 5vw, 45px); letter-spacing: -.055em; }
.success-top > p { color: var(--muted); }
.success-summary { margin-top: 27px; padding: 21px; border-radius: 17px; background: var(--surface-soft); text-align: left; }
.success-next { padding: 28px 42px 38px; border-top: 1px solid var(--line); background: #fdfdfe; }
.success-next h2 { margin: 0 0 15px; font-size: 18px; }
.success-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.success-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; }
.success-list-index { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 7px; color: var(--brand-dark); background: var(--brand-pale); font-size: 10px; font-weight: 900; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 74px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(620px, 100%); min-height: 500px; margin: 0 auto; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .trust-item { min-height: 76px; padding: 16px 20px; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); border-left: 0; }
  .grid-two { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .feature-card { grid-column: span 6; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .shop-frame-wrap { height: 65vh; min-height: 510px; }
}

@media (max-width: 760px) {
  .header-inner { width: calc(100% - 28px); min-height: 68px; }
  .brand-copy small { display: none; }
  .nav-link-muted { display: none; }
  .nav-link { padding: 8px 9px; font-size: 13px; }
  .cart-link { min-height: 39px; margin-left: 1px; padding-left: 10px; }
  .cart-label { display: none; }
  .page, .hero-inner, .section-inner, .trust-strip-inner, .cta-card, .footer-inner { width: min(100% - 28px, var(--max)); }
  .page { padding: 38px 0 68px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 23px; }
  .page-heading h1 { font-size: 39px; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1; }
  .hero-inner { gap: 36px; padding: 64px 0 68px; }
  .hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 430px; }
  .browser-mock { inset: 20px 4px 30px 8px; }
  .mock-success { left: -4px; }
  .mock-checkout { right: -4px; width: 205px; }
  .section { padding: 70px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 30px; }
  .section-title { font-size: 35px; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .feature-card, .feature-card:last-child { grid-column: 1 / -1; min-height: 220px; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 38px 30px; }
  .cta-card .btn { width: 100%; }
  .shop-stepper { overflow-x: auto; padding-bottom: 4px; }
  .shop-step { flex: 0 0 auto; }
  .shop-toolbar { flex-wrap: wrap; }
  .toolbar-window-dots { display: none; }
  .shop-source { order: 3; flex-basis: 100%; margin-left: 0; }
  .shop-frame-wrap { min-height: 510px; height: 67vh; }
  .shop-actionbar { align-items: stretch; flex-direction: column; }
  .shop-actionbar .btn { width: 100%; }
  .shop-empty { min-height: 500px; padding-inline: 23px; }
  .cart-item { grid-template-columns: 82px 1fr; gap: 14px; }
  .product-thumb { width: 82px; height: 82px; }
  .item-price { grid-column: 1 / -1; min-width: 0; flex-direction: row; align-items: center; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card .card-body { padding: 23px; }
  .modal-product { grid-template-columns: 1fr; }
  .modal-product .product-thumb { width: 100%; height: 210px; }
  .footer-inner { flex-direction: column; padding: 37px 0; }
  .success-top, .success-next { padding-inline: 25px; }
}

@media (max-width: 440px) {
  .brand-mark { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 15px; }
  .hero h1 { font-size: 43px; }
  .hero-visual { min-height: 385px; }
  .browser-mock { inset: 15px 0 28px; }
  .mock-products { grid-template-columns: 1fr 1fr; gap: 8px; padding-inline: 12px; }
  .mock-product-visual { height: 105px; font-size: 40px; }
  .mock-storebar { padding-inline: 13px; }
  .mock-search { margin-inline: 13px; }
  .mock-checkout { width: 185px; padding: 14px; }
  .mock-success { top: -5px; }
  .section-title { font-size: 31px; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .product-thumb { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.nav-link[aria-current="page"] { color: var(--brand-dark); background: var(--brand-pale); }
.cart-link[aria-current="page"] { background: var(--brand-dark); }
.btn-secondary .count-badge { color: white; background: var(--ink); }
.brand-mark > svg { position: relative; z-index: 1; }
