/* ==========================================================================
   WHERE TO BUY PAGE
   Loaded via snippet('head', ['css' => 'where-to-buy.css']).

   The retailer grid below is intentionally its OWN set of classes
   (.retailer-grid / .retailer-group / .retailer-list / .retailer-meta),
   not the site's .stockist-* classes in styles.css. Those are reserved
   for the independent-bookstore Stockists feature planned for About, so
   the two features never share styling by accident.
   ========================================================================== */

/* Retailer Grid — same visual pattern as the site's Stockists Grid,
   just under its own names. */

.retailer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.retailer-group h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin: 0 0 var(--space-sm) 0;
}

.retailer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.retailer-list li {
    margin-bottom: var(--space-xs);
}

.retailer-list a {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.retailer-meta {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    margin-top: 0.15rem;
}

/* Independent Booksellers note */

.stockists-independent {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    max-width: 680px;
}

.stockists-independent .section-label {
    margin-bottom: var(--space-sm);
}

.stockists-independent .btn-primary {
    margin-top: var(--space-md);
}

.indie-note h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 var(--space-md) 0;
}

.indie-note p,
.indie-note ul,
.indie-note ol {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0 0 var(--space-sm) 0;
}

.indie-note ul,
.indie-note ol {
    padding-left: 1.25rem;
}

.indie-note li {
    margin-bottom: var(--space-xs);
}

.indie-note p:last-of-type {
    margin-bottom: 0;
}

.indie-note a {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: var(--color-border);
    transition: color var(--transition-fast);
}

.indie-note a:hover {
    color: var(--color-accent-hover);
    text-decoration-color: var(--color-accent-hover);
}
