:root {
  --bg: #f6f6f5;
  --ink: #171717;
  --muted: #6f6f6f;
  --line: #e7e7e5;
  --pine: #1a8f46;
  --pine-dark: #146c36;
  --sale: #e31c23;
  --clay: #e36a2c;
  --max: 1320px;
  --header: 118px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.is-hidden { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  position: relative;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: 20px;
  color: #171717;
  flex: 0 0 auto;
}
.logo .mark { width: 28px; height: 28px; }
.logo-light { color: #fff; }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
  color: #222;
}
.primary-nav { display: flex; align-items: center; gap: 2px; }
.menu { position: relative; }
.menu-trigger {
  background: none;
  border: 0;
  font-weight: 500;
  font-size: 14.5px;
  color: #333;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.menu-trigger::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.menu-trigger:hover { color: var(--pine); }
.menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding-top: 8px;
  z-index: 40;
}
.menu-panel-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(20, 20, 20, .08);
}
.menu:hover .menu-panel,
.menu:focus-within .menu-panel,
.menu.is-open .menu-panel { display: block; }
.menu-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.menu-panel a:hover { background: #f4f4f2; }

.search {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 8px 0 16px;
  background: #f3f3f1;
  border-radius: 999px;
  min-width: 140px;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
  font-size: 14px;
}
.search input::placeholder { color: #9a9a9a; }
.search-go {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #555;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.member { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #134838;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.member-name { font-size: 14px; font-weight: 600; }
.signout { font-size: 13px; font-weight: 650; font-weight: 600; color: #444; }
.signout:hover { color: var(--pine); }

.subnav {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px 12px;
}
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 550;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
}
.subnav a svg { width: 18px; height: 18px; }
.subnav a:hover { color: var(--pine); }
.subnav a.season,
.subnav a.season:hover { color: var(--clay); }
.subnav a.is-on { background: #f3f3f1; }

main { padding-bottom: 64px; }

.hero {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr) minmax(190px, 240px);
  grid-template-rows: minmax(210px, 240px) minmax(228px, 260px);
  gap: 14px;
  margin-top: 18px;
}
.hero .tile {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
}
.tile-codes { grid-column: 1; grid-row: 1; }
.tile-hero { grid-column: 2; grid-row: 1; }
.tile-soon { grid-column: 3; grid-row: 1; }
.tile-gifts { grid-column: 1; grid-row: 2; }
.tile-news { grid-column: 2; grid-row: 2; }
.tile-under { grid-column: 3; grid-row: 2; }

.tile-codes, .tile-gifts, .tile-hero {
  color: #fff;
  padding: 20px 22px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.tile-codes {
  background:
    radial-gradient(circle at 88% 78%, rgba(232, 196, 122, .38), transparent 32%),
    linear-gradient(180deg, #1d4a38, #10261e);
}
.tile-gifts {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 214, 170, .28), transparent 30%),
    linear-gradient(180deg, #6d3142, #3e1c28);
}
.tile-hero {
  justify-content: center;
  background:
    radial-gradient(circle at 82% 58%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(115deg, #2c241c 0%, #3d2d24 46%, #1b2428 100%);
  padding: 28px 32px;
}
.tile-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .86;
}
.tile-giant {
  font-size: 68px;
  line-height: .85;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.tile-title { display: block; font-size: 28px; letter-spacing: -0.04em; line-height: 1.05; }
.tile-sub { display: block; margin-top: 4px; font-size: 14px; opacity: .9; }
.tile-hero h2 {
  font-size: 52px;
  line-height: .92;
  letter-spacing: -0.045em;
  font-weight: 750;
  font-weight: 700;
  max-width: 8ch;
}
.tile-hero p { margin: 8px 0 14px; font-size: 22px; font-weight: 550; font-weight: 500; }
.tickets, .ornaments { display: flex; gap: 6px; align-self: flex-end; }
.tickets i, .ornaments i { display: block; }
.tickets i {
  width: 26px;
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(#f6e7c4, #e4c88a);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.ornaments i {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3d7b0;
}
.ornaments i:nth-child(2) { background: #fff; width: 18px; height: 18px; align-self: flex-end; }
.ornaments i:nth-child(3) { background: #e7b15a; }
.hero-blob {
  position: absolute;
  border-radius: 46% 54% 48% 52%;
  background: rgba(255,255,255,.1);
}
.hero-blob.a { width: 180px; height: 120px; right: 6%; top: 18%; background: rgba(255,122,60,.55); }
.hero-blob.b { width: 120px; height: 90px; right: 22%; bottom: 12%; background: rgba(255,255,255,.14); }
.hero-blob.c { width: 70px; height: 70px; right: 8%; bottom: 16%; border-radius: 18px; background: #111; }
.tile-hero .tile-kicker,
.tile-hero h2,
.tile-hero p,
.tile-hero .btn { position: relative; z-index: 1; }

.tile-news {
  background: #f3eee6;
  color: #241c16;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}
.tile-news .tile-title { font-size: 26px; }
.tile-news .tile-sub { opacity: 1; color: #5c5148; max-width: 36ch; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #9a3412;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ef4444;
}
.news-still {
  width: 42%;
  height: 78%;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 40%, #f7d7a8, transparent 40%),
    radial-gradient(circle at 70% 60%, #e7eef2, transparent 42%),
    linear-gradient(160deg, #d9c3a2, #c5b49a);
  flex: 0 0 auto;
}
.tile-soon, .tile-under {
  background: #eef1ef;
  color: #1c1c1c;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}
.tile-label { font-size: 14px; font-weight: 700; }
.tile-label a:hover { color: var(--pine); }
.mini {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  min-height: 0;
  flex: 1;
}
.mini-off { flex: 0 0 auto; color: var(--sale); font-size: 12px; font-weight: 800; }
.mini-name {
  font-size: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--pine-dark); }
.btn-light { background: #fff; color: #1a1a1a; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.btn-light:hover { background: #f7f7f7; }
.btn-block { width: 100%; height: 46px; }

.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 12px;
}
.rail-head h2 { font-size: 22px; font-weight: 650; font-weight: 600; letter-spacing: -0.03em; }
.viewall { color: #444; font-size: 14px; font-weight: 600; white-space: nowrap; }
.viewall::after { content: " ›"; }
.viewall:hover { color: var(--pine); }
.rail-scroller { position: relative; }
.rail-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 12px;
  scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-btn {
  display: none;
  position: absolute;
  top: 86px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  cursor: pointer;
  place-items: center;
}
.rail-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(-45deg);
  margin-left: -3px;
}
.rail-btn.prev::before { transform: rotate(135deg); margin-left: 3px; }
.rail-btn.prev { left: -6px; }
.rail-btn.next { right: -6px; }
.rail-btn:disabled { opacity: .35; cursor: default; }
@media (hover: hover) {
  .rail-scroller:hover .rail-btn { display: grid; }
}

.deal { position: relative; scroll-snap-align: start; min-width: 0; }
.rail-track .deal { flex: 0 0 196px; width: 196px; }
.rail-track > .empty { flex: 1 0 100%; }
.heart {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #444;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.heart[aria-pressed="true"] { color: #d23b4a; }
.heart[aria-pressed="true"] path { fill: currentColor; }
.deal-art {
  --swatch: #24362f;
  --soft: #d9e4df;
  background: #fff;
  border: 1px solid #efefed;
  border-radius: 12px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.deal-art .art { width: 78%; height: 78%; }
.deal-art .deal-photo, .detail-art .deal-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
#trending .deal-photo {
  top: 6px;
  right: auto;
  bottom: auto;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  background: #fff;
}
.deal-photo.is-broken { display: none; }
.photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  background: #f6f6f4;
  color: #3d4742;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  overflow: hidden;
}
.photo-fallback.is-waiting { display: none; }
.tone-audio { --swatch: #1c1c1c; --soft: #d7dee6; }
.tone-home { --swatch: #21483a; --soft: #d7efe4; }
.tone-tech { --swatch: #243044; --soft: #d5deea; }
.tone-beauty { --swatch: #6d3142; --soft: #f3d5df; }
.tone-fashion { --swatch: #3a342c; --soft: #e7d7c4; }
.tone-sport { --swatch: #1f3d5c; --soft: #d5e4f2; }
.tone-baby { --swatch: #b45309; --soft: #fde7c7; }
.tone-kitchen { --swatch: #3f3f46; --soft: #e4e4e7; }
.tone-grocery { --swatch: #3f6212; --soft: #e4f0c8; }
.rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.05;
  padding: 5px 6px 4px;
  text-align: center;
}
.flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.flag-holiday { background: #ef6a1a; }
.flag-exclusive { background: #17803d; }
.flag-supersave { background: #7c3aed; }
.deal-off {
  margin-top: 8px;
  color: var(--sale);
  font-size: 12px;
  font-weight: 800;
}
.deal-offer { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.kind {
  color: #8d8d8d;
  font-size: 11px;
  font-weight: 750;
  font-weight: 700;
  letter-spacing: .04em;
}
.deal-offer strong { font-size: 14px; }
.deal-offer s { color: #9a9a9a; font-size: 12.5px; }
.deal-title {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 550;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  color: #222;
}
.deal-merchant { margin-top: 6px; color: #8a8a8a; font-size: 12px; }
.deal-badge { margin-top: 2px; color: var(--pine); font-size: 12px; font-weight: 650; font-weight: 600; }
.deal:hover .deal-art { box-shadow: 0 8px 22px rgba(0,0,0,.06); }

.more-banner {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, #e7f6ee 0%, #f4fbf7 58%, #e7f1fb 100%);
  color: #143028;
}
.more-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex: 0 0 auto;
  background: conic-gradient(from 120deg, #7d6bff, #3cb8a0, #f0c45b, #7d6bff);
  position: relative;
}
.more-mark::after {
  content: "%";
  position: absolute;
  inset: 8px;
  background: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #21483a;
}
.more-copy { display: flex; flex-direction: column; }
.more-copy strong { font-size: 18px; letter-spacing: -0.02em; }
.more-copy small { color: #3d6758; font-size: 13px; }
.more-banner .btn { margin-left: auto; }

.feature-tile {
  position: relative;
  overflow: hidden;
  flex: 0 0 196px;
  width: 196px;
  min-height: 320px;
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(180deg, #ffb15a 0%, #f07a32 46%, #e25822 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  scroll-snap-align: start;
}
.feature-tile strong {
  position: relative;
  z-index: 1;
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.feature-kicker, .feature-go { position: relative; z-index: 1; font-weight: 700; }
.feature-go { font-size: 14px; }
.feature-blob {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 42% 58% 50% 50%;
  background: rgba(255,255,255,.18);
  top: -28px;
  right: -36px;
}

.brand-card {
  position: relative;
  display: block;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f2;
  scroll-snap-align: start;
}
.rail-track .brand-card { flex: 0 0 180px; height: 236px; }
.brand-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.brand-art .art { width: 68%; height: 52%; }
.brand-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}
.brand-off, .brand-name {
  position: absolute;
  left: 12px; right: 12px;
  color: #fff;
  z-index: 1;
}
.brand-off { bottom: 34px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-name { bottom: 12px; font-size: 14px; font-weight: 600; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.collection-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.collection-row::-webkit-scrollbar { display: none; }
.collection-row a {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 650;
  font-weight: 600;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.collection-row a:hover { color: var(--pine); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip, .select-pill {
  border: 0;
  background: #fff;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 650;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e6e6e4;
}
.chip.is-on { background: #16382c; color: #fff; box-shadow: none; }
.select-pill { display: inline-flex; align-items: center; color: #444; padding-right: 10px; }
.select-pill select {
  border: 0;
  background: transparent;
  font-weight: 650;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  max-width: 140px;
}
.suggest-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 14px;
}
.result-count { margin-top: 8px; font-size: 13px; color: #888; }
.empty {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
}
.empty a { color: var(--pine); font-weight: 700; }

.foot {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
  color: #444;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.foot h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888;
}
.foot a { display: block; padding: 4px 0; font-size: 14px; }
.foot a:hover { color: var(--pine); }
.foot-note { font-size: 14px; color: #555; margin-bottom: 8px; }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 14px;
  color: #888;
  font-size: 12px;
}
.foot-links { display: flex; gap: 14px; }
.foot-links a { padding: 0; }
.disclaimer { margin-top: 12px; max-width: 78ch; font-size: 12px; color: #8a8a8a; }

.page { padding-top: 28px; }
.page-head { margin-bottom: 18px; }
.page-head h1 { font-size: 32px; letter-spacing: -0.04em; margin-bottom: 6px; }
.page-head p { color: var(--muted); max-width: 68ch; }
.prose { max-width: 760px; }
.prose p, .story p, .step p { margin-top: 8px; color: #333; }
.prose h2, .story h2 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 6px; }
.story {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.story h2 a:hover { color: var(--pine); }
.eyebrow {
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.steps { display: grid; gap: 12px; max-width: 760px; }
.step {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.step b {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e7f6ee;
  color: var(--pine-dark);
}
.faq { max-width: 760px; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 14px; padding: 12px 16px; }
.faq summary { cursor: pointer; font-weight: 650; font-weight: 600; }
.faq details p { margin-top: 8px; color: #333; }

.form, .detail-panel {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
}
.form { max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 13px; font-weight: 650; font-weight: 600; }
.field input, .field textarea {
  font-weight: 500;
  font-size: 15px;
  border: 1px solid #e4e4e2;
  background: #fafafa;
  border-radius: 12px;
  padding: 10px 12px;
}
.field input { height: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pine);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 143, 70, .15);
}
.form-error, .form-ok { border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; font-weight: 500; }
.form-error { background: #fff1f0; color: #9f1239; }
.form-ok { background: #eef8f2; color: #145c38; }
.fine { color: #777; font-size: 13px; margin-top: 10px; }

.detail {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.detail-art {
  border-radius: 24px;
  background: #fff;
  border: 1px solid #eee;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.detail-art .art { width: 62%; height: 62%; }
.crumbs { color: #888; font-size: 13px; margin-bottom: 8px; }
.crumbs a:hover { color: var(--pine); }
.detail-info h1 { font-size: 32px; letter-spacing: -0.04em; line-height: 1.15; margin: 6px 0; }
.detail-off { color: var(--sale); font-weight: 800; margin-top: 10px; }
.detail-price { margin-top: 4px; }
.detail-price strong { font-size: 32px; letter-spacing: -0.03em; }
.detail-price s { color: #999; margin-left: 8px; font-size: 18px; }
.detail-blurb { margin-top: 12px; color: #333; max-width: 58ch; }
.facts { list-style: none; padding: 0; margin: 16px 0; }
.facts li { padding: 8px 0; border-top: 1px solid #eee; font-size: 14px; }
.facts span { color: #888; display: inline-block; width: 120px; }
.codebox {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #f6f6f4;
  border: 1px dashed #cfcfcf;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 12px;
}
.codebox strong { font-size: 22px; letter-spacing: .08em; }
.codebox button {
  margin-left: auto;
  border: 0;
  background: #16382c;
  color: #fff;
  border-radius: 999px;
  height: 34px;
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
}

.gate { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.gate-aside {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.08), transparent 26%),
    linear-gradient(165deg, #184c3c, #0e2a22 62%, #10261e);
  color: #fff;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.gate-aside h1 {
  margin: 28px 0 10px;
  font-size: 56px;
  line-height: .95;
  letter-spacing: -0.045em;
  max-width: 9ch;
}
.gate-aside .lede { max-width: 36ch; color: rgba(255,255,255,.78); font-size: 17px; }
.gate-preview {
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  pointer-events: none;
}
.gate-main { display: grid; place-items: center; padding: 32px 20px; background: var(--bg); }
.gate-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 28px 28px 22px;
  box-shadow: 0 10px 40px rgba(20,20,20,.04);
}
.gate-card h2 { font-size: 28px; letter-spacing: -0.04em; }
.gate-card .lede { color: var(--muted); margin: 6px 0 16px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .tile-codes, .tile-gifts, .tile-hero, .tile-news, .tile-soon, .tile-under { grid-column: auto; grid-row: auto; min-height: 190px; }
  .tile-hero, .tile-news { grid-column: 1 / -1; }
  .suggest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .primary-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    z-index: 40;
    box-shadow: 0 16px 40px rgba(20,20,20,.08);
  }
  body.nav-open .primary-nav { display: flex; }
  .menu-panel { position: static; min-width: 0; padding: 0 0 4px 8px; }
  .menu-panel-inner { box-shadow: none; border: 0; padding: 0; }
  .menu:hover .menu-panel { display: none; }
  .menu.is-open .menu-panel,
  .menu:focus-within .menu-panel { display: block; }
}
@media (max-width: 800px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .suggest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail { grid-template-columns: 1fr; }
  .tile-hero h2 { font-size: 40px; }
  .member-name { display: none; }
  .subnav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .header-row { flex-wrap: wrap; }
  .search { order: 5; flex: 1 0 100%; }
}
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .tile-hero, .tile-news { grid-column: auto; }
  .suggest-grid, .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gate { grid-template-columns: 1fr; }
  .gate-aside { padding: 28px 20px 8px; }
  .gate-aside h1 { font-size: 36px; margin-top: 16px; }
  .gate-preview { display: none; }
  .page-head h1, .detail-info h1 { font-size: 26px; }
  .news-still { display: none; }
  .more-banner { align-items: flex-start; flex-wrap: wrap; }
  .more-banner .btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .deal-art { transition: none; }
}

.admin-gate { min-height: 100vh; }
.admin-card-logo { margin-bottom: 18px; }
.admin-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.admin-bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.admin-label { font-weight: 700; letter-spacing: -0.03em; }
.admin-sign { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.admin-sign form { margin: 0; }
.btn-quiet {
  background: #fff;
  color: #171717;
  border: 1px solid var(--line);
}
.btn-quiet:hover { background: #f6f6f5; }
.admin-desk { padding: 36px 0 72px; }
.admin-desk h1 { font-size: 40px; letter-spacing: -0.045em; margin-bottom: 8px; }
.admin-note { color: var(--muted); max-width: 58ch; margin-bottom: 22px; }
.admin-panel {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 22px;
  max-width: 640px;
}
.admin-panel h2 { font-size: 18px; letter-spacing: -0.03em; margin-bottom: 6px; }
.admin-panel .lede { color: var(--muted); }
@media (max-width: 640px) {
  .admin-desk h1 { font-size: 32px; }
  .admin-sign .member-name { display: none; }
  .admin-filters { grid-template-columns: 1fr; }
}
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0 0 12px; }
.admin-nav a { font-weight: 650; font-weight: 600; }
.admin-nav a:hover { color: var(--pine); }
.admin-links { margin: 0; padding-left: 18px; }
.admin-links li { margin: 8px 0; }
.admin-form { max-width: 720px; }
.admin-wide { max-width: none; }
.admin-form select {
  font-weight: 500;
  font-size: 15px;
  border: 1px solid #e4e4e2;
  background: #fafafa;
  border-radius: 12px;
  padding: 10px 12px;
  height: 44px;
}
.admin-form select:focus {
  outline: none;
  border-color: var(--pine);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 143, 70, .15);
}
.admin-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; margin-bottom: 18px; }
.admin-filters .field { margin-bottom: 0; }
.admin-filters .check-line, .admin-filters .btn { margin-bottom: 8px; }
.check-line, .check-list label { font-weight: 600; }
.check-line { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
.check-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.check-list div { display: flex; align-items: center; gap: 8px; }
.field-label { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #ececec; vertical-align: top; }
.admin-table th { font-size: 12px; color: #666; }
.admin-preview { width: 180px; height: 180px; object-fit: contain; background: #fff; border: 1px solid #ececec; border-radius: 12px; margin: 0 0 16px; }
#errors, #result, #asin_check { border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
#errors:empty, #result:empty, #asin_check:empty { display: none; }
#errors { background: #fff1f0; color: #9f1239; }
#result { background: #eef8f2; color: #145c38; }
#asin_check { background: #f6f6f5; }
