/* Casa Orofino. A marketplace laid out on black marble veined with gold: three depths of stone,
   champagne gold kept for the name, the price and the one action that matters. */
:root {
  --ink: #08080a;                 /* the marble ground */
  --s1: #0d0d0f;                  /* surfaces resting on it, darkest to lightest */
  --s2: #141417;
  --s3: #1c1c20;
  --champagne: #dcc896;
  --champagne-deep: #b49b68;
  --ivory: #f2ecdf;               /* text */
  --smoke: #aea79b;               /* secondary text */
  --ash: #948e82;                 /* tertiary text, at least 5:1 on every surface */
  --line: rgba(220, 200, 150, .14);
  --line-strong: rgba(220, 200, 150, .38);
  --hair: rgba(255, 244, 214, .075);
  --gold: linear-gradient(180deg, #eddfb6 0%, #dcc893 46%, #cfb880 54%, #bda46b 100%);
  --display: 'Bodoni Moda', 'Didot', 'Bodoni MT', 'Playfair Display', 'Times New Roman', serif;
  --body: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(18px, 4vw, 48px);
  --t-micro: .6875rem;
  --t-label: .75rem;
  --t-small: .875rem;
  --t-lede: 1.2rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 112px;                /* kept current by boot.js */
  --marble-field: url(../assets/marble-field.webp);
  --marble-hero: url(../assets/marble-hero.webp);
  --marble-panel: url(../assets/marble-panel.webp);
  --marble-slab: url(../assets/marble-slab.webp);
  color-scheme: dark;
}
@media (min-width: 1700px) { :root { --wrap: 1520px; } }
@media (max-width: 700px) { :root { --marble-field: url(../assets/marble-field-s.webp); --marble-hero: url(../assets/marble-hero-s.webp); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--body); font-size: 17px; font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 45% at 22% 0%, rgba(255, 255, 255, .045), transparent 70%),
    linear-gradient(rgba(8, 8, 10, .50), rgba(8, 8, 10, .74)),
    var(--marble-field) center / cover no-repeat;
}
body.gated, body.is-filtering { overflow: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
.img-missing { visibility: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #f6ecd0; outline-offset: 3px; }
h1:focus, #app:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--champagne); color: #0b0a08; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.skip-in { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-in:focus { position: static; display: inline-block; width: auto; height: auto; clip-path: none; margin-bottom: 12px; padding: 8px 14px; background: var(--champagne); color: #0b0a08; text-decoration: none; font-size: var(--t-small); }
#results:focus, #results-count:focus { outline: none; }
h2.eyebrow { line-height: 1.6; letter-spacing: .16em; font-variation-settings: normal; text-wrap: wrap; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.005em;
  font-optical-sizing: none; font-variation-settings: "opsz" 34; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.75rem); }
h3 { font-size: 1.375rem; line-height: 1.2; font-variation-settings: "opsz" 20; }
h1 em { font-style: italic; color: var(--champagne); padding-right: .04em; }
h2 em, h3 em { font-style: italic; }
p { margin: 0; }
.eyebrow, .card-brand, .chips-label, .stat-label, .label {
  font-family: var(--body); font-size: var(--t-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep);
}
.eyebrow { color: var(--champagne); }
.lede { font-size: var(--t-lede); line-height: 1.55; color: var(--ivory); max-width: 58ch; font-weight: 300; }
.muted { color: var(--smoke); }
.center { text-align: center; }
/* numbers: a sturdier cut of the display face, so a 4 never loses its crossbar */
.num, .card-price-value, .stat-value, .price-big, .gift-total strong, .results-count strong {
  font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0;
}
small { font-size: var(--t-small); color: var(--smoke); }
.textlink { color: var(--champagne); text-decoration: none; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat, linear-gradient(var(--line-strong), var(--line-strong)) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease), color .2s; }
a:hover .textlink, .textlink:hover { color: #f6ecd0; }
@media (prefers-reduced-motion: no-preference) {
  .textlink { background-size: 0 1px, 100% 1px; }
  a:hover .textlink, .textlink:hover, .textlink:focus-visible { background-size: 100% 1px, 100% 1px; }
}
.linkbtn { background: none; border: 0; padding: 6px 0; color: var(--smoke); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: var(--t-small); }
.linkbtn:hover { color: var(--champagne); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 46px; padding: .7em 1.6em; border: 1px solid var(--line-strong); background: rgba(8, 8, 10, .45); color: var(--ivory);
  font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .1s; white-space: nowrap;
}
.btn:hover { background: rgba(220, 200, 150, .1); border-color: var(--champagne); color: #fff8e6; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #100d07; border-color: transparent; font-weight: 600; }
.btn-gold:hover { background: linear-gradient(180deg, #f6ebc8 0%, #e6d39f 46%, #d8c188 54%, #c6ad73 100%); border-color: transparent; color: #100d07; }
.btn-gold::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .5) 50%, transparent 60%); transform: translateX(-120%); }
@media (prefers-reduced-motion: no-preference) { .btn-gold:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); } }
.btn-small { min-height: 40px; padding: .5em 1.2em; }
.btn-block { width: 100%; }
.btn-out { min-height: 44px; padding: .5em 1.1em; font-size: .75rem; letter-spacing: .14em; }
.arrow { font-size: 1.1em; line-height: 1; }
.paid { display: inline-block; font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; color: var(--champagne-deep); white-space: nowrap; }
.disclosure { font-size: var(--t-small); color: var(--ivory); margin-bottom: 16px; }
.disclosure a { color: var(--champagne); text-underline-offset: 4px; white-space: nowrap; }
.gift-set .disclosure { margin: 6px 0 14px; }
.paid.unpaid { color: var(--ash); }
.sample-tag { display: inline-block; font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); border: 1px dashed rgba(174, 167, 155, .5); padding: .3em .8em; }

/* ---------- header ---------- */
.notice { text-align: center; font-size: .8rem; color: var(--smoke); padding: 8px var(--gutter); border-bottom: 1px solid var(--line); background: #0b0b0c; }
.notice strong { color: var(--champagne); font-weight: 500; letter-spacing: .06em; }
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(8, 8, 10, .93); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-row { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 12px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; transition: padding .3s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--champagne); justify-self: center; }
.monogram { height: 46px; width: auto; aspect-ratio: 40 / 48; flex-shrink: 0; }
.brand-text { display: grid; gap: 3px; justify-items: start; }
.brand-name { font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 28; font-weight: 500; font-size: 1.6rem; line-height: 1; letter-spacing: .28em; margin-right: -.28em; white-space: nowrap;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The wordmark is one span for each word of the name. It runs on one line where there is room. On a phone header,
   a phone footer and the age gate each word takes its own line, so the letters keep their size. */
.word { white-space: nowrap; }
.gate-card .word { display: block; }
.gate-card .word + .word, .brand .word + .word, .foot-name .word + .word { margin-top: .1em; }
.brand-sub { font-size: var(--t-micro); letter-spacing: .3em; text-transform: uppercase; color: var(--smoke); line-height: 1; white-space: nowrap; }
.head-tools { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 40px); border-top: 1px solid var(--line); }
.nav a, .shortlist-link { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ivory); white-space: nowrap; transition: color .2s; }
.nav a { padding: 12px 0 11px; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.nav a:hover, .shortlist-link:hover { color: var(--champagne); }
.nav a.on { color: var(--champagne); border-color: var(--champagne); }
.shortlist-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.shortlist-link svg, .icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.count { font-variant-numeric: tabular-nums; border: 1px solid var(--line-strong); border-radius: 99px; min-width: 24px; height: 24px; display: inline-grid; place-items: center; font-size: .75rem; letter-spacing: 0; padding: 0 7px; color: var(--champagne); }
.menu-btn, .icon-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--ivory); min-height: 44px; padding: 0 14px; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.icon-btn { width: 44px; padding: 0; place-items: center; }
.is-compact .head-row { padding-top: 9px; padding-bottom: 7px; }
.is-compact .brand-sub { display: none; }

/* search */
.search { position: relative; width: min(340px, 100%); justify-self: start; }
.search-field { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.search-field:focus-within { border-color: var(--champagne); }
.search-field svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--champagne); stroke-width: 1.4; }
.search input[type="search"] { border: 0; background: none; padding: 0; min-height: 44px; font-size: .95rem; box-shadow: none !important; outline: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.suggest { position: absolute; left: 0; top: calc(100% + 8px); width: min(460px, 92vw); margin: 0; padding: 8px 0; list-style: none; z-index: 50;
  background: var(--s2); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); max-height: min(70vh, 520px); overflow-y: auto; }
.suggest li[role="presentation"] { padding: 10px 18px 4px; font-size: var(--t-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.suggest a { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: baseline; padding: 9px 18px; text-decoration: none; }
.suggest a strong { font-weight: 400; font-family: var(--display); font-size: 1.1rem; font-optical-sizing: none; font-variation-settings: "opsz" 18; }
.suggest a span { font-size: var(--t-small); color: var(--smoke); }
.suggest a small { grid-column: 1 / -1; }
.suggest a:hover, .suggest [aria-selected="true"] a { background: rgba(220, 200, 150, .09); }
.suggest .suggest-all a { color: var(--champagne); font-size: var(--t-small); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }

/* ---------- page frame ---------- */
#app > *, .site-foot > .foot-inner { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
#app { display: block; min-height: 60vh; padding-bottom: 96px; }
.page-head { padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 18px; justify-items: start; }
.page-head h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); max-width: 20ch; }
.page-head.with-art { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 56px; align-items: center; }
.page-head.with-art > div { display: grid; gap: 18px; justify-items: start; }
.page-head.with-art figure { margin: 0; }
.band { padding-top: clamp(56px, 8vw, 120px); }
.band.tight { padding-top: clamp(40px, 5vw, 72px); }
.detail .band, .article .band { padding-left: 0; padding-right: 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 62ch; }
.section-head p:not(.eyebrow) { color: var(--smoke); }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { display: grid; gap: 14px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-foot { margin-top: 32px; }
.crumbs { padding-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.crumbs a { color: var(--champagne); text-decoration: none; padding: 6px 0; }
.crumbs span { padding: 6px 0; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* surfaces */
.surface { background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair), 0 30px 60px -36px rgba(0, 0, 0, .9); }
.well { position: relative; overflow: hidden;
  background:
    radial-gradient(85% 75% at 50% 64%, rgba(236, 220, 178, .15), rgba(236, 220, 178, .04) 52%, transparent 76%),
    linear-gradient(180deg, rgba(8, 8, 10, .30), rgba(8, 8, 10, .50)),
    var(--marble-slab) center / cover #0c0c0e; }
.well::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px 0 var(--hair), inset 0 -40px 60px -30px rgba(0, 0, 0, .55); }

/* ---------- home: hero ---------- */
#app > .hero { max-width: none; padding: 0; position: relative; border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 8, 10, .25) 0%, rgba(8, 8, 10, .1) 45%, rgba(8, 8, 10, .92) 100%),
    linear-gradient(90deg, rgba(8, 8, 10, .90) 0%, rgba(8, 8, 10, .74) 36%, rgba(8, 8, 10, .30) 64%, rgba(8, 8, 10, .18) 100%),
    var(--marble-hero) center / cover no-repeat; }
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(36px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .7); }
.hero-copy .lede { max-width: 46ch; }
.hero-cats { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); display: flex; flex-wrap: wrap; gap: 6px 0; }
.hero-cats a { text-decoration: none; padding: 4px 0; }
.hero-cats a:hover { color: #fff8e6; }
.hero-cats a:not(:last-child)::after { content: '\00b7'; margin: 0 .7em; color: var(--champagne-deep); }
.hero-search { width: 100%; max-width: 520px; display: grid; grid-template-columns: 1fr auto; }
.hero-search input { min-height: 56px; border-right: 0; background: rgba(8, 8, 10, .72); font-size: 1.02rem; padding-left: 1.2em; }
.hero-search .btn { min-height: 56px; }
.hero-links { display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; }
.hero-art { margin: 0; position: relative; }
.hero-art img { display: block; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .07s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .21s; }
  .hero-copy > :nth-child(5) { animation-delay: .28s; }
  .hero-art { animation: rise 1.2s .1s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- home: category rail ---------- */
#app > .cats-band { max-width: none; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(13, 13, 15, .9), rgba(8, 8, 10, .82)); }
.cats { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, 1fr); }
.cat { position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; padding: 26px 22px 26px; border-left: 1px solid var(--line); transition: background .4s; }
.cat:last-child { border-right: 1px solid var(--line); }
.cat-fig { aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 14px; }
.cat-fig img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: transform .7s var(--ease); filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .55)); }
.cat-text { display: grid; gap: 6px; align-content: start; }
.cat h3 { font-size: 1.7rem; font-variation-settings: "opsz" 28; }
.cat p { font-size: var(--t-small); color: var(--smoke); line-height: 1.45; }
.cat .cat-count { margin-top: 8px; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); display: inline-flex; align-items: center; gap: 8px; }
.cat .cat-count::after { content: '\2192'; transition: transform .3s var(--ease); }
.cat::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cat:hover { background: rgba(220, 200, 150, .045); }
.cat:hover::after, .cat:focus-visible::after { transform: scaleX(1); }
.cat:hover .cat-fig img { transform: scale(1.05); }
.cat:hover .cat-count::after { transform: translateX(4px); }

.proof { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 14px 32px; padding-top: 26px; padding-bottom: 0; margin-top: 0; list-style: none; }
.proof li { display: flex; align-items: center; gap: 12px; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.proof li::before { content: ''; width: 7px; height: 7px; background: var(--champagne); transform: rotate(45deg); flex-shrink: 0; }
.proof strong { color: var(--ivory); font-weight: 500; }

/* ---------- home: shop by ---------- */
.shopby { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; }
.shopby > div { padding: 30px 28px 32px; display: grid; gap: 4px; align-content: start; }
.shopby > div + div { border-left: 1px solid var(--line); }
.shopby h3 { margin-bottom: 12px; }
.shopby a { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; padding: 7px 0; color: var(--ivory); border-bottom: 1px solid transparent; transition: color .2s; min-height: 40px; }
.shopby a:hover { color: var(--champagne); }
.shopby a span:last-child { font-size: var(--t-small); color: var(--ash); font-variant-numeric: tabular-nums; }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* ---------- cigar cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: 22px; }
.grid-home { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair), 0 30px 60px -36px rgba(0, 0, 0, .9); transition: transform .5s var(--ease), box-shadow .5s; }
.card::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 2; }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--hair), 0 34px 54px -28px rgba(0, 0, 0, .95); } }
.card-link { display: flex; flex-direction: column; text-decoration: none; width: 100%; }
.card-figure { aspect-ratio: 16 / 9; display: flex; align-items: flex-end; justify-content: center; padding: 0 6% 7%; }
.cigar-img { display: block; width: calc((var(--len) + .3) / 7.8 * 100%); max-width: none; flex-shrink: 0; transition: transform .7s var(--ease); }
.card:hover .cigar-img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 18px; flex: 1; }
.card-title { display: grid; gap: 4px; align-content: start; min-height: calc(1.3rem * 2.4 + 1.12rem * 1.2 + 4px); }
.card-name { font-size: 1.3rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-vitola { font-family: var(--display); font-style: italic; font-size: 1.12rem; color: var(--champagne); line-height: 1.2; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.card-specs { display: flex; flex-wrap: wrap; gap: 2px 0; font-size: var(--t-small); color: var(--smoke); }
.card-specs span:has(+ span:not(.visually-hidden))::after { content: '\00b7'; margin: 0 .5em; color: var(--champagne-deep); }
.card-strength { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: var(--t-small); color: var(--smoke); }
.pips { display: inline-flex; gap: 4px; vertical-align: middle; }
.pips i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--champagne-deep); }
.pips i.on { background: var(--champagne); border-color: var(--champagne); }
.pips-label { color: var(--ivory); }
.card-reason { font-size: .95rem; color: var(--ivory); border-left: 1px solid var(--champagne); padding-left: 12px; margin-top: 4px; }
.card-reason strong { color: var(--champagne); font-weight: 500; }
.card-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-price-value { font-size: 1.7rem; line-height: 1; color: var(--champagne); }
.card-price-where { font-size: .8rem; color: var(--smoke); text-align: right; line-height: 1.35; }
.card-price-where b { display: block; font-weight: 400; color: var(--ivory); }
.save { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 8, 10, .55); border: 1px solid var(--line); cursor: pointer; color: var(--champagne); transition: border-color .2s, background .2s; }
.save svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.save:hover { border-color: var(--champagne); background: rgba(8, 8, 10, .8); }
.save.on svg { fill: var(--champagne); }
.save-text { position: static; width: auto; height: auto; border-radius: 0; display: inline-flex; gap: 10px; min-height: 44px; padding: .5em 1.2em; font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; border-color: var(--line-strong); color: var(--ivory); }
.save-text svg { color: var(--champagne); }

/* ---------- item cards (humidors, accessories) ---------- */
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.items > div { display: grid; }
.item { display: flex; flex-direction: column; background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair), 0 30px 60px -36px rgba(0, 0, 0, .9); transition: box-shadow .3s; }
.flash .item { box-shadow: inset 0 0 0 1px var(--champagne), 0 30px 60px -36px rgba(0, 0, 0, .9); }
.item-figure { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 6% 8% 4%; }
.item-figure img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.item:hover .item-figure img { transform: scale(1.04); }
.item-body { display: flex; flex-direction: column; padding: 22px 24px 24px; flex: 1; }
.item-info { display: grid; gap: 8px; align-content: start; flex: 1; }
.item-name { font-size: 1.45rem; }
.item-meta { font-size: var(--t-small); color: var(--champagne-deep); }
.item-text { color: var(--smoke); font-size: .97rem; }
.item-buy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.item-from { display: grid; gap: 2px; }
.item-from .card-price-value { font-size: 1.6rem; }
.item-from small { font-size: .8rem; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .9em; overflow: hidden; }
/* "at Retailer · Paid link". The dot is drawn in the gap before the tag. When the tag wraps to a line of its own,
   the dot falls outside the box and is not shown, so a line never starts with it. */
.item-from small .paid { position: relative; }
.item-from small .paid::before { content: '\00b7'; content: '\00b7' / ''; position: absolute; left: -.62em; color: var(--smoke); letter-spacing: 0; }
/* The extra rows under the price: the comparison, then the Amazon link. */
.item-extra { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; container-type: inline-size; }
.item-more summary { cursor: pointer; font-size: var(--t-small); color: var(--smoke); padding: 8px 0; list-style: none; display: inline-flex; gap: 8px; align-items: center; min-height: 40px; }
.item-more summary::-webkit-details-marker { display: none; }
/* The plus and minus are decoration. The second value gives them an empty spoken name, so the summary reads "Compare 2 more retailers" and no more. */
.item-more summary::after { content: '+'; content: '+' / ''; color: var(--champagne); }
.item-more[open] summary::after { content: '\2212'; content: '\2212' / ''; }
.item-more summary:hover { color: var(--champagne); }
.offers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
/* The name column gives way first: a long retailer name or its tag wraps inside the card instead of pushing the row past its edge. */
.offers li { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.offers li:last-child { border-bottom: 0; }
.offer-name .paid { display: block; white-space: normal; }
@container (max-width: 236px) { .offers li { gap: 8px; } }      /* the narrowest cards: two columns just past 600px, and a 320px phone */
.offer-price { font-variant-numeric: tabular-nums; }
.offers li.out { color: var(--ash); }
.offers .btn-out { width: 44px; padding: 0; }
/* Amazon: a link only, under the comparison. Never a price, a stock line or a logo (see MARKET.amazon in data/catalog.js). */
.item-amazon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--smoke); }
.item-amazon-label .paid { display: block; }
.item-amazon .btn-out { border: 0; background: none; padding: 0; color: var(--champagne); letter-spacing: .12em; white-space: normal; text-align: left; }
.item-amazon .btn-out:hover { background: none; color: #f6ecd0; text-decoration: underline; text-underline-offset: 5px; }
/* In a row of cards the prices sit on one line. Each card takes four rows of the list's own grid (the picture, the words,
   the price with its button, the extra rows) and hands them on to its parts. A card with fewer extra rows, or a shorter
   line under its price, keeps its price level with its neighbors and is left empty below it instead.
   A browser without subgrid lays each card out on its own, with the price above whatever extra rows the card has. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 601px) {
    .items > div:not(.empty), .items .item, .items .item-body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; row-gap: 0; }
    .items > div:not(.empty), .items .item { grid-row: span 4; }
    .items .item-body { grid-row: span 3; }
    .items .item-buy { grid-row: 2; align-self: start; }
    .items .item-extra { grid-row: 3; }
  }
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs button { background: none; border: 1px solid var(--line-strong); min-height: 44px; padding: 0 20px; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); cursor: pointer; transition: background .15s, color .15s; }
.tabs button:hover { color: var(--champagne); border-color: var(--champagne); }
.tabs button.on { background: var(--champagne); color: #0b0a08; border-color: var(--champagne); font-weight: 600; }
.mini-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mini-item { display: flex; flex-direction: column; text-decoration: none; background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair), 0 30px 60px -36px rgba(0, 0, 0, .9); transition: transform .5s var(--ease); }
@media (prefers-reduced-motion: no-preference) { .mini-item:hover { transform: translateY(-4px); } }
.mini-item .item-figure img { transition: transform .7s var(--ease); }
.mini-item:hover .item-figure img { transform: scale(1.05); }
.mini-item-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.mini-item h3 { font-size: 1.2rem; }
.mini-item .from { font-size: var(--t-small); color: var(--smoke); }
.mini-item .from b { font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--champagne); font-optical-sizing: none; font-variation-settings: "opsz" 18; white-space: nowrap; }      /* a space, not a margin, stands between From and the price, so a price too long for a narrow tile drops to its own line */

/* ---------- panels and features ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { display: grid; gap: 18px; align-content: start; justify-items: start; padding: clamp(28px, 4vw, 52px); background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair), 0 30px 60px -36px rgba(0, 0, 0, .9); text-decoration: none; }
.panel p:not(.eyebrow) { color: var(--smoke); max-width: 52ch; }
.panel-marble { background: linear-gradient(rgba(8, 8, 10, .42), rgba(8, 8, 10, .72)), var(--marble-panel) center / cover; }
.panel-marble p:not(.eyebrow) { color: var(--ivory); }
a.panel:hover .btn { background: rgba(220, 200, 150, .12); border-color: var(--champagne); }
.panel-wide { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.panel-wide > div { display: grid; gap: 16px; }
.art-panel { position: relative; overflow: hidden; min-height: 420px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 0; padding: 0; text-decoration: none;
  background: linear-gradient(rgba(8, 8, 10, .35), rgba(8, 8, 10, .70)), var(--marble-panel) center / cover; box-shadow: inset 0 1px 0 var(--hair), 0 30px 60px -36px rgba(0, 0, 0, .9); }
.art-panel > div { display: grid; gap: 16px; justify-items: start; padding: clamp(28px, 3.4vw, 48px); padding-right: 8px; }
.art-panel h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
.art-panel p:not(.eyebrow) { color: var(--ivory); max-width: 40ch; }
.art-panel figure { margin: 0; align-self: stretch; display: grid; place-items: center; padding: 20px 20px 20px 0; }
.art-panel figure img { max-height: 380px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .6)); transition: transform .8s var(--ease); }
.art-panel:hover figure img { transform: scale(1.04); }
.art-panel figure.art-wide { padding: 20px 8px 20px 0; }
.art-panel figure.art-wide img { width: 122%; max-width: none; max-height: none; margin-left: -11%; }
.art-panel:hover .btn { background: rgba(220, 200, 150, .12); border-color: var(--champagne); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; color: var(--smoke); }
.steps li::before { content: counter(s, upper-roman); font-family: var(--display); font-style: italic; color: var(--champagne); font-size: 1.25rem; line-height: 1.3; }
.steps strong { color: var(--ivory); font-weight: 500; display: block; }
.steps-row { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-row.three { grid-template-columns: repeat(3, 1fr); }
.steps-row li { grid-template-columns: 1fr; gap: 8px; border-top: 1px solid var(--line-strong); padding-top: 16px; align-content: start; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { display: grid; gap: 12px; align-content: start; justify-items: start; padding: 30px 28px; background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair), 0 30px 60px -36px rgba(0, 0, 0, .9); text-decoration: none; transition: transform .5s var(--ease); }
@media (prefers-reduced-motion: no-preference) { a.feature:hover { transform: translateY(-4px); } }
.feature p:not(.eyebrow) { color: var(--smoke); }
.feature .eyebrow { color: var(--champagne-deep); }
.feature.guide h3, .feature.plain h3 { font-size: 1.6rem; font-variation-settings: "opsz" 28; }
.retailers { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: baseline; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.retailers span { font-family: var(--display); font-size: 1.15rem; color: var(--smoke); font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.retailers .label { font-family: var(--body); font-size: var(--t-label); }
.retailers + .retailers { margin-top: 14px; padding-top: 0; border-top: 0; }

/* ---------- the time finder ---------- */
.finder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.instrument { padding: clamp(24px, 3vw, 40px); }
.instrument-head { display: grid; grid-template-columns: auto minmax(180px, 1fr); gap: 16px 36px; align-items: center; }
.instrument-label { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-optical-sizing: none; font-variation-settings: "opsz" 28; }
.instrument-label output { font-style: italic; color: var(--champagne); font-variant-numeric: tabular-nums; display: inline-block; min-width: 1.5em; text-align: center; }
.finder-fig { margin-top: 18px; aspect-ratio: 16 / 5; display: flex; align-items: flex-end; justify-content: center; padding: 0 5% 3%; }
.finder-fig .cigar-img { width: calc((var(--len) + .3) / 7.8 * 92%); }
.hero-pick-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.hero-pick-name { font-family: var(--display); font-size: 1.3rem; display: grid; gap: 4px; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.hero-pick-name a { text-decoration: none; }
.hero-pick-name a:hover { color: var(--champagne); }
.hero-pick-name em { font-style: italic; color: var(--champagne); }
.hero-pick-name span { font-family: var(--body); font-size: var(--t-small); color: var(--smoke); }
.sizer { margin-bottom: 36px; }
/* Room for "4,000", so the slider beside the label does not move as the number grows. */
.sizer .instrument-label { min-width: 11.6em; }
#advice { margin-top: 18px; display: grid; gap: 8px; }
.advice-line { max-width: 70ch; }
.advice-line strong { color: var(--champagne); font-weight: 500; }

/* range */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--champagne), var(--line-strong)); }
.range::-moz-range-track { height: 2px; background: var(--line-strong); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; background: var(--champagne); border: 5px solid var(--ink); outline: 1px solid var(--champagne); transform: rotate(45deg); }
.range::-moz-range-thumb { width: 12px; height: 12px; background: var(--champagne); border: 5px solid var(--ink); outline: 1px solid var(--champagne); transform: rotate(45deg); border-radius: 0; }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 2px solid #fff3cf; outline-offset: 2px; }
.range:focus-visible::-moz-range-thumb { outline: 2px solid #fff3cf; outline-offset: 2px; }

/* ---------- forms ---------- */
input[type="text"], input[type="email"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; background: rgba(8, 8, 10, .7); border: 1px solid var(--line-strong); border-radius: 0; padding: .75em 1em; color: var(--ivory); font-size: 1rem; min-height: 48px;
}
input::placeholder, textarea::placeholder { color: var(--ash); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 1px var(--champagne); }
select { -webkit-appearance: none; appearance: none; padding-right: 2.4em; background-image: linear-gradient(45deg, transparent 50%, var(--champagne) 50%), linear-gradient(135deg, var(--champagne) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: #121213; color: var(--ivory); }
.signup { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-content: start; }
.form-note { grid-column: 1 / -1; font-size: var(--t-small); color: var(--smoke); min-height: 1.4em; }
.form-note.ok { color: var(--champagne); }
.form-note.err { color: #f0b09b; }
.field-err { color: #f0b09b; font-size: var(--t-small); letter-spacing: 0; text-transform: none; line-height: 1.4; }
[aria-invalid="true"], .input-prefix:has([aria-invalid="true"]) { border-color: #f0b09b !important; }
.alert-fields label, .field-label { display: grid; gap: 7px; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); }
.letter { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px 56px; align-items: end; padding: clamp(28px, 4vw, 48px); }
.letter > div { display: grid; gap: 12px; }
.letter p:not(.eyebrow) { color: var(--smoke); }

/* ---------- catalog ---------- */
.catalog { display: grid; grid-template-columns: 286px minmax(0, 1fr); gap: 44px; align-items: start; }
.filters { position: sticky; top: calc(var(--head-h) + 20px); max-height: calc(100vh - var(--head-h) - 40px); overflow-y: auto; padding-right: 14px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.filters-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.filters-head h2 { font-size: 1.5rem; }
.filters-close, .filters-apply, .filters-toggle { display: none; }
.fsearch { padding: 16px 0 6px; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { list-style: none; cursor: pointer; padding: 14px 0; min-height: 48px; display: flex; justify-content: space-between; align-items: center; font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); font-weight: 500; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: '+'; font-size: 1.1rem; letter-spacing: 0; color: var(--champagne); font-weight: 300; }
.fgroup[open] summary::after { content: '\2212'; }
.fgroup-body { padding-bottom: 18px; display: grid; gap: 2px; }
.fhint { font-size: var(--t-small); color: var(--smoke); margin-bottom: 10px; line-height: 1.4; }
.check { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; min-height: 40px; cursor: pointer; font-size: .97rem; position: relative; }
.check input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check-box { width: 16px; height: 16px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.check input:checked + .check-box { background: var(--champagne); border-color: var(--champagne); }
.check input:checked + .check-box::after { content: ''; width: 8px; height: 4px; border-left: 1.5px solid #0b0a08; border-bottom: 1.5px solid #0b0a08; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible + .check-box { outline: 2px solid #f6ecd0; outline-offset: 3px; }
.check:hover .check-box { border-color: var(--champagne); }
.check-label small { display: block; font-size: .8rem; line-height: 1.3; }
.check-count { font-size: var(--t-small); color: var(--smoke); font-variant-numeric: tabular-nums; }
.check.none { color: var(--ash); }
.check.none .check-box { border-color: var(--line); }
.check-solo { padding: 18px 0; grid-template-columns: 18px 1fr; }
.range-label { font-family: var(--display); font-size: 1.25rem; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.range-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--smoke); }
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-strong); margin-bottom: 10px; }
.segmented button { background: none; border: 0; min-height: 44px; padding: 8px 6px; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); cursor: pointer; transition: background .15s, color .15s; }
.segmented button + button { border-left: 1px solid var(--line-strong); }
.segmented button:hover { color: var(--champagne); }
.segmented button.on { background: var(--champagne); color: #0b0a08; font-weight: 600; }
.segmented.wide button { min-height: 52px; padding: 12px 10px; font-size: .8125rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span, .chip-link, .active-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); min-height: 40px; padding: 4px 14px; font-size: var(--t-small); color: var(--ivory); text-decoration: none; background: none; transition: background .15s, color .15s, border-color .15s; }
.chip:hover span, .chip-link:hover { border-color: var(--champagne); color: var(--champagne); }
.chip input:checked + span { background: var(--champagne); color: #0b0a08; border-color: var(--champagne); }
.chip input:focus-visible + span { outline: 2px solid #f6ecd0; outline-offset: 3px; }
.results-bar { display: flex; align-items: center; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); margin-bottom: 18px; }
.results-count { font-family: var(--display); font-size: 1.5rem; margin-right: auto; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.results-count strong { color: var(--champagne); }
.sort { display: flex; align-items: center; gap: 12px; font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); }
.sort select, .ship select { width: auto; min-height: 44px; padding-top: .4em; padding-bottom: .4em; font-size: .95rem; letter-spacing: 0; text-transform: none; }
.active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-chip { cursor: pointer; color: var(--champagne); background: rgba(220, 200, 150, .06); }
.active-chip:hover { border-color: var(--champagne); }
.empty { grid-column: 1 / -1; padding: 48px 32px; display: grid; gap: 14px; justify-items: start; background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair); }
.empty p { color: var(--smoke); max-width: 56ch; }
.illus-note { font-size: var(--t-small); color: var(--ash); margin-top: 26px; }

/* ---------- cigar page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: 22px; }
.stage { margin: 0; position: sticky; top: calc(var(--head-h) + 20px); }
.stage-well { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.stage-shadow { width: 100%; display: grid; place-items: center; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .7)) drop-shadow(0 4px 5px rgba(0, 0, 0, .6)); }
.stage-img { display: block; width: calc((var(--len) + .28) / 7.78 * 98%); max-width: none; transform: rotate(-27deg); }
.stage figcaption { margin-top: 12px; font-size: var(--t-small); color: var(--ash); display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.stage figcaption b { font-weight: 400; color: var(--smoke); }
.buy { display: grid; gap: 18px; align-content: start; }
.buy h1 { font-size: clamp(2rem, 3.3vw, 3.1rem); }
.buy h1 em { display: block; }
.buy .lede { font-size: 1.08rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 0; border-top: 1px solid var(--line); }
.stat { padding: 16px 0 14px; display: grid; gap: 4px; align-content: start; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 18px; }
.stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.stat dt { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); font-weight: 500; }
.stat dd { margin: 0; display: grid; gap: 4px; }
.stat-value { font-size: 1.35rem; line-height: 1.15; }
.buy-box { display: grid; gap: 12px; padding: 22px 24px 20px; background: linear-gradient(180deg, var(--s3), var(--s2)); box-shadow: inset 0 1px 0 var(--hair), inset 0 0 0 1px var(--line); }
.buy-box .label { color: var(--champagne); }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-big { font-size: 2.6rem; line-height: 1; color: var(--champagne); }
.price-line span { color: var(--smoke); }
.buy-where { color: var(--ivory); }
.buy-where .stock { margin-left: 10px; }
.buy-box .btn-gold { min-height: 54px; font-size: .875rem; }
.buy-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.buy-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.prices { margin-top: clamp(48px, 6vw, 88px); }
.prices-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.prices-head > div { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ship { display: flex; align-items: center; gap: 12px; font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
.prices-table { background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair); }
.prices-table th, .prices-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.prices-table thead th { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); font-weight: 500; border-bottom-color: var(--line-strong); white-space: nowrap; }
.prices-table tbody tr:last-child th, .prices-table tbody tr:last-child td { border-bottom: 0; }
.prices-table tbody th { font-weight: 400; }
.prices-table tr.best { background: linear-gradient(90deg, rgba(220, 200, 150, .10), transparent 50%); box-shadow: inset 2px 0 0 var(--champagne); }
.r-name { font-family: var(--display); font-size: 1.2rem; display: block; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.best-tag { display: inline-block; margin-top: 4px; font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); font-weight: 500; }
.r-note { display: block; font-size: var(--t-small); color: #f0b09b; margin-top: 4px; }
.prices-table .num { font-size: 1.3rem; display: block; }
.prices-table small { display: block; white-space: nowrap; font-size: .82rem; }
.dash { color: var(--ash); }
.stock { font-size: var(--t-small); color: var(--smoke); white-space: nowrap; }
.stock.in { color: var(--ivory); }
.stock.in::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #9fc49a; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.prices-table td.r-link { text-align: right; white-space: nowrap; }
.r-link .paid { display: block; margin-top: 6px; }
tr.out .num, tr.out .r-name, tr.blocked .num, tr.blocked .r-name { color: var(--ash); }
.fineprint { font-size: var(--t-small); color: var(--smoke); margin-top: 14px; max-width: 86ch; }
.alert-form { margin-top: 28px; padding: clamp(22px, 3vw, 34px); background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair); display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 40px; align-items: center; }
.alert-form > div:first-child { display: grid; gap: 8px; }
.alert-form > div:first-child p { color: var(--smoke); font-size: .97rem; }
.alert-form .form-note:empty { display: none; }
.alert-fields { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: end; }
.input-prefix { display: flex; align-items: center; border: 1px solid var(--line-strong); background: rgba(8, 8, 10, .7); }
.input-prefix span { padding-left: 12px; color: var(--smoke); font-size: 1rem; letter-spacing: 0; }
.input-prefix input { border: 0; padding-left: 6px; box-shadow: none !important; background: none; }
.input-prefix:focus-within { border-color: var(--champagne); box-shadow: 0 0 0 1px var(--champagne); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: clamp(48px, 6vw, 88px); }
.detail-grid h2 { margin-bottom: 20px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); font-weight: 500; padding-top: 18px; }
.spec td small { display: block; }
.spec td a { color: var(--champagne); text-underline-offset: 4px; }
.chips-label { margin: 22px 0 10px; }
.chips-label:first-of-type { margin-top: 0; }
.pairings { margin: 0 0 10px; padding: 0; list-style: none; }
.pairings li { padding: 9px 0; border-bottom: 1px solid var(--line); }

/* ---------- concierge ---------- */
.quiz { padding-top: clamp(48px, 7vw, 100px); max-width: 860px !important; display: grid; gap: 26px; justify-items: start; }
.quiz h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.quiz-progress { width: 100%; height: 1px; background: var(--line-strong); }
.quiz-progress span { display: block; height: 3px; margin-top: -1px; background: var(--gold); transition: width .4s; }
.quiz-options { display: grid; gap: 12px; width: 100%; }
.quiz-option { text-align: left; text-decoration: none; color: inherit; background: linear-gradient(180deg, var(--s2), var(--s1)); border: 1px solid var(--line); padding: 20px 24px; cursor: pointer; display: grid; gap: 4px; transition: border-color .2s, background .2s; }
.quiz-option span { font-family: var(--display); font-size: 1.4rem; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.quiz-option:hover { border-color: var(--champagne); background: rgba(220, 200, 150, .07); }
.quiz-again { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding-top: 36px; }
.quiz-keep { margin-top: clamp(48px, 6vw, 80px); }

/* ---------- gifting ---------- */
.gift-brief { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 40px; padding-bottom: 36px; }
.gift-brief .chips-label { margin-top: 0; }
.gift-ship { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; font-size: var(--t-small); }
.gift-set { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gift-art { margin: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 6%; position: sticky; top: calc(var(--head-h) + 20px); }
.gift-art img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .6)); }
.gift-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.gift-line { display: grid; grid-template-columns: 132px 1fr auto; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.gift-line > div:nth-child(2) { display: grid; gap: 6px; }
.gift-line h3 { font-size: 1.4rem; }
.gift-line h3 a { text-decoration: none; }
.gift-line h3 a:hover { color: var(--champagne); }
.gift-fig { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 6%; }
.gift-fig img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gift-fig .cigar-img { width: 100%; align-self: flex-end; }
.gift-price { display: grid; gap: 4px; justify-items: end; text-align: right; }
.gift-price .num { font-size: 1.6rem; line-height: 1; }
.gift-total { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; flex-wrap: wrap; padding: 22px 0 8px; color: var(--smoke); border-bottom: 1px solid var(--line-strong); }
.gift-total strong { font-size: 2.6rem; color: var(--champagne); line-height: 1; }
.gift-alt { margin-top: 64px; }

/* ---------- private label band preview ---------- */
.band-studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); }
.band-stage { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; }
.band-art { position: absolute; inset: 0; }
.band-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band-text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 21%; display: grid; gap: 2%; justify-items: center; text-align: center; pointer-events: none; line-height: 1.05; container-type: inline-size; }
.band-text .bt-name { font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-weight: 600; font-size: 17cqw; letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere;
  background: linear-gradient(180deg, #f4e6bd, #c9ab6a 60%, #a88945); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)); }
.band-text .bt-line { font-family: var(--body); font-size: 8cqw; letter-spacing: .22em; text-transform: uppercase; color: #cdb37a; }
.band-text.dark .bt-name { background: linear-gradient(180deg, #5c4a22, #2b2110); -webkit-background-clip: text; background-clip: text; filter: none; }
.band-text.dark .bt-line { color: #5c4a22; }
.band-controls { display: grid; gap: 18px; align-content: start; }
.band-controls p:not(.eyebrow) { color: var(--smoke); }
.band-controls .field-label input { text-transform: none; letter-spacing: 0; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches button { min-height: 44px; padding: 0 16px 0 12px; display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-strong); color: var(--ivory); font-size: var(--t-small); cursor: pointer; }
.swatches button i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--champagne-deep); }
.swatches button.on { border-color: var(--champagne); box-shadow: inset 0 0 0 1px var(--champagne); }

/* ---------- private label partners ---------- */
.partner-list:focus { outline: none; }
.partner-list .section-head p:not(.eyebrow) { max-width: 62ch; }
.partner-list > .fineprint { margin-top: 0; }
.partner-group { margin-top: clamp(40px, 5vw, 64px); }
.partner-group .section-head { margin-bottom: 24px; }
.partner-group h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-variation-settings: "opsz" 28; }
.partners { display: grid; gap: 22px; }
.partner { display: flex; flex-direction: column; align-items: flex-start; container-type: inline-size; }
.partner h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; text-wrap: balance; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.partner-good { font-size: var(--t-small); }
.partner-good .label { display: block; }
/* The tag sits above the button, or beside it once the card has room for both, so the cards in a row always match. */
.partner-go { display: grid; gap: 10px; justify-items: start; width: 100%; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
@container (min-width: 264px) { .partner-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; } }

/* ---------- compare ---------- */
.compare { min-width: calc(150px + var(--n, 2) * 230px); table-layout: fixed; }
.compare tbody th, .compare thead td { position: sticky; left: 0; z-index: 1; background: #0b0b0c; }
.compare-wrap { box-shadow: inset 0 1px 0 var(--hair); }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { vertical-align: bottom; font-weight: 400; }
.compare thead td { width: 150px; }
.compare thead a { text-decoration: none; display: grid; gap: 6px; }
.compare-fig { display: flex; align-items: flex-end; min-height: 70px; }
.compare-fig .cigar-img { width: calc((var(--len) + .3) / 7.8 * 100%); }
.compare-name { font-family: var(--display); font-size: 1.2rem; line-height: 1.2; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.compare-name em { display: block; color: var(--champagne); }
.compare tbody th { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); font-weight: 500; width: 150px; padding-top: 20px; }
.compare td small { display: block; }
.compare td .num { font-size: 1.4rem; }

/* ---------- articles ---------- */
.article { max-width: 860px !important; }
.article-wide { max-width: var(--wrap) !important; }
.article .page-head { padding-left: 0; padding-right: 0; }
.crumbs + .page-head { padding-top: 22px; }
.prose { display: grid; gap: 18px; }
.prose > p, .prose > ul, .prose > ol { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 22px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--champagne); }
.prose a { color: var(--champagne); text-underline-offset: 4px; }
.prose.dropcap > p:first-of-type::first-letter { font: 400 4.1rem/.8 var(--display); float: left; padding: .08em .12em 0 0; color: var(--champagne); }
table.plain { background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 1px 0 var(--hair); min-width: 560px; }
table.plain th, table.plain td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); font-weight: 500; }
table.plain td:nth-child(3) { white-space: nowrap; }      /* "No commission" stays on one line */
/* On a narrow screen the table becomes a list: one retailer to a block, each fact beside the name of its column, so no column
   sits off screen. The width is in em, so larger text switches sooner. The markup carries the table roles, so it is still read as a table. */
@media (max-width: 38.75em) {
  table.plain { min-width: 0; }
  table.plain thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.plain, table.plain tbody, table.plain tr, table.plain th, table.plain td { display: block; }
  table.plain tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.plain tbody tr:last-child { border-bottom: 0; }
  table.plain th, table.plain td { padding: 0; border: 0; }
  table.plain tbody th { margin-bottom: 8px; color: var(--champagne); }
  table.plain td { display: grid; grid-template-columns: 6.25em minmax(0, 1fr); gap: 12px; padding: 3px 0; font-size: .95rem; }
  table.plain td:nth-child(3) { white-space: normal; }
  table.plain td[data-label]::before { content: attr(data-label); content: attr(data-label) / ''; font-size: var(--t-small); color: var(--smoke); }
}
.vitola-list, .origin-list { display: grid; margin-top: 14px; border-top: 1px solid var(--line-strong); }
.vitola-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.vitola-fig { display: flex; align-items: flex-end; aspect-ratio: 16 / 4.4; padding: 0 3% 2%; }
.vitola-fig .cigar-img { width: calc((var(--len) + .3) / 7.3 * 100%); }
.vitola-text { display: grid; gap: 10px; justify-items: start; }
.vitola-text h2, .origin-row h2 { margin-top: 0; }
.vitola-text p:not(.card-specs) { color: var(--smoke); }
.origin-row { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.origin-row > div { display: grid; gap: 10px; align-content: start; justify-items: start; }
.trio-wrap { grid-template-columns: repeat(3, 1fr); }
.trio-wrap .guide:first-child { grid-column: span 2; }
.origin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.origin-tile { display: grid; gap: 6px; padding: 24px 22px 20px; text-decoration: none; background: var(--s1); transition: background .25s; }
.origin-tile:hover { background: var(--s3); }
.origin-name { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.origin-known { font-size: var(--t-small); color: var(--smoke); }
.origin-count { margin-top: 12px; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); }

/* ---------- footer ---------- */
.site-foot { margin-top: 40px; background: #070708; border-top: 1px solid var(--line); }
.foot-mark { display: grid; place-items: center; height: clamp(150px, 20vw, 260px); border-bottom: 1px solid var(--line);
  background: linear-gradient(rgba(8, 8, 10, .35), rgba(8, 8, 10, .72)), var(--marble-panel) center / cover; }
/* One line: 5.4vw from 1100px wide. Narrower than that the name is held larger, so it still fills the band where it has
   just gone from two lines to one (51px at 640px wide, rising to meet 5.4vw at 1100px). */
.foot-name { font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 40; font-weight: 500; font-size: clamp(2.2rem, max(5.4vw, 39.2px + 1.83vw), 5.4rem); letter-spacing: .3em; margin-right: -.3em; line-height: 1; white-space: nowrap; text-align: center;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-inner { padding-top: 52px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr; gap: 40px; }
.foot-grid h2 { font-family: var(--body); font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); font-weight: 500; margin-bottom: 12px; font-variation-settings: normal; }
.foot-grid a:not(.brand) { display: block; text-decoration: none; color: var(--smoke); padding: 7px 0; font-size: .97rem; }
.foot-grid a:not(.brand):hover { color: var(--champagne); }
.foot-brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.foot-brand p { color: var(--smoke); font-size: .97rem; max-width: 34ch; }
.site-foot .signup { grid-template-columns: 1fr; }
.form-note a, .foot-grid .form-note a:not(.brand) { display: inline; padding: 0; color: var(--champagne); text-decoration: underline; text-underline-offset: 4px; font-size: inherit; }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: var(--t-small); color: var(--smoke); }
.foot-legal strong { color: var(--ivory); font-weight: 500; }
.foot-warning { flex-basis: 100%; padding: 12px 16px; border: 1px solid var(--line); color: var(--ivory); }
.foot-legal a { color: var(--champagne); text-underline-offset: 4px; }

/* ---------- age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; overflow-y: auto;
  background: radial-gradient(60% 55% at 50% 50%, rgba(8, 8, 10, .90), rgba(8, 8, 10, .55)), var(--marble-hero) center / cover #08080a; }
.gate-card { width: min(640px, 100%); text-align: center; display: grid; gap: 16px; justify-items: center; }
.gate-card .monogram { height: 76px; width: auto; color: var(--champagne); }
.gate-card .brand-name { font-size: clamp(2.2rem, min(7vw, 9vh), 4.4rem); letter-spacing: .28em; margin-right: -.28em; }
@media (max-height: 640px) { .gate-card { gap: 12px; } .gate-card .monogram { height: 60px; } }      /* the two-line name still fits a short screen */
.gate-rule { width: 44px; height: 1px; background: var(--champagne); margin: 6px 0; }
.gate-card h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); font-style: italic; }
.gate-text { color: var(--smoke); max-width: 40ch; font-size: .97rem; }
.gate-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.gate-actions .btn { min-width: 220px; min-height: 52px; }
.gate-refused { display: none; color: var(--champagne); font-family: var(--display); font-style: italic; font-size: 1.5rem; text-wrap: balance; }      /* balanced, so no word is left alone on the last line */
.gate-small { font-size: .8rem; color: var(--ash); max-width: 46ch; }
.gate.refused .gate-actions, .gate.refused .gate-text, .gate.refused h2, .gate.refused .gate-small { display: none; }
.gate.refused .gate-refused { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .gate-card > * { animation: rise .9s var(--ease) both; }
  .gate-card .brand-name { animation: settle 1s var(--ease) both; }
  @keyframes settle { from { opacity: 0; letter-spacing: .4em; margin-right: -.4em; } to { opacity: 1; letter-spacing: .28em; margin-right: -.28em; } }
}

/* ---------- pieces added with the marketplace work ---------- */
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
label small { text-transform: none; letter-spacing: 0; color: var(--ash); font-size: .8rem; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.toolbar .tabs { margin-bottom: 0; }
.toolbar-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.empty .active { margin: 0; }

/* price table: the pack you compare by */
.prices-tools { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.pack-wrap { display: flex; align-items: center; gap: 12px; }
.pack-wrap .chips-label { color: var(--smoke); }
.segmented.pack { margin: 0; }
.segmented.pack button { padding: 8px 16px; white-space: nowrap; }
.prices-table .col-on { background: rgba(220, 200, 150, .045); }
.prices-table thead .col-on { color: var(--champagne); }
.ship-line { font-size: var(--t-small); color: var(--smoke); margin-bottom: 12px; }
.buy-small { font-size: .8rem; color: var(--ash); line-height: 1.45; }
.other-sizes { display: grid; gap: 10px; margin-top: 26px; }
.buy-bar { display: none; }

/* brands */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.brand-tile { display: grid; gap: 8px; align-content: start; padding: 26px 26px 24px; background: var(--s1); text-decoration: none; transition: background .25s; }
.brand-tile:hover { background: var(--s3); }
.brand-tile h2 { font-size: 1.6rem; }
.brand-tile:hover h2 { color: var(--champagne); }
.brand-tile p { font-size: var(--t-small); color: var(--smoke); min-height: 2.8em; }
.brand-tile span { font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-deep); }

/* shortlist: price alerts */
.watch-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.watch-list li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 12px 28px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.watch-list a { text-decoration: none; display: grid; gap: 4px; }
.watch-list p { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: var(--t-small); color: var(--smoke); }
.watch-list p b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--ivory); margin-left: 6px; font-variation-settings: "opsz" 18; font-optical-sizing: none; }
.compare td .btn { margin-bottom: 6px; }
.compare td .best-tag { display: block; }

/* gifting */
.gift-one { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 18px 20px; margin-top: 16px; background: rgba(220, 200, 150, .05); box-shadow: inset 0 0 0 1px var(--line-strong); }
.gift-one p { margin-right: auto; color: var(--ivory); }
.gift-one strong { color: var(--champagne); font-weight: 500; }
.gift-where { font-size: var(--t-small); color: var(--smoke); margin-top: 12px; }
.gift-set .fineprint { margin-top: 14px; }
.alt { display: grid; gap: 10px; align-content: start; }
.alt .btn { width: 100%; }
.need-strip { padding: 18px 22px; color: var(--ivory); margin-top: 28px; line-height: 2; }
.need-strip .textlink { margin: 0 4px; }

/* humidor size helper */
.advice-picks { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 6px; }
.advice-pick { display: grid; gap: 4px; justify-items: start; }
.advice-pick span:last-child { font-size: var(--t-small); color: var(--smoke); }

/* guides and legal */
.guide-shop { display: grid; gap: 16px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.draft-note { padding: 14px 18px; border: 1px dashed rgba(174, 167, 155, .5); color: var(--smoke); font-size: var(--t-small); }
.draft-note strong { color: var(--champagne); font-weight: 500; }
.gate-refused + .linkbtn { display: none; margin-top: 8px; }
.gate.refused .gate-refused + .linkbtn { display: inline-block; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .grid-4, .mini-items { grid-template-columns: repeat(2, 1fr); }
  .items { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-grid > div:last-child { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 1099px) {
  .head-row { grid-template-columns: auto 1fr auto; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 5.7em; padding: 0; }      /* one width for Menu and Close (the width Menu had at 14px side padding), so opening the menu never moves or squeezes the brand */
  .icon-btn { display: inline-grid; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.3rem; }
  .monogram { height: 36px; }
  .head-tools { gap: 8px; }
  .shortlist-link span:not(.count) { display: none; }
  .search { display: none; grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .search-open .search { display: block; }
  .suggest { width: 100%; }
  .nav { display: none; flex-direction: column; gap: 0; background: #0a0a0b; border-top: 1px solid var(--line-strong); padding: 6px var(--gutter) 18px; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
  .menu-open .nav { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: .9rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 640px; order: -1; margin: 0 auto; }
  .cats { grid-template-columns: repeat(5, minmax(210px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; }
  .proof { grid-template-columns: 1fr 1fr; justify-content: start; }
  .shopby { grid-template-columns: 1fr 1fr; }
  .shopby > div:nth-child(3) { border-left: 0; }
  .shopby > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .finder { grid-template-columns: minmax(0, 1fr); }
  .product { grid-template-columns: minmax(0, 1fr); }
  .stage { position: static; }
  .gift-set { grid-template-columns: minmax(0, 1fr); }
  .gift-art { position: static; max-width: 560px; }
  .band-studio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: 60; max-height: none; background: #0a0a0b; padding: 20px var(--gutter) 100px; transform: translateX(-102%); transition: transform .3s var(--ease); visibility: hidden; }
  .is-filtering .filters { transform: none; visibility: visible; }
  .filters-close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--champagne); cursor: pointer; }
  .filters-head { align-items: center; }
  .filters-head h2 { margin-right: auto; }
  .filters-apply { display: flex; position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; }
  .filters-toggle { display: inline-flex; }
  .results-bar { position: sticky; top: var(--head-h); z-index: 5; background: rgba(8, 8, 10, .95); padding-top: 10px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .sort span { display: none; }
  .buy-bar.show { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 8, 10, .96); border-top: 1px solid var(--line-strong); }
  .buy-bar p { display: grid; line-height: 1.25; min-width: 0; }
  .buy-bar b { font-family: var(--display); font-weight: 500; font-size: 1.4rem; color: var(--champagne); font-variation-settings: "opsz" 18; font-optical-sizing: none; }
  .buy-bar span:not(.arrow) { font-size: .8rem; color: var(--smoke); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar .btn { min-width: 128px; }
  .prices-table td.col-on, .prices-table th.col-on { background: none; }
  .watch-list li { grid-template-columns: 1fr auto; }
  .watch-list p { grid-column: 1 / -1; grid-row: 2; }
  .duo, .letter, .detail-grid, .gift-brief, .alert-form, .page-head.with-art { grid-template-columns: minmax(0, 1fr); }
  .detail-grid { gap: 40px; }
  .trio, .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3.grid-home { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .grid-3.grid-home::-webkit-scrollbar { display: none; }
  .grid-3.grid-home > * { scroll-snap-align: start; }
  .skip-in { display: none; }
  .trio-wrap .guide:first-child { grid-column: auto; }
  .origin-grid { grid-template-columns: 1fr 1fr; }
  .steps-row, .steps-row.three { grid-template-columns: 1fr 1fr; }
  .panel-wide { grid-template-columns: minmax(0, 1fr); }
  .art-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .art-panel figure { padding: 0 24px 24px; order: 2; }
  .art-panel figure img { max-height: 260px; }
  .art-panel figure.art-wide img { width: auto; max-width: 100%; max-height: 260px; margin-left: 0; }
  .vitola-row, .origin-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }

  /* price table becomes a list of cards */
  .prices-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prices-table, .prices-table tbody, .prices-table tr, .prices-table th, .prices-table td { display: block; }
  .prices-table tr { padding: 18px; border-bottom: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 12px; }
  .prices-table tbody tr:last-child { border-bottom: 0; }
  .prices-table th, .prices-table td { padding: 0; border: 0; }
  .prices-table tbody th { grid-column: 1 / -1; }
  .prices-table td[data-label]::before { content: attr(data-label); display: block; font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-deep); margin-bottom: 4px; }
  .prices-table td[data-label="Availability"] { grid-column: 1 / 2; align-self: center; }
  .prices-table td[data-label="Availability"]::before { display: none; }
  .prices-table td.r-link { grid-column: 2 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
  .r-link .paid { margin-top: 0; order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .notice { font-size: .75rem; }
  .grid-4, .grid-3, .trio, .steps-row, .steps-row.three, .items, .mini-items { grid-template-columns: minmax(0, 1fr); }
  .mini-items { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mini-item h3 { font-size: 1.05rem; }
  .hero-search { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-search input { border-right: 1px solid var(--line-strong); }
  .hero-links .btn { width: 100%; }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .shopby { grid-template-columns: minmax(0, 1fr); }
  .shopby > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .instrument-head { grid-template-columns: minmax(0, 1fr); }
  .sizer .instrument-label { min-width: 0; }
  .finder-fig { aspect-ratio: 16 / 6; }
  .hero-pick-row .btn { width: 100%; }
  .signup, .alert-fields { grid-template-columns: minmax(0, 1fr); }
  .segmented.wide { grid-auto-flow: row; }
  .segmented.wide button + button { border-left: 0; border-top: 1px solid var(--line-strong); }
  .gift-line { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .gift-one .btn, .btn-block, .band-controls > .btn, .alt .btn { white-space: normal; text-align: center; text-wrap: balance; }      /* full-width buttons whose words can be wider than a phone: they wrap instead of being cut off */
  .gift-price { grid-column: 1 / -1; justify-items: start; text-align: left; grid-auto-flow: column; align-items: center; gap: 14px; justify-content: start; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .prices-table tr { gap: 12px 8px; padding: 18px 14px; }
  .prices-table small { font-size: .78rem; }
  .prices-table td.r-link { flex-direction: column; align-items: flex-end; gap: 6px; }
  .r-link .paid { order: 0; }
  .results-count { font-size: 1.15rem; white-space: nowrap; }
  .results-bar { gap: 8px; }
  .filters-toggle { padding-left: .9em; padding-right: .9em; }
  .sort { min-width: 0; }
  .sort select { max-width: 138px; padding-left: .7em; }
  .pack-wrap { flex-wrap: wrap; }
  .segmented.pack button { padding: 8px 10px; }
  .stat-value { font-size: 1.2rem; }
  .price-big { font-size: 2.2rem; }
  .gate-actions .btn { width: 100%; }
  .compare { min-width: calc(96px + var(--n, 2) * 150px); }
  .compare tbody th, .compare thead td { width: 96px; padding-left: 0; padding-right: 10px; letter-spacing: .1em; }
  .compare th, .compare td { padding: 14px 12px; }
  .compare-name { font-size: 1.05rem; }

  /* home rows of cigar cards scroll sideways instead of stacking four tall cards */
  .grid-home, .grid-3.grid-home { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .grid-home::-webkit-scrollbar { display: none; }
  .grid-home > * { scroll-snap-align: start; }

  /* cigar cards become list rows: a close crop of the banded end, then the facts */
  .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .grid .card-link { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .grid .card-figure { aspect-ratio: auto; height: 100%; min-height: 132px; padding: 0; align-items: center; justify-content: flex-start; overflow: hidden; }
  .grid .cigar-img { width: auto; height: 62px; margin-left: -4px; }
  .grid .card:hover .cigar-img { transform: none; }
  .grid .card-body { padding: 14px; gap: 5px; }
  .grid .card-brand, .grid .card-title { margin-right: 38px; }
  .grid .card-specs { font-size: .8125rem; }
  .grid .card-name { font-size: 1.12rem; }
  .grid .card-title { min-height: 0; gap: 2px; }
  .grid .card-vitola { font-size: 1rem; }
  .grid .card-strength .card-shade { display: none; }
  .grid .card-price { border-top: 0; padding-top: 4px; }
  .grid .card-price-value { font-size: 1.35rem; }
  .grid .card-price-where span { display: none; }
  .grid .save { top: 8px; right: 6px; background: none; border-color: transparent; }
}
@media (max-width: 639px) {
  .foot-mark { height: clamp(150px, 38vw, 230px); }      /* room for two lines */
  .foot-name { font-size: clamp(2.4rem, 11vw, 4.2rem); }
  .foot-name .word { display: block; }
}
@media (max-width: 559px) {
  .brand { gap: 10px; }
  .brand .monogram { height: 34px; }
  .brand-name { font-size: 1.05rem; letter-spacing: .22em; margin-right: -.22em; }
  .brand .word { display: block; }
}
@media (max-width: 374px) {
  .origin-grid { grid-template-columns: minmax(0, 1fr); }
  .results-bar { flex-wrap: wrap; }
  .sort, .sort select { width: 100%; max-width: none; }
  .gift-price { grid-auto-flow: row; }
  .gift-line { grid-template-columns: 72px minmax(0, 1fr); }
  .grid .card-link { grid-template-columns: 92px minmax(0, 1fr); }
  .grid .card-price { flex-wrap: wrap; }
  .brand-name { font-size: 1rem; letter-spacing: .18em; margin-right: -.18em; }
  .head-row { gap: 8px; }
  .menu-btn { width: 5.1em; }
  .segmented.pack button { padding: 8px 8px; }
}
/* Below 360px (22.5em at the usual 16px text size) the two-line name stands alone: with the monogram the brand would sit
   less than 10px from the buttons beside it. The width is in em, so a larger default text size drops the monogram sooner. */
@media (max-width: 22.49em) {
  .brand .monogram { display: none; }
}
/* Windows High Contrast: state that was shown by color alone gets an outline or a system color. */
@media (forced-colors: active) {
  .pips i { border-color: CanvasText; }
  .pips i.on { background: CanvasText; forced-color-adjust: none; }
  .check-box, .chip span, .chip-link, .segmented button, .tabs button, .swatches button { border: 1px solid CanvasText; }
  .check input:checked + .check-box, .chip input:checked + span, .segmented button.on, .tabs button.on, .swatches button.on { background: Highlight; color: HighlightText; forced-color-adjust: none; }
  .save.on svg { fill: Highlight; }
  .nav a.on { border-bottom: 2px solid Highlight; }
  .prices-table tr.best { outline: 2px solid Highlight; outline-offset: -2px; }
  .brand-name, .foot-name, .band-text .bt-name { background: none; color: CanvasText; }
  .btn-gold { border: 1px solid ButtonText; }
  .quiz-progress span { background: Highlight; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
