/* =============================================================
   Stockists — /distributeurs page + home teaser
   ============================================================= */

.stockists-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 28px 96px;
}
.stockists-intro {
    max-width: 640px;
    margin: 4px 0 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: color-mix(in srgb, var(--ink) 82%, transparent);
}

/* Grid: 1 col mobile, 2 on tablet, 3 on desktop. */
.stockists-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 640px) {
    .stockists-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
    .stockists-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.stockists-card {
    display: flex;
    gap: 16px;
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    border-radius: 14px;
    padding: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.stockists-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.18);
}

/* Logo box / monogram fallback */
.stockists-card-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.stockists-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* When the logo is rendered via the img-bg-fill wrapper (same behaviour as
   sauces/packs), let the wrapper own sizing. The wrapper fills the box and
   contains the image at its maximum size without cropping or distortion. */
.stockists-card-logo .img-bg-fill { width: 100%; height: 100%; }
.stockists-card-monogram {
    font-family: var(--mono);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.stockists-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stockists-card-name {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.005em;
    line-height: 1.25;
}
.stockists-card-addr {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: color-mix(in srgb, var(--ink) 70%, transparent);
}
.stockists-online-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--ink) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
    border-radius: 999px;
    padding: 3px 10px;
    color: var(--ink);
}
.stockists-card-links {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.stockists-card-link {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink);
    opacity: 0.75;
    text-decoration: none;
    border-bottom: 1px dotted color-mix(in srgb, var(--ink) 35%, transparent);
    padding-bottom: 1px;
    transition: opacity 0.15s ease;
}
.stockists-card-link:hover { opacity: 1; }


/* =============================================================
   Home teaser block — surface 3-4 featured stockists between
   "Featured" section and the footer.
   ============================================================= */
.m-stockists-teaser {
    padding: 64px 28px 32px;
    max-width: 1180px;
    margin: 0 auto;
}
.m-stockists-teaser-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.m-stockists-teaser-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
}
.m-stockists-teaser-head h2 em {
    font-style: italic;
    font-weight: 400;
}
.m-stockists-teaser-subtitle {
    margin: 6px 0 0 0;
    font-size: 14px;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}
.m-stockists-teaser-cta {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    transition: opacity 0.15s ease;
}
.m-stockists-teaser-cta:hover { opacity: 0.65; }

.m-stockists-teaser-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 720px) {
    .m-stockists-teaser-grid { grid-template-columns: repeat(4, 1fr); }
}
.m-stockists-teaser-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    border-radius: 12px;
}
.m-stockists-teaser-item-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 18px;
}
.m-stockists-teaser-item-name {
    margin: 0;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.25;
}
.m-stockists-teaser-item-city {
    margin: 0;
    font-size: 12px;
    font-family: var(--mono);
    color: color-mix(in srgb, var(--ink) 60%, transparent);
}
