/* Where to buy pages (tools/build_where_to_buy.mjs). Loaded after blog.css and
   leans on theme.css tokens, so both themes just work. */

.wtb {
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.wtb h1 {
    font-family: 'Fraunces', serif;
    font-weight: 650;
    font-size: clamp(1.9rem, 4.4vw, 2.8rem);
    line-height: 1.15;
    margin: 0 0 14px;
    color: rgba(var(--display-rgb), 0.97);
}

.wtb h2 {
    font-family: 'Fraunces', serif;
    font-weight: 620;
    font-size: 1.45rem;
    line-height: 1.25;
    margin: 40px 0 14px;
    color: rgba(var(--display-rgb), 0.95);
}

.wtb a { color: var(--gold-light); }

.wtb-intro {
    max-width: 680px;
    color: var(--text-muted);
    margin: 0 0 8px;
}

/* ── area list on the New York page ── */
.wtb-areas {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.wtb-areas a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(var(--ink-rgb), 0.08);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.wtb-areas a:hover { border-color: rgba(var(--gold-rgb), 0.45); transform: translateY(-2px); }

.wtb-area-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

.wtb-area-count { font-size: 0.9rem; color: var(--text-muted); }

/* ── store cards ── */
.wtb-town h2, .wtb-town h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    margin: 30px 0 12px;
    color: var(--text-main);
}

.wtb-intro + .wtb-grid { margin-top: 28px; }

.wtb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.wtb-store {
    padding: 20px 22px;
    background: var(--bg-card);
    border: 1px solid rgba(var(--ink-rgb), 0.08);
    border-radius: 14px;
}

.wtb-store h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    margin: 0 0 6px;
    color: var(--text-main);
}

.wtb-address { margin: 0 0 8px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; }

.wtb-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }

.wtb-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.wtb-products {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(var(--ink-rgb), 0.08);
}

.wtb-products-label {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 6px;
}

.wtb-products ul { list-style: none; margin: 0; padding: 0; }
.wtb-products li { font-size: 0.88rem; line-height: 1.5; margin: 0 0 4px; }
.wtb-products li a { text-decoration: none; }
.wtb-products li a:hover { text-decoration: underline; }

.wtb-line {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    margin-right: 4px;
}

/* ── notes and links to other areas ── */
.wtb-notes { max-width: 680px; }
.wtb-notes p { color: var(--text-muted); margin: 0 0 10px; }

.wtb-more ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.wtb-more a { font-weight: 600; text-decoration: none; }

@media (max-width: 640px) {
    .wtb { padding: 32px 16px 64px; }
    .wtb-grid { grid-template-columns: 1fr; }
}
