/* USCouponDeals front end. Tokens mirror the active Novamira design "USCouponDeals Utility". */
:root {
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #14213D;
  --muted: #5B6475;
  --line: #E2E6EE;
  --accent: #0A7D55;
  --accent-hover: #086645;
  --accent-soft: #E6F4EE;
  --accent-on-dark: #5FD6A2;
  --navy: #0F1B33;
  --navy-2: #172746;
  --tint: #EDF1F7;
  --warn: #B4382B;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-sm: 6px;
  --r-md: 10px;
  --shadow: 0 10px 30px rgba(15, 27, 51, .10);
  --wrap: 1200px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--surface); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.ico { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; transition: background-color .15s ease; }
.btn:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--wide, .btn.is-block { display: flex; width: 100%; }

.btn-code { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 100%; min-height: 46px; padding: 0 12px; border: 2px dashed var(--accent); border-radius: var(--r-sm); background: var(--accent-soft); overflow: hidden; }
.btn-code__peek { font: 800 15px/1 var(--mono); letter-spacing: .08em; color: var(--ink); }
.btn-code__label { position: absolute; inset: -2px 42px -2px -2px; display: flex; align-items: center; justify-content: center; padding-right: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); border-radius: var(--r-sm) 0 0 var(--r-sm); transition: background-color .15s ease; }
.btn-code:hover .btn-code__label { background: var(--accent-hover); }
.btn-deal { width: 100%; min-height: 46px; }

/* Header */
.hdr { background: var(--navy); color: #fff; }
.hdr__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: #fff; }
.brand__name em { font-style: normal; color: var(--accent-on-dark); }
.search { position: relative; display: flex; max-width: 620px; width: 100%; justify-self: center; }
.search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: #fff; color: var(--ink); font-size: 15px; }
.search input::placeholder { color: #7A8394; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--accent); color: #fff; font-weight: 700; }
.search button:hover { background: var(--accent-hover); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 6px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); }
.suggest a:hover, .suggest a.is-active { background: var(--tint); }
.suggest .logo { width: 36px; height: 36px; }
.suggest__name { font-weight: 700; flex: 1; }
.suggest__count { color: var(--muted); font-size: 13px; }
.suggest__all { justify-content: center; color: var(--accent); font-weight: 700; font-size: 14px; }
.suggest__none { padding: 10px; color: var(--muted); font-size: 14px; }
.hdr__nav .nav { display: flex; gap: 22px; }
.hdr__nav a { font-weight: 600; color: rgba(255, 255, 255, .88); white-space: nowrap; }
.hdr__nav a:hover, .hdr__nav .current-menu-item a { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hdr__toggle { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: var(--r-sm); background: transparent; color: #fff; }
.catbar { background: var(--navy-2); }
.catbar__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.catbar__inner::-webkit-scrollbar { display: none; }
.catbar a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 600; white-space: nowrap; }
.catbar a:hover, .catbar a.is-current { background: rgba(255, 255, 255, .1); color: #fff; }

/* Hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero__inner { padding-top: 44px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; max-width: 16ch; }
.hero__sub { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 56ch; }
.search--hero { margin-top: 24px; max-width: 700px; justify-self: start; }
.search--hero input { height: 56px; font-size: 17px; border: 2px solid var(--ink); border-right: 0; }
.search--hero button { height: 56px; padding: 0 22px; font-size: 16px; }
.hero__trend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; font-size: 14px; }
.hero__trend span { color: var(--muted); font-weight: 600; }
.hero__trend a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hero__trend a:hover { text-decoration-color: var(--accent); }

/* Hero layout with deal of the day */
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; }
.hero h1 { max-width: 20ch; }
.spot { position: relative; padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.spot__label { position: absolute; top: -13px; left: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.spot__head { display: flex; align-items: stretch; gap: 10px; margin-top: 6px; }
.spot__head .logo { width: 96px; height: 64px; }
.spot__head .badge { width: auto; flex: 1; min-height: 64px; flex-direction: row; gap: 6px; }
.spot__head .badge strong { font-size: 30px; }
.spot__store { margin-top: 14px; color: var(--muted); font-weight: 700; font-size: 13px; }
.spot__title { margin-top: 2px; font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.spot__desc { margin-top: 8px; color: var(--muted); font-size: 14px; }
.spot__meta { margin: 12px 0 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .spot { max-width: 520px; }
}

/* Sections */
.sec { padding: 40px 0; }
.sec--tight { padding: 28px 16px 48px; }
.sec--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec__head h2 { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
.sec__head a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 14px; white-space: nowrap; }
.more-row { margin-top: 20px; text-align: center; }

/* Logos */
.logo { display: grid; place-items: center; width: 64px; height: 64px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.logo.is-text { background: var(--tint); border-color: var(--tint); padding: 4px; }
.logo.is-text b { font-weight: 800; font-size: 13px; line-height: 1.1; text-align: center; color: var(--ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
.logo.is-text.is-sm b { font-size: 11px; }
.logo.is-text.is-xs b { font-size: 10px; }
.logo.is-lg { width: 104px; height: 104px; border-radius: var(--r-md); }
.logo.is-lg.is-text b { font-size: 16px; }
.logo.is-sm { width: 38px; height: 38px; }
.logo.is-sm img { padding: 4px; }
.logo.is-sm.is-text b { font-size: 8px; }

/* Discount badge */
.badge { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 80px; min-height: 64px; padding: 6px 4px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); text-align: center; }
.badge strong { font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.badge.is-mid strong { font-size: 18px; }
.badge.is-long strong { font-size: 13px; letter-spacing: 0; }
.badge small { margin-top: 3px; font-size: 11px; font-weight: 800; letter-spacing: .06em; line-height: 1.15; }

/* Coupon card (row) */
.cc-list { display: grid; gap: 12px; }
.cc { display: grid; grid-template-columns: 88px minmax(0, 1fr) 200px; grid-template-areas: "media body action" "details details details"; gap: 6px 18px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .15s ease, border-color .15s ease; }
.cc:hover { border-color: #CCD3DF; box-shadow: 0 6px 18px rgba(15, 27, 51, .06); }
.cc__media { grid-area: media; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cc__media .logo, .cc__media .badge { width: 80px; }
.cc__media .logo { height: 56px; }
.cc__body { grid-area: body; min-width: 0; align-self: center; }
.cc__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 18px; }
.tag--code { background: var(--ink); color: #fff; }
.tag--deal { background: var(--tint); color: var(--ink); }
.tag--ok { padding-left: 0; color: var(--accent); }
.tag--ex { background: var(--accent); color: #fff; }
.cc__storename { font-size: 13px; font-weight: 700; color: var(--muted); }
.cc__storename:hover { color: var(--accent); }
.cc__title { font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.cc__title a:hover { color: var(--accent); }
.cc__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.cc__meta li { display: inline-flex; align-items: center; gap: 5px; }
.cc__meta b { color: var(--ink); font-weight: 700; }
.cc__meta .is-warn { color: var(--warn); }
.cc__go { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 700; }
.cc__go:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc__action { grid-area: action; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.cc__more { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 4px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.cc__more:hover { color: var(--ink); }
.cc__more .ico { transition: transform .15s ease; }
.cc__more[aria-expanded="true"] .ico { transform: rotate(180deg); }
.cc__details { grid-area: details; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.cc__details p + p { margin-top: 6px; }
.cc__fine { font-size: 12px; }
.cc.is-expired .badge { background: var(--tint); color: var(--muted); }
.cc.is-expired .cc__title { color: var(--muted); }
.cc.is-expired .btn-code { border-color: #AEB6C4; background: var(--tint); }
.cc.is-expired .btn-code__label { background: #6B7486; }

/* Staff pick tiles */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-align: center; }
.tile:hover { box-shadow: 0 6px 18px rgba(15, 27, 51, .06); }
.tile__logo .logo { width: 72px; height: 52px; }
.tile__store { font-size: 13px; font-weight: 700; color: var(--muted); }
.tile .badge { width: auto; min-height: 0; flex-direction: row; gap: 5px; padding: 5px 10px; background: none; }
.tile .badge strong { font-size: 22px; }
.tile .badge small { margin: 0; }
.tile__title { font-size: 14px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 57px; }
.tile__meta { font-size: 12px; color: var(--muted); margin-top: auto; }
.tile .btn-code, .tile .btn-deal { min-height: 42px; }

/* Store tiles */
.store-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.store-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-align: center; transition: border-color .15s ease, box-shadow .15s ease; }
.store-tile:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(15, 27, 51, .06); }
.store-tile .logo { width: 88px; height: 60px; border: 0; }
.store-tile__name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.store-tile__count { font-size: 12px; color: var(--muted); }
.sec--white .store-tile { background: var(--bg); border-color: transparent; }
.sec--white .store-tile .logo:not(.is-text) { background: #fff; }
.sec--white .store-tile:hover { background: var(--surface); border-color: var(--accent); }

/* Layout with sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.layout--page { padding-top: 24px; padding-bottom: 56px; }
.layout__side { display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.panel__title { font-size: 16px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.01em; }
.panel__text { color: var(--muted); font-size: 14px; }
.panel__text p + p { margin-top: 8px; }
.panel__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--accent); font-weight: 700; font-size: 14px; }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; color: var(--muted); font-size: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px; }
.steps b { display: block; color: var(--ink); font-size: 15px; }
.linklist { display: grid; gap: 2px; }
.linklist a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; font-weight: 600; }
.linklist a:hover { color: var(--accent); }
.linklist a span { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; }
.linklist--cols { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.mini-stores { display: grid; gap: 4px; }
.mini-stores a { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-weight: 600; font-size: 14px; }
.mini-stores a:hover { color: var(--accent); }
.stats > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.stats > div:last-child { border-bottom: 0; }
.stats dt { color: var(--muted); }
.stats dd { font-weight: 700; }

/* Chips and filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { color: var(--muted); font-weight: 700; }
.chip.is-on span { color: rgba(255, 255, 255, .7); }
.chip:disabled { opacity: .45; cursor: default; }
.filters { display: flex; gap: 8px; margin-bottom: 14px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--bg); border: 1px solid transparent; border-radius: var(--r-md); }
.cat-tile:hover { background: var(--surface); border-color: var(--accent); }
.cat-tile__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); flex: none; }
.cat-tile__name { font-weight: 800; font-size: 15px; }
.cat-tile__count { color: var(--muted); font-size: 13px; }
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cat-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.cat-card:hover { border-color: var(--accent); }
.cat-card__body { display: grid; gap: 2px; }
.cat-card__name { font-weight: 800; font-size: 16px; }
.cat-card__count { color: var(--accent); font-weight: 700; font-size: 13px; }
.cat-card__stores { color: var(--muted); font-size: 13px; }

/* Page hero, store hero */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 0 26px; }
.page-hero h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.page-hero__sub { margin-top: 8px; color: var(--muted); font-size: 16px; max-width: 64ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #AEB6C4; }
.crumbs a:hover { color: var(--accent); }
.store-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.store-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.store-hero__meta b { color: var(--ink); }
.store-hero__cta { white-space: nowrap; }
.cat-hero { display: flex; gap: 18px; align-items: flex-start; }
.cat-hero__icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); }
.cat-hero__desc { margin-top: 8px; color: var(--muted); max-width: 64ch; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.logo-strip .logo { width: 84px; height: 56px; }
.logo-strip a:hover .logo { border-color: var(--accent); }
.sub-head { margin: 32px 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.sub-note { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.howto { margin-top: 32px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.howto h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.howto ol { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.howto b { color: var(--ink); }
.empty { padding: 36px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-align: center; }
.empty h1, .empty h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 18px; }
.empty--big { padding: 56px 28px; max-width: 720px; margin: 0 auto; }
.empty--big h1 { font-size: 34px; }
.search--inline { margin: 0 auto 18px; max-width: 460px; }
.search--inline input { border: 1px solid var(--line); border-right: 0; }
.cc-list--narrow { max-width: 900px; }

/* Store directory */
.dir-wrap { padding-bottom: 56px; }
.dir-tools { position: sticky; top: 0; z-index: 20; display: grid; gap: 12px; padding: 16px 0 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.dir-search { position: relative; max-width: 460px; }
.dir-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.dir-search input { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.az { display: flex; flex-wrap: wrap; gap: 4px; }
.az a, .az span { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; border-radius: var(--r-sm); font-weight: 700; font-size: 14px; }
.az a { background: var(--surface); border: 1px solid var(--line); }
.az a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.az span { color: #B5BCC8; }
.dir__group { margin-top: 28px; }
.dir__letter { font-size: 22px; font-weight: 800; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 2px solid var(--ink); }
.store-grid--dir { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.dir-empty { margin-top: 28px; padding: 28px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--r-md); }

/* FAQ */
.faq { max-width: 860px; }
.faq h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.015em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); font-weight: 600; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }

/* Prose pages */
.prose { max-width: 760px; font-size: 16px; line-height: 1.7; }
.prose--page { padding: 32px 0 60px; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 32px; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.prose h3 { margin-top: 24px; font-size: 18px; font-weight: 800; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 36px; align-items: start; padding-top: 28px; padding-bottom: 60px; }
.form p + p { margin-top: 14px; }
.form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 12px; border: 1px solid #CBD2DD; border-radius: var(--r-sm); background: #fff; }
.form textarea { resize: vertical; }
.form .btn { margin-top: 18px; }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: var(--r-sm); margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.notice--ok { background: var(--accent-soft); color: var(--accent); }
.notice--err { background: #FBECEA; color: var(--warn); }
.post-list { display: grid; gap: 12px; max-width: 820px; }
.post-item h2 { font-size: 19px; font-weight: 800; }
.post-item__meta { color: var(--muted); font-size: 13px; margin: 4px 0 8px; }

/* Footer */
.ftr { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.ftr__about p { margin-top: 14px; max-width: 42ch; }
.ftr__disclosure { font-size: 13px; color: rgba(255, 255, 255, .6); }
.ftr__disclosure a { color: var(--accent-on-dark); text-decoration: underline; }
.ftr h2 { margin-bottom: 14px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ftr__list { display: grid; gap: 8px; }
.ftr__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .55); }

/* Code modal */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 27, 51, .6); }
.modal__panel { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; padding: 32px 28px 26px; background: var(--surface); border-radius: 14px; box-shadow: 0 24px 60px rgba(15, 27, 51, .3); text-align: center; }
.modal__close { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.modal__close:hover { background: var(--tint); color: var(--ink); }
.modal__logo { display: flex; justify-content: center; }
.modal__logo .logo { width: 96px; height: 64px; }
.modal__store { margin-top: 12px; color: var(--muted); font-weight: 700; font-size: 14px; }
.modal__title { margin-top: 4px; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.modal__code { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 6px 6px 6px 18px; border: 2px dashed var(--accent); border-radius: var(--r-md); background: var(--accent-soft); }
.modal__codetext { flex: 1; text-align: left; font: 800 24px/1.2 var(--mono); letter-spacing: .06em; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.modal__copy { flex: none; min-width: 104px; }
.modal__copy.is-done { background: var(--ink); }
.modal__hint { margin-top: 14px; color: var(--muted); font-size: 14px; }
.modal__hint b { color: var(--ink); }
.modal__go { margin-top: 18px; }
.modal[data-mode="code"] [data-when="deal"], .modal[data-mode="deal"] [data-when="code"] { display: none; }
.modal[data-mode="deal"] .modal__hint { margin-top: 18px; font-size: 15px; }
body.has-modal { overflow: hidden; }

/* Responsive */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
}
@media (max-width: 900px) {
  .hdr__bar { grid-template-columns: 1fr auto; gap: 10px 12px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .hdr__bar .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .hdr__toggle { display: grid; }
  .hdr__nav { display: none; grid-column: 1 / -1; }
  .hdr__nav.is-open { display: block; }
  .hdr__nav .nav { flex-direction: column; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .hdr__nav .nav a { display: block; padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .layout { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__about { grid-column: 1 / -1; }
  .store-hero { grid-template-columns: auto minmax(0, 1fr); }
  .store-hero__cta { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .brand { font-size: 19px; }
  .hero__inner { padding-top: 28px; padding-bottom: 28px; }
  .hero__sub { font-size: 15px; }
  .search--hero input { height: 50px; font-size: 16px; }
  .search--hero button { height: 50px; padding: 0 16px; }
  .search--hero button span { display: none; }
  .sec { padding: 28px 0; }
  .sec__head h2 { font-size: 20px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 14px 10px; }
  .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .store-grid--dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-tile .logo { width: 72px; height: 50px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cc { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "media body" "action action" "details details"; gap: 12px 14px; padding: 14px; }
  .cc__media .logo, .cc__media .badge { width: 72px; }
  .cc__media .logo { height: 48px; }
  .badge strong { font-size: 20px; }
  .cc__title { font-size: 16px; }
  .cc__action { flex-direction: row; align-items: center; }
  .cc__action > a { flex: 1; }
  .cc__more { flex: none; }
  .store-hero { gap: 14px; }
  .store-hero .logo.is-lg { width: 72px; height: 72px; }
  .store-hero__cta { width: 100%; }
  .cat-hero__icon { width: 52px; height: 52px; }
  .linklist--cols { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .modal__panel { padding: 28px 18px 20px; }
  .modal__codetext { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
