/* Facevalue: original, dependency-free storefront design. */
:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --white: #fff;
  --forest: #153f32;
  --forest-dark: #102c24;
  --ink: #182b26;
  --muted: #54675e;
  --lime: #dafa8d;
  --line: #dce3db;
  --soft: #eaf0e8;
  --danger: #9c3023;
  --radius: 18px;
  --shadow: 0 10px 30px rgb(24 43 38 / 6%);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 0; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .65; }
input, select, textarea { max-width: 100%; color: var(--ink); }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.35rem; }
:focus-visible { outline: 3px solid #3c6d04; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--forest); color: white; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.demo-banner { padding: 8px 24px; text-align: center; font-size: 12px; font-weight: 600; background: var(--forest-dark); color: #f2f7ef; letter-spacing: .015em; }
.demo-banner a { color: var(--lime); }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: auto; min-height: 90px; padding: 20px 40px; display: flex; align-items: center; gap: 40px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--forest-dark); font-size: 28px; font-weight: 750; letter-spacing: -1.6px; text-decoration: none; flex-shrink: 0; }
.wordmark:hover { text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 35px; height: 35px; background: var(--forest); color: var(--lime); border-radius: 10px; letter-spacing: 0; }
.brand-symbol svg { width: 24px; height: 24px; }
.top-nav { display: flex; align-items: center; gap: 26px; flex: 1; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 6px; color: #53645b; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; position: relative; }
.nav-link:hover, .nav-link.active, .nav-link[aria-current="page"], .nav-link[data-active="true"] { color: var(--forest); }
.nav-link.active::after, .nav-link[aria-current="page"]::after, .nav-link[data-active="true"]::after { content: ''; position: absolute; height: 3px; border-radius: 3px; background: var(--forest); left: 0; right: 0; bottom: -23px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 0 13px; min-height: 44px; color: #64776b; width: 238px; }
.search-box:focus-within { outline: 2px solid var(--forest); outline-offset: 2px; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: 13px; }
.search-box input::placeholder { color: #617269; opacity: 1; }
.cart-trigger { display: inline-flex; position: relative; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; color: var(--forest); }
.cart-trigger:hover { background: var(--soft); }
.cart-count, .cart-trigger .count { background: var(--forest); color: white; min-width: 20px; min-height: 20px; border-radius: 20px; display: grid; place-items: center; font-size: 11px; padding: 1px 5px; }
.page-shell { max-width: 1280px; margin: auto; padding: 0 40px 70px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; min-height: 382px; padding: 50px 0 44px; gap: 35px; }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--forest); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 17px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--forest); border-radius: 50%; }
.hero-title { font-size: clamp(40px, 4.4vw, 57px); letter-spacing: -2.6px; line-height: 1.06; margin-bottom: 20px; max-width: 660px; }
.hero-title span, .hero-title em { color: var(--forest); font-style: normal; }
.hero-description { max-width: 490px; color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 25px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 19px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: 13px; line-height: 1.4; text-decoration: none; transition: background-color .15s, box-shadow .15s, transform .15s; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button-primary { color: var(--ink); background: var(--lime); border-color: #c0df79; }
.button-primary:hover { background: #cbee79; box-shadow: 0 4px 10px rgb(21 63 50 / 10%); }
.button-secondary { color: white; background: var(--forest); border-color: var(--forest); }
.button-secondary:hover { color: white; background: var(--forest-dark); }
.button-ghost { color: var(--forest); background: #fff; border-color: var(--line); }
.button-ghost:hover { background: var(--soft); }
.button.full-width, .full-width { width: 100%; }
.button-danger { color: var(--danger); background: #fff4f0; border-color: #e5c8bf; }
.hero-art { height: 270px; position: relative; isolation: isolate; width: 100%; min-width: 0; }
.hero-art::before { content: ''; position: absolute; width: 275px; height: 275px; left: 50%; top: -4px; transform: translateX(-50%); background: #e6eddd; border-radius: 50%; z-index: -1; }
.hero-art::after { content: '+'; position: absolute; left: 8%; top: 22px; font-size: 24px; color: #779165; transform: rotate(15deg); }
.floating-card { position: absolute; width: 210px; height: 137px; border-radius: 13px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; box-shadow: 0 14px 25px rgb(24 43 38 / 17%); font-weight: 700; font-size: 25px; line-height: 1.1; letter-spacing: -1px; }
.floating-card small { font-size: 9px; font-weight: 400; letter-spacing: 1.4px; text-transform: uppercase; }
.floating-card .card-value { font-size: 13px; letter-spacing: 0; }
.card-amazon { background: #f7b547; color: #17212b; top: 15px; left: 2%; transform: rotate(-12deg); z-index: 1; }
.card-amazon::after { content: ''; position: absolute; left: 24px; top: 50px; height: 12px; width: 74px; border-bottom: 3px solid #17212b; border-radius: 0 0 55% 55%; transform: rotate(-6deg); }
.card-apple { background: #252626; color: #fff; left: 46%; top: 24px; transform: rotate(12deg); z-index: 2; }
.card-apple .apple-mark { font-size: 35px; line-height: 1; }
.card-starbucks { background: #006b47; color: #fff; top: 115px; left: 25%; transform: rotate(-3deg); z-index: 3; }
.card-starbucks .starbucks-mark { display: grid; place-items: center; border: 2px solid #fff; width: 47px; height: 47px; border-radius: 50%; margin: auto; }
.trust-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 27px; background: #eef2e9; border: 1px solid #e0e7da; border-radius: 11px; margin: 0 0 39px; }
.trust-item { display: flex; gap: 12px; align-items: center; color: var(--forest); font-size: 12px; font-weight: 600; }
.trust-item svg { width: 21px; height: 21px; }
.trust-item strong { display: block; font-size: 12px; }
.trust-item small { display: block; font-size: 11px; font-weight: 400; color: #576a5e; }

.catalog-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 34px; align-items: start; }
.sidebar { min-width: 0; padding-top: 2px; }
.sidebar-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #6a7b6f; margin-bottom: 16px; padding-left: 13px; }
.sidebar nav, .sidebar-categories { display: grid; gap: 4px; }
.category-button { width: 100%; display: flex; align-items: center; text-align: left; min-height: 45px; gap: 12px; padding: 10px 12px; border: 1px solid transparent; background: transparent; border-radius: 8px; color: #56695d; font-size: 12px; font-weight: 600; }
.category-button:hover { background: #ecf0e8; color: var(--forest); }
.category-button.active, .category-button[aria-pressed="true"], .category-button[aria-current="true"], .category-button[data-active="true"] { background: var(--forest); color: white; }
.category-button svg { width: 18px; height: 18px; }
.category-count { margin-left: auto; font-size: 10px; font-weight: 400; color: inherit; opacity: .95; }
.sidebar-note { margin-top: 28px; padding: 18px 15px; border: 1px solid var(--line); border-radius: 11px; background: #f0f3eb; font-size: 11px; line-height: 1.6; color: var(--muted); }
.sidebar-note strong { display: block; color: var(--forest); font-size: 12px; margin: 7px 0; }
.catalog-main { min-width: 0; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-title { font-size: 24px; letter-spacing: -.8px; margin: 0 0 3px; line-height: 1.3; }
.result-count { color: #627267; font-size: 11px; margin: 0; }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #5b6f60; }
.sort-select select, select.sort-select { min-height: 44px; min-width: 150px; padding: 9px 30px 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 12px; font-weight: 600; color: var(--ink); }
.filter-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 21px; }
.filter-chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 13px; border-radius: 24px; border: 1px solid var(--line); background: transparent; color: #526559; font-size: 11px; font-weight: 600; }
.filter-chip:hover { background: #eaf0e3; }
.filter-chip.active, .filter-chip[aria-pressed="true"], .filter-chip[data-active="true"] { background: #e8f2d7; color: #24491a; border-color: #a9c687; }
.gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gift-card { position: relative; min-width: 0; border-radius: 12px; overflow: hidden; background: white; border: 1px solid var(--line); box-shadow: 0 2px 3px rgb(24 43 38 / 2%); transition: box-shadow .15s, transform .15s, border-color .15s; }
.gift-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c1cebd; }
.brand-art { height: 146px; padding: 22px; display: grid; place-items: center; position: relative; background: var(--brand-bg, #edf0e9); color: var(--brand-ink, #182b26); overflow: hidden; }
.brand-art::after { content: ''; position: absolute; width: 150px; height: 150px; right: -68px; bottom: -90px; border: 24px solid currentColor; opacity: .045; border-radius: 50%; pointer-events: none; }
.brand-logo { text-align: center; font-size: 29px; letter-spacing: -1px; font-weight: 700; max-width: 100%; position: relative; z-index: 1; line-height: 1.1; }
.brand-logo svg { width: 40px; height: 40px; margin-bottom: 5px; }
.brand-logo small { display: block; font-size: 9px; letter-spacing: 2px; font-weight: 400; margin-top: 9px; }
.brand-tag { position: absolute; left: 12px; top: 12px; border-radius: 5px; padding: 4px 7px; background: #fff; color: var(--ink); border: 1px solid rgb(24 43 38 / 9%); font-size: 9px; font-weight: 700; z-index: 2; }
.brand-art--amazon, .brand-art[data-brand="amazon"] { background: #f5e7d3; color: #202a32; }
.brand-art--apple, .brand-art[data-brand="apple"] { background: #eef0f1; color: #252626; }
.brand-art--starbucks, .brand-art[data-brand="starbucks"] { background: #dcebe0; color: #006241; }
.brand-art--flipkart, .brand-art[data-brand="flipkart"] { background: #e6edf8; color: #1956a1; }
.brand-art--myntra, .brand-art[data-brand="myntra"] { background: #fae5e6; color: #a32343; }
.brand-art--zomato, .brand-art[data-brand="zomato"] { background: #fae2e2; color: #b02235; }
.brand-art--swiggy, .brand-art[data-brand="swiggy"] { background: #f8e8d8; color: #bd510e; }
.brand-art--uber, .brand-art[data-brand="uber"] { background: #e6e8e7; color: #182522; }
.gift-info { padding: 17px 16px 15px; }
.gift-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.gift-heading h3 { margin: 0; font-size: 14px; line-height: 1.5; letter-spacing: -.2px; }
.gift-heading a { color: inherit; text-decoration: none; }
.gift-heading a:hover { text-decoration: underline; }
.gift-price { color: var(--forest); font-weight: 700; font-size: 11px; white-space: nowrap; padding-top: 3px; }
.gift-meta { color: #68766b; font-size: 10px; line-height: 1.6; margin: 0 0 13px; }
.gift-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gift-footer .button { min-height: 44px; padding: 10px 13px; font-size: 11px; border-radius: 6px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; background: white; min-width: 44px; min-height: 44px; padding: 9px; color: #556b5b; text-decoration: none; }
.icon-button:hover { background: var(--soft); color: var(--forest); }
.favorite-button { position: absolute; z-index: 3; right: 10px; top: 10px; min-height: 44px; min-width: 44px; border: 0; background: rgb(255 255 255 / 95%); border-radius: 50%; }
.favorite-button[aria-pressed="true"] { color: #9c3023; }
.favorite-button[aria-pressed="true"] svg { fill: #ffe3db; }
.term-pill { display: inline-flex; align-items: center; gap: 4px; border-radius: 4px; background: #edf4e7; color: #365327; padding: 4px 6px; font-size: 9px; line-height: 1.3; font-weight: 600; }
.term-pill svg { width: 11px; height: 11px; }
.term-pill.unverified, .term-pill.unknown { background: #f5ecd9; color: #77501c; }
.mobile-filter-toggle { display: none; }
.empty-state { grid-column: 1 / -1; text-align: center; background: #fff; border: 1px dashed #c5d2c0; padding: 60px 24px; border-radius: 14px; color: var(--muted); }
.empty-state > svg { color: var(--forest); margin-bottom: 16px; width: 42px; height: 42px; }
.empty-state h2, .empty-state h3 { margin-bottom: 8px; }
.empty-state p { max-width: 420px; margin: 0 auto 20px; font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); background: #edf1e8; }
.footer-inner { max-width: 1280px; margin: auto; padding: 31px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; font-size: 11px; color: #536859; }
.footer-inner .wordmark { font-size: 23px; }
.footer-inner .brand-symbol { width: 29px; height: 29px; border-radius: 8px; }
.footer-inner p { margin: 0; line-height: 1.8; max-width: 470px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 17px; }
.footer-links a { min-height: 44px; display: flex; align-items: center; font-size: 11px; font-weight: 600; }
.toast-stack { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: grid; gap: 10px; width: min(380px, calc(100% - 44px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; border: 1px solid #335949; border-radius: 10px; color: white; background: var(--forest-dark); padding: 14px 17px; font-size: 13px; box-shadow: 0 8px 25px rgb(16 44 36 / 20%); pointer-events: auto; }
.toast svg { color: var(--lime); }
.toast .icon-button { margin-left: auto; background: transparent; border-color: #456458; color: white; }
.toast.error { background: #722e25; border-color: #a66250; }

.dialog-backdrop { position: fixed; inset: 0; display: grid; place-items: center; z-index: 80; background: rgb(13 33 25 / 54%); padding: 24px; backdrop-filter: blur(3px); }
.dialog-panel { width: min(870px, 100%); max-height: calc(100dvh - 48px); overflow: auto; background: var(--paper); border-radius: 18px; border: 1px solid #dbe3d6; box-shadow: 0 24px 80px rgb(0 20 10 / 25%); }
.dialog-panel.small { max-width: 570px; }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 25px 28px 17px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 24px; line-height: 1.3; margin: 0; letter-spacing: -.6px; }
.dialog-header p { font-size: 12px; margin: 4px 0 0; color: var(--muted); }
.dialog-close { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--forest); flex-shrink: 0; margin-top: -4px; }
.dialog-close:hover { background: var(--soft); }
.dialog-body { padding: 25px 28px; }
.dialog-footer { padding: 19px 28px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; justify-content: flex-end; background: #eff2eb; }
.detail-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 27px; align-items: start; }
.detail-art { border-radius: 13px; min-height: 215px; height: 215px; display: grid; place-items: center; padding: 26px; background: var(--brand-bg, #e5ecdf); color: var(--brand-ink, var(--forest)); margin-bottom: 16px; }
.detail-art .brand-logo { font-size: 42px; }
.detail-layout h3 { font-size: 16px; margin-bottom: 10px; }
.detail-description { font-size: 13px; color: var(--muted); }
.amount-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 11px 0 18px; }
.amount-option { min-height: 44px; background: white; border: 1px solid #c8d4c3; border-radius: 7px; font-size: 12px; font-weight: 700; padding: 10px 8px; }
.amount-option:hover { background: #eef6e3; }
.amount-option.selected, .amount-option[aria-pressed="true"] { background: #e3f2d0; border: 2px solid var(--forest); color: var(--forest-dark); padding: 9px 7px; }
.field { display: grid; gap: 6px; margin-bottom: 17px; min-width: 0; }
.field-label { font-size: 12px; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field-label .optional { color: var(--muted); font-weight: 400; font-size: 11px; }
.field-input { display: block; width: 100%; min-height: 46px; background: white; border: 1px solid #becbbb; border-radius: 8px; padding: 11px 13px; font-size: 13px; }
.field-input::placeholder { color: #6b786f; opacity: 1; }
textarea.field-input { min-height: 100px; resize: vertical; }
.field-input[aria-invalid="true"] { border: 2px solid var(--danger); padding: 10px 12px; }
.field-hint { font-size: 11px; color: #5d6f63; margin: 0; }
.terms-grid { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; background: white; overflow: hidden; margin-top: 15px; }
.term-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 13px; font-size: 11px; line-height: 1.5; border-bottom: 1px solid #e5eae1; }
.term-row:last-child { border-bottom: 0; }
.term-row > :last-child { max-width: 55%; text-align: right; }
.status-yes, .status-no, .status-unknown { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 10px; white-space: nowrap; }
.status-yes { color: #285421; }
.status-no { color: #942c25; }
.status-unknown { color: #77501c; }
.source-note { font-size: 10px; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.source-note a { overflow-wrap: anywhere; }
.inline-note { display: flex; align-items: flex-start; gap: 9px; background: #edf3e6; border: 1px solid #d1e0c7; border-radius: 8px; color: #38502e; padding: 12px 13px; font-size: 11px; line-height: 1.6; margin: 13px 0; }
.inline-note p { margin: 0; }
.inline-note.warning { background: #fbf2df; border-color: #e5d4b0; color: #704c15; }
.error-message { color: var(--danger); font-size: 12px; font-weight: 600; margin: 7px 0; }

.page-heading { padding: 42px 0 27px; }
.page-heading h1 { margin: 0 0 8px; font-size: 35px; letter-spacing: -1.3px; line-height: 1.15; }
.page-heading p { color: var(--muted); font-size: 14px; max-width: 680px; margin: 0; }
.page-heading .eyebrow { margin-bottom: 11px; }
.page-heading .back-link { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; min-height: 44px; margin-bottom: 12px; }
.cart-layout, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .85fr); gap: 28px; align-items: start; }
.cart-items { display: grid; gap: 13px; }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 18px; background: white; border: 1px solid var(--line); border-radius: 13px; padding: 18px; }
.cart-item .brand-art { height: 76px; border-radius: 7px; padding: 8px; }
.cart-item .brand-logo { font-size: 18px; }
.cart-item h3 { font-size: 15px; margin: 0 0 4px; }
.cart-item p { margin: 0 0 6px; font-size: 11px; color: var(--muted); }
.cart-item-price { font-weight: 700; color: var(--forest); font-size: 16px; }
.cart-item-actions { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; }
.quantity-control .icon-button { border: 0; background: transparent; }
.quantity-control span { min-width: 22px; text-align: center; font-weight: 700; font-size: 12px; }
.cart-summary { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 24px; position: sticky; top: 24px; }
.cart-summary h2, .cart-summary h3 { margin: 0 0 18px; font-size: 19px; letter-spacing: -.5px; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; font-size: 12px; color: var(--muted); margin-bottom: 11px; }
.summary-row > :last-child { color: var(--ink); font-weight: 600; text-align: right; }
.summary-row.total, .checkout-total { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 19px; font-weight: 700; font-size: 16px; color: var(--ink); }
.checkout-total { display: flex; align-items: center; justify-content: space-between; }
.checkout-total strong { font-size: 23px; color: var(--forest); letter-spacing: -.7px; }
.cart-summary .button { width: 100%; margin-top: 14px; }
.cart-summary .inline-note { margin-bottom: 0; }
.form-card, .payment-card, .content-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 18px; }
.form-card h2, .payment-card h2, .content-card h2 { font-size: 20px; letter-spacing: -.5px; margin-bottom: 19px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.payment-option { min-height: 95px; padding: 15px; display: flex; align-items: flex-start; gap: 12px; background: white; border: 1px solid #cbd7c5; border-radius: 9px; text-align: left; }
.payment-option:hover { background: #f3f7ed; }
.payment-option.selected, .payment-option[aria-pressed="true"], .payment-option:has(input:checked) { border: 2px solid var(--forest); background: #f0f7e7; padding: 14px; }
.payment-option input { accent-color: var(--forest); margin-top: 4px; width: 16px; height: 16px; }
.payment-icon { display: grid; place-items: center; width: 35px; height: 35px; background: #e6eddf; border-radius: 7px; color: var(--forest); flex-shrink: 0; }
.payment-option strong { font-size: 12px; display: block; }
.payment-option small { font-size: 10px; color: var(--muted); display: block; margin-top: 5px; line-height: 1.5; }
.steps { display: flex; align-items: center; gap: 25px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 11px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 7px; }
.steps li > span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #b8c7b0; border-radius: 50%; font-size: 10px; font-weight: 700; background: #fff; }
.steps .active { color: var(--forest); font-weight: 700; }
.steps .active > span { color: var(--ink); background: var(--lime); border-color: #a7c26c; }
.steps .complete > span { color: white; background: var(--forest); border-color: var(--forest); }
.success-state { text-align: center; padding: 34px 20px; background: #eef5e6; border: 1px solid #cbdec0; border-radius: 16px; margin: 35px auto 27px; max-width: 760px; }
.success-state > svg, .success-icon { display: inline-grid; place-items: center; color: var(--forest); width: 62px; height: 62px; background: var(--lime); border-radius: 50%; padding: 15px; margin-bottom: 18px; }
.success-state h1, .success-state h2 { margin-bottom: 10px; font-size: 30px; letter-spacing: -1px; }
.success-state p { font-size: 13px; color: var(--muted); max-width: 510px; margin: 0 auto 20px; }
.success-state .hero-actions { justify-content: center; }

.view-tabs { display: flex; align-items: center; gap: 6px; padding: 5px; background: #e9efe3; border-radius: 9px; width: fit-content; margin-bottom: 25px; }
.view-tabs button, .view-tabs a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 19px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #5d705f; font-size: 12px; font-weight: 700; text-decoration: none; }
.view-tabs .active, .view-tabs [aria-selected="true"], .view-tabs [aria-current="page"] { background: white; color: var(--forest); border-color: #d3ddc9; box-shadow: 0 2px 4px rgb(21 63 50 / 4%); }
.order-list, .email-list { display: grid; gap: 15px; }
.order-card, .email-card { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 24px; }
.order-header, .email-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.order-header h2, .email-header h2 { font-size: 17px; letter-spacing: -.3px; margin: 0 0 6px; }
.order-header p, .email-header p { color: var(--muted); margin: 0; font-size: 11px; }
.order-status { font-size: 10px; font-weight: 700; background: #e9f2df; color: #365928; padding: 5px 9px; border-radius: 20px; white-space: nowrap; }
.order-details { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 25px; padding: 14px 0; border-top: 1px solid #e7ece3; border-bottom: 1px solid #e7ece3; font-size: 12px; }
.order-details p { margin: 0; }
.order-actions, .email-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.code-box { background: #f1f4ec; border: 1px solid #d0dcc7; border-radius: 7px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; margin: 12px 0; }
.code-box code { overflow-wrap: anywhere; font-size: 14px; font-weight: 700; color: var(--forest); }
.email-body { border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.email-body h3 { font-size: 17px; margin-bottom: 10px; }
.email-body .gift-code, .email-body pre { padding: 14px; background: #f0f5e9; border-radius: 8px; color: var(--forest); white-space: pre-wrap; overflow-wrap: anywhere; }
.about-copy { max-width: 790px; line-height: 1.8; font-size: 14px; }
.about-copy h2 { margin-top: 29px; font-size: 22px; }

@media (min-width: 1450px) {
  .header-inner, .page-shell, .footer-inner { max-width: 1320px; }
  .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-art { height: 157px; }
}
@media (max-width: 1120px) {
  .header-inner { gap: 25px; padding-inline: 28px; }
  .top-nav { gap: 18px; }
  .search-box { width: 195px; }
  .page-shell { padding-inline: 28px; }
  .catalog-layout { grid-template-columns: 174px minmax(0, 1fr); gap: 24px; }
  .gift-grid { gap: 15px; }
  .gift-info { padding-inline: 13px; }
  .gift-heading { flex-wrap: wrap; gap: 2px; }
  .gift-price { padding-top: 0; }
  .hero { gap: 20px; }
  .floating-card { width: 185px; height: 125px; }
  .card-apple { left: 43%; }
  .hero-title { font-size: 48px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 12px 24px; }
  .wordmark { margin-right: auto; }
  .top-nav { order: 3; width: 100%; flex-basis: 100%; justify-content: flex-start; }
  .nav-link.active::after, .nav-link[aria-current="page"]::after { bottom: -20px; }
  .header-actions { gap: 10px; }
  .search-box { width: 260px; }
  .hero-title { font-size: 44px; letter-spacing: -2px; }
  .hero { min-height: 345px; }
  .hero-art { height: 240px; }
  .hero-art::before { width: 235px; height: 235px; }
  .floating-card { width: 158px; height: 111px; padding: 16px; font-size: 22px; }
  .card-amazon { left: 0; }
  .card-apple { left: 45%; }
  .card-starbucks { top: 112px; left: 23%; }
  .trust-strip { gap: 14px; padding-inline: 18px; }
  .trust-item { gap: 8px; font-size: 11px; }
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-art { height: 155px; }
  .footer-inner { padding-inline: 28px; flex-wrap: wrap; }
  .cart-layout, .checkout-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
  .cart-item { grid-template-columns: 75px minmax(0, 1fr); gap: 13px; }
  .cart-item > :last-child { grid-column: 2; }
  .cart-summary { padding: 19px; }
  .payment-options { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .demo-banner { font-size: 10px; padding: 8px 18px; }
  .header-inner { padding: 17px 22px; gap: 8px 16px; }
  .wordmark { font-size: 25px; }
  .brand-symbol { width: 32px; height: 32px; }
  .top-nav { gap: 22px; }
  .nav-link { font-size: 12px; }
  .nav-link.active::after, .nav-link[aria-current="page"]::after, .nav-link[data-active="true"]::after { bottom: -17px; }
  .search-box { width: 215px; }
  .cart-trigger { padding-inline: 10px; }
  .page-shell { padding: 0 22px 48px; }
  .hero { padding: 35px 0 30px; gap: 14px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 320px; }
  .hero-title { font-size: 36px; letter-spacing: -1.7px; }
  .hero-description { font-size: 13px; line-height: 1.7; margin-bottom: 18px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.1px; margin-bottom: 12px; }
  .hero-art { height: 210px; }
  .hero-art::before { width: 180px; height: 180px; top: 15px; }
  .floating-card { width: 135px; height: 94px; padding: 13px; font-size: 19px; border-radius: 9px; }
  .floating-card small { font-size: 7px; }
  .card-amazon { top: 18px; left: 0; }
  .card-apple { left: 42%; top: 40px; }
  .card-starbucks { top: 112px; left: 19%; }
  .card-amazon::after { width: 55px; left: 17px; top: 36px; }
  .card-starbucks .starbucks-mark { width: 30px; height: 30px; }
  .trust-strip { flex-wrap: wrap; justify-content: flex-start; gap: 17px 30px; padding: 17px 18px; margin-bottom: 27px; }
  .trust-item { flex: 1 1 40%; }
  .trust-item small { font-size: 10px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 17px; }
  .sidebar { display: none; }
  .sidebar.mobile-open { display: block; border: 1px solid var(--line); padding: 16px; border-radius: 10px; background: white; }
  .sidebar.mobile-open nav, .sidebar.mobile-open .sidebar-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-note { display: none; }
  .mobile-filter-toggle { display: inline-flex; }
  .catalog-toolbar { gap: 12px; flex-wrap: wrap; }
  .section-title { font-size: 23px; }
  .sort-select { margin-left: auto; }
  .filter-chips { gap: 7px; margin-bottom: 17px; }
  .gift-grid { gap: 17px; }
  .gift-heading { flex-wrap: nowrap; }
  .gift-info { padding: 15px; }
  .brand-art { height: 160px; }
  .footer-inner { padding: 27px 22px; gap: 19px; }
  .footer-inner p { order: 3; max-width: 100%; flex-basis: 100%; }
  .dialog-backdrop { padding: 16px; }
  .dialog-panel { max-height: calc(100dvh - 32px); border-radius: 14px; }
  .dialog-header, .dialog-body, .dialog-footer { padding-left: 21px; padding-right: 21px; }
  .detail-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; }
  .detail-art { height: 180px; min-height: 180px; }
  .detail-art .brand-logo { font-size: 31px; }
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 95px minmax(0, 1fr) auto; }
  .cart-item > :last-child { grid-column: auto; }
  .payment-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-heading { padding-top: 30px; }
  .page-heading h1 { font-size: 31px; }
}
@media (max-width: 540px) {
  .header-inner { padding: 15px 18px 13px; }
  .wordmark { font-size: 25px; }
  .header-actions { display: contents; }
  .header-actions .cart-trigger { margin-left: auto; }
  .header-actions .search-box { display: flex; width: 100%; order: 4; margin-top: 9px; }
  .header-search-mobile { display: flex; width: 100%; order: 4; margin-top: 10px; }
  .top-nav { gap: 22px; width: 100%; overflow: auto; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  .nav-link { font-size: 11px; min-height: 39px; flex-shrink: 0; }
  .nav-link.active::after, .nav-link[aria-current="page"]::after, .nav-link[data-active="true"]::after { bottom: 0; }
  .page-shell { padding-inline: 18px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 30px; gap: 18px; }
  .hero-copy { max-width: 100%; }
  .hero-title { max-width: 370px; font-size: 39px; letter-spacing: -1.7px; margin-bottom: 15px; }
  .hero-description { max-width: 380px; }
  .hero-actions .button { min-height: 44px; font-size: 12px; padding: 11px 15px; }
  .hero-art { align-self: center; height: 198px; width: 320px; max-width: 100%; margin-top: 5px; }
  .hero-art::before { width: 196px; height: 196px; top: 0; }
  .floating-card { width: 150px; height: 100px; font-size: 20px; }
  .card-amazon { left: 1%; top: 9px; }
  .card-apple { left: 48%; top: 22px; }
  .card-starbucks { left: 29%; top: 90px; }
  .trust-strip { gap: 14px 13px; padding: 15px 13px; }
  .trust-item { align-items: flex-start; gap: 7px; font-size: 10px; }
  .trust-item strong { font-size: 10px; }
  .trust-item svg { width: 17px; height: 17px; }
  .trust-item small { font-size: 9px; }
  .catalog-toolbar { column-gap: 8px; row-gap: 12px; }
  .catalog-toolbar > :first-child { flex: 1; }
  .section-title { font-size: 22px; }
  .sort-select { font-size: 10px; gap: 5px; margin-left: 0; }
  .sort-select select, select.sort-select { min-width: 135px; font-size: 11px; }
  .gift-grid { gap: 12px; }
  .brand-art { height: 125px; padding: 14px; }
  .brand-logo { font-size: 23px; }
  .brand-logo small { font-size: 7px; letter-spacing: 1px; }
  .brand-tag { left: 8px; top: 8px; font-size: 8px; padding: 3px 5px; }
  .favorite-button { top: 3px; right: 3px; background: transparent; }
  .favorite-button svg { width: 17px; height: 17px; }
  .gift-info { padding: 12px; }
  .gift-heading { display: block; margin-bottom: 6px; }
  .gift-heading h3 { font-size: 12px; }
  .gift-price { font-size: 10px; display: block; margin-top: 2px; }
  .gift-meta { font-size: 9px; margin-bottom: 9px; }
  .gift-footer { flex-wrap: wrap; gap: 9px; }
  .gift-footer .button { width: 100%; font-size: 10px; }
  .term-pill { font-size: 8px; }
  .footer-inner { padding-inline: 18px; gap: 15px; }
  .footer-inner .wordmark { width: 100%; }
  .footer-links { gap: 18px; }
  .dialog-backdrop { padding: 10px; }
  .dialog-panel { max-height: calc(100dvh - 20px); border-radius: 13px; }
  .dialog-header { padding: 18px 17px 15px; }
  .dialog-header h2 { font-size: 22px; }
  .dialog-body { padding: 19px 17px; }
  .dialog-footer { padding: 15px 17px; flex-wrap: wrap; }
  .dialog-footer .button { flex: 1; }
  .detail-layout { grid-template-columns: 1fr; gap: 14px; }
  .detail-art { height: 145px; min-height: 145px; margin-bottom: 12px; }
  .detail-art .brand-logo { font-size: 35px; }
  .amount-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .term-row { font-size: 10px; }
  .page-heading { padding-top: 29px; padding-bottom: 22px; }
  .page-heading h1 { font-size: 29px; }
  .page-heading p { font-size: 12px; }
  .cart-item { grid-template-columns: 74px minmax(0, 1fr); padding: 15px; gap: 12px; }
  .cart-item > :last-child { grid-column: 2; }
  .cart-item .brand-art { height: 62px; }
  .cart-item .brand-logo { font-size: 16px; }
  .cart-item h3 { font-size: 13px; }
  .cart-item-price { font-size: 14px; }
  .form-card, .payment-card, .content-card { padding: 19px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .payment-option { gap: 8px; padding: 12px; min-height: 99px; }
  .payment-option.selected, .payment-option[aria-pressed="true"], .payment-option:has(input:checked) { padding: 11px; }
  .payment-icon { width: 29px; height: 29px; }
  .payment-icon svg { width: 18px; height: 18px; }
  .payment-option strong { font-size: 11px; }
  .payment-option small { font-size: 9px; }
  .steps { gap: 12px; font-size: 10px; }
  .steps li { gap: 5px; }
  .steps li > span { width: 23px; height: 23px; }
  .success-state { padding: 28px 16px; }
  .success-state h1, .success-state h2 { font-size: 25px; }
  .success-state p { font-size: 12px; }
  .order-card, .email-card { padding: 18px; }
  .order-header, .email-header { gap: 12px; flex-wrap: wrap; }
  .order-header h2, .email-header h2 { font-size: 15px; }
  .order-actions .button, .email-actions .button { font-size: 11px; padding-inline: 11px; }
  .view-tabs { width: 100%; }
  .view-tabs button, .view-tabs a { flex: 1; padding-inline: 10px; }
  .toast-stack { right: 15px; bottom: 15px; width: calc(100% - 30px); }
}
@media (max-width: 359px) {
  .page-shell { padding-inline: 14px; }
  .header-inner { padding-inline: 14px; }
  .top-nav { gap: 17px; }
  .hero-title { font-size: 35px; }
  .hero-art { width: 282px; }
  .floating-card { width: 138px; }
  .card-apple { left: 46%; }
  .gift-grid { gap: 9px; }
  .gift-info { padding: 10px; }
  .brand-logo { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .button, .category-button, .filter-chip, .amount-option, .payment-option, .cart-trigger, .icon-button { border: 1px solid ButtonText; }
  .gift-card, .dialog-panel, .cart-summary, .order-card, .email-card { border: 1px solid CanvasText; }
  .category-button[aria-pressed="true"], .filter-chip[aria-pressed="true"], .amount-option[aria-pressed="true"], .payment-option.selected { outline: 2px solid Highlight; }
}
@media print {
  .site-header, .site-footer, .demo-banner, .hero, .sidebar, .toast-stack, .icon-button, .order-actions, .email-actions { display: none !important; }
  .page-shell { max-width: none; padding: 0; }
  .order-card, .email-card, .content-card { box-shadow: none; break-inside: avoid; }
}
