/* Backstage Cigars — store.css: checkout, notices, product page. Extends style.css + shop.css tokens. */
[hidden] { display: none !important; }
.announce { background: var(--green); color: var(--ink); text-align: center; font-size: var(--fs-small); padding: 8px 16px; letter-spacing: .04em; }
.notice { margin: 24px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.notice--error { border-color: var(--danger); color: var(--danger); }
.notice--success { border-color: color-mix(in srgb, #7fbf8f 60%, transparent); }
.narrow-page { max-width: 760px; padding-top: 44px; padding-bottom: 96px; }
.narrow-page h1, .checkout h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 8px 0 16px; }
.narrow-page .btn { margin-top: 24px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding-top: 40px; padding-bottom: 96px; align-items: start; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; gap: 32px; } .checkout__summary { order: -1; } }
.checkout__summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (max-width: 960px) { .checkout__summary { position: static; } }
.checkout__summary h2 { font-size: 1.6rem; margin: 0 0 16px; }

.form fieldset { border: 0; border-top: 1px solid var(--line-soft); margin: 0 0 28px; padding: 20px 0 0; min-width: 0; }
.form legend { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .03em; color: var(--brass-2); padding: 0; }
.form legend small { font-family: var(--font-body); font-size: var(--fs-small); color: var(--muted); letter-spacing: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row--3 { grid-template-columns: 140px 1fr 1fr; }
@media (max-width: 640px) { .row, .row--3 { grid-template-columns: 1fr; gap: 0; } }
.field { display: block; margin: 0 0 16px; }
.field--narrow { max-width: 240px; }
.field > span { display: block; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select { width: 100%; box-sizing: border-box; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font: inherit; color-scheme: dark; }
.field input:focus, .field select:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.field--error input, .field--error select { border-color: var(--danger); }
.field__err { display: block; color: var(--danger); font-size: var(--fs-small); margin-top: 6px; }
.field__hint { color: var(--muted); font-size: var(--fs-small); margin: 0 0 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 20px; color: var(--ink-2); font-size: var(--fs-small); }
.check input { margin-top: 3px; accent-color: var(--brass); width: 18px; height: 18px; flex: none; }
.check a { color: var(--brass-2); }

.addr-choice { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; }
.addr-choice:has(input:checked) { border-color: var(--brass); background: var(--surface); }
.addr-choice input { accent-color: var(--brass); }
.addr-ok { margin: 0 0 8px; line-height: 1.5; }
.steps { margin: 0; padding-left: 20px; color: var(--ink-2); line-height: 1.6; }
.steps li { margin-bottom: 6px; }

.mini-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.mini-lines li { display: grid; grid-template-columns: 32px 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-small); }
.mini-lines__q { color: var(--muted); }
.totals { margin: 0 0 12px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals dt { color: var(--ink-2); } .totals dd { margin: 0; }
.totals__grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px !important; font-size: 1.15rem; color: var(--brass-2); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.summary-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.summary-table td { padding: 10px 6px; border-bottom: 1px solid var(--line-soft); }
.summary-table td:first-child { color: var(--muted); width: 48px; }
.summary-table a { color: var(--ink); }
.summary-table__total td { color: var(--brass-2); font-size: 1.1rem; border-bottom: 0; }

.product-page { padding-top: 32px; padding-bottom: 96px; }
.product-page .breadcrumb { margin-bottom: 24px; }
.product-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 860px) { .product-page__grid { grid-template-columns: 1fr; } }
.product-page .pd__media img { width: 100%; height: auto; border-radius: var(--radius); }
.product-page__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.product-page__buy .qty input { width: 72px; }
.card__media { display: block; }
.pd__meta a { color: var(--brass-2); margin-left: auto; }

/* ---------- Age gate ---------- */
html.agegate-open, html.agegate-open body { overflow: hidden; }
dialog.agegate { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--ink); padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
dialog.agegate::backdrop { background: rgba(10, 6, 3, .94); backdrop-filter: blur(10px); }
.agegate__inner { padding: clamp(28px, 6vw, 48px); text-align: center; }
.agegate__logo { width: 180px; height: auto; margin: 0 auto 20px; display: block; }
.agegate h2 { font-size: clamp(2.2rem, 7vw, 3.2rem); margin: 8px 0 12px; }
.agegate p { color: var(--ink-2); margin: 0 0 24px; }
.agegate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.agegate__denied { color: var(--danger) !important; }
.agegate__denied a { color: var(--brass-2); }
.agegate__remember { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; font-size: var(--fs-small); color: var(--muted); }
.agegate__remember input { accent-color: var(--brass); }

/* ---------- Live address check ---------- */
.addr-check { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-small); line-height: 1.5; background: var(--surface); }
.addr-check--busy { color: var(--muted); }
.addr-check--ok { border-color: color-mix(in srgb, #7fbf8f 60%, transparent); color: #a9d8b5; }
.addr-check--suggest { border-color: var(--brass); }
.addr-check--warn { border-color: var(--brass); color: var(--brass-2); }
.addr-check--bad { border-color: var(--danger); color: var(--danger); }
.addr-check .btn--text { margin-top: 6px; padding: 0; }

/* ---------- Stock levels ---------- */
.card__stock { display: block; font-size: .78rem; letter-spacing: .04em; margin: -2px 0 8px; }
.stock--low { color: #8fbf9a; }
.stock--warn, .card__stock.stock--warn { color: #f2c94c; font-weight: 500; }
.card__stock.stock--out { color: var(--danger); }

/* ---------- Customer account ---------- */
.account-link { color: var(--ink-2); text-decoration: none; font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.account-link:hover { color: var(--brass-2); }
@media (max-width: 900px) { .account-link { display: none; } }
.account__form { max-width: 440px; margin-top: 24px; }
.account__logout { margin-top: 32px; }
.account h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--brass-2); margin: 32px 0 10px; letter-spacing: .03em; }
.order-list { display: grid; gap: 8px; margin-top: 24px; }
.order-row { display: grid; grid-template-columns: 110px 120px 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: var(--surface); }
.order-row:hover { border-color: var(--brass); }
.order-row--action { border-color: var(--brass); }
.order-row--action .order-row__status { color: var(--brass-2); }
.order-row__num { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em; }
.order-row__date { color: var(--muted); font-size: var(--fs-small); }
.order-row__total { font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .order-row { grid-template-columns: 1fr auto; } .order-row__date { grid-column: 1; } }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 0; margin: 24px 0; counter-reset: s; }
.progress li { position: relative; padding-top: 28px; text-align: center; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.progress li::before { content: ''; position: absolute; top: 6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); z-index: 1; }
.progress li::after { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.progress li:first-child::after { display: none; }
.progress li.is-done { color: var(--ink); } .progress li.is-done::before { background: var(--brass); border-color: var(--brass); } .progress li.is-done::after { background: var(--brass); }
.progress li.is-current { color: var(--brass-2); } .progress li.is-current::before { border-color: var(--brass); }
.id-upload { border: 1px solid var(--brass); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; background: var(--surface); }
.id-upload h2 { margin-top: 0; }
.id-upload input[type=file] { width: 100%; color: var(--ink-2); }
.account__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .account__cols { grid-template-columns: 1fr; } }
.history { list-style: none; padding: 0; margin: 0; }
.history li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-small); color: var(--ink-2); }
.history time { color: var(--muted); margin-right: 8px; }
.tracking { margin: 16px 0; }
.tracking a { color: var(--brass-2); }

/* ---------- Flash messages (floating, auto-dismiss) ---------- */
.flash-stack { position: fixed; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 150; display: grid; gap: 8px; width: min(560px, calc(100vw - 32px)); pointer-events: none; }
.flash-msg { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: opacity .4s, transform .4s; }
.flash-msg--error { border-color: var(--danger); color: var(--danger); }
.flash-msg--success { border-color: color-mix(in srgb, #7fbf8f 60%, transparent); }
.flash-msg button { background: none; border: 0; color: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 2px; opacity: .7; }
.flash-msg.is-leaving { opacity: 0; transform: translateY(-8px); }
.site-nav__list a { white-space: nowrap; }

/* ---------- Accounts: sign in, register, tabs, address book ---------- */
.account__split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; margin-top: 24px; align-items: start; }
@media (max-width: 760px) { .account__split { grid-template-columns: 1fr; } }
.account__split .account__form { margin-top: 0; }
.account__aside { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.account__aside h2 { margin-top: 0; }
.account__aside p { color: var(--ink-2); }
.account__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.account__form--wide { max-width: 560px; }
.account-tabs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 8px 0 24px; padding-bottom: 0; }
.account-tabs a { padding: 10px 14px; color: var(--ink-2); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-small); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.account-tabs a.is-on, .account-tabs a:hover { color: var(--brass-2); border-bottom-color: var(--brass); }
.account-tabs form { margin-left: auto; }
.verify-banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; border: 1px solid var(--brass); border-radius: var(--radius); background: var(--surface); color: var(--brass-2); font-size: var(--fs-small); margin-bottom: 20px; }
.addr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 20px; }
.addr-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--surface); }
.addr-card.is-default { border-color: var(--brass); }
.addr-card p { margin: 8px 0 10px; line-height: 1.5; font-size: var(--fs-small); color: var(--ink-2); }
.addr-card .ok { color: #a9d8b5; }
.addr-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.addr-card__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.addr-card__actions form { margin: 0; display: flex; }
/* Edit (a link) and Remove / Make default (buttons in forms) render as identical small outline buttons. */
.addr-card__actions .btn, .addr-card__actions .btn--text {
    font: 500 .68rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
    padding: 9px 14px; min-height: 34px; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--ink); background: transparent; text-decoration: none; margin: 0; }
.addr-card__actions .btn:hover { color: var(--bg); border-color: var(--brass); }
.addr-card__actions .btn--danger { color: var(--danger) !important; border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.addr-card__actions .btn--danger::after { background: var(--danger); }
.addr-card__actions .btn--danger:hover { color: var(--bg) !important; border-color: var(--danger); }
.tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bg); background: var(--brass); padding: 2px 8px; border-radius: 99px; }
.btn--danger { color: var(--danger) !important; }
.addr-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; background: var(--bg-2); }
.addr-panel h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .03em; }
details.addr-panel summary { cursor: pointer; color: var(--brass-2); }
details.addr-panel[open] summary { margin-bottom: 14px; }
.saved-addrs { display: grid; gap: 8px; margin: 4px 0 18px; }
.checkout__signin { padding: 12px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }
.checkout__signin a, .account a:not(.btn):not(.order-row) { color: var(--brass-2); }
.create-acct #acctPw { margin-top: 8px; }

/* ---------- Shop forms: override the theme's contact-form .form styles (underlined inputs, all-caps labels) ---------- */
.form label.field, .form label.check, .form label.addr-choice { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 400; color: var(--ink-2); margin-bottom: 16px; }
.form label.check { display: flex; font-size: var(--fs-small); line-height: 1.55; margin: 8px 0 20px; }
.form label.addr-choice { display: flex; color: var(--ink); font-size: .95rem; line-height: 1.5; margin-bottom: 10px; }
.form .field input, .form .field select, .form .field textarea, .form .field input[type="text"], .form .field input[type="email"], .form .field input[type="tel"] {
    width: 100%; box-sizing: border-box; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px 14px; font-family: var(--font-body); font-size: 1rem; font-weight: 400; line-height: 1.3; color-scheme: dark;
}
.form .field input:focus, .form .field select:focus { border-color: var(--brass); outline: 2px solid color-mix(in srgb, var(--brass) 40%, transparent); outline-offset: 0; }
.form .field input[readonly] { background: transparent; border-style: dashed; color: var(--ink-2); }
.form .field--error input, .form .field--error select { border-color: var(--danger); }
.form input[type="checkbox"], .form input[type="radio"] { accent-color: var(--brass); width: 18px; height: 18px; flex: none; margin: 2px 0 0; }
.form input[type="file"] { color: var(--ink-2); font-size: var(--fs-small); }
.addr-choice span strong { color: var(--ink); font-weight: 500; }
.account__aside .btn { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- Shop top bar: logo left, shop links + home button right ---------- */
.shopbar__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.shopbar__logo { flex: none; display: block; }
.shopbar__logo img { width: 170px; height: auto; display: block; filter: drop-shadow(0 2px 12px rgba(0,0,0,.5)); }
.shopbar__nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.shopbar__link { position: relative; color: var(--ink); font-size: .76rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; padding: 8px 0; text-decoration: none; white-space: nowrap; }
.shopbar__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.shopbar__link:hover::after, .shopbar__link.is-active::after { transform: scaleX(1); }
.shopbar__link.is-active { color: var(--brass-2); }
.shopbar__home { padding: 10px 18px; font-size: .7rem; white-space: nowrap; }
.shopbar__right { display: flex; align-items: center; gap: 16px; }
@media (max-width: 900px) {
    .shopbar__inner { gap: 12px; }
    .shopbar__logo img { width: 130px; }
    .shopbar__right { margin-left: auto; }
    .shopbar .nav-toggle__label { display: flex; }
    .shopbar__nav {
        position: absolute; top: 100%; left: 0; right: 0; z-index: 1; margin: 0;
        flex-direction: column; align-items: flex-start; gap: 18px;
        background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
        padding: 24px max(var(--gutter), env(safe-area-inset-left, 0px)) 28px;
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
    }
    .shopbar__link { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: .04em; font-weight: 400; line-height: 1; }
    .shopbar .nav-toggle:checked ~ .shopbar__nav { transform: none; opacity: 1; visibility: visible; }
    .shopbar:has(.nav-toggle:checked) { background: var(--bg); }
    .shopbar .nav-toggle:checked ~ .shopbar__right .nav-toggle__label span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .shopbar .nav-toggle:checked ~ .shopbar__right .nav-toggle__label span:nth-child(2) { opacity: 0; }
    .shopbar .nav-toggle:checked ~ .shopbar__right .nav-toggle__label span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .bag-btn__label { display: none; }
}

/* ---------- Help: FAQ + guide ---------- */
.help h2 { font-family: var(--font-display); font-size: 1.9rem; color: var(--brass-2); margin: 40px 0 14px; letter-spacing: .03em; scroll-margin-top: calc(var(--header-h) + 20px); }
.help .lede a, .help p a, .help li a { color: var(--brass-2); }
.help__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.help__toc a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); text-decoration: none; font-size: .8rem; letter-spacing: .04em; }
.help__toc a:hover { border-color: var(--brass); color: var(--brass-2); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-size: 1.05rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brass); transition: transform .25s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--brass-2); }
.faq__a { padding: 0 0 20px; color: var(--ink-2); line-height: 1.7; max-width: 62ch; }
.help__contact { margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.help__contact h2 { margin-top: 0; }
.help__contact .btn { margin-top: 12px; }
.guide { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: step; }
.guide > li { position: relative; padding: 0 0 8px 64px; counter-increment: step; scroll-margin-top: calc(var(--header-h) + 20px); }
.guide > li::before { content: counter(step); position: absolute; left: 0; top: 34px; width: 42px; height: 42px; border: 1px solid var(--brass); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--brass-2); }
.guide > li::after { content: ''; position: absolute; left: 21px; top: 84px; bottom: -30px; width: 1px; background: var(--line); }
.guide > li:last-child::after { display: none; }
.guide p, .guide li li { color: var(--ink-2); line-height: 1.7; }
.guide ul { padding-left: 20px; margin: 0 0 12px; }
.guide ul li { margin-bottom: 6px; }
.guide__note { border-left: 2px solid var(--brass); padding: 10px 14px; background: var(--surface); }
.guide-shot { margin: 16px 0 18px; }
.guide-shot a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color .2s; }
.guide-shot a:hover { border-color: var(--brass); }
.guide-shot img { display: block; width: 100%; height: auto; }
.guide-shot--narrow { max-width: 440px; }
.guide-shot figcaption { margin-top: 8px; font-size: var(--fs-small, .85rem); color: var(--ink-3, var(--ink-2)); line-height: 1.5; }
@media (max-width: 600px) { .guide > li { padding-left: 52px; } .guide > li::before { width: 36px; height: 36px; } .guide > li::after { left: 18px; } }
.form .field__err, .form label .field__err { text-transform: none; letter-spacing: 0; font-size: var(--fs-small); color: var(--danger); font-weight: 400; }

/* Google Places address suggestions */
.places-host { position: relative; }
.places-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; margin: 4px 0 0; padding: 4px 0; list-style: none;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,.45);
    text-transform: none; letter-spacing: 0; }
.places-list li { padding: 10px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); color: var(--ink); }
.places-list li span { color: var(--muted); font-size: .8rem; }
.places-list li strong { font-weight: 500; }
.places-list li.is-active, .places-list li:hover { background: color-mix(in srgb, var(--brass) 16%, transparent); }
.places-list .places-list__by { cursor: default; font-size: .7rem; color: var(--muted); text-align: right; padding: 4px 12px; background: none !important; }

/* Quantity stepper: limits */
.qty button:disabled { opacity: .35; cursor: not-allowed; background: var(--surface); color: var(--ink); }
.qty-note { display: block; flex-basis: 100%; font-size: var(--fs-small); color: var(--muted); margin-top: 6px; }
.product-page__buy .qty button { min-height: 46px; }

/* Order documents */
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }

/* Featured */
.badge--featured { left: auto; right: 10px; background: var(--brass); color: var(--bg); font-weight: 700; }
.tag-featured { display: inline-block; margin: 0 0 8px 10px; padding: 3px 10px; border-radius: 99px; background: var(--brass); color: var(--bg);
    font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; vertical-align: middle; }
.pd__brand + .tag-featured { margin-left: 10px; }

/* Coupons */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.coupon { margin: 16px 0; }
.coupon__form { display: flex; gap: 8px; align-items: stretch; }
.coupon__form input { flex: 1; min-width: 0; padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
    font: 500 .9rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.coupon__form input::placeholder { text-transform: none; letter-spacing: 0; color: var(--muted); }
.coupon__form .btn { padding: 10px 16px; }
.coupon__applied { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--brass); border-radius: var(--radius);
    background: color-mix(in srgb, var(--brass) 8%, transparent); font-size: var(--fs-small); }
.coupon__applied--pending { border-color: var(--line); background: none; }
.coupon__code { font-weight: 700; letter-spacing: .12em; color: var(--brass-2); }
.coupon__what { color: var(--ink-2); flex: 1; min-width: 0; }
.coupon__remove, .coupon__toggle { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; }
.coupon__toggle { color: var(--brass); }
.bag__coupon { margin-bottom: 10px; }
.bag__coupon .coupon__form { margin-top: 8px; }
.bag__sum--disc strong, .totals__discount dd, .summary-table__discount td { color: #8fbf9a; }
.bag__note--warn { color: var(--brass-2) !important; }
.notice--warn { border-color: var(--brass); color: var(--brass-2); }

/* Newsletter pop-up */
.nl { padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.nl[open] { display: grid; grid-template-columns: 260px 1fr; animation: nlIn .35s var(--ease); }
.nl::backdrop { background: rgba(10,6,3,.72); backdrop-filter: blur(3px); }
@keyframes nlIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.nl__close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--ink-2); font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; }
.nl__close:hover { color: var(--brass-2); }
.nl__side { background: linear-gradient(160deg, #1b110a 0%, #2c1d12 60%, #3a2614 100%); border-right: 1px solid var(--line); padding: 34px 26px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; }
.nl__side img { width: 150px; height: auto; margin-bottom: 26px; }
.nl__big { font-family: var(--font-display); font-size: 5.4rem; line-height: .9; color: var(--brass); }
.nl__off { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--ink-2); }
.nl__main { padding: 38px 36px 30px; }
.nl__main h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1; letter-spacing: .01em; margin: 8px 0 12px; color: var(--ink); }
.nl__text { color: var(--ink-2); margin: 0 0 18px; line-height: 1.55; }
.nl__form { display: flex; flex-direction: column; gap: 12px; }
.nl__form input[type=email] { padding: 14px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font: inherit; font-size: 1rem; }
.nl__form input[type=email]:focus { outline: none; border-color: var(--brass); }
.nl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.nl__consent input { margin-top: 3px; accent-color: var(--brass); }
.nl__err { color: var(--danger); font-size: .85rem; margin: 0; }
.nl__no { background: none; border: 0; color: var(--muted); font: inherit; font-size: .82rem; margin-top: 14px; cursor: pointer; text-decoration: underline; padding: 0; }
.nl__code { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 2px dashed var(--brass); border-radius: 10px; padding: 16px 18px; margin: 4px 0 14px;
    background: color-mix(in srgb, var(--brass) 8%, transparent); }
.nl__codelabel { flex-basis: 100%; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nl__code strong { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.5rem; letter-spacing: .12em; color: var(--brass-2); flex: 1; }
.nl__small { font-size: .82rem; color: var(--muted); margin: 0 0 18px; }
@media (max-width: 640px) {
  .nl[open] { grid-template-columns: 1fr; }
  .nl__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 22px 18px; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px; }
  .nl__side img { width: 110px; margin: 0 100% 6px 0; }
  .nl__big { font-size: 3.2rem; }
  .nl__main { padding: 24px 22px 22px; }
}

/* Ship vs pickup */
.ful__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ful__opt { position: relative; cursor: pointer; display: block; text-transform: none; letter-spacing: 0; }
.ful__opt input { position: absolute; opacity: 0; pointer-events: none; }
.ful__card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px 16px 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, background .2s; position: relative; }
.ful__card::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--muted); }
.ful__card strong { color: var(--ink); font-weight: 500; font-size: 1rem; }
.ful__card span { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }
.ful__opt input:checked + .ful__card { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 9%, var(--surface)); }
.ful__opt input:checked + .ful__card::before { border-color: var(--brass); background: radial-gradient(circle, var(--brass) 45%, transparent 50%); }
.ful__opt input:focus-visible + .ful__card { outline: 2px solid var(--brass); outline-offset: 2px; }
.ful__pickup { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--brass); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.ful__pickup p { margin: 0 0 6px; }

.form .ful__opt, .form .ful__opt span, .form .ful__opt strong { text-transform: none; letter-spacing: 0; }
.form .ful__card strong { font-size: 1.02rem; letter-spacing: .02em; }
.form .ful__card span { font-size: var(--fs-small); font-weight: 400; }

/* SEO pages: brand index, brand pages, related products */
.brand-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 12px; color: var(--ink-2); font-size: .9rem; text-decoration: none; border-left: 1px solid transparent; }
.brand-list a:hover { color: var(--ink); }
.page-hero--short { min-height: 0; }
.page-hero--short .page-hero__inner { padding-block: 44px 30px; }
.page-hero--short h1 { font-size: var(--fs-h2); }
.page-hero--short .lede { max-width: 70ch; }
.brands-page, .brand-page, .related { padding-bottom: 70px; }
.brands-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; position: sticky; top: var(--header-h); z-index: 3; padding: 10px 0; background: var(--bg); }
.brands-az a { min-width: 34px; text-align: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); text-decoration: none; font-size: .85rem; }
.brands-az a:hover { border-color: var(--brass); color: var(--brass-2); }
.brands-letter { font-family: var(--font-display); font-size: 2rem; color: var(--brass); margin: 26px 0 12px; scroll-margin-top: calc(var(--header-h) + 64px); }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.brand-tile { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s; }
.brand-tile:hover { border-color: var(--brass); transform: translateY(-2px); }
.brand-tile__img { aspect-ratio: 1; background: var(--platinum, #efe6d6); background: #f0e6d6; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 6px; }
.brand-tile__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.brand-tile__name { color: var(--ink); font-weight: 500; }
.brand-tile__count { color: var(--muted); font-size: .8rem; }
.brand-page__more { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.related h2 { font-family: var(--font-display); font-size: var(--fs-h3); margin: 10px 0 16px; }
.related .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pd__facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; font-size: var(--fs-small); color: var(--ink-2); }
.pd__facts li::before { content: "✓"; color: var(--brass); margin-right: 8px; }
.pd__meta a { color: var(--brass); }
.all-brands { margin-top: 24px; }
.brand-tile { scroll-margin-top: calc(var(--header-h) + 70px); }

/* ---------- Wish list hearts ---------- */
.card { position: relative; }
.wish { position: absolute; z-index: 2; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(20,12,7,.72); color: var(--ink); cursor: pointer; transition: transform .2s var(--ease), background .2s; backdrop-filter: blur(2px); }
.card .badge--featured ~ .wish, .card .card__media:has(.badge--featured) + .wish { top: 44px; }
.wish svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: fill .2s; }
.wish:hover { transform: scale(1.08); background: rgba(20,12,7,.9); }
.wish.is-on { color: #e07a6a; }
.wish.is-on svg { fill: currentColor; }
.wish--big { position: static; width: auto; height: auto; border-radius: var(--radius); padding: 8px 14px; gap: 8px; background: transparent; border: 1px solid var(--line); margin: 0 0 10px; font: 500 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.wish--big:hover { transform: none; border-color: var(--brass); background: transparent; }
.wish--big.is-on { color: #e07a6a; border-color: color-mix(in srgb, #e07a6a 50%, transparent); }
.pd__body .wish--big { margin-left: 10px; vertical-align: middle; }
.wish-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--ink); margin-right: 6px; }
.wish-btn svg { width: 22px; height: 22px; }
.wish-btn:hover { color: var(--brass-2); }
.wish-count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #e07a6a; color: var(--bg); font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wish-count[hidden] { display: none; }

/* ---------- Account: wider pages, wish list, humidors ---------- */
.wide-page { max-width: 1040px; padding-top: 44px; padding-bottom: 96px; }
.wide-page h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 8px 0 16px; }
.empty-state { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); margin: 20px 0; }
.empty-state h2 { font-family: var(--font-display); font-size: 2rem; margin: 10px 0 6px; }
.empty-state p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 8px; }
.empty-state__icon { font-size: 2.4rem; color: #e07a6a; }
.empty-state__photo { width: 100%; max-width: 520px; height: 220px; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; }
.wish-list { display: grid; gap: 12px; margin-top: 10px; }
.wish-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.wish-item__img { width: 96px; height: 96px; border-radius: 6px; background: #f0e6d6; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wish-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.wish-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wish-item__name { color: var(--ink); font-weight: 500; text-decoration: none; }
.wish-item__name:hover { color: var(--brass-2); }
.wish-item__notify .btn { margin: 0; padding: 0; font-size: .7rem; }
.wish-item__actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.wish-item__actions .btn { margin: 0; }
@media (max-width: 640px) { .wish-item { grid-template-columns: 72px 1fr; } .wish-item__img { width: 72px; height: 72px; } .wish-item__actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; } }

.hum-intro h2 { font-family: var(--font-display); font-size: 2rem; margin: 24px 0 4px; }
.hum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.hum-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
    background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%); transition: border-color .2s, transform .2s; }
.hum-card:hover { border-color: var(--brass); transform: translateY(-2px); }
.hum-card__kind { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.hum-card__name { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); font-weight: 400; line-height: 1; }
.hum-card__count { color: var(--ink-2); font-size: var(--fs-small); }
.hum-bar { display: block; height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.hum-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); }
.hum-bar--lg { height: 8px; margin: 6px 0 24px; }
.hum-rh { font-size: .82rem; color: var(--muted); }
.hum-rh--ok { color: #8fbf9a; } .hum-rh--warn { color: #f2c94c; } .hum-rh--bad { color: var(--danger); }
.panel-lite { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px 20px; margin: 18px 0; }
.panel-lite > summary { cursor: pointer; color: var(--brass); font-weight: 500; letter-spacing: .04em; }
.panel-lite h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.panel-lite .form { margin-top: 12px; }
.hum-title { margin-bottom: 8px !important; }
.hum-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 10px; }
.hum-stats > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 2px; }
.hum-stats strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--ink); font-weight: 400; }
.hum-stats span { font-size: .8rem; color: var(--ink-2); }
.hum-stats .hum-rh--ok strong { color: #8fbf9a; } .hum-stats .hum-rh--warn strong { color: #f2c94c; } .hum-stats .hum-rh--bad strong { color: var(--danger); }
.hum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.hum-layout h2 { font-family: var(--font-display); font-size: 2rem; margin: 0 0 12px; }
@media (max-width: 900px) { .hum-layout { grid-template-columns: 1fr; } }
.hum-items { display: grid; gap: 8px; }
.hum-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hum-item > summary { list-style: none; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; cursor: pointer; }
.hum-item > summary::-webkit-details-marker { display: none; }
.hum-item[open] { border-color: var(--brass); }
.hum-item--empty { opacity: .6; }
.hum-item__img { width: 56px; height: 56px; border-radius: 6px; background: #f0e6d6; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hum-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.hum-item__img .card__mono { font-size: 1.6rem; }
.hum-item__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hum-item__main strong { color: var(--ink); font-weight: 500; }
.hum-item__qty { font-family: var(--font-display); font-size: 1.8rem; color: var(--brass-2); text-align: center; line-height: 1; }
.hum-item__qty small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hum-item__panel { padding: 4px 14px 14px; border-top: 1px solid var(--line-soft); }
.hum-item__quick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.hum-item__quick form { display: flex; gap: 8px; align-items: center; }
.hum-item__quick select, .hum-item__btns select { padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font: inherit; font-size: .85rem; }
.hum-item__quick .btn, .hum-item__btns .btn { margin: 0; }
.hum-item__btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.stars { color: var(--brass-2); letter-spacing: 1px; }
.hum-search { position: relative; }
.hum-search .places-list { top: 100%; }
.hum-import { display: grid; gap: 8px; }
.hum-import .check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.hum-due { color: #f2c94c; }
.hum-learn { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.hum-learn img { width: 100%; height: 150px; object-fit: cover; display: block; }
.hum-learn span { display: block; padding: 12px 14px; color: var(--brass); font-size: .88rem; background: var(--surface); }

/* ---------- Cigar Guide (/learn) ---------- */
.learn-hero .page-hero__inner { gap: 14px; }

.learn-lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--surface); margin-bottom: 30px; }
.learn-lead__img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.learn-lead:hover .learn-lead__img img { transform: scale(1.04); }
.learn-lead__img { overflow: hidden; }
.learn-lead__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.learn-lead__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--ink); font-weight: 400; }
.learn-lead__sum { color: var(--ink-2); line-height: 1.6; }
.learn-meta { color: var(--brass); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 800px) { .learn-lead { grid-template-columns: 1fr; } .learn-lead__img img { min-height: 220px; } }
.learn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.learn-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); text-decoration: none; transition: border-color .25s, transform .25s; }
.learn-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.learn-card__img { aspect-ratio: 3 / 2; overflow: hidden; }
.learn-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.learn-card:hover .learn-card__img img { transform: scale(1.06); }
.learn-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.learn-card__kicker { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.learn-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; color: var(--ink); }
.learn-card__sum { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.55; }
.learn-cta { margin-top: 50px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(120deg, var(--surface) 0%, var(--green-2) 100%); }
.learn-cta h2 { font-family: var(--font-display); font-size: 2.2rem; margin: 0 0 6px; }
.learn-cta p { color: var(--ink-2); margin: 0; max-width: 56ch; }
.learn-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.learn-article__hero { position: relative; isolation: isolate; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.learn-article__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.learn-article__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 2%, rgba(20,12,7,.7) 45%, rgba(20,12,7,.25) 100%); }
.learn-article__head { padding-block: 60px 44px; display: grid; gap: 14px; }
.learn-article__head h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0; line-height: .98; max-width: 18ch; }
.learn-article__head .lede { max-width: 60ch; margin: 0; }
.learn-article__layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; }
@media (max-width: 960px) { .learn-article__layout { grid-template-columns: 1fr; gap: 0; } .learn-toc { display: none !important; } }
.learn-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); padding-left: 16px; }
.learn-toc__title { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.learn-toc a { color: var(--ink-2); text-decoration: none; font-size: .88rem; padding: 4px 0; line-height: 1.35; }
.learn-toc a:hover { color: var(--brass-2); }
.learn-toc__all { margin-top: 14px; color: var(--brass) !important; }
.learn-body { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.learn-body > p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 4.2rem; line-height: .8; padding: 6px 10px 0 0; color: var(--brass); }
.learn-body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.5rem); color: var(--ink); margin: 46px 0 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.learn-body p { margin: 0 0 18px; }
.learn-body a { color: var(--brass-2); }
.learn-body strong { color: var(--ink); font-weight: 500; }
.learn-list { padding-left: 0; list-style: none; margin: 0 0 20px; display: grid; gap: 10px; }
.learn-list li { padding-left: 26px; position: relative; }
.learn-list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--brass); }
.learn-steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.learn-steps li { counter-increment: step; position: relative; padding-left: 48px; min-height: 34px; }
.learn-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--brass);
    color: var(--brass-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; }
.learn-table { overflow-x: auto; margin: 6px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.learn-table table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.learn-table th { text-align: left; padding: 12px 14px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); background: var(--surface-2); font-weight: 500; }
.learn-table td { padding: 12px 14px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.learn-table__key { color: var(--ink); font-weight: 500; white-space: nowrap; }
.learn-fig { margin: 30px -40px 30px; }
.learn-fig img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); display: block; }
.learn-fig figcaption { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--muted); margin-top: 10px; padding: 0 40px; }
@media (max-width: 800px) { .learn-fig { margin-inline: 0; } .learn-fig figcaption { padding: 0; } }
.learn-tip { margin: 8px 0 26px; padding: 18px 22px; border-left: 3px solid var(--brass); background: color-mix(in srgb, var(--brass) 8%, var(--surface)); border-radius: 0 var(--radius) var(--radius) 0; }
.learn-tip strong { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; font-weight: 500; }
.learn-tip p { margin: 0; color: var(--ink); }
.learn-shop { margin: 8px 0 26px; }
.learn-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.learn-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.learn-pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); }
.learn-pager a:hover { border-color: var(--brass); }
.learn-pager span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.learn-pager strong { color: var(--ink); font-weight: 500; line-height: 1.3; }
.learn-pager__next { text-align: right; grid-column: 2; }

/* ---------- Footer links + legal ---------- */
.site-footer__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 34px; padding-bottom: 30px; border-top: 1px solid var(--line-soft); margin-top: 10px; }
.site-footer__links .site-footer__list { display: grid; gap: 8px; }
.site-footer__links a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.site-footer__links a:hover { color: var(--brass-2); }
@media (max-width: 760px) { .site-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-footer__legal-box { display: grid; gap: 14px; padding-bottom: 26px; }
.sg-warning { margin: 0; padding: 16px 20px; border: 2px solid #f4ebdc; background: #000; color: #fff; font: 500 .95rem/1.45 var(--font-body); letter-spacing: .01em; }
.sg-warning strong { font-weight: 800; letter-spacing: .04em; }
.age-notice { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--ink-2); }
.age-notice strong { color: var(--ink); font-weight: 600; }
.site-footer__legal-box p { max-width: none; }
.sg-warning { text-align: center; font-size: 1rem; }
.age-notice { text-align: center; }
.learn-index { padding: 50px var(--gutter) 90px; }
.learn-article__layout { padding: 40px var(--gutter) 90px; }
.account .small, .panel-lite .small { font-size: var(--fs-small); }
.panel-lite .muted { color: var(--muted); }
.hum-reading .btn { margin-top: 4px; }

/* ---------- Cigar details (product page) ---------- */
.specs { margin: 22px 0 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.specs__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin: 0 0 10px; color: var(--ink); }
.specs dl { margin: 0; display: grid; gap: 8px; }
.specs dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: .92rem; }
.specs dt { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.specs dd { margin: 0; color: var(--ink); }
.strength-meter { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.strength-meter__bar { display: inline-flex; gap: 4px; }
.strength-meter__bar i { width: 26px; height: 6px; border-radius: 3px; background: var(--bg-2); border: 1px solid var(--line); }
.strength-meter__bar i.on { background: var(--brass); border-color: var(--brass); }
.specs__more { margin: 12px 0 0; font-size: .82rem; }
.specs__more a { color: var(--brass); }

/* ---------- Shop filters, infinite scroll, jump button ---------- */
.filters-btn { padding: 9px 14px; margin: 0; position: relative; }
.filters-btn__n { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--brass); color: var(--bg); font-size: .66rem; align-items: center; justify-content: center; }
.filters-btn__n[hidden] { display: none; }
.filters { padding-top: 14px; padding-bottom: 16px; border-top: 1px solid var(--line-soft); }
.filters__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 14px; }
.filters__grid label { display: flex; flex-direction: column; gap: 6px; }
.filters__grid span { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.filters__grid select { padding: 9px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font: inherit; font-size: .9rem; }
.filters__grid select:focus { outline: none; border-color: var(--brass); }
.filters__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
.filters__help { color: var(--brass); font-size: .82rem; }
.filters__foot .btn { margin: 0 0 0 auto; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; align-items: center; }
.pill-x { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--brass); background: color-mix(in srgb, var(--brass) 10%, transparent); color: var(--ink); font: inherit; font-size: .8rem; cursor: pointer; }
.pill-x:hover { background: color-mix(in srgb, var(--brass) 20%, transparent); }
.active-filters .btn { margin: 0; }
.grid-more { display: flex; justify-content: center; padding: 30px 0 10px; }
.grid-more__spin { display: none; }
.badge--new { left: 10px; top: auto; bottom: 10px; background: var(--green); color: var(--brass-2); }
.jump { position: fixed; z-index: 90; right: 20px; bottom: 84px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 92%, transparent);
    color: var(--brass-2); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: opacity .25s, transform .25s, background .2s; backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.jump.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.jump:hover { background: var(--brass); color: var(--bg); }
.jump svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.jump.is-up svg { transform: rotate(180deg); }
@media (max-width: 640px) { .jump { right: 14px; bottom: 90px; width: 42px; height: 42px; } }
.new-day { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; color: var(--brass); margin: 30px 0 14px; }
.new-day:first-child { margin-top: 10px; }
/* Coupon box in the bag drawer: the drawer stretches its buttons full width; keep Apply compact and the field wide */
.bag__coupon .coupon__form { display: flex; gap: 8px; width: 100%; }
.bag__coupon .coupon__form input { flex: 1 1 auto; min-width: 0; width: auto; padding: 11px 12px; font-size: .95rem; }
.bag__coupon .coupon__form .btn { flex: 0 0 auto; width: auto; padding: 10px 18px; }
.bag__coupon .coupon__applied { width: 100%; }
.pd__specs { list-style: none; padding: 0; margin: 14px 0 4px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 14px; }
.pd__specs li { font-size: .88rem; color: var(--ink); }
.pd__specs span { display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

/* Age check (Modlet / Veratad) on the order page */
.age-check { margin: 18px 0 26px; padding: 18px; border: 1px solid var(--brass); border-radius: var(--radius); background: var(--surface); }
.age-check__how { color: var(--ink-2); line-height: 1.6; margin: 0 0 12px; }
.age-check__frame { min-height: 120px; }
.age-check__iframe { width: 100%; height: 720px; border: 0; border-radius: var(--radius); background: #fff; display: block; }
.age-check__msg { padding: 16px; color: var(--ink-2); }
.age-ok { border-left: 2px solid var(--brass); padding: 8px 12px; background: var(--surface); }
@media (max-width: 600px) { .age-check { padding: 12px; margin-inline: -4px; } .age-check__iframe { height: 80vh; } }

.tracking-status { padding: 8px 12px; border-left: 2px solid var(--brass); background: var(--surface); color: var(--ink-2); }
.tracking-status--delivered { border-left-color: #4f8a5e; }
.tracking-status--failure, .tracking-status--returned { border-left-color: var(--danger); }
