:root {
  --ink: #f4f1ea;
  --muted: #aaa49a;
  --line: #2d2d2d;
  --paper: #080808;
  --panel: #111111;
  --red: #b93a31;
  --blue: #2f5f9f;
  --green: #2d7251;
  --gold: #b08328;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.age-banner {
  background: #000;
  color: #f6f1e8;
  font-size: 13px;
  padding: 8px 18px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #070707;
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--ink);
}

.reddit-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
}

.reddit-button {
  padding: 0 18px;
  background: #ff4500;
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 660px;
  padding: 54px clamp(18px, 6vw, 86px) 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
}

.hero-text {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action {
  padding: 0 20px;
  background: #f4f1ea;
  color: #070707;
}

.secondary-action {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 16px;
  align-items: end;
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(185, 58, 49, 0.1), transparent 28%),
    linear-gradient(225deg, rgba(47, 95, 159, 0.14), transparent 32%),
    #101010;
  box-shadow: var(--shadow);
}

.hero-showcase {
  display: grid;
  gap: 18px;
  min-height: 520px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
  box-shadow: var(--shadow);
}

.hero-showcase-fallback,
.hero-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-showcase-fallback span {
  display: grid;
  width: 90px;
  height: 120px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151515;
  font-size: 26px;
  font-weight: 800;
}

.hero-showcase-header {
  color: var(--muted);
  font-size: 14px;
}

.hero-showcase-header strong {
  color: var(--ink);
}

.hero-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151515;
}

.hero-product-image {
  display: grid;
  min-height: 205px;
  aspect-ratio: 3 / 4;
  place-items: center;
  background: #080808;
}

.hero-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.hero-product-copy {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.hero-product-copy span,
.hero-product-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-product-copy strong {
  min-height: 42px;
  font-size: 15px;
  line-height: 1.2;
}

.pack {
  display: flex;
  min-height: 275px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 22px;
  border-radius: 6px;
  color: #fff;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.12);
}

.pack span {
  font-weight: 800;
  font-size: clamp(34px, 4vw, 58px);
}

.pack strong {
  display: none;
}

.pack-red {
  background: linear-gradient(180deg, #d64b3f, #7b1f1b);
}

.pack-blue {
  min-height: 340px;
  background: linear-gradient(180deg, #3c84d6, #183a72);
}

.pack-green {
  min-height: 300px;
  background: linear-gradient(180deg, #44a873, #195034);
}

.section {
  padding: 64px clamp(18px, 6vw, 86px);
  scroll-margin-top: 130px;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.intro-strip div {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.intro-strip strong {
  font-size: 16px;
}

.intro-strip span,
.section-heading p,
.category-card p,
.faq-list p,
.site-footer p,
.preview-meta,
.detail-list {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.category-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.category-card:hover {
  border-color: #5b5b5b;
  transform: translateY(-2px);
}

.terea-category-card {
  border-color: rgba(57, 208, 181, 0.45);
}

.terea-category-card:hover {
  border-color: #39d0b5;
}

.mini-pack {
  display: grid;
  width: 56px;
  height: 74px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.mini-blue {
  background: var(--blue);
}

.mini-red {
  background: var(--red);
}

.mini-green {
  background: var(--green);
}

.mini-gold {
  background: var(--gold);
}

.catalog-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 980px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.catalog-entry div {
  display: grid;
  gap: 6px;
}

.catalog-entry strong {
  font-size: clamp(24px, 3vw, 38px);
}

.catalog-entry span {
  color: var(--muted);
}

.catalog-hero {
  padding: 64px clamp(18px, 6vw, 86px) 24px;
}

.catalog-hero h1 {
  max-width: none;
}

.catalog-hero p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.catalog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.catalog-hero-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
}

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  max-width: 980px;
  border: 1px solid var(--line);
  background: var(--line);
}

.catalog-stats div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: var(--panel);
}

.catalog-stats strong {
  font-size: clamp(24px, 3vw, 36px);
}

.catalog-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-section {
  padding-top: 34px;
}

.catalog-control-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 24px;
  padding-top: 8px;
}

.sidebar-block {
  display: grid;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.sidebar-link-list {
  display: grid;
  gap: 8px;
}

.sidebar-link-list a,
.sidebar-link-list button,
.sidebar-contact {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 0 12px;
  text-align: left;
}

.sidebar-link-list button.is-active,
.filter-pills button.is-active,
.origin-card.is-active {
  border-color: #ff6a35;
  color: #fff;
}

.sidebar-contact {
  background: #ff4500;
  border-color: #ff4500;
  color: #fff;
  justify-content: center;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(160px, 190px);
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.catalog-search,
.status-select {
  display: grid;
  gap: 7px;
}

.catalog-search span,
.status-select span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-search input,
.status-select select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080808;
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080808;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 14px;
}

.origin-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.origin-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 18px;
  text-align: left;
}

.origin-card span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #f4f1ea;
  color: #080808;
  font-weight: 900;
}

.origin-card strong {
  font-size: 19px;
}

.origin-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.brand-picker {
  margin-bottom: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.brand-picker summary {
  display: flex;
  min-height: 82px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 3vw, 34px);
}

.brand-picker summary::-webkit-details-marker {
  display: none;
}

.brand-picker summary::after {
  content: "+";
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 24px;
}

.brand-picker[open] summary::after {
  content: "-";
}

.brand-picker summary span {
  display: grid;
  gap: 4px;
}

.brand-picker summary strong {
  font-size: clamp(22px, 2vw, 30px);
}

.brand-picker summary small {
  color: var(--muted);
  font-size: 14px;
}

.brand-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 3vw, 34px) 28px;
}

.brand-tile {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.brand-tile-image {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-height: 170px;
  aspect-ratio: 4 / 3;
  background: #0c0c0c;
  overflow: hidden;
  padding: 10px;
}

.brand-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-tile-image img:only-child {
  grid-column: 1 / -1;
}

.brand-tile-copy {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.brand-tile-copy strong {
  font-size: 21px;
}

.brand-tile-copy small {
  color: var(--muted);
  font-size: 14px;
}

.catalog-layout,
.brand-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.brand-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.brand-group {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.brand-group:last-child {
  border-bottom: 0;
}

.brand-group summary {
  display: flex;
  min-height: 92px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 3vw, 34px);
}

.brand-group summary::-webkit-details-marker {
  display: none;
}

.brand-group summary::after {
  content: "+";
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 24px;
}

.brand-group[open] summary::after {
  content: "-";
}

.brand-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
}

.brand-heading {
  display: grid;
  gap: 8px;
}

.brand-origin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.brand-origin-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 0 9px;
}

.brand-summary {
  color: var(--muted);
  font-size: 16px;
  text-align: right;
}

.brand-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  padding: 0 clamp(18px, 3vw, 34px) 34px;
}

.product-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151515;
  scroll-margin-top: 110px;
}

.product-card-image {
  position: relative;
  display: grid;
  min-height: 300px;
  aspect-ratio: 3 / 4;
  place-items: center;
  background: #0c0c0c;
  overflow: hidden;
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.86);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.product-origin {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta-row a {
  color: #ffb199;
  letter-spacing: 0;
  text-transform: none;
}

.product-card h3 {
  min-height: 58px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.18;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-footer strong {
  font-size: 22px;
}

.product-card-footer a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ff4500;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 0 14px;
}

.preview-pack {
  display: flex;
  width: 128px;
  height: 190px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  border-radius: 6px;
  color: #fff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.preview-pack strong {
  display: none;
}

.preview-pack span {
  font-size: 38px;
  font-weight: 800;
}

.preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.origin-pill,
.status-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #1f1f1f;
}

.status-available {
  color: #63c98c;
}

.status-low {
  color: #efbd59;
}

.status-sold {
  color: #ff756d;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.detail-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-list dt {
  font-size: 12px;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.full-width {
  width: 100%;
}

.empty-results {
  display: grid;
  gap: 6px;
  padding: 34px;
  background: var(--panel);
}

.empty-results strong {
  font-size: 24px;
}

.empty-results span {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
}

.faq-list ol {
  margin: 0;
  padding: 0 20px 18px 42px;
  color: var(--muted);
}

.faq-list li {
  margin: 8px 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: #000;
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  color: #ffb199;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .category-grid,
  .intro-strip,
  .catalog-stats,
  .catalog-control-grid,
  .origin-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-control-grid {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    display: none;
  }

  .brand-products {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-wrap: wrap;
  }

  .section {
    scroll-margin-top: 210px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-visual {
    grid-template-columns: repeat(3, 1fr);
    min-height: 270px;
    padding: 18px;
  }

  .hero-showcase {
    min-height: auto;
    padding: 16px;
  }

  .hero-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-product-image {
    min-height: 160px;
  }

  .pack {
    min-height: 190px;
    padding: 14px;
  }

  .pack-blue {
    min-height: 230px;
  }

  .pack-green {
    min-height: 205px;
  }

  .pack strong {
    font-size: 15px;
  }

  .category-grid,
  .intro-strip,
  .detail-list,
  .catalog-stats,
  .catalog-toolbar,
  .origin-ribbon {
    grid-template-columns: 1fr;
  }

  .brand-group summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-summary {
    text-align: left;
  }

  .brand-products {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Japan Duty Free style product listing */
.jdf-main {
  background: #fff;
  color: #222;
}

.jdf-listing {
  width: 100%;
  margin: 0;
  padding: 18px 0 90px;
  scroll-margin-top: 126px;
}

.jdf-listing h1 {
  margin: 0;
  color: #aeb7bd;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

.jdf-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 2.5vw, 36px);
}

.inventory-reddit-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 0 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.jdf-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  padding: 0 clamp(18px, 2.5vw, 36px);
  color: #cbd2d7;
  font-size: 13px;
}

.jdf-breadcrumbs a,
.jdf-breadcrumbs strong {
  color: #cbd2d7;
  font-weight: 400;
}

.jdf-breadcrumbs span::before,
.jdf-breadcrumbs strong::before {
  content: ">";
  margin-right: 14px;
  color: #dce1e5;
}

.jdf-tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: 38px;
  margin: 28px 0 26px clamp(36px, 8vw, 120px);
}

.jdf-grid-button {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.jdf-grid-button span {
  background: #333;
}

.jdf-tools p {
  min-width: 140px;
  margin: 0;
  color: #d7dde1;
  font-size: 14px;
  font-weight: 400;
}

.jdf-search-icon {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
}

.jdf-search-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 15px;
  height: 15px;
  border: 2px solid #222;
  border-radius: 50%;
}

.jdf-search-icon::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 11px;
  height: 2px;
  background: #222;
  transform: rotate(48deg);
  transform-origin: left center;
}

.jdf-search,
.jdf-sort {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.jdf-origin-tabs {
  display: none;
}

.jdf-listing .catalog-layout,
.jdf-listing .brand-list {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.jdf-listing .product-result-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 88px clamp(28px, 4vw, 64px);
  border: 0;
  padding: 0 4px;
}

.jdf-listing .duty-card,
.jdf-listing .jdf-product {
  display: block;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.jdf-listing .product-card-image {
  display: flex;
  min-height: 230px;
  height: 230px;
  aspect-ratio: auto;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  overflow: visible;
}

.jdf-listing .product-card-image img {
  width: auto;
  max-width: 178px;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  padding: 0;
}

.jdf-listing .preview-pack {
  width: 122px;
  height: 182px;
}

.jdf-listing .product-card-body {
  display: block;
  padding: 58px 0 0;
}

.jdf-listing .goods-brand {
  margin: 0 0 12px;
  color: #5f6b76;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.jdf-listing .product-card h3 {
  min-height: 84px;
  margin: 0;
  color: #273240;
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.jdf-listing .goods-detail {
  min-height: auto;
  margin: 20px 0 0;
  color: #596573;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.jdf-listing .goods-price {
  margin: 6px 0 0;
  color: #c40d2e;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.jdf-listing .goods-id {
  margin: 6px 0 0;
  color: #87909a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Homepage revision */
.age-banner {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
}

.site-header {
  min-height: 92px;
  padding: 20px clamp(18px, 5vw, 72px);
}

.site-header .brand {
  font-size: 22px;
}

.site-header .brand-mark {
  width: 42px;
  height: 42px;
  font-size: 14px;
}

.site-header .nav-links {
  flex: 1;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  color: #222;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 800;
}

.site-header .reddit-button {
  min-height: 50px;
  padding: 0 24px;
  font-size: 17px;
}

.hero {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: calc(100vh - 130px);
  padding: clamp(70px, 10vh, 120px) clamp(18px, 6vw, 86px);
  text-align: center;
}

.hero-copy {
  max-width: 1220px;
}

.hero h1 {
  max-width: 1180px;
  margin: 0 auto;
  color: #141414;
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 800;
  line-height: 1.08;
}

.category-card {
  align-content: start;
  min-height: 360px;
  padding: 24px;
}

.category-image {
  display: flex;
  height: 190px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ececec;
  background: #fff;
  overflow: hidden;
}

.category-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.category-card h3 {
  color: #151515;
  font-size: 28px;
}

.category-card p {
  color: #46515d;
  font-size: 16px;
  font-weight: 600;
}

.inventory-section .section-heading h2,
.catalog-entry strong {
  color: #c40d2e;
}

.inventory-section .section-heading p,
.catalog-entry span {
  color: #263241;
  font-weight: 700;
}

.catalog-entry {
  border: 2px solid #c40d2e;
  background: #fff8f9;
}

.catalog-entry .primary-action {
  min-height: 50px;
  background: #c40d2e;
  font-size: 17px;
}

@media (max-width: 980px) {
  .site-header .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
  }

  .site-header .brand {
    font-size: 19px;
  }

  .site-header .nav-links {
    gap: 18px;
    font-size: 16px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .category-card {
    min-height: auto;
  }
}

.jdf-listing .empty-results {
  border: 0;
  background: transparent;
  color: #8b949c;
  padding: 20px 0;
}

@media (max-width: 1180px) {
  .jdf-listing .product-result-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .jdf-tools {
    margin-left: 24px;
  }

  .jdf-listing .product-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .jdf-listing {
    padding: 28px 20px 70px;
  }

  .jdf-tools {
    gap: 28px;
    margin: 44px 0 52px;
  }

  .jdf-listing .product-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px 30px;
  }

  .jdf-listing .product-card-image {
    min-height: 178px;
    height: 178px;
  }

  .jdf-listing .product-card-image img {
    max-width: 138px;
    max-height: 178px;
  }

  .jdf-listing .product-card-body {
    padding-top: 34px;
  }

  .jdf-listing .product-card h3 {
    min-height: 78px;
    font-size: 16px;
  }
}

/* Duty-free catalog theme */
:root {
  --ink: #202020;
  --muted: #666666;
  --line: #d9d9d9;
  --paper: #ffffff;
  --panel: #ffffff;
  --red: #c40d2e;
  --blue: #0d5c99;
  --green: #13744b;
  --gold: #9b762d;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

body {
  background: #fff;
  color: var(--ink);
  font-family: Arial, "Noto Sans", Helvetica, sans-serif;
}

.age-banner {
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
  color: #333;
}

.utility-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  color: #666;
  font-size: 13px;
}

.utility-nav div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.utility-nav a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.brand {
  color: #111;
  font-size: 18px;
}

.brand-mark {
  background: #111;
  color: #fff;
}

.brand-logo {
  display: block;
  width: auto;
  height: 70px;
  object-fit: contain;
}

.brand-name {
  color: #111;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.nav-links {
  color: #333;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--red);
}

.reddit-button {
  background: #ff4500;
}

.primary-action {
  background: var(--red);
  color: #fff;
}

.secondary-action {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero,
.section,
.catalog-hero {
  max-width: 1240px;
  margin: 0 auto;
}

.hero {
  min-height: 560px;
}

.hero-showcase,
.intro-strip div,
.category-card,
.catalog-entry,
.faq-list details {
  background: #fff;
  box-shadow: none;
}

.hero-showcase,
.hero-product-card,
.hero-product-image,
.catalog-entry,
.category-card,
.intro-strip div,
.faq-list details {
  border-color: var(--line);
}

.hero-product-image,
.brand-tile-image,
.product-card-image {
  background: #fff;
}

.hero-product-card,
.product-card {
  background: #fff;
}

.catalog-hero {
  padding-top: 38px;
  padding-bottom: 22px;
}

.catalog-hero h1 {
  margin-top: 20px;
  border-left: 6px solid var(--red);
  padding-left: 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.catalog-hero p:last-child {
  color: #555;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #666;
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs span::before,
.breadcrumbs strong::before {
  content: ">";
  margin-right: 8px;
  color: #aaa;
}

.catalog-stats {
  max-width: none;
  border-color: var(--line);
  background: var(--line);
}

.catalog-stats div {
  background: #fafafa;
}

.catalog-stats span {
  color: #666;
}

.catalog-section {
  padding-top: 22px;
}

.catalog-control-grid {
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
}

.catalog-sidebar {
  top: 110px;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.sidebar-block {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.sidebar-block h2 {
  margin: 0 0 12px;
  border-bottom: 2px solid #111;
  padding-bottom: 9px;
  font-size: 17px;
}

.sidebar-link-list a,
.sidebar-link-list button {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #ededed;
  background: transparent;
  color: #333;
  justify-content: flex-start;
  min-height: 36px;
  padding: 0;
}

.sidebar-link-list a::before,
.sidebar-link-list button::before {
  content: ">";
  margin-right: 8px;
  color: var(--red);
}

.sidebar-link-list button.is-active,
.sidebar-link-list a.is-active {
  color: var(--red);
}

.sidebar-contact {
  background: var(--red);
  border-color: var(--red);
}

.catalog-toolbar {
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f7f7f7;
  box-shadow: none;
}

.catalog-toolbar-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.catalog-toolbar-title strong {
  font-size: 22px;
}

.catalog-toolbar-title span {
  color: #777;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-search input,
.status-select select,
.filter-pills button {
  background: #fff;
  color: #111;
  border-color: #cfcfcf;
}

.catalog-search span,
.status-select span {
  color: #333;
}

.filter-pills {
  align-self: end;
}

.filter-pills button.is-active,
.origin-card.is-active {
  border-color: var(--red);
  background: #fff5f6;
  color: var(--red);
}

.origin-ribbon {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.origin-card {
  min-height: 108px;
  border-radius: 0;
  background: #fff;
  color: #111;
}

.origin-card span {
  background: #111;
  color: #fff;
}

.brand-picker {
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.brand-picker summary {
  min-height: 64px;
}

.brand-picker summary::after,
.brand-group summary::after {
  border-radius: 0;
  background: #fff;
}

.brand-board {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  padding: 0;
}

.brand-tile {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.brand-tile.is-active {
  background: #fff5f6;
  color: var(--red);
}

.brand-tile-image {
  display: none;
}

.brand-tile-copy {
  padding: 13px 14px;
}

.brand-tile-copy strong {
  font-size: 16px;
}

.brand-tile-copy small {
  color: #777;
}

.result-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 12px;
  border-bottom: 2px solid #111;
  padding-bottom: 14px;
}

.result-toolbar h2 {
  font-size: 24px;
}

.result-toolbar p {
  margin: 6px 0 0;
  color: #666;
}

.result-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 210px;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-toolbar select {
  min-height: 40px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #111;
  font: inherit;
  padding: 0 10px;
}

.catalog-layout,
.brand-list {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.duty-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.product-card-image {
  min-height: 245px;
  aspect-ratio: 1 / 1;
}

.product-card-image img {
  padding: 16px;
}

.product-badge {
  top: 10px;
  left: 10px;
  border-radius: 0;
  background: #111;
  color: #fff;
}

.product-card-body {
  gap: 8px;
  padding: 15px;
}

.goods-brand {
  margin: 0;
  color: #555;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 60px;
  color: #111;
  font-size: 16px;
  line-height: 1.28;
}

.goods-detail {
  min-height: 38px;
  margin: 0;
  color: #666;
  font-size: 13px;
}

.goods-price {
  margin: 0;
  color: var(--red);
  font-size: 21px;
  font-weight: 900;
}

.goods-id {
  margin: 0;
  color: #777;
  font-size: 12px;
}

.product-card-footer {
  border-top: 1px solid #ededed;
  padding-top: 10px;
}

.product-card-footer button,
.product-card-footer a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 10px;
}

.product-card-footer a {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.catalog-quick-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  border: 1px solid #d8d8d8;
  background: #fff;
  padding: 12px;
}

.quick-searches,
.status-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.quick-searches > span,
.status-legend {
  color: #555;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-searches button {
  min-height: 34px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 11px;
}

.quick-searches button:hover,
.quick-searches button.is-active {
  border-color: var(--red);
  background: #fff5f6;
  color: var(--red);
}

.status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.status-dot-available {
  background: #1f9d55;
}

.status-dot-low {
  background: #b7791f;
}

.status-dot-sold {
  background: #d92d20;
}

.product-ask-link {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 0 8px;
}

html[data-theme="dark"] .catalog-quick-panel {
  border-color: #333;
  background: #111;
}

html[data-theme="dark"] .quick-searches > span,
html[data-theme="dark"] .status-legend {
  color: #cfc8bd;
}

html[data-theme="dark"] .quick-searches button {
  border-color: #333;
  background: #181818;
  color: #f2f2f2;
}

html[data-theme="dark"] .quick-searches button:hover,
html[data-theme="dark"] .quick-searches button.is-active {
  border-color: #ff756d;
  background: #241111;
  color: #ff756d;
}

html[data-theme="dark"] .product-ask-link {
  border-color: #ff756d;
  background: #ff756d;
  color: #111;
}

.related-block {
  margin-top: 40px;
  border-top: 2px solid #111;
  padding-top: 18px;
}

.related-block h2 {
  font-size: 22px;
}

.related-block div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.related-block a {
  border: 1px solid var(--line);
  padding: 13px;
  color: #111;
  font-weight: 800;
}

.faq-list {
  max-width: none;
}

.faq-list details {
  border-width: 2px;
}

.faq-list details[open] {
  border-color: #c40d2e;
}

.faq-list details[open] summary {
  border-bottom: 1px solid #f1c6d0;
  color: #c40d2e;
}

.faq-list p,
.faq-list ol {
  background: #fff8f9;
  color: #141414;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.75;
}

.faq-list li {
  color: #141414;
  font-weight: 750;
}

.site-footer {
  background: #f5f5f5;
  border-top: 1px solid var(--line);
  color: #222;
}

.site-footer a {
  color: var(--red);
}

@media (max-width: 1080px) {
  .product-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .catalog-control-grid {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    padding-right: 0;
  }

  .catalog-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .utility-nav {
    flex-direction: column;
  }

  .jdf-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .inventory-reddit-link {
    width: 100%;
  }

  .catalog-sidebar,
  .catalog-toolbar,
  .origin-ribbon,
  .catalog-stats,
  .related-block div {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    display: none;
  }

  .result-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .result-toolbar label {
    min-width: 0;
  }

  .product-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-image {
    min-height: 185px;
  }

  .product-card h3 {
    min-height: 72px;
    font-size: 14px;
  }
}

/* Reviews and location update */
.hero-location {
  display: inline-block;
  margin: 0 0 28px;
  padding: 10px 18px;
  border: 2px solid rgba(196, 13, 46, 0.28);
  border-radius: 8px;
  background: rgba(196, 13, 46, 0.08);
  color: #c40d2e;
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.92);
}

.hero-subline {
  max-width: 840px;
  margin: 28px auto 0;
  color: #374151;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.45;
}

.hero-order-note {
  max-width: 840px;
  margin: 12px auto 0;
  color: #1d4ed8;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 950;
  line-height: 1.35;
}

.reviews-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 86px) 80px;
}

.review-hero {
  display: grid;
  gap: 20px;
  min-height: 460px;
  align-content: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(44px, 6vw, 74px);
}

.review-kicker,
.review-meta {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-hero h1 {
  max-width: 940px;
  margin: 0;
  color: #111;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 1.05;
}

.review-hero > p:not(.review-kicker) {
  max-width: 760px;
  margin: 0;
  color: #4f5964;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.7;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.review-primary,
.review-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  color: #fff;
  font-weight: 900;
  padding: 0 22px;
}

.review-primary {
  background: var(--red);
}

.review-secondary {
  background: #fff;
  color: var(--red);
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--line);
}

.review-stats div {
  display: grid;
  gap: 6px;
  min-height: 105px;
  align-content: center;
  border-right: 1px solid var(--line);
  background: #fafafa;
  padding: 18px;
}

.review-stats div:last-child {
  border-right: 0;
}

.review-stats strong {
  color: #111;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
}

.review-stats span {
  color: #68717c;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.review-section {
  padding: clamp(50px, 7vw, 86px) 0;
}

.review-section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.review-section-heading h2,
.review-thread-card h2 {
  margin: 6px 0 10px;
  color: #111;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.12;
}

.review-section-heading p:not(.eyebrow),
.review-thread-card p:not(.eyebrow) {
  margin: 0;
  color: #5b6570;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
}

.review-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: grid;
  align-content: start;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.review-image {
  display: grid;
  height: 260px;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f7f7f7;
}

.review-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.review-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  background: #fff;
  padding: 15px;
}

.review-copy blockquote {
  margin: 0;
  color: #20262d;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.review-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  border-top: 2px solid #111;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  scroll-margin-top: 150px;
}

.review-list-toolbar strong {
  color: #111;
  font-size: 18px;
}

.review-list-toolbar span,
.review-page-control label {
  color: #69737f;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-page-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-page-control select {
  min-width: 118px;
  min-height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  padding: 0 12px;
}

.review-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.review-pagination button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0 12px;
}

.review-pagination button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.review-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.review-thread-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 2px solid var(--red);
  background: #fff8f9;
  padding: clamp(24px, 4vw, 42px);
}

@media (max-width: 980px) {
  .review-stats,
  .review-thread-card {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .review-stats div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .review-hero {
    min-height: auto;
  }

  .review-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .review-image {
    height: 280px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-page-control {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared navigation and theme toggle */
.theme-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  border-radius: 8px;
  background: #fff;
  color: var(--red);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  padding: 0 16px;
}

.theme-toggle:hover {
  background: #fff8f9;
}

.jdf-origin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 0;
}

.jdf-origin-tabs button {
  min-height: 38px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  color: #2b3440;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0 14px;
}

.jdf-origin-tabs button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.catalog-filter-layout {
  display: grid;
  grid-template-columns: minmax(150px, var(--catalog-sidebar-width, 205px)) 22px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 28px);
  align-items: start;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: clamp(14px, 2vw, 30px);
}

.catalog-filter-panel {
  position: sticky;
  top: 112px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid #e4e4e4;
  padding: 0 16px 24px 0;
  scrollbar-color: var(--red) transparent;
  scrollbar-width: thin;
}

.catalog-filter-panel::-webkit-scrollbar {
  width: 8px;
}

.catalog-filter-panel::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-filter-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--red);
}

.catalog-filter-resizer {
  position: sticky;
  top: 112px;
  width: 22px;
  min-height: min(620px, calc(100vh - 140px));
  align-self: stretch;
  border: 0;
  background: transparent;
  cursor: col-resize;
  padding: 0;
}

.catalog-filter-resizer::before {
  content: "";
  display: block;
  width: 3px;
  height: 100%;
  min-height: 260px;
  margin: 0 auto;
  border-radius: 999px;
  background: #262626;
}

.catalog-filter-resizer:hover::before,
.catalog-filter-resizer:focus-visible::before {
  background: var(--red);
}

body.is-resizing-sidebar {
  cursor: col-resize;
  user-select: none;
}

.catalog-filter-panel .sidebar-block {
  border-bottom: 0;
  padding-bottom: 0;
}

.catalog-filter-panel .sidebar-block h2 {
  margin: 0 0 14px;
  color: #555b66;
  font-size: 18px;
  font-weight: 900;
}

.catalog-filter-panel .sidebar-link-list {
  gap: 10px;
}

.catalog-filter-panel .sidebar-link-list button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #405a78;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 0;
  text-align: left;
}

.catalog-filter-panel .sidebar-link-list button::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid #d6d6d6;
  background: #fff;
}

.catalog-filter-panel .sidebar-link-list button small {
  margin-left: auto;
  color: #6e8aad;
  font-size: 15px;
  font-weight: 800;
}

.catalog-filter-panel .sidebar-link-list button.is-active {
  color: var(--red);
}

.catalog-filter-panel .sidebar-link-list button.is-active::before {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 4px #fff;
}

.catalog-filter-layout .catalog-main {
  min-width: 0;
}

@media (max-width: 560px) {
  .catalog-filter-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filter-resizer {
    display: none;
  }

  .catalog-filter-panel {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #e4e4e4;
    padding-right: 0;
    padding-bottom: 20px;
  }
}

@media (max-width: 680px) {
  .jdf-origin-tabs button {
    flex: 1 1 130px;
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .jdf-main {
  background: #080808;
  color: #f4f4f4;
}

html[data-theme="dark"] .age-banner,
html[data-theme="dark"] .utility-nav {
  background: #050505;
  border-color: #252525;
  color: #f4f4f4;
}

html[data-theme="dark"] .site-header {
  background: rgba(5, 5, 5, 0.97);
  border-bottom-color: var(--red);
  color: #f6f6f6;
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .nav-links,
html[data-theme="dark"] .nav-links a,
html[data-theme="dark"] .utility-nav a {
  color: #f2f2f2;
}

html[data-theme="dark"] .brand-mark {
  background: #f2f2f2;
  color: #080808;
}

html[data-theme="dark"] .brand-logo {
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45));
}

html[data-theme="dark"] .brand-name {
  color: #f8f8f8;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72);
}

html[data-theme="dark"] .theme-toggle {
  background: var(--red);
  color: #fff;
}

html[data-theme="dark"] .theme-toggle:hover {
  background: #e0193d;
}

html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .category-card h3,
html[data-theme="dark"] .catalog-entry strong,
html[data-theme="dark"] .review-hero h1,
html[data-theme="dark"] .review-section-heading h2,
html[data-theme="dark"] .review-thread-card h2,
html[data-theme="dark"] .product-card h3,
html[data-theme="dark"] .goods-price,
html[data-theme="dark"] .review-stats strong,
html[data-theme="dark"] .review-list-toolbar strong,
html[data-theme="dark"] .jdf-title-row h1 {
  color: #f7f7f7;
}

html[data-theme="dark"] .hero-subline,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .category-card p,
html[data-theme="dark"] .catalog-entry span,
html[data-theme="dark"] .review-hero > p:not(.review-kicker),
html[data-theme="dark"] .review-section-heading p:not(.eyebrow),
html[data-theme="dark"] .review-thread-card p:not(.eyebrow),
html[data-theme="dark"] .goods-detail,
html[data-theme="dark"] .goods-id,
html[data-theme="dark"] .jdf-breadcrumbs,
html[data-theme="dark"] .jdf-tools p,
html[data-theme="dark"] .review-stats span,
html[data-theme="dark"] .review-list-toolbar span,
html[data-theme="dark"] .review-page-control label {
  color: #d5d5d5;
}

html[data-theme="dark"] .hero-order-note {
  color: #72a7ff;
}

html[data-theme="dark"] .intro-strip div,
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .catalog-entry,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .review-card,
html[data-theme="dark"] .review-thread-card,
html[data-theme="dark"] .review-stats div,
html[data-theme="dark"] .review-page-control select {
  border-color: #303030;
  background: #121212;
  color: #f4f4f4;
}

html[data-theme="dark"] .category-image,
html[data-theme="dark"] .product-card-image,
html[data-theme="dark"] .review-image,
html[data-theme="dark"] .review-copy {
  background: #161616;
}

html[data-theme="dark"] .product-gallery-arrow {
  border-color: #3a3a3a;
  background: rgba(24, 24, 24, 0.9);
  color: #f4f4f4;
}

html[data-theme="dark"] .jdf-tools,
html[data-theme="dark"] .review-list-toolbar {
  border-color: #383838;
}

html[data-theme="dark"] .jdf-origin-tabs button,
html[data-theme="dark"] .jdf-search input,
html[data-theme="dark"] .jdf-sort select,
html[data-theme="dark"] .review-pagination button,
html[data-theme="dark"] .review-secondary {
  border-color: #333;
  background: #101010;
  color: #f4f4f4;
}

html[data-theme="dark"] .jdf-origin-tabs button.is-active,
html[data-theme="dark"] .review-pagination button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

html[data-theme="dark"] .catalog-filter-panel {
  border-right-color: #303030;
  border-bottom-color: #303030;
}

html[data-theme="dark"] .catalog-filter-resizer::before {
  background: #333;
}

html[data-theme="dark"] .catalog-filter-resizer:hover::before,
html[data-theme="dark"] .catalog-filter-resizer:focus-visible::before {
  background: var(--red);
}

html[data-theme="dark"] .catalog-filter-panel .sidebar-block h2 {
  color: #f4f4f4;
}

html[data-theme="dark"] .catalog-filter-panel .sidebar-link-list button {
  color: #d7d7d7;
}

html[data-theme="dark"] .catalog-filter-panel .sidebar-link-list button::before {
  border-color: #4a4a4a;
  background: #101010;
}

html[data-theme="dark"] .catalog-filter-panel .sidebar-link-list button small {
  color: #a7a7a7;
}

html[data-theme="dark"] .catalog-filter-panel .sidebar-link-list button.is-active {
  color: #fff;
}

html[data-theme="dark"] .faq-list details[open] {
  border-color: var(--red);
  background: #130b0d;
}

html[data-theme="dark"] .faq-list p,
html[data-theme="dark"] .faq-list ol {
  background: #160d10;
  color: #f2f2f2;
}

html[data-theme="dark"] .faq-list li,
html[data-theme="dark"] .review-copy blockquote {
  color: #f2f2f2;
}

html[data-theme="dark"] .site-footer {
  background: #080808;
  border-top-color: #303030;
  color: #f2f2f2;
}

html[data-theme="dark"] .site-footer p {
  color: #d0d0d0;
}

/* Inventory image zoom */
body.lightbox-open {
  overflow: hidden;
}

.product-image-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  padding: 0;
}

.product-gallery {
  overflow: visible;
}

.product-gallery-main {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
}

.product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 48px;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  cursor: pointer;
  font: 800 28px/1 Arial, sans-serif;
  place-items: center;
  transform: translateY(-50%);
}

.product-gallery-prev {
  left: 8px;
}

.product-gallery-next {
  right: 8px;
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.product-gallery-count {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.product-image-button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.product-zoom-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.product-zoom-icon::before,
.product-zoom-icon::after {
  content: "";
  position: absolute;
  background: #fff;
}

.product-zoom-icon::before {
  left: 10px;
  top: 15px;
  width: 12px;
  height: 2px;
}

.product-zoom-icon::after {
  left: 15px;
  top: 10px;
  width: 2px;
  height: 12px;
}

.jdf-listing .product-card-image {
  min-height: 260px;
  height: 260px;
}

.jdf-listing .product-card-image img {
  max-width: 205px;
  max-height: 260px;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 36px);
  background: rgba(0, 0, 0, 0.74);
}

.product-lightbox.is-open {
  display: flex;
}

.product-lightbox-panel {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(84vw, 864px);
  max-height: 88vh;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  color: #111;
  padding: 16px;
}

.product-lightbox-close {
  position: absolute;
  right: 12px;
  top: 12px;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.product-lightbox-close:hover,
.product-lightbox-close:focus-visible {
  border-color: var(--red);
  color: var(--red);
  outline: 0;
}

.product-lightbox-image-wrap {
  display: grid;
  width: min(74vw, 780px);
  height: min(72vh, 720px);
  min-height: 0;
  place-items: center;
  border-radius: 6px;
  background: #f7f7f7;
  padding: clamp(16px, 2vw, 28px);
}

.product-lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.product-lightbox-caption {
  margin: 0;
  color: #222;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

html[data-theme="dark"] .product-lightbox-panel {
  border-color: #383838;
  background: #111;
  color: #f4f4f4;
}

html[data-theme="dark"] .product-lightbox-close {
  border-color: #3a3a3a;
  background: #181818;
  color: #f4f4f4;
}

html[data-theme="dark"] .product-lightbox-image-wrap {
  background: #181818;
}

html[data-theme="dark"] .product-lightbox-caption {
  color: #f4f4f4;
}

.inventory-status {
  font-weight: 900;
  text-transform: uppercase;
}

.product-origin .inventory-status,
.goods-detail .inventory-status {
  margin-left: 8px;
}

.product-badge.status-available,
.inventory-status.status-available {
  color: #1f9d55;
}

.product-badge.status-sold,
.inventory-status.status-sold {
  color: #d92d20;
}

.product-badge.status-low,
.inventory-status.status-low {
  color: #b7791f;
}

html[data-theme="dark"] .product-badge.status-available,
html[data-theme="dark"] .inventory-status.status-available {
  color: #63c98c;
}

html[data-theme="dark"] .product-badge.status-sold,
html[data-theme="dark"] .inventory-status.status-sold {
  color: #ff756d;
}

html[data-theme="dark"] .product-badge.status-low,
html[data-theme="dark"] .inventory-status.status-low {
  color: #efbd59;
}

.category-image {
  height: 176px;
  border: 0;
  border-radius: 6px;
  background: #f7f7f7;
}

.category-image img {
  padding: 0;
  object-fit: cover;
}

.category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.category-card {
  min-height: 330px;
  padding: 18px;
}

.category-card h3 {
  font-size: clamp(22px, 1.8vw, 28px);
}

.category-card p {
  font-size: 14px;
  line-height: 1.5;
}

.category-catalog-card {
  align-content: center;
  border-color: rgba(196, 13, 46, 0.45);
  background: #fff8f9;
}

.category-card-eyebrow {
  color: #c40d2e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-catalog-card strong {
  color: #151515;
  font-size: 15px;
  line-height: 1.3;
}

.catalog-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  border-radius: 8px;
  background: #c40d2e;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

html[data-theme="dark"] .hero-location {
  border-color: rgba(255, 117, 109, 0.36);
  background: rgba(255, 117, 109, 0.1);
  color: #ff756d;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72);
}

html[data-theme="dark"] .category-catalog-card {
  border-color: rgba(255, 117, 109, 0.46);
  background: #1a1010;
}

html[data-theme="dark"] .category-card-eyebrow {
  color: #ff756d;
}

html[data-theme="dark"] .category-catalog-card strong {
  color: #f4f4f4;
}

@media (max-width: 1280px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .age-banner {
    padding: 6px 12px;
    font-size: 12px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    padding: 9px 12px 11px;
  }

  .site-header .brand,
  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    height: 40px;
    flex: 0 0 auto;
  }

  .brand-name {
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .theme-toggle,
  .site-header .reddit-button {
    min-height: 32px;
    border-radius: 7px;
    font-size: 13px;
    padding: 0 10px;
  }

  .site-header .nav-links,
  .nav-links {
    display: flex;
    grid-column: 1 / -1;
    order: 4;
    width: 100%;
    gap: 14px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 0 0;
    font-size: 13px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .site-header .nav-links::-webkit-scrollbar,
  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .section {
    scroll-margin-top: 122px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.06;
  }

  .hero-location {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .hero-subline {
    margin-top: 20px;
    font-size: 18px;
  }

  .hero-order-note {
    font-size: 16px;
  }

  .intro-strip,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filter-layout {
    display: block;
    padding-right: 14px;
  }

  .catalog-filter-panel,
  .catalog-filter-resizer {
    display: none;
  }

  .jdf-listing .product-card-image {
    min-height: 210px;
    height: 210px;
  }

  .jdf-listing .product-card-image img {
    max-width: 165px;
    max-height: 210px;
  }

  .product-lightbox-panel {
    width: min(94vw, 520px);
    padding: 12px;
  }

  .product-lightbox-image-wrap {
    width: 88vw;
    height: 68vh;
    padding: 18px;
  }

  .product-lightbox img {
    width: 100%;
    height: 100%;
  }
}
