:root {
  --page: #f4f0e8;
  --surface: #fffdf8;
  --ink: #171815;
  --muted: #6d6d65;
  --line: rgba(23, 24, 21, 0.12);
  --accent: #154c35;
  --accent-2: #b49a62;
  --soft: #e8e2d7;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-store="bulk"] {
  --page: #eee9dd;
  --surface: #fbf8f0;
  --ink: #121713;
  --muted: #687069;
  --accent: #0e5c3e;
  --accent-2: #b96d32;
  --soft: #dfe7de;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); }
body.age-locked { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.topline {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 10px 24px;
  background: #111410;
  color: #f8f5ee;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.nav-shell {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 88px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--accent);
  font-weight: 800;
  font-family: Georgia, serif;
}

.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--ink); }
.nav-actions { display: flex; justify-content: flex-end; gap: 10px; }

.account-link { gap: 7px; }
.account-link-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.account-link-icon svg { width: 18px; height: 18px; display: block; }
.account-link-mobile { display: none; }

.ghost-button,
.cart-button,
.primary-button,
.secondary-button,
.category-card button,
.product-card button {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 11px 17px;
  background: transparent;
  color: var(--ink);
}

.cart-button, .primary-button {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

main { max-width: 1240px; margin: 0 auto; padding: 0 24px 64px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

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

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(54px, 7vw, 94px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h2 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.035em; }
.lede { max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.primary-button, .secondary-button { padding: 14px 22px; font-weight: 700; }
.secondary-button { background: var(--surface); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
}

.trust-row span::before { content: "•"; margin-right: 8px; color: var(--accent); }

.hero-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.2) 36%, transparent 37%),
    linear-gradient(145deg, var(--soft), var(--surface));
  border: 1px solid var(--line);
}

.pack {
  position: absolute;
  width: 280px;
  height: 104px;
  border-radius: 16px;
  border: 1px solid rgba(20,20,20,0.08);
  box-shadow: 0 24px 55px rgba(0,0,0,0.14);
}

.pack::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 8px;
}

.pack-one { right: 48px; top: 92px; background: #b33b31; transform: rotate(4deg); }
.pack-two { left: 58px; top: 192px; background: #315f90; transform: rotate(-5deg); }
.pack-three { right: 72px; bottom: 94px; background: var(--accent); transform: rotate(2deg); }

.visual-copy {
  position: absolute;
  left: 34px;
  bottom: 30px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,253,248,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
}

.visual-copy span, .visual-copy strong { display: block; }
.visual-copy span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
.visual-copy strong { margin-top: 4px; font-size: 15px; }

.switcher {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
}

.switcher-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.switcher-actions a {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.switcher-actions a.active { color: white; background: var(--accent); border-color: var(--accent); }

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

.category-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.category-card > span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.category-card h3 { margin-bottom: 10px; font-size: 30px; }
.category-card p { color: var(--muted); line-height: 1.6; }
.category-card button { width: fit-content; }

.browse-type-section {
  margin-top: 46px;
}

.type-section-heading {
  margin-bottom: 18px;
}

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

.type-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.type-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  box-shadow: 0 18px 40px rgba(20,20,18,0.07);
}

.type-card-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.type-card h3 {
  margin-bottom: 7px;
  font-size: 28px;
}

.type-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.type-card .text-link {
  width: fit-content;
}

.catalog-section { margin-top: 84px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading > span {
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.product-card-media-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
}

.product-card-media-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.product-card-media-link:hover .product-photo {
  transform: scale(1.015);
}

.product-image-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card p { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.product-card h3 { margin-bottom: 12px; font-size: 25px; }
.product-card button { margin-top: auto; width: fit-content; }

.empty-catalog {
  grid-column: 1 / -1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed var(--line);
  color: var(--muted);
}
.empty-catalog strong { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 26px; }

.status-panel {
  margin-top: 76px;
  padding: 34px;
  border-radius: 30px;
  background: #111410;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 30px;
}

.status-panel .eyebrow { color: #bfcbbf; }
.status-panel p { color: #b8beb8; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.status-grid div {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.status-grid span, .status-grid strong { display: block; }
.status-grid span { color: #aeb5ae; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.status-grid strong { margin-top: 8px; }

footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(10, 12, 10, 0.86);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.age-card {
  width: min(560px, 100%);
  padding: 38px;
  border-radius: 28px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}

.age-card h2 { font-size: 44px; }
.age-card p { color: var(--muted); line-height: 1.7; }
.age-card small { display: block; margin-top: 18px; color: var(--muted); }
.age-actions { display: flex; gap: 10px; margin-top: 26px; }
.age-actions button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 60px 0; }
  .hero-visual { min-height: 420px; }
  .switcher { align-items: flex-start; flex-direction: column; }
  .category-grid, .type-grid, .product-grid, .status-panel, .status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topline { gap: 14px; justify-content: space-between; padding-inline: 14px; font-size: 9px; }
  .nav-shell, main, footer { padding-left: 16px; padding-right: 16px; }
  .nav-actions .ghost-button { display: none; }
  .nav-actions .account-link { display: inline-flex; padding: 10px 11px; gap: 6px; }
  .nav-actions .account-link-label { display: none; }
  .nav-actions .account-link-mobile { display: inline; font-size: 12px; font-weight: 800; }
  .home-account-callout { align-items: stretch; flex-direction: column; padding: 20px; }
  .home-account-callout .primary-button { width: 100%; }
  .brand strong { font-size: 16px; }
  h1 { font-size: 52px; }
  .hero-actions, .age-actions { align-items: stretch; flex-direction: column; }
  .hero-actions button, .age-actions button { width: 100%; }
  .pack { width: 225px; height: 86px; }
  .pack-one { right: 22px; }
  .pack-two { left: 22px; }
  .pack-three { right: 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .type-card { min-height: 142px; padding: 20px; }
  .brand-type-filter { gap: 7px; }
  .brand-type-filter > span { width: 100%; margin-bottom: 2px; }
  .age-card { padding: 28px 22px; }
  .age-card h2 { font-size: 36px; }
  footer { flex-direction: column; }
}


/* Milestone 3: Shop Products + Browse Brands */
.primary-nav a {
  position: relative;
  padding: 10px 0;
}

.primary-nav a.active {
  color: var(--ink);
  font-weight: 700;
}

.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.text-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding: 86px 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 20px;
}

.compact-hero {
  min-height: 400px;
}

.page-hero-stat,
.brand-index-stat {
  min-width: 190px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-hero-stat strong,
.brand-index-stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1;
}

.page-hero-stat span,
.brand-index-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.shop-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.7fr repeat(3, minmax(150px, 0.8fr));
  gap: 12px;
  margin: 28px 0 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(244, 240, 232, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

:root[data-store="shop"] .shop-toolbar {
  grid-template-columns: 1.7fr repeat(2, minmax(150px, 0.8fr));
}

:root[data-store="bulk"] .shop-toolbar {
  background: rgba(238, 233, 221, 0.92);
}

.search-box,
.select-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.search-box label,
.select-field label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-box input,
.select-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.search-box input:focus,
.select-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}

.filter-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
  scrollbar-width: none;
}

.filter-chip-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--muted);
}

.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.shop-results-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.shop-results-summary a {
  color: var(--accent);
  font-weight: 800;
}

.shop-clear-style {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--accent);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.review-card {
  min-height: 430px;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  min-height: 130px;
}

.product-image-placeholder {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.88), transparent 32%),
    linear-gradient(145deg, var(--soft), #d9d1c3);
}

.product-image-placeholder.tone-full {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.78), transparent 30%),
    linear-gradient(145deg, #e4d8ce, #b96855);
}

.product-image-placeholder.tone-light {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.88), transparent 30%),
    linear-gradient(145deg, #dce8ee, #88a9bc);
}

.product-image-placeholder.tone-menthol {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.88), transparent 30%),
    linear-gradient(145deg, #d8e6da, #6b9b78);
}

.product-image-placeholder.tone-cigar {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.5), transparent 30%),
    linear-gradient(145deg, #d8c3a8, #846043);
}

.product-image-placeholder.tone-grabba {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.55), transparent 30%),
    linear-gradient(145deg, #d6ccb3, #81775e);
}

.product-image-placeholder.tone-wrap {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.65), transparent 30%),
    linear-gradient(145deg, #e4dac6, #aa8c65);
}

.product-image-placeholder > strong {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  color: rgba(20, 20, 18, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  text-transform: none;
  letter-spacing: -0.02em;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  color: rgba(20, 20, 18, 0.7);
  font-size: 9px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.pack-art {
  width: 138px;
  height: 66px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  transform: rotate(-7deg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.16);
}

.pack-art span {
  display: block;
  background: rgba(255,255,255,0.78);
  border-right: 1px solid rgba(20,20,20,0.08);
}

.pack-art span:nth-child(2) {
  background: rgba(255,255,255,0.46);
}

.product-brand {
  margin-bottom: 6px !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}

.product-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 10px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.product-price-row strong {
  font-size: 16px;
}

/* One storefront-wide display. Never imply a sale unless the catalog supplied
   an eligible coupon quote checked by the server. */
.catalog-price-display {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 100%;
}
.catalog-price-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 10px;
}
.catalog-price-original {
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 500;
  text-decoration: line-through;
}
.catalog-price-main {
  font-weight: 800;
  color: var(--accent);
}
.catalog-price-savings {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  background: #e3f4e8;
  color: #155e37;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.catalog-price-note {
  font-size: 10px;
  color: #226c42;
  line-height: 1.35;
}
.product-detail-price .catalog-price-display {
  width: 100%;
}
.product-detail-price .catalog-price-main {
  font-size: 38px;
}
.home-product-price .catalog-price-display,
.product-price-row .catalog-price-display {
  min-width: 0;
}

.product-price-row small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 18px 18px;
}

.product-add-cart,
.product-review-button {
  width: 100% !important;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
}

.product-add-cart {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: white !important;
}

.product-add-cart:hover {
  filter: brightness(0.96);
}

.product-add-cart.added {
  background: #173f2e !important;
  border-color: #173f2e !important;
}

.product-add-cart:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.product-review-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}

.empty-results {
  margin-top: 22px;
  padding: 44px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  text-align: center;
}

.empty-results strong,
.empty-results span {
  display: block;
}

.empty-results strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.empty-results span {
  margin-top: 8px;
  color: var(--muted);
}

.brand-page-hero {
  min-height: 460px;
}

.brand-directory-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 54px 0 24px;
}

.brand-type-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 0 22px;
}

.brand-type-filter > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-type-filter .filter-chip {
  text-decoration: none;
}

.brand-filter-empty {
  grid-column: 1 / -1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

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

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

.brand-card {
  position: relative;
  min-height: 230px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20,20,18,0.08);
}

.brand-card-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-tone-0 { background: #dfe8df; }
.brand-tone-1 { background: #e8ddcf; }
.brand-tone-2 { background: #dfe4ea; }
.brand-tone-3 { background: #eadbd7; }
.brand-tone-4 { background: #e5e1cf; }

.brand-card-copy p {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-card-copy h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.brand-card-copy span {
  color: var(--muted);
  font-size: 12px;
}

.brand-card-arrow {
  align-self: start;
  color: var(--accent);
  font-size: 20px;
}

.brand-page-note {
  margin-top: 70px;
  padding: 34px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  border-radius: 28px;
  background: #111410;
  color: white;
}

.brand-page-note .eyebrow {
  color: #bfcbbf;
}

.brand-page-note p {
  margin: 0;
  align-self: center;
  color: #b8beb8;
  line-height: 1.7;
}

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

  .shop-toolbar {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .shop-toolbar .select-field:last-child {
    grid-column: 3;
  }

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

@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 0 42px;
  }

  .page-hero-stat,
  .brand-index-stat {
    width: 100%;
  }

  .shop-toolbar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  :root[data-store="shop"] .shop-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .shop-toolbar .select-field:last-child {
    grid-column: auto;
  }

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

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

@media (max-width: 620px) {
  .shop-toolbar {
    grid-template-columns: 1fr;
    margin-top: 18px;
    padding: 12px;
  }

  :root[data-store="shop"] .shop-toolbar {
    grid-template-columns: 1fr;
  }

  .shop-product-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .shop-results-summary,
  .brand-directory-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-card {
    min-height: 390px;
  }

  .brand-card {
    min-height: 190px;
  }
}


/* Milestone 4: product, cart, checkout */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding: 28px 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a:hover { color: var(--accent); }

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 58px;
  align-items: center;
  padding: 30px 0 62px;
}

.product-detail-media {
  min-height: 570px;
  border-radius: 34px;
}

.product-detail-media > small {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 170px;
  color: rgba(20,20,18,.56);
  text-align: right;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-pack-art {
  width: min(62%, 310px);
  height: 145px;
}

.product-detail-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 6vw, 78px);
}

.product-detail-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
}

.product-detail-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-transform: capitalize;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-detail-price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.product-detail-price span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.purchase-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  margin-top: 24px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  min-height: 54px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.quantity-control button,
.quantity-control input {
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.quantity-control input {
  min-width: 0;
  width: 100%;
  appearance: textfield;
  font-weight: 700;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.add-cart-large {
  border-radius: 999px;
  font-weight: 800;
}

.add-cart-large:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.product-trust-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
}

.product-trust-list span::before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent);
  font-weight: 800;
}

.product-info-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr;
  gap: 14px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.product-info-grid article {
  min-height: 235px;
  padding: 25px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.product-info-grid h2 { font-size: 30px; }
.product-info-grid p:last-child { color: var(--muted); line-height: 1.65; }

.site-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: 16px;
  background: #111410;
  color: white;
  box-shadow: 0 20px 55px rgba(0,0,0,.22);
  transform: translateY(18px);
  opacity: 0;
  transition: .2s ease;
}

.site-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.empty-page {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 720px;
}

.empty-page p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.empty-page .button-link { margin-top: 12px; }

.compact-cart-hero { min-height: 360px; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .7fr);
  gap: 28px;
  align-items: start;
  padding: 32px 0 70px;
}

.cart-lines {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto 120px;
  gap: 18px;
  align-items: center;
  padding: 15px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.cart-thumb {
  min-height: 105px;
  border-radius: 16px;
}

.mini-pack {
  width: 72px;
  height: 36px;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}

.cart-line-copy p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cart-line-copy h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.cart-line-copy > span {
  color: var(--muted);
  font-size: 11px;
}

.cart-line-qty {
  display: grid;
  grid-template-columns: 30px 28px 30px;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.cart-line-qty button {
  height: 36px;
  border: 0;
  background: transparent;
}

.cart-line-price {
  text-align: right;
}

.cart-line-price strong,
.cart-line-price small {
  display: block;
}

.cart-line-price small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-button {
  margin-top: 9px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
}

.order-summary-card,
.checkout-summary {
  position: sticky;
  top: 24px;
  padding: 26px;
  border-radius: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.summary-row strong { color: var(--ink); }

.summary-total {
  padding-top: 18px;
  color: var(--ink);
  font-size: 16px;
  border-bottom: 0;
}

.summary-total strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.summary-notice {
  margin: 14px 0 20px;
  padding: 12px;
  border-radius: 13px;
  background: var(--soft);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.checkout-cta { width: 100%; }

.summary-back {
  display: block;
  margin-top: 18px;
  text-align: center;
}

.checkout-head {
  padding: 64px 0 34px;
  border-bottom: 1px solid var(--line);
}

.checkout-head h1 { margin-bottom: 16px; }
.checkout-head > p:last-child {
  max-width: 710px;
  color: var(--muted);
  line-height: 1.65;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 30px;
  align-items: start;
  padding: 34px 0 72px;
}

.checkout-form {
  display: grid;
  gap: 15px;
}

.checkout-section {
  padding: 28px;
  border-radius: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.checkout-section-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.checkout-section-title > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.checkout-section-title h2 {
  margin-bottom: 4px;
  font-size: 27px;
}

.checkout-section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.field-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-grid label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.field-wide { grid-column: 1 / -1; }

.field-grid input,
.field-grid select {
  min-height: 49px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--page);
  color: var(--ink);
  outline: 0;
}

.field-grid input:focus,
.field-grid select:focus {
  border-color: var(--accent);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.payment-option {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--page);
}

.payment-option strong,
.payment-option span { display: block; }

.payment-option > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.payment-status-pill {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.payment-status-pill.available {
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
}

.payment-architecture-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.checkout-error {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #b86556;
  background: #f5e5e1;
  color: #704034;
  font-size: 12px;
}

.checkout-pay-button {
  min-height: 56px;
  border-radius: 999px;
  font-weight: 800;
}

.checkout-pay-button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.checkout-items {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.checkout-item strong { color: var(--ink); }

.payment-state-page {
  max-width: 760px;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.payment-state-page h1 { margin-bottom: 20px; }

.payment-state-page > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.payment-state-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.payment-state-card {
  width: min(100%, 520px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px;
  margin: 13px 0 25px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.payment-state-card span { color: var(--muted); }

@media (max-width: 1000px) {
  .product-detail-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-media { min-height: 480px; }
  .order-summary-card,
  .checkout-summary { position: static; }

  .product-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-info-grid article:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .product-detail-layout { gap: 30px; }
  .product-detail-media { min-height: 390px; }
  .purchase-panel { grid-template-columns: 1fr; }

  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .product-info-grid article:first-child {
    grid-column: auto;
  }

  .cart-line {
    grid-template-columns: 92px 1fr auto;
  }

  .cart-line-qty {
    grid-column: 2;
    width: 88px;
  }

  .cart-line-price {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }

  .checkout-section { padding: 22px 18px; }
}

@media (max-width: 520px) {
  .cart-line {
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }

  .cart-line-price {
    grid-column: 2;
    grid-row: auto;
    text-align: left;
  }

  .cart-line-qty {
    grid-column: 2;
  }

  .payment-option {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Uploaded product media */
.product-photo-shell {
  padding: 0;
  background: var(--surface);
}

.product-photo {
  width: 100%;
  height: 100%;
  min-height: 245px;
  display: block;
  object-fit: contain;
  padding: 18px;
  background: var(--surface);
  transition: transform 160ms ease;
}

.product-detail-gallery {
  display: grid;
  gap: 12px;
}

.product-detail-photo {
  width: 100%;
  height: 100%;
  max-height: 650px;
  display: block;
  object-fit: contain;
  padding: clamp(20px, 5vw, 48px);
  background: var(--surface);
}

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 1px 5px;
}

.product-gallery-thumb {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.product-gallery-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 12%, transparent);
}

.product-gallery-thumb img,
.cart-product-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.cart-product-photo {
  padding: 8px;
  background: var(--surface);
}

@media (max-width: 720px) {
  .product-photo {
    min-height: 220px;
  }

  .product-detail-photo {
    max-height: 460px;
    padding: 22px;
  }

  .product-gallery-thumb {
    width: 66px;
    height: 66px;
  }
}


@media (max-width: 520px) {
  .product-card-actions {
    grid-template-columns: 1fr;
  }
}


/* Clean cart + dual-payment checkout */
.cart-page-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 58px 0 28px;
  border-bottom: 1px solid var(--line);
}

.cart-page-head h1 {
  margin-bottom: 8px;
  font-size: clamp(42px, 6vw, 72px);
}

.cart-page-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.cart-continue-link {
  padding-bottom: 8px;
  white-space: nowrap;
}

.clean-cart-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr);
  gap: 34px;
  padding-top: 30px;
}

.clean-cart-line {
  min-height: 146px;
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.clean-cart-line + .clean-cart-line {
  margin-top: 12px;
}

.clean-cart-line .cart-thumb {
  width: 116px;
  height: 108px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.clean-cart-line .cart-line-copy h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

.clean-cart-line .cart-line-copy > span {
  color: var(--muted);
  font-size: 12px;
}

.clean-qty {
  min-width: 108px;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--page);
}

.clean-qty button {
  border: 0;
  background: transparent;
}

.cart-remove-mobile {
  display: none;
}

.clean-summary-card {
  box-shadow: 0 20px 50px rgba(20, 20, 18, .055);
}

.summary-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.summary-card-head .eyebrow {
  margin: 0;
}

.summary-card-head > span,
.summary-card-head > a {
  color: var(--muted);
  font-size: 11px;
}

.summary-notice.warning {
  background: #fff3df;
  color: #795123;
}

.checkout-trust-row {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}

.checkout-trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
  font-weight: 900;
}

.clean-empty {
  align-items: flex-start;
}

.empty-page-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.clean-checkout-head {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
}

.clean-checkout-head > div:first-child {
  max-width: 740px;
}

.checkout-head-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
}

.checkout-head-trust span {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.clean-checkout-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: 36px;
}

.payment-method-grid {
  display: grid;
  gap: 12px;
}

.payment-method-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--page);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.payment-method-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.payment-method-card.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}

.payment-method-card:has(input:disabled) {
  cursor: not-allowed;
  opacity: .58;
}

.payment-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-icon {
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border-radius: 13px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 900;
}

.payment-method-card > div > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.payment-method-card > div > span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.payment-method-card > em {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.payment-method-card > em.available {
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
}

.payment-method-help {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.checkout-submit-note {
  margin: -2px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

.clean-checkout-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.clean-checkout-item img,
.checkout-item-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--page);
  border: 1px solid var(--line);
}

.clean-checkout-item > div strong,
.clean-checkout-item > div span {
  display: block;
}

.clean-checkout-item > div strong {
  color: var(--ink);
  font-size: 11px;
}

.clean-checkout-item > div span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.clean-checkout-item > b {
  font-size: 11px;
}

.checkout-security-note {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: #111410;
  color: white;
}

.checkout-security-note strong {
  font-size: 11px;
}

.checkout-security-note span {
  color: #b8beb8;
  font-size: 9px;
  line-height: 1.5;
}

.clean-payment-state {
  margin: 0 auto;
}

.payment-state-icon.success {
  background: #17683f;
}

.payment-state-icon.failed {
  background: #8b3b30;
}

.payment-state-order {
  margin: -11px 0 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.etransfer-confirmation {
  max-width: 760px;
  margin: 0 auto;
  padding: 76px 0 90px;
}

.confirmation-check {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: #17683f;
  color: white;
  font-size: 28px;
  font-weight: 900;
}

.etransfer-confirmation h1 {
  margin-bottom: 18px;
}

.confirmation-lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.etransfer-instruction-card {
  display: grid;
  gap: 1px;
  margin: 30px 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.etransfer-instruction-card > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
}

.etransfer-instruction-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.etransfer-instruction-card strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.etransfer-instruction-card button {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--page);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.confirmation-note {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 16px;
  background: var(--soft);
}

.confirmation-note strong {
  font-size: 12px;
}

.confirmation-note span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

@media (max-width: 1000px) {
  .clean-cart-layout,
  .clean-checkout-layout {
    grid-template-columns: 1fr;
  }

  .clean-checkout-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .cart-page-head {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 42px;
  }

  .clean-cart-line {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .clean-cart-line .cart-thumb {
    width: 86px;
    height: 86px;
  }

  .clean-cart-line .cart-line-qty,
  .clean-cart-line .cart-line-price {
    grid-column: 2;
    grid-row: auto;
  }

  .clean-cart-line .cart-line-price {
    text-align: left;
  }

  .cart-remove-desktop {
    display: none;
  }

  .cart-remove-mobile {
    display: inline-block;
  }

  .payment-method-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .payment-method-card > em {
    grid-column: 2;
    justify-self: start;
  }

  .etransfer-instruction-card > div {
    grid-template-columns: 1fr;
  }

  .etransfer-instruction-card button {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .clean-cart-line {
    padding: 14px;
  }

  .clean-cart-line .cart-line-copy h3 {
    font-size: 20px;
  }

  .checkout-head-trust {
    display: none;
  }

  .confirmation-actions {
    display: grid;
  }

  .confirmation-actions a {
    width: 100%;
    text-align: center;
  }
}


/* Reference homepage refresh — 2026-09-30 */
.reference-hero {
  min-height: 650px;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: center;
  padding: 66px 0 72px;
}

.reference-hero .hero-copy {
  max-width: 720px;
}

.reference-hero .eyebrow {
  margin-bottom: 24px;
}

.reference-hero h1 {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(58px, 6.25vw, 88px);
  line-height: .98;
  letter-spacing: -.052em;
}

.reference-hero .lede {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.58;
}

.reference-hero .hero-actions {
  margin-top: 31px;
}

.reference-hero .primary-button,
.reference-hero .secondary-button {
  min-width: 150px;
  padding: 14px 23px;
}

.reference-visual {
  --tin-green: #154c35;
  --tin-blue: #25334f;
  --tin-red: #a84335;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 44% 39%, rgba(255, 255, 255, .96), rgba(255, 255, 255, .5) 30%, rgba(255, 255, 255, 0) 59%),
    linear-gradient(145deg, #eee5d6 0%, #f3ebdf 55%, #e7ddce 100%);
}

:root[data-store="bulk"] .reference-visual {
  --tin-green: #0e5c3e;
  --tin-blue: #35425a;
  --tin-red: #a95b39;
}

.tin {
  position: absolute;
  width: 228px;
  height: 112px;
  border: 1px solid rgba(22, 25, 21, .16);
  border-radius: 20px;
  box-shadow:
    0 8px 0 rgba(30, 32, 29, .70),
    0 22px 32px rgba(36, 31, 24, .19);
}

.tin::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
}

.tin::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -5px;
  height: 5px;
  border-radius: 0 0 12px 12px;
  background: rgba(11, 13, 11, .28);
}

.tin-one {
  top: 70px;
  right: 82px;
  background: var(--tin-green);
  transform: rotate(1deg);
}

.tin-two {
  top: 180px;
  left: 54px;
  background: var(--tin-green);
  transform: rotate(1deg);
}

.tin-three {
  top: 286px;
  right: 32px;
  background: var(--tin-red);
  transform: rotate(2deg);
}

.tin-four {
  left: 2px;
  bottom: 68px;
  background: var(--tin-blue);
  transform: rotate(-2deg);
}

.tin-five {
  right: 112px;
  bottom: 40px;
  background: var(--tin-red);
  transform: rotate(1deg);
}

.tin-six,
.tin-seven {
  display: none;
}

.reference-visual .visual-copy {
  left: 28px;
  bottom: 24px;
  padding: 13px 15px;
  border-radius: 3px;
  background: rgba(255, 253, 248, .90);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 8px 22px rgba(36, 31, 24, .06);
}

.reference-visual .visual-copy span {
  font-size: 10px;
}

.reference-visual .visual-copy strong {
  font-size: 14px;
}

.reference-switcher {
  margin-top: 10px;
}

@media (max-width: 1000px) {
  .reference-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding: 60px 0 34px;
  }

  .reference-hero .hero-copy {
    max-width: 760px;
  }

  .reference-visual {
    min-height: 650px;
  }

  .tin {
    width: clamp(230px, 38vw, 310px);
    height: 118px;
  }

  .tin-one { top: 34px; left: 18%; right: auto; }
  .tin-two { top: 154px; left: 43%; }
  .tin-three { top: 278px; left: 61%; right: auto; }
  .tin-four { top: 310px; left: 3%; bottom: auto; }
  .tin-five { top: 430px; left: 28%; right: auto; bottom: auto; }
  .tin-six {
    display: block;
    top: 476px;
    right: 2%;
    background: var(--tin-red);
    transform: rotate(2deg);
  }
  .tin-seven {
    display: block;
    top: 548px;
    left: 44%;
    background: var(--tin-green);
    transform: rotate(0deg);
  }
}

@media (max-width: 620px) {
  .reference-hero {
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 18px;
  }

  .reference-hero .eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .reference-hero h1 {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: clamp(50px, 13.2vw, 62px);
    line-height: .96;
    letter-spacing: -.045em;
  }

  .reference-hero .lede {
    font-size: 17px;
    line-height: 1.6;
  }

  .reference-hero .hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
  }

  .reference-hero .primary-button,
  .reference-hero .secondary-button {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    padding: 13px 20px;
    white-space: nowrap;
  }

  .reference-visual {
    min-height: 770px;
    margin-inline: -16px;
    overflow: hidden;
    background:
      radial-gradient(circle at 49% 36%, rgba(255,255,255,.92), rgba(255,255,255,.40) 37%, rgba(255,255,255,0) 65%),
      var(--page);
  }

  .tin {
    width: clamp(218px, 58vw, 282px);
    height: 104px;
    border-radius: 19px;
    box-shadow:
      0 8px 0 rgba(30, 32, 29, .70),
      0 19px 28px rgba(36, 31, 24, .17);
  }

  .tin-one {
    top: 32px;
    left: 22%;
  }

  .tin-two {
    top: 148px;
    left: 45%;
    background: var(--tin-blue);
  }

  .tin-three {
    top: 264px;
    left: 76%;
    background: var(--tin-green);
  }

  .tin-four {
    top: 318px;
    left: -8%;
    background: var(--tin-blue);
  }

  .tin-five {
    top: 438px;
    left: 48%;
    background: var(--tin-red);
  }

  .tin-six {
    top: 536px;
    right: auto;
    left: 18%;
    background: var(--tin-red);
  }

  .tin-seven {
    top: 638px;
    left: 43%;
    background: var(--tin-green);
  }

  .reference-visual .visual-copy {
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    text-align: center;
    white-space: nowrap;
  }

  .reference-visual .visual-copy span {
    display: none;
  }

  .reference-visual .visual-copy strong {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .02em;
  }

  .reference-switcher {
    margin-top: 26px;
  }
}

@media (max-width: 390px) {
  .reference-hero .hero-actions {
    gap: 8px;
  }

  .reference-hero .primary-button,
  .reference-hero .secondary-button {
    padding-inline: 16px;
    font-size: 14px;
  }

  .reference-visual {
    min-height: 720px;
  }

  .tin {
    width: 216px;
    height: 98px;
  }

  .tin-two { left: 40%; }
  .tin-three { left: 70%; }
  .tin-five { left: 44%; }
  .tin-seven { top: 612px; left: 36%; }
}


/* October 2026 independent storefront homepage redesign */
.topline {
  background: var(--accent);
  color: #fffdf8;
  gap: 0;
  padding: 9px 24px;
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
}

.topline span {
  display: inline-flex;
  align-items: center;
}

.topline span + span::before {
  content: "|";
  margin: 0 22px;
  opacity: 0.55;
}

.nav-shell {
  min-height: 82px;
  background: var(--page);
}

.brand strong {
  font-size: 20px;
}

.brand small {
  font-size: 9px;
  letter-spacing: 0.16em;
}

.home-hero-carousel {
  position: relative;
  margin-top: 22px;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 20%, rgba(255,255,255,0.38), transparent 32%),
    linear-gradient(120deg, #28241d 0%, #4f4536 50%, #1b241d 100%);
  color: white;
  box-shadow: 0 22px 58px rgba(30, 29, 24, 0.11);
}

.home-hero-track {
  position: relative;
  min-height: 430px;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 26px;
  padding: 42px 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.home-hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.home-hero-kicker {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #fffdf8;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-hero-body {
  max-width: 570px;
  margin: 0;
  color: rgba(255,255,255,0.77);
  font-size: 16px;
  line-height: 1.55;
}

.home-hero-cta {
  width: fit-content;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.home-hero-art {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.home-hero-art::before {
  content: "";
  position: absolute;
  width: 82%;
  height: 64%;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  filter: blur(2px);
}

.home-hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(0,0,0,0.32));
}

.home-hero-placeholder {
  position: relative;
  width: min(100%, 390px);
  height: 290px;
}

.home-hero-placeholder span {
  position: absolute;
  width: 220px;
  height: 94px;
  border-radius: 16px;
  box-shadow: 0 24px 46px rgba(0,0,0,0.24);
}

.home-hero-placeholder span:nth-child(1) { right: 30px; top: 24px; background: #0f5b3f; }
.home-hero-placeholder span:nth-child(2) { left: 6px; top: 118px; background: #213b5f; }
.home-hero-placeholder span:nth-child(3) { right: 62px; bottom: 14px; background: #a23b31; }

.home-hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,253,248,0.94);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.home-hero-arrow.previous { left: 15px; }
.home-hero-arrow.next { right: 15px; }

.home-hero-dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.home-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}

.home-hero-dot.active {
  background: #fffdf8;
  transform: scale(1.15);
}

.home-account-callout {
  margin-top: 28px;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 24px;
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.home-account-callout .eyebrow { margin-bottom: 8px; }
.home-account-callout h2 { margin-bottom: 8px; font-size: clamp(28px, 3vw, 40px); }
.home-account-callout p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.home-account-callout .primary-button { flex: 0 0 auto; white-space: nowrap; }

.home-category-section,
.home-products-section {
  margin-top: 54px;
}

.home-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.home-section-heading .eyebrow {
  margin-bottom: 8px;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
}

.home-section-heading > a {
  flex: 0 0 auto;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.home-section-subcopy {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-category-tile {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(30, 29, 24, 0.055);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-category-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(30, 29, 24, 0.09);
}

.home-category-media {
  min-height: 188px;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}

.home-category-media img {
  width: 100%;
  height: 175px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.13));
}

.home-category-tone-0 .home-category-media { background: linear-gradient(145deg, #8f2c23, #bc5144); }
.home-category-tone-1 .home-category-media { background: linear-gradient(145deg, #e6e0d6, #f7f2e8); }
.home-category-tone-2 .home-category-media { background: linear-gradient(145deg, #17563f, #3e795f); }
.home-category-tone-3 .home-category-media { background: linear-gradient(145deg, #48416d, #8c67a7); }

.home-category-fallback {
  width: 106px;
  height: 148px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.18);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  box-shadow: 0 18px 34px rgba(0,0,0,0.13);
}

.home-category-label {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: var(--surface);
}

.home-category-label strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.home-category-label span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--page);
  color: var(--accent);
  font-weight: 800;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(30, 29, 24, 0.05);
}

.home-product-media {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fff;
}

.home-product-media img {
  width: 100%;
  height: 196px;
  object-fit: contain;
}

.home-product-type {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,253,248,0.94);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-product-fallback {
  width: 82%;
  height: 170px;
  display: grid;
  place-items: center;
  border-radius: 18px;
}

.home-product-fallback span {
  padding: 12px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  text-align: center;
}

.home-product-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 17px;
}

.home-product-brand {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-product-name {
  min-height: 50px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.04;
}

.home-product-tags {
  min-height: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.home-product-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--page);
  color: var(--muted);
  font-size: 10px;
}

.home-product-price {
  margin-top: 13px;
  font-size: 18px;
}

.home-add-cart {
  width: 100%;
  margin-top: 15px;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 12px 16px !important;
  background: var(--accent) !important;
  color: white !important;
  font-weight: 800;
}

.home-add-cart.added {
  opacity: 0.8;
}

.home-empty-section {
  grid-column: 1 / -1;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 30px;
  border-radius: 22px;
  border: 1px dashed var(--line);
  background: var(--surface);
}

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

.home-other-products {
  padding-top: 7px;
}

/* The two storefronts share code, but there is no customer-facing cross-storefront switcher. */
.reference-switcher,
.switcher {
  display: none !important;
}

@media (max-width: 980px) {
  .home-hero-slide {
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 36px 40px;
  }

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

@media (max-width: 760px) {
  .topline {
    justify-content: flex-start;
    padding-inline: 14px;
    font-size: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topline::-webkit-scrollbar { display: none; }

  .topline span + span::before {
    margin: 0 12px;
  }

  .nav-shell {
    min-height: 70px;
  }

  .home-hero-carousel,
  .home-hero-track {
    min-height: 510px;
  }

  .home-hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 6px;
    padding: 38px 28px 48px;
  }

  .home-hero-copy h1 {
    max-width: 92%;
    font-size: clamp(42px, 11vw, 58px);
  }

  .home-hero-body {
    font-size: 14px;
  }

  .home-hero-art {
    min-height: 160px;
    margin-top: -8px;
  }

  .home-hero-art img {
    max-height: 180px;
  }

  .home-hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .home-hero-arrow.previous { left: 9px; }
  .home-hero-arrow.next { right: 9px; }

  .home-category-section,
  .home-products-section {
    margin-top: 42px;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 18px;
  }

  .home-section-heading h2 {
    font-size: 36px;
  }

  .home-section-heading > a {
    margin: 0;
  }

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

  .home-category-tile {
    min-height: 205px;
  }

  .home-category-media {
    min-height: 150px;
  }

  .home-category-media img {
    height: 140px;
  }

  .home-category-label strong {
    font-size: 20px;
  }

  .home-product-media {
    min-height: 180px;
  }

  .home-product-media img {
    height: 158px;
  }

  .home-product-copy {
    padding: 14px;
  }

  .home-product-name {
    min-height: 46px;
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 7px;
  }

  .home-hero-carousel,
  .home-hero-track {
    min-height: 485px;
  }

  .home-hero-slide {
    padding-inline: 22px;
  }

  .home-category-grid {
    gap: 10px;
  }

  .home-category-tile {
    min-height: 190px;
  }

  .home-category-media {
    min-height: 138px;
    padding: 10px;
  }

  .home-category-media img {
    height: 128px;
  }

  .home-category-label {
    padding: 11px 12px;
  }

  .home-category-label strong {
    font-size: 17px;
  }

  .home-product-grid {
    gap: 10px;
  }

  .home-product-media {
    min-height: 155px;
    padding: 10px;
  }

  .home-product-media img {
    height: 137px;
  }

  .home-product-name {
    min-height: 42px;
    font-size: 16px;
  }

  .home-product-tags {
    display: none;
  }

  .home-product-price {
    font-size: 16px;
  }

  .home-add-cart {
    padding: 10px 11px !important;
    font-size: 13px;
  }
}


/* Mobile homepage polish — neutral category tiles + cleaner hero copy */
.home-category-tone-0 .home-category-media,
.home-category-tone-1 .home-category-media,
.home-category-tone-2 .home-category-media,
.home-category-tone-3 .home-category-media {
  background: #ffffff;
}

.home-category-fallback {
  border-color: var(--line);
  background: #ffffff;
  color: var(--accent);
  box-shadow: none;
}

@media (max-width: 760px) {
  .home-hero-slide {
    align-content: start;
    padding-top: 30px;
  }

  .home-hero-copy {
    padding-inline: 12px;
  }

  .home-hero-copy h1 {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: clamp(39px, 10vw, 50px);
    line-height: 0.98;
  }

  .home-hero-body {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
  }

  .home-hero-cta {
    margin-top: 40px;
  }

  .home-hero-art {
    margin-top: 10px;
  }

  .home-hero-arrow {
    top: auto;
    bottom: 146px;
    transform: none;
  }
}

@media (max-width: 430px) {
  .home-hero-carousel,
  .home-hero-track {
    min-height: 520px;
  }

  .home-hero-slide {
    padding: 28px 20px 50px;
  }

  .home-hero-copy {
    padding-inline: 10px;
  }

  .home-hero-copy h1 {
    font-size: clamp(37px, 10.2vw, 46px);
  }

  .home-hero-body {
    font-size: 14px;
  }

  .home-hero-cta {
    margin-top: 42px;
  }

  .home-hero-arrow {
    bottom: 138px;
  }

  .home-category-media {
    background: #ffffff !important;
  }
}


/* Lower the mobile hero CTA without pushing the product artwork down */
@media (max-width: 760px) {
  .home-hero-cta {
    margin-top: 64px;
  }

  .home-hero-art {
    margin-top: -14px;
  }
}

@media (max-width: 430px) {
  .home-hero-cta {
    margin-top: 66px;
  }

  .home-hero-art {
    margin-top: -14px;
  }
}


/* Pin the mobile hero CTA to the banner's bottom-left corner */
@media (max-width: 760px) {
  .home-hero-slide {
    position: absolute;
  }

  .home-hero-cta {
    position: absolute;
    left: 40px;
    bottom: 30px;
    z-index: 8;
    margin: 0;
  }

  .home-hero-art {
    justify-items: end;
    padding-right: 18px;
    margin-top: 8px;
  }

  .home-hero-art img {
    max-width: 58%;
  }
}

@media (max-width: 430px) {
  .home-hero-cta {
    left: 30px;
    bottom: 26px;
  }

  .home-hero-art {
    padding-right: 8px;
  }

  .home-hero-art img {
    max-width: 56%;
  }
}


/* Production hero CTA: always visible and anchored to the banner itself */
.home-hero-copy {
  padding-bottom: 66px;
}

.home-hero-cta {
  position: absolute;
  left: 48px;
  bottom: 18px;
  z-index: 8;
  margin: 0;
}

@media (max-width: 980px) {
  .home-hero-cta {
    left: 40px;
    bottom: 18px;
  }
}

@media (max-width: 760px) {
  .home-hero-copy {
    padding-bottom: 72px;
  }

  .home-hero-cta {
    left: 28px;
    bottom: 18px;
  }
}

@media (max-width: 430px) {
  .home-hero-copy {
    padding-bottom: 68px;
  }

  .home-hero-cta {
    left: 20px;
    bottom: 16px;
  }
}


/* Shipping, delivery and FAQ */
.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-support-link { overflow-wrap: anywhere; }

.delivery-method-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.delivery-method-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(21, 76, 53, 0.22);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.68);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.delivery-method-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 13%, transparent);
}

.delivery-method-card.disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.delivery-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-method-card strong,
.delivery-method-card span {
  display: block;
}

.delivery-method-card div > span {
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.delivery-method-card em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.delivery-method-icon {
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 9%, white);
  color: var(--accent);
  font-weight: 800;
}

.delivery-eligibility-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 7%, white);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.faq-hero {
  max-width: 900px;
  margin: 36px auto 22px;
  padding: 0 24px;
}

.faq-hero h1 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
}

.faq-hero > p:last-child {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-layout {
  max-width: 900px;
  margin: 0 auto 56px;
  padding: 0 24px;
  display: grid;
  gap: 22px;
}

.faq-section {
  border: 1px solid rgba(28, 28, 24, 0.10);
  border-radius: 24px;
  background: rgba(255,255,255,0.7);
  overflow: hidden;
}

.faq-section h2 {
  margin: 0;
  padding: 22px 24px 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.faq-item {
  border-top: 1px solid rgba(28, 28, 24, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 750;
  position: relative;
  padding-right: 54px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.35rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-support-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.faq-support-panel h2 { margin: 0 0 8px; font-size: 24px; }
.faq-support-panel p { max-width: 490px; margin: 0; color: var(--muted); }
.faq-support-actions { display: grid; gap: 10px; }
.faq-support-actions a { color: var(--accent); font-weight: 800; overflow-wrap: anywhere; }

.faq-policy-note {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent) 8%, white);
}

.faq-policy-note span {
  color: var(--muted);
}

.faq-policy-note a {
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .footer-links {
    justify-content: flex-start;
    gap: 10px 14px;
  }

  .delivery-method-card {
    grid-template-columns: auto 1fr;
  }

  .delivery-method-card em {
    grid-column: 2;
  }

  .faq-hero,
  .faq-layout {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* Administrator-managed Native Smoke Shop hero banners */
.home-hero-carousel.has-configured-banners,
.home-hero-carousel.has-configured-banners .home-hero-track {
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.home-hero-carousel.has-configured-banners {
  background: #28241d;
}

.home-hero-banner-slide {
  display: block;
  padding: 0;
}

.home-hero-banner-link,
.home-hero-banner-media {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-banner-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-hero-banner-cta {
  position: absolute;
  left: 34px;
  bottom: 28px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, filter 160ms ease;
}

.home-hero-banner-cta:hover,
.home-hero-banner-cta:focus-visible {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.home-hero-carousel.has-configured-banners .home-hero-arrow {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

@media (max-width: 760px) {
  .home-hero-carousel.has-configured-banners,
  .home-hero-carousel.has-configured-banners .home-hero-track {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .home-hero-banner-slide {
    padding: 0;
  }

  .home-hero-banner-cta {
    left: 20px;
    bottom: 18px;
    min-height: 42px;
    padding: 11px 20px;
    font-size: 14px;
  }

  .home-hero-carousel.has-configured-banners .home-hero-arrow {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
}

/* Restricted-access dialog stays usable on narrow screens. */
@media (max-width: 430px) {
  .age-gate { padding: 16px; }
  .age-card { padding: 24px; }
  .age-card h2 { font-size: clamp(28px, 8vw, 36px); overflow-wrap: anywhere; }
  .age-actions { flex-direction: column; }
  .age-actions button { min-height: 44px; }
}


/* Native Smoke Shop payment-method trust marks */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.accepted-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.accepted-payments-label {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
}

.payment-mark {
  min-width: 68px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid rgba(20, 20, 18, 0.10);
  background: #fff;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.08);
  line-height: 1;
}

.accepted-payments.compact .payment-mark {
  min-width: 54px;
  height: 28px;
  padding: 0 8px;
}

.payment-mark-visa {
  color: #1a1f71;
  font-size: 12px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
}

.payment-mark-mastercard {
  min-width: 72px;
}

.mastercard-circles {
  display: flex;
  align-items: center;
  padding-right: 2px;
}

.mastercard-circles span {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #eb001b;
}

.mastercard-circles span + span {
  margin-left: -6px;
  background: rgba(247, 158, 27, 0.92);
}

.accepted-payments.compact .mastercard-circles span {
  width: 16px;
  height: 16px;
}

.payment-mark-amex {
  flex-direction: column;
  border-color: #006fcf;
  background: #006fcf;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  line-height: 0.92;
}

.payment-mark-debit {
  border-color: rgba(34, 99, 66, 0.20);
  background: #edf8f1;
  color: #226342;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.payment-mark-interac {
  border-color: rgba(0, 0, 0, 0.10);
  background: #ffb81c;
  color: #111;
  font-size: 10px;
  font-weight: 900;
}

.payment-trust {
  display: grid;
  gap: 9px;
}

.payment-trust-heading {
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.payment-trust-cart {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  text-align: center;
}

.payment-trust-cart .accepted-payments {
  justify-content: center;
}

.payment-trust-footer {
  align-items: center;
  justify-items: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.payment-trust-footer .accepted-payments {
  justify-content: center;
}

.payment-trust-footer small {
  color: var(--muted);
  font-size: 10px;
}

.site-footer {
  display: block;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.footer-account-link { font-weight: 800; color: var(--accent); }

.payment-method-card .accepted-payments {
  margin-top: 11px;
}

.faq-payment-panel {
  padding: 24px;
  border: 1px solid rgba(21, 76, 53, 0.18);
  border-radius: 24px;
  background: color-mix(in srgb, var(--accent) 5%, white);
}

.faq-payment-panel h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.faq-payment-panel > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-payment-panel .payment-trust {
  margin-top: 18px;
}

.faq-payment-panel .accepted-payments {
  row-gap: 10px;
}

@media (max-width: 760px) {
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-trust-footer {
    justify-items: start;
    text-align: left;
  }

  .payment-trust-footer .accepted-payments,
  .payment-trust-cart .accepted-payments {
    justify-content: flex-start;
  }

  .faq-payment-panel {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .payment-mark {
    min-width: 58px;
    height: 31px;
    padding-inline: 8px;
  }

  .accepted-payments.compact .payment-mark {
    min-width: 48px;
    height: 27px;
    padding-inline: 7px;
  }

  .accepted-payments-label {
    width: 100%;
    margin-right: 0;
  }
}

.account-shell { max-width: 1040px; margin: 0 auto; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0 34px; }
.account-order { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(140px, .5fr) minmax(220px, 1.3fr); gap: 18px; align-items: start; margin-bottom: 14px; }
.account-order > div:nth-child(2) { display: grid; gap: 8px; }
.account-shell .checkout-form { max-width: 520px; margin-top: 22px; }
.account-profile-card .checkout-form { max-width: none; }
.account-section-heading { margin-top: 34px; }
.account-address-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.account-address-card { min-height: 0; }
.account-address-card summary,
.account-address-add summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 800; }
.account-address-card summary small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; line-height: 1.45; }
.account-default-badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.account-default-check { display: flex !important; flex-direction: row !important; align-items: center; gap: 9px; }
.account-default-check input { width: auto !important; min-height: 0 !important; }
.account-address-add { min-height: 0; margin-bottom: 30px; }
@media (max-width: 760px) {
  .account-grid, .account-order, .account-address-list { grid-template-columns: 1fr; }
}

.account-auth-options { max-width: 520px; margin-top: 22px; }
.account-google { width: 100%; box-sizing: border-box; text-align: center; }
.account-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; color: #777; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.account-divider::before, .account-divider::after { content: ""; flex: 1; height: 1px; background: #ddd; }

.post-order-account { margin: 24px 0; padding: 20px; border: 1px solid #d8d2c6; border-radius: 18px; background: #fff; text-align: left; }
.post-order-account h2 { margin: 4px 0 8px; }
.post-order-account .primary-button { display: inline-block; margin-top: 10px; }


/* Card logo images: shared across the Native Smoke Shop header, PDP and checkout. */
.payment-mark img {
  display: block;
  width: 80px;
  max-width: 100%;
  height: 26px;
  object-fit: contain;
}
.accepted-payments.compact .payment-mark img {
  width: 66px;
  height: 22px;
}
.payment-trust-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
  padding: 8px 16px;
  background: #f6f8f6;
  border-bottom: 1px solid var(--line);
}
.payment-trust-header .payment-trust-heading {
  white-space: nowrap;
}
.payment-trust-header .accepted-payments {
  gap: 6px;
}
.payment-trust-product {
  margin-top: 14px;
  justify-items: start;
}
@media (max-width: 480px) {
  .payment-trust-header {
    gap: 7px;
    padding: 8px 10px;
  }
  .payment-trust-header .accepted-payments {
    justify-content: center;
    gap: 5px;
  }
  .payment-trust-header .payment-mark {
    min-width: 48px;
    height: 26px;
    padding: 0 5px;
  }
  .payment-trust-header .payment-mark img {
    width: 58px;
    height: 20px;
  }
}


/* Inventory reconciliation belongs with cart items and checkout order summary. */
.cart-stock-review {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #b98c43;
  border-radius: 14px;
  background: #fff9eb;
  color: #352817;
}
.cart-stock-review > strong { display: block; font-size: 14px; }
.cart-stock-review p { margin: 7px 0; font-size: 13px; line-height: 1.45; }
.cart-stock-review ul { margin: 10px 0 14px; padding-left: 19px; }
.cart-stock-review li { margin: 6px 0; font-size: 13px; }
.cart-stock-review li span { font-size: 12px; }
.cart-stock-review li p { margin: 2px 0; }
.cart-stock-review .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.cart-reconciliation-confirmation {
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 12px;
  background: #e9f7ee;
  border: 1px solid #a5cdb4;
  color: #1d5331;
  font-size: 13px;
}
.checkout-summary #checkout-stock-review:empty { display: none; }

/* Native checkout: mobile order review belongs before Payment, not below submit. */
@media (max-width: 720px) {
  .clean-checkout-layout #checkout-form > .checkout-summary-mobile-inline {
    position: static;
    top: auto;
    width: 100%;
    min-width: 0;
    max-height: none;
    height: auto;
    overflow: visible;
    margin: 0;
    padding: clamp(18px, 5vw, 26px);
  }
}

/* Native Smoke Shop product page: prioritize verified product information over
   repeated catalog/status filler. Does not affect Native Bulk Smokes. */
.nss-product-page .product-detail-layout {
  gap: clamp(24px, 4vw, 52px);
  padding: 22px 0 30px;
}
.nss-product-page .product-detail-copy h1 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.08;
  margin-bottom: 14px;
}
.nss-product-page .product-detail-lede {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
}
.nss-product-page .product-detail-tags {
  margin: 17px 0;
}
.nss-product-page .product-detail-price {
  padding: 17px 0;
}
.nss-product-page .product-trust-list {
  margin-top: 16px;
}
.nss-product-page .nss-product-description {
  border-top: 1px solid var(--line);
  padding: 24px 0 4px;
  max-width: 850px;
}
.nss-product-page .nss-product-description h2 {
  font-size: clamp(23px, 3.4vw, 32px);
  line-height: 1.2;
  margin: 7px 0 12px;
}
.nss-product-page .nss-product-description > p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.nss-product-page .nss-product-related {
  margin-top: clamp(24px, 3.5vw, 42px);
}
.nss-product-page .nss-product-related .section-heading {
  margin-bottom: 18px;
}
@media (max-width: 720px) {
  .nss-product-page .breadcrumbs {
    padding: 16px 0 8px;
    font-size: 11px;
  }
  .nss-product-page .product-detail-layout {
    gap: 20px;
    padding: 12px 0 18px;
  }
  .nss-product-page .product-detail-media {
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
  }
  .nss-product-page .product-detail-photo {
    height: 100%;
    max-height: 420px;
    padding: 16px;
  }
  .nss-product-page .product-detail-copy h1 {
    font-size: clamp(32px, 9vw, 43px);
    margin-bottom: 10px;
  }
  .nss-product-page .product-detail-price {
    padding: 14px 0;
  }
  .nss-product-page .product-detail-tags {
    margin: 14px 0;
  }
  .nss-product-page .nss-product-description {
    padding-top: 20px;
  }
  .nss-product-page .nss-product-related {
    margin-top: 22px;
  }
  .nss-product-page .nss-product-related .section-heading {
    margin-bottom: 14px;
  }
}

/* Native Smoke Shop e-Transfer receipt: entire recipient and Message/Memo
   references must remain visible and copyable, even on 320px phones. */
.nss-etransfer-confirmation,
.nss-etransfer-confirmation .etransfer-instruction-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.nss-etransfer-confirmation .etransfer-payment-row {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: 118px minmax(0, 1fr) auto;
}
.nss-etransfer-confirmation .etransfer-payment-data {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: none;
  line-height: 1.55;
  user-select: all;
  -webkit-user-select: text;
}
.nss-etransfer-confirmation .etransfer-payment-row button {
  min-height: 44px;
  min-width: 55px;
  justify-self: start;
}
@media (max-width: 720px) {
  .nss-etransfer-confirmation {
    padding-top: 36px;
    padding-bottom: 56px;
  }
  .nss-etransfer-confirmation .etransfer-instruction-card {
    overflow: visible;
    border-radius: 18px;
  }
  .nss-etransfer-confirmation .etransfer-payment-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 16px 14px;
  }
  .nss-etransfer-confirmation .etransfer-payment-data {
    font-size: clamp(13px, 3.8vw, 16px);
  }
  .nss-etransfer-confirmation .etransfer-payment-row button {
    margin-top: 4px;
  }
}


/* Native Smoke Shop: nationwide shipping tiers and minimum-order messaging. */
.nss-shipping-policy-strip {
  padding: 8px 14px;
  text-align: center;
  background: #eaf3ed;
  color: #164b34;
  font-weight: 750;
  font-size: 12px;
  line-height: 1.5;
}
.nss-cart-shipping-banner {
  margin: 0 0 18px;
  padding: 15px 18px;
  border-radius: 14px;
  background: #eff6f1;
  color: #174f35;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.45;
}
.nss-minimum-order-alert {
  margin: 14px 0 16px;
  padding: 14px 16px;
  border: 1px solid #edb7ad;
  border-radius: 12px;
  background: #fff1ef;
  color: #9b332b;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
.nss-order-policy-note {
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.nss-minimum-checkout-review .nss-minimum-order-alert {
  max-width: 580px;
}
@media (max-width: 520px) {
  .nss-shipping-policy-strip { font-size: 11px; padding: 8px 10px; }
  .nss-cart-shipping-banner { font-size: 13px; }
  .nss-minimum-order-alert { font-size: 13px; }
}


/* Native Smoke Shop catalogue: two readable product columns on phones.
   Scope to this shop grid only; do not alter product details, checkout,
   or the separate Native Bulk Smokes storefront. */
@media (max-width: 620px) {
  :root[data-store="shop"] #shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  :root[data-store="shop"] #shop-product-grid > .product-card {
    min-width: 0;
    min-height: 0;
    gap: 9px;
    padding: 9px;
    border-radius: 18px;
  }

  :root[data-store="shop"] #shop-product-grid .product-card-media-link {
    min-width: 0;
    border-radius: 12px;
  }

  :root[data-store="shop"] #shop-product-grid .product-image-placeholder {
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }

  :root[data-store="shop"] #shop-product-grid .product-photo {
    height: 100%;
    min-height: 0;
    padding: 6px;
  }

  :root[data-store="shop"] #shop-product-grid .product-badge {
    top: 6px;
    left: 6px;
    padding: 4px 6px;
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  :root[data-store="shop"] #shop-product-grid .product-card-body {
    min-width: 0;
    min-height: 0;
    flex: 1;
  }

  :root[data-store="shop"] #shop-product-grid .product-brand {
    margin-bottom: 4px !important;
    font-size: 9px !important;
    letter-spacing: 0.06em;
  }

  :root[data-store="shop"] #shop-product-grid .product-card h3 {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  :root[data-store="shop"] #shop-product-grid .product-meta {
    gap: 4px;
    margin-bottom: 10px;
  }

  :root[data-store="shop"] #shop-product-grid .product-meta span {
    padding: 4px 6px;
    font-size: 9px;
    line-height: 1.25;
  }

  :root[data-store="shop"] #shop-product-grid .product-price-row {
    align-items: flex-start;
    gap: 5px;
  }

  :root[data-store="shop"] #shop-product-grid .catalog-price-prices {
    gap: 4px 7px;
  }

  :root[data-store="shop"] #shop-product-grid .catalog-price-main {
    font-size: 15px;
  }

  :root[data-store="shop"] #shop-product-grid .catalog-price-original {
    font-size: 11px;
  }

  :root[data-store="shop"] #shop-product-grid .catalog-price-savings {
    padding: 3px 6px;
    font-size: 9px;
    line-height: 1.3;
    white-space: normal;
  }

  :root[data-store="shop"] #shop-product-grid .product-card-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 0;
  }

  :root[data-store="shop"] #shop-product-grid .product-add-cart,
  :root[data-store="shop"] #shop-product-grid .product-review-button {
    min-width: 0;
    min-height: 40px;
    padding: 8px 6px;
    font-size: 12px;
    line-height: 1.2;
  }
}

/* NSS-only product-page carton selection; the bulk storefront is unchanged. */
:root[data-store="shop"] .nss-carton-selector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 12px;
}
:root[data-store="shop"] .nss-carton-selector label {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
:root[data-store="shop"] .nss-carton-selector select {
  width: min(100%, 380px);
  min-height: 46px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 10px 34px 10px 12px;
  color: inherit;
  background-color: #fff;
  font: inherit;
}
:root[data-store="shop"] .nss-carton-selector select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* Native Smoke Shop: small-screen cart and checkout cards. Desktop and Native
   Bulk remain unchanged; all payment, stock and form elements are original. */
.nss-step-hitbox,
.nss-step-next,
.nss-step-summary,
.nss-summary-toggle,
.nss-cart-mobile-bar { display: none; }

@media (max-width: 720px) {
  .nss-mobile-cart .cart-page-head {
    padding: 18px 0 8px;
    gap: 8px;
  }
  .nss-mobile-cart .cart-page-head h1 {
    font-size: clamp(29px, 8vw, 38px);
    margin-bottom: 3px;
  }
  .nss-mobile-cart .cart-page-head p:last-child { font-size: 12px; }
  .nss-mobile-cart .clean-cart-layout {
    padding: 12px 0 calc(116px + env(safe-area-inset-bottom));
    gap: 16px;
  }
  .nss-mobile-cart .cart-lines { gap: 9px; }
  .nss-mobile-cart .clean-cart-line,
  .nss-mobile-cart .clean-cart-line + .clean-cart-line {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "photo details details"
      "photo qty price";
    align-items: start;
    min-height: 0;
    gap: 7px 10px;
    padding: 12px;
    margin: 0;
    border-radius: 18px;
  }
  .nss-mobile-cart .clean-cart-line .cart-thumb {
    grid-area: photo;
    width: 72px;
    height: 78px;
    min-height: 0;
    align-self: start;
    border-radius: 12px;
  }
  .nss-mobile-cart .cart-line-copy {
    grid-area: details;
    min-width: 0;
  }
  .nss-mobile-cart .cart-line-copy p { margin-bottom: 2px; }
  .nss-mobile-cart .clean-cart-line .cart-line-copy h3 {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 3px;
    overflow-wrap: anywhere;
  }
  .nss-mobile-cart .cart-line-copy > span { font-size: 11px; }
  .nss-mobile-cart .cart-remove-mobile { margin: 4px 0 0; font-size: 11px; }
  .nss-mobile-cart .clean-cart-line .cart-line-qty {
    grid-area: qty;
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    width: 98px;
    align-self: center;
  }
  .nss-mobile-cart .cart-line-qty button {
    min-width: 32px;
    height: 34px;
    cursor: pointer;
  }
  .nss-mobile-cart .clean-cart-line .cart-line-price {
    grid-area: price;
    grid-column: auto;
    grid-row: auto;
    justify-self: end;
    align-self: center;
    text-align: right;
    white-space: nowrap;
    font-size: 13px;
  }
  .nss-mobile-cart .cart-line-price small { display: none; }
  .nss-mobile-cart .order-summary-card { padding: 17px; border-radius: 19px; }
  .nss-mobile-cart .order-summary-card .checkout-cta { width: 100%; }
  .nss-mobile-cart .nss-cart-mobile-bar {
    position: fixed;
    z-index: 70;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 12px;
    padding: 10px max(14px, env(safe-area-inset-right))
      calc(10px + env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .12);
  }
  .nss-cart-mobile-total {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .nss-cart-mobile-total span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
  }
  .nss-cart-mobile-total strong {
    color: var(--ink);
    font-size: clamp(16px, 4.5vw, 22px);
    font-weight: 800;
    overflow-wrap: anywhere;
  }
  .nss-mobile-cart .nss-cart-mobile-action { min-width: 0; }
  .nss-mobile-cart .nss-cart-mobile-action .checkout-cta {
    margin: 0;
    min-height: 48px;
    padding: 10px 12px;
    display: grid;
    place-items: center;
    line-height: 1.15;
    font-size: 13px;
    text-align: center;
    border-radius: 999px;
  }

  .nss-mobile-checkout .checkout-head {
    padding: 20px 0 10px;
    gap: 8px;
  }
  .nss-mobile-checkout .checkout-head h1 {
    font-size: clamp(32px, 9vw, 40px);
    margin: 2px 0 6px;
  }
  .nss-mobile-checkout .checkout-head p:last-child {
    font-size: 12px;
    line-height: 1.45;
  }
  .nss-mobile-checkout .clean-checkout-layout {
    gap: 12px;
    padding: 10px 0 50px;
  }
  .nss-mobile-checkout .checkout-form { gap: 10px; }
  .nss-mobile-checkout .nss-step-card {
    padding: 0;
    border-radius: 19px;
    overflow: hidden;
    scroll-margin-top: 88px;
  }
  .nss-mobile-checkout .nss-step-card.nss-step-open {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  }
  .nss-mobile-checkout .nss-step-card .checkout-section-title {
    position: relative;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 14px 42px 14px 15px;
    min-height: 76px;
  }
  .nss-mobile-checkout .nss-step-card .checkout-section-title > span {
    width: 30px;
    height: 30px;
  }
  .nss-mobile-checkout .nss-step-card .checkout-section-title > div { min-width: 0; }
  .nss-mobile-checkout .nss-step-card .checkout-section-title h2 {
    font-size: 19px;
    margin: 0 0 3px;
  }
  .nss-mobile-checkout .nss-step-card .checkout-section-title p {
    font-size: 11px;
    line-height: 1.4;
  }
  .nss-mobile-checkout .nss-step-card.nss-step-collapsed .checkout-section-title p {
    display: none;
  }
  .nss-mobile-checkout .nss-step-summary {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--muted);
    overflow-wrap: anywhere;
  }
  .nss-mobile-checkout .nss-step-card .checkout-section-title::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 20px;
    width: 9px;
    height: 9px;
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    pointer-events: none;
  }
  .nss-mobile-checkout .nss-step-card.nss-step-open .checkout-section-title::after {
    transform: translateY(4px) rotate(225deg);
  }
  .nss-mobile-checkout .nss-step-hitbox {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nss-mobile-checkout .nss-step-hitbox:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: -4px;
    border-radius: 15px;
  }
  .nss-mobile-checkout .nss-step-card.nss-step-collapsed .nss-step-body {
    display: none;
  }
  .nss-mobile-checkout .nss-step-body {
    padding: 0 15px 15px;
    border-top: 1px solid var(--line);
  }
  .nss-mobile-checkout .nss-step-body > :first-child { margin-top: 13px; }
  .nss-mobile-checkout .field-grid { gap: 10px; }
  .nss-mobile-checkout .field-grid input,
  .nss-mobile-checkout .field-grid select {
    min-height: 44px;
  }
  .nss-mobile-checkout .nss-step-next {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    border: 1px solid var(--accent);
    border-radius: 12px;
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
  }
  .nss-mobile-checkout .nss-condensed-order {
    padding: 15px;
    border-radius: 18px;
  }
  .nss-mobile-checkout .nss-condensed-order .summary-card-head {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
  }
  .nss-mobile-checkout .nss-summary-toggle {
    display: inline-block;
    flex: 0 0 100%;
    width: fit-content;
    min-height: 36px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--accent);
    text-decoration: underline;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }
  .nss-mobile-checkout .nss-condensed-order:not(.nss-summary-expanded) .checkout-items,
  .nss-mobile-checkout .nss-condensed-order:not(.nss-summary-expanded) .summary-row:not(.summary-total),
  .nss-mobile-checkout .nss-condensed-order:not(.nss-summary-expanded) .checkout-security-note,
  .nss-mobile-checkout .nss-condensed-order:not(.nss-summary-expanded) .nss-order-policy-note {
    display: none;
  }
  .nss-mobile-checkout .nss-condensed-order .summary-total {
    padding: 8px 0;
    margin: 0;
  }
  .nss-mobile-checkout .nss-condensed-order .summary-notice {
    margin: 5px 0 0;
    padding: 8px 10px;
  }
  .nss-mobile-checkout .payment-method-card {
    padding: 13px 11px;
    gap: 10px;
  }
  .nss-mobile-checkout .payment-method-grid { gap: 9px; }
  .nss-mobile-checkout .checkout-pay-button { min-height: 51px; }
  .nss-mobile-checkout .checkout-submit-note { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .nss-mobile-checkout .nss-step-card,
  .nss-mobile-cart .nss-cart-mobile-bar { scroll-behavior: auto; }
}

/* NSS Shop/category pages: prioritize catalog controls instead of a tall editorial hero.
   Scoped away from Native Bulk Smokes, account, homepage, and checkout layouts. */
:root[data-store="shop"] .nss-shop-page .page-hero {
  display: block;
  min-height: 0;
  padding: 24px 0 12px;
}

:root[data-store="shop"] .nss-shop-page .page-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(35px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

:root[data-store="shop"] .nss-shop-page .shop-toolbar {
  margin: 16px 0 14px;
}

:root[data-store="shop"] .nss-shop-page .nss-shop-description {
  margin-top: clamp(28px, 4vw, 46px);
  padding: 22px 0 6px;
  border-top: 1px solid var(--line);
}

:root[data-store="shop"] .nss-shop-page .nss-shop-description p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 620px) {
  :root[data-store="shop"] .nss-shop-page .page-hero {
    padding: 16px 0 8px;
  }

  :root[data-store="shop"] .nss-shop-page .page-hero h1 {
    font-size: clamp(31px, 8vw, 38px);
  }

  :root[data-store="shop"] .nss-shop-page .shop-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
    padding: 12px;
  }

  :root[data-store="shop"] .nss-shop-page .shop-toolbar .search-box {
    grid-column: 1 / -1;
  }

  :root[data-store="shop"] .nss-shop-page .shop-toolbar .select-field {
    min-width: 0;
  }

  :root[data-store="shop"] .nss-shop-page .filter-chip-row {
    padding-bottom: 10px;
  }

  :root[data-store="shop"] .nss-shop-page .shop-results-summary {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 6px 0 12px;
  }

  :root[data-store="shop"] .nss-shop-page .nss-shop-description {
    padding-top: 16px;
  }
}
