/* =========================================================================
   FOOTER COMPONENT  — WoodMart-inspired aesthetics
   Variants: classic | centered | minimal | trust | gradient | columns
   ========================================================================= */

.store-footer {
    /* margin-top removed per merchant — the section above already
       carries its own bottom margin (via the section-m-bottom-*
       picker), so the footer's own top margin was producing a double
       gap before the band. */
    padding: 48px 32px 24px;
    background: var(--surface, #fafaf9);
    color: var(--text, #1a1a1a);
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 14px;
    line-height: 1.55;
}
.store-footer__container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}
.store-footer__brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.store-footer__logo {
    height: 44px;
    width: auto;
    border-radius: 10px;
    object-fit: contain;
}
.store-footer__brand-name {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.012em;
    color: var(--text, #1a1a1a);
    margin: 0;
}
.store-footer__brand-tagline {
    font-size: 12.5px;
    color: rgba(0,0,0,0.55);
    margin-top: 2px;
}

/* ── Shared link/heading styles ─────────────────────────────── */
.store-footer h5,
.store-footer__heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text, #1a1a1a);
    margin: 0 0 16px;
}
.store-footer a {
    color: rgba(0,0,0,0.7);
    text-decoration: none;
    transition: color 0.15s ease;
}
.store-footer a:hover {
    color: var(--primary-color, #111);
    text-decoration: none;
}
.store-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.store-footer__list li {
    margin: 0 0 10px;
}

/* ── Social icons row ─────────────────────────────────────────── */
.store-footer__socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.store-footer__socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    color: var(--text, #1a1a1a);
    font-size: 15px;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.store-footer__socials a:hover {
    background: var(--primary-color, #111);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Newsletter / payment row ─────────────────────────────────── */
.store-footer__newsletter {
    display: block;
    margin-top: 12px;
    max-width: 380px;
}
.store-footer__newsletter-row {
    display: flex;
    gap: 8px;
}
.store-footer__newsletter input[type="email"] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 100px;
    font-size: 13px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.store-footer__newsletter input[type="email"]:focus {
    border-color: var(--primary-color, #111);
    box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
}
.store-footer__newsletter button[type="submit"] {
    padding: 10px 22px;
    border-radius: 100px;
    border: none;
    background: var(--primary-color, #111);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.15s, transform 0.15s, opacity 0.15s;
}
.store-footer__newsletter button[type="submit"]:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.store-footer__newsletter button[type="submit"]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* Consent checkboxes — sit below the email row. Privacy is required;
   the submit button stays disabled until it's ticked. Marketing is
   optional. Same colour treatment as the surrounding footer text. */
.store-footer__newsletter-consents {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.store-footer__newsletter-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: inherit;
    cursor: pointer;
    margin: 0;
    opacity: 0.85;
}
.store-footer__newsletter-check input[type="checkbox"] {
    margin: 2px 0 0;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--primary-color, #111);
}
.store-footer__newsletter-check span {
    user-select: none;
}

/* Inline status — green/red text below the consents. Hidden when
   empty; the JS submit handler populates it. */
.store-footer__newsletter-status {
    margin-top: 8px;
    font-size: 12px;
    min-height: 1.2em;
    color: inherit;
}
.store-footer__newsletter-status.is-ok    { color: #16a34a; }
.store-footer__newsletter-status.is-error { color: #dc2626; }

/* ── Bottom strip: copyright + payment ───────────────────────── */
.store-footer__bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: rgba(0,0,0,0.55);
}
.store-footer__bottom a { color: rgba(0,0,0,0.55); }
.store-footer__bottom a:hover { color: var(--text, #1a1a1a); }

/* ─────────────────────────────────────────────────────────────────
   LIGHT MODE — exhaustive override across all 6 variants except
   gradient (which is intentionally white-on-gradient by design).
   Every headline, paragraph, list item, span + every link forces
   to a dark colour so no leaked rule from dark mode (or a stale
   --text token) leaves white text on a light surface.
   ───────────────────────────────────────────────────────────────── */
html[data-scheme="light"] .store-footer:not(.store-footer--gradient),
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) h1,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) h2,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) h3,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) h4,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) h5,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) h6,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) p,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) li,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) span:not(.store-footer__bottom *),
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) .store-footer__heading,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) .store-footer__brand-name,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) .store-footer__trust-title {
    color: #111827 !important;
}
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) .store-footer__brand-tagline,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) .store-footer__trust-hint {
    color: rgba(0, 0, 0, 0.6) !important;
}
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) a {
    color: rgba(0, 0, 0, 0.72) !important;
}
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) a:hover {
    color: var(--primary-color, #0e1015) !important;
}
/* Bottom strip keeps its lighter tint — separate rule for it. */
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) .store-footer__bottom,
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) .store-footer__bottom * {
    color: rgba(0, 0, 0, 0.6) !important;
}
html[data-scheme="light"] .store-footer:not(.store-footer--gradient) .store-footer__bottom a:hover {
    color: #0e1015 !important;
}
/* Dark scheme — the bottom strip border + copyright text need to
   flip to light-on-dark or the whole row disappears. */
html[data-scheme="dark"] .store-footer__bottom {
    color: rgba(255, 255, 255, 0.65);
    border-top-color: rgba(255, 255, 255, 0.08);
}
html[data-scheme="dark"] .store-footer__bottom a { color: rgba(255, 255, 255, 0.65); }
html[data-scheme="dark"] .store-footer__bottom a:hover { color: #ffffff; }

/* ════════════════════════════════════════════════════════════════
   Variant: CLASSIC — 4-column grid with brand block on the left
   ════════════════════════════════════════════════════════════════ */
.store-footer--classic .store-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}
.store-footer--classic .store-footer__col--brand {
    padding-inline-end: 12px;
}

/* ════════════════════════════════════════════════════════════════
   Variant: CENTERED — logo + tagline + social, single column centred
   ════════════════════════════════════════════════════════════════ */
.store-footer--centered {
    text-align: center;
    padding: 56px 32px 24px;
}
.store-footer--centered .store-footer__brand-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.store-footer--centered .store-footer__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
}
.store-footer--centered .store-footer__list li { margin: 0; }
.store-footer--centered .store-footer__socials {
    justify-content: center;
    margin-top: 24px;
}
.store-footer--centered .store-footer__bottom {
    justify-content: center;
}

/* ════════════════════════════════════════════════════════════════
   Variant: MINIMAL — single thin line at the bottom of the page
   ════════════════════════════════════════════════════════════════ */
.store-footer--minimal {
    padding: 18px 24px;
    background: transparent;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 32px;
}
.store-footer--minimal .store-footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.store-footer--minimal .store-footer__brand-row {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.store-footer--minimal .store-footer__logo { height: 28px; }
.store-footer--minimal .store-footer__minimal-copy {
    font-size: 12.5px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.3;
    letter-spacing: 0.005em;
}
/* Inline nav — centred between the brand cluster and the socials. */
.store-footer--minimal .store-footer__minimal-nav {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.store-footer--minimal .store-footer__minimal-nav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text, #1a1a1a);
    text-decoration: none;
    transition: color .15s ease;
}
.store-footer--minimal .store-footer__minimal-nav a:hover { color: var(--primary-color, #111); }
.store-footer--minimal .store-footer__socials a {
    width: 28px; height: 28px; font-size: 13px;
}

/* Minimal-variant newsletter block — sits ABOVE the bottom strip and
   reads as one compact inline row: tiny title on the leading side,
   email input + subscribe button on the trailing side. The consent
   line + status message stack underneath in muted micro-typography.
   Bottom border closes it visually so the strip below feels like a
   second clean line. */
.store-footer__minimal-newsletter {
    padding: 16px 24px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
}
.store-footer__minimal-newsletter-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(0, 0, 0, 0.5);
    line-height: 32px; /* aligns with the input row */
    flex-shrink: 0;
}
/* Tighten the shared .store-footer__newsletter inside this variant —
   override the 380-px cap, shrink padding + border-radius so the
   form reads as a thin strip rather than a footer-block. */
.store-footer--minimal .store-footer__newsletter {
    flex: 1 1 320px;
    margin-top: 0;
    max-width: none;
}
.store-footer--minimal .store-footer__newsletter-row { gap: 6px; }
.store-footer--minimal .store-footer__newsletter input[type="email"] {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    background: rgba(0, 0, 0, 0.025);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.store-footer--minimal .store-footer__newsletter button[type="submit"] {
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
}
.store-footer--minimal .store-footer__newsletter-consents { margin-top: 6px; }
.store-footer--minimal .store-footer__newsletter-check {
    font-size: 11.5px;
    color: rgba(0, 0, 0, 0.55);
}
.store-footer--minimal .store-footer__newsletter-check input[type="checkbox"] {
    width: 13px;
    height: 13px;
}
.store-footer--minimal .store-footer__newsletter-status {
    font-size: 11.5px;
    margin-top: 4px;
}

@media (max-width: 640px) {
    .store-footer__minimal-newsletter {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px 16px 12px;
    }
    .store-footer__minimal-newsletter-title {
        line-height: 1.3;
        text-align: center;
    }
}

/* Dark scheme */
html[data-scheme="dark"] .store-footer__minimal-newsletter {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
html[data-scheme="dark"] .store-footer__minimal-newsletter-title {
    color: rgba(255, 255, 255, 0.4);
}
html[data-scheme="dark"] .store-footer--minimal .store-footer__newsletter input[type="email"] {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
    color: #e8ecf4;
}
html[data-scheme="dark"] .store-footer--minimal .store-footer__newsletter-check {
    color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 640px) {
    .store-footer--minimal .store-footer__container { justify-content: center; }
    .store-footer--minimal .store-footer__brand-row { width: 100%; justify-content: center; text-align: center; }
    .store-footer--minimal .store-footer__minimal-nav { width: 100%; justify-content: center; }
}
/* Dark scheme — bump copy + nav-link contrast against the dark page. */
html[data-scheme="dark"] .store-footer--minimal .store-footer__minimal-copy {
    color: rgba(255, 255, 255, 0.65);
}
html[data-scheme="dark"] .store-footer--minimal .store-footer__minimal-nav a {
    color: rgba(255, 255, 255, 0.85);
}
html[data-scheme="dark"] .store-footer--minimal .store-footer__minimal-nav a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════════
   Variant: TRUST — store-service guarantees row + standard columns
   The signature is the 4-item badges row at the very top of the
   footer: free shipping · secure checkout · easy returns · support
   ════════════════════════════════════════════════════════════════ */
.store-footer--trust .store-footer__trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 0 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.store-footer__trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.store-footer__trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0,0,0,0.05);
    color: var(--primary-color, #111);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .18s, color .18s;
}
.store-footer__trust-item:hover .store-footer__trust-icon {
    background: var(--primary-color, #111);
    color: #fff;
}
.store-footer__trust-text { min-width: 0; }
.store-footer__trust-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text, #1a1a1a);
    margin-bottom: 2px;
    letter-spacing: -0.005em;
    line-height: 1.2;
}
.store-footer__trust-hint {
    font-size: 12.5px;
    color: rgba(0,0,0,0.55);
    line-height: 1.35;
}
.store-footer__trust-hint a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.store-footer__trust-hint a:hover { color: var(--primary-color, #111); }
.store-footer--trust .store-footer__cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 36px;
    align-items: start;
}
@media (max-width: 900px) {
    .store-footer--trust .store-footer__trust { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 540px) {
    .store-footer--trust .store-footer__trust { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   Variant: GRADIENT — vibrant 3-stop gradient (indigo → violet → pink)
   matches the builder mock and is fully self-contained: no reliance on
   color-mix() (which fails on older Safari/Firefox) and no reliance on
   --primary-color being defined. A blurred halo glow layer adds depth.
   ════════════════════════════════════════════════════════════════ */
.store-footer--gradient {
    position: relative;
    /* Deep navy gradient with subtle accent glows. Replaces the
       bright purple→pink combo so the footer feels grounded and
       sophisticated regardless of the page palette around it. */
    background:
        radial-gradient(ellipse 70% 60% at 18% 18%, rgba(99,102,241,0.18), transparent 60%),
        radial-gradient(ellipse 80% 70% at 82% 88%, rgba(236,72,153,0.14), transparent 60%),
        linear-gradient(135deg, #0b0b14 0%, #131325 50%, #0f0f1c 100%);
    color: #fff;
    border: none;
    overflow: hidden;
}
.store-footer--gradient::before {
    /* subtle noise/grain so the gradient doesn't band */
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
    opacity: 0.5;
}
.store-footer--gradient > * { position: relative; z-index: 1; }
.store-footer--gradient .store-footer__brand-name,
.store-footer--gradient h5,
.store-footer--gradient .store-footer__heading,
.store-footer--gradient .store-footer__brand-tagline,
.store-footer--gradient .store-footer__bottom,
.store-footer--gradient p,
.store-footer--gradient li {
    color: #fff;
}
.store-footer--gradient .store-footer__heading {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0.92;
}
.store-footer--gradient .store-footer__brand-tagline { opacity: 0.85; }
.store-footer--gradient .store-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.20);
    color: rgba(255,255,255,0.78);
    justify-content: center;
    text-align: center;
    gap: 18px;
    flex-wrap: wrap;
}
.store-footer--gradient a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color .15s, opacity .15s;
}
.store-footer--gradient a:hover { color: #fff; }
.store-footer--gradient .store-footer__socials a {
    background: rgba(255,255,255,0.16);
    color: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.18);
}
.store-footer--gradient .store-footer__socials a:hover {
    background: #fff;
    color: #4f46e5;
    border-color: #fff;
    transform: translateY(-1px);
}
.store-footer--gradient .store-footer__newsletter input {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.4);
    color: #1a1a1a;
}
.store-footer--gradient .store-footer__newsletter input::placeholder { color: #6b7280; }
.store-footer--gradient .store-footer__newsletter button {
    background: #fff;
    color: #4f46e5;
    font-weight: 700;
}
.store-footer--gradient .store-footer__newsletter button:hover {
    background: #111;
    color: #fff;
}
.store-footer--gradient .store-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}

/* ════════════════════════════════════════════════════════════════
   Variant: COLUMNS — denser 5-column layout
   ════════════════════════════════════════════════════════════════ */
.store-footer--columns .store-footer__cols {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 28px;
    align-items: start;
}

/* ── Mobile: stack everything ─────────────────────────────────── */
@media (max-width: 900px) {
    .store-footer { padding: 36px 22px 18px; }
    .store-footer--classic .store-footer__cols,
    .store-footer--dark .store-footer__cols,
    .store-footer--gradient .store-footer__cols,
    .store-footer--columns .store-footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .store-footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 540px) {
    .store-footer--classic .store-footer__cols,
    .store-footer--dark .store-footer__cols,
    .store-footer--gradient .store-footer__cols,
    .store-footer--columns .store-footer__cols {
        grid-template-columns: 1fr;
    }
}

/* ════════ Dark scheme ════════
   The classic/centered/minimal/columns/trust variants get a uniform
   dark-page treatment via color-scheme-override.css; this block
   patches the bits those broad rules don't reach. */
html[data-scheme="dark"] .store-footer__newsletter input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    color: #e8ecf4;
}
html[data-scheme="dark"] .store-footer__newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
html[data-scheme="dark"] .store-footer__newsletter input:focus {
    border-color: rgba(255, 255, 255, 0.30);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
html[data-scheme="dark"] .store-footer__newsletter button {
    background: #e8ecf4;
    color: #0e1015;
}
html[data-scheme="dark"] .store-footer__newsletter button:hover {
    background: #fff;
}
/* Trust icons — flip the subtle dark rectangle to a subtle light tint
   so the icon still has a visible "tile" behind it on a dark page. */
html[data-scheme="dark"] .store-footer__trust-icon {
    background: rgba(255, 255, 255, 0.06);
    color: #e8ecf4;
}
html[data-scheme="dark"] .store-footer__trust-item:hover .store-footer__trust-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
/* Gradient variant — keep the bold gradient (it's the point of the
   variant) but drop the bright pink end-stop a touch so it sits more
   comfortably against the dark page surrounding it, and bump the
   bottom-border so the band visually separates from the page. */
html[data-scheme="dark"] .store-footer--gradient {
    background: linear-gradient(120deg, #312e81 0%, #6d28d9 55%, #be185d 100%);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
}
html[data-scheme="dark"] .store-footer--gradient .store-footer__newsletter input {
    /* gradient variant has its own glass-tinted input — re-apply so the
       global dark rule above doesn't strip the inline-on-gradient look. */
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}
html[data-scheme="dark"] .store-footer--gradient .store-footer__newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}
html[data-scheme="dark"] .store-footer--gradient .store-footer__newsletter button {
    background: #fff;
    color: #0e1015;
}

/* ════════════════════════════════════════════════════════════════
   Variant: MAP — embedded Google Map of the store's address on
   one side, brand + nav + socials on the other.
   ════════════════════════════════════════════════════════════════ */
.store-footer--map {
    padding: 0 0 24px;
    background: var(--surface, #fafaf9);
    color: var(--text, #1a1a1a);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 48px;
}
.store-footer--map .store-footer__map-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: stretch;
    /* width clamp comes from .store-footer__container via the
       body.layout-top.store-width-* rules in custom.css so the map
       grid aligns with the rest of the page content. */
    margin: 0 auto;
    padding: 32px 32px 24px;
}
.store-footer--map .store-footer__map-col {
    position: relative;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
}
.store-footer--map .store-footer__map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(1.05);
}
.store-footer--map .store-footer__map-overlay {
    position: absolute;
    inset-inline-start: 16px;
    bottom: 16px;
    background: var(--surface, #fff);
    color: var(--text, #111);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    max-width: calc(100% - 32px);
}
.store-footer--map .store-footer__map-pin {
    display: inline-flex;
    color: var(--primary-color, #e74c3c);
    flex-shrink: 0;
}
.store-footer--map .store-footer__map-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 24px;
    color: var(--text-muted, #6b7280);
    font-size: 13px;
}
.store-footer--map .store-footer__map-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.store-footer--map .store-footer__map-info .store-footer__brand-row {
    margin: 0;
    text-decoration: none;
}
.store-footer--map .store-footer__map-info .store-footer__logo {
    height: 44px;
    width: auto;
    border-radius: 12px;
    object-fit: contain;
}
.store-footer--map .store-footer__map-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}
.store-footer--map .store-footer__map-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text, #1a1a1a);
    text-decoration: none;
    transition: color .15s ease;
}
.store-footer--map .store-footer__map-links a:hover { color: var(--primary-color, #111); }
.store-footer--map .store-footer__map-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}
.store-footer--map .store-footer__map-contact a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
}
.store-footer--map .store-footer__map-contact a:hover {
    color: var(--primary-color, #111);
    text-decoration: underline;
}
/* Copyright row — lives INSIDE the info column directly under the
   social icons, laid out as 3 equal thirds (start / spacer / end)
   so the two text lines sit on the outer thirds with breathing
   room in the middle. */
.store-footer--map .store-footer__map-bottom {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}
.store-footer--map .store-footer__map-bottom-cell {
    min-width: 0;
    word-break: break-word;
}
.store-footer--map .store-footer__map-bottom-cell--start { text-align: start; }
.store-footer--map .store-footer__map-bottom-cell--mid   { text-align: center; }
.store-footer--map .store-footer__map-bottom-cell--end   { text-align: end; }

@media (max-width: 768px) {
    .store-footer--map .store-footer__map-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 18px 16px;
    }
    .store-footer--map .store-footer__map-col { min-height: 220px; }
}
@media (max-width: 480px) {
    .store-footer--map .store-footer__map-bottom {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: center;
    }
    .store-footer--map .store-footer__map-bottom-cell--start,
    .store-footer--map .store-footer__map-bottom-cell--end { text-align: center; }
    .store-footer--map .store-footer__map-bottom-cell--mid { display: none; }
}

/* Dark scheme */
html[data-scheme="dark"] .store-footer--map {
    background: #0e0e14;
    border-top-color: rgba(255, 255, 255, 0.06);
}
html[data-scheme="dark"] .store-footer--map .store-footer__map-col {
    background: rgba(255, 255, 255, 0.04);
}
html[data-scheme="dark"] .store-footer--map .store-footer__map-overlay {
    background: #15151b;
    color: #e8ecf4;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
html[data-scheme="dark"] .store-footer--map .store-footer__map-empty { color: rgba(255, 255, 255, 0.55); }
html[data-scheme="dark"] .store-footer--map .store-footer__map-links a { color: rgba(255, 255, 255, 0.85); }
html[data-scheme="dark"] .store-footer--map .store-footer__map-links a:hover { color: #fff; }
html[data-scheme="dark"] .store-footer--map .store-footer__map-contact a { color: rgba(255, 255, 255, 0.65); }
html[data-scheme="dark"] .store-footer--map .store-footer__map-contact a:hover { color: #fff; }
html[data-scheme="dark"] .store-footer--map .store-footer__map-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
}
/* Make the embedded map a touch dimmer in dark mode so it doesn't
   glow on the otherwise-dark page. */
html[data-scheme="dark"] .store-footer--map .store-footer__map-iframe {
    filter: saturate(0.9) brightness(0.85);
}
