/* ═══════════════════════════════════════════════════════════════════════
   LAYER 5 — LAYOUT
   Container, grid, section rhythm, and the page scaffolding: utility bar,
   sticky header, category nav row, hero, category showcase, the
   catalog two-column layout, and the footer. Consumes components.css
   primitives (buttons, icon-btn, badges) — never redeclares them.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Container + section rhythm ─────────────────────────────────────────── */

.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}
@media (max-width: 640px) { /* --bp-sm */
    .container { padding-inline: var(--container-padding-sm); }
}

.section { padding-block: var(--space-12) var(--space-8); }
.section--tight { padding-block: var(--space-6) var(--space-4); }

/* ── Utility bar (noon.com pattern — inert city/language + honest links) ── */

.utility-bar {
    background: var(--brand-900);
    color: rgba(255, 255, 255, .78);
    font-size: var(--text-sm);
}
.utility-bar__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    overflow-x: auto;
    scrollbar-width: none;
}
.utility-bar__inner::-webkit-scrollbar { display: none; }
.utility-bar__primary,
.utility-bar__secondary {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    white-space: nowrap;
}
.utility-bar__item {
    position: relative; /* anchors the touch hit-zone below */
    color: inherit;
    text-decoration: none;
    background: none;
    border: 0;
    font: inherit;
    padding: 0;
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-standard);
}
.utility-bar__item:hover { color: #fff; }
.utility-bar__item--static { cursor: default; color: rgba(255, 255, 255, .6); }
.utility-bar__item--static:hover { color: rgba(255, 255, 255, .6); }
/* The utility bar is deliberately compact chrome (34px), matching the
   density of every noon.com-style secondary bar it is patterned on — that
   density is a real, intentional choice, not an oversight. What a coarse
   pointer needs is a bigger HIT zone, not a bigger bar, so the expansion is
   an invisible overlay rather than extra padding that would inflate the
   bar's own height on every viewport. */
@media (pointer: coarse) {
    .utility-bar__item:not(.utility-bar__item--static)::before {
        content: "";
        position: absolute;
        inset-block: -11px;
        inset-inline: -6px;
    }
}

/* ── Main header (sticky) ────────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--brand-700);
    /* No border here — the utility bar above and the category nav below are
       both navy too, so this bar must fuse into one continuous block with
       zero seam between them (comp requirement). The category nav below
       supplies its own 1px rgba(255,255,255,.12) top hairline instead. */
}
.site-header__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    height: 64px;
    display: flex;
    align-items: center;
    gap: var(--space-5);
}
@media (max-width: 640px) {
    /* Two rows below 640px. On one row the brand + three icon buttons left the
       search field 81px wide inside a 375px header — MEASURED — so its placeholder
       rendered as "اب" and the control was unusable. Search is the primary action on
       a storefront; it gets its own full-width row rather than the leftover sliver. */
    .site-header__inner {
        padding-inline: var(--container-padding-sm);
        gap: var(--space-3);
        height: auto;
        flex-wrap: wrap;
        padding-block: var(--space-3);
        row-gap: var(--space-3);
    }
    .site-header__inner > .search {
        order: 3;
        flex: 1 0 100%;
    }
    .site-header__inner > .brand { flex: 1 1 auto; }
}

.brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    color: var(--brand-on);
    flex: 0 0 auto;
}
.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--brand);
    color: var(--brand-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    font-size: 1.05rem;
}
.brand__name {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    font-size: var(--text-xl);
    letter-spacing: .01em;
}

.search {
    flex: 1 1 auto;
    max-width: 560px;
    margin-inline: auto;
    position: relative;
    display: flex;
    align-items: center;
}
.search input[type="search"] {
    width: 100%;
    height: 44px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--neutral-0);
    box-shadow: var(--shadow-inset);
    padding-inline-start: 2.75rem;
    padding-inline-end: var(--space-4);
    font: inherit;
    font-size: var(--text-base);
    color: var(--ink);
    transition: box-shadow var(--duration-fast) var(--ease-standard),
                background var(--duration-fast) var(--ease-standard);
}
.search input[type="search"]::placeholder {
    color: var(--neutral-500);
}
.search input[type="search"]:focus {
    outline: none;
    background: var(--neutral-0);
    box-shadow: var(--shadow-inset), 0 0 0 2px var(--brand-700);
}
.search__icon {
    position: absolute;
    inset-inline-start: .9rem;
    color: var(--ink-soft);
    pointer-events: none;
}

.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: .4rem; }
/* Icon buttons sit directly on the navy .site-header now — override the
   light-chrome defaults from components.css (color: var(--ink), hover:
   var(--paper-muted)) scoped to this header only, so every other .icon-btn
   in the app (mini-cart drawer, mobile nav, etc.) keeps its own theme. */
.header-actions .icon-btn {
    color: var(--brand-on);
    border-radius: var(--radius-full);
}
.header-actions .icon-btn:hover {
    background: rgba(255, 255, 255, .10);
}
.cart-badge {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: var(--radius-full);
    background: var(--gold);
    color: var(--neutral-900);
    font-size: .62rem;
    font-weight: var(--weight-bold);
    line-height: 16px;
    text-align: center;
}

/* ── Category nav row ─────────────────────────────────────────────────────── */

.category-nav {
    /* Top hairline, not bottom — this bar fuses with .site-header above into
       one continuous navy block (comp requirement); the hairline is the only
       seam allowed, and it belongs at the top edge, against the header. */
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: var(--brand-700);
}
.category-nav__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scrollbar-width: none;
    height: 46px;
    align-items: center;
    position: relative; /* containing block for .mega-menu below (Q47-honest: the
                            panel is anchored to the WHOLE nav bar, same position
                            regardless of which category is hovered, so it always
                            stays inside the 1280 container even for the first/last
                            item — not glued under the individual hovered word). */
}
.category-nav__inner::-webkit-scrollbar { display: none; }
/* The mega menu is desktop-only (hidden <900px, see below) and a real desktop
   category row never needs horizontal scroll — so overflow is only "auto" on
   the narrow viewports that actually need it. Above 900px it reverts to
   visible; without this an absolutely positioned .mega-menu clipped to this
   row's own 46px box (overflow-x:auto implicitly sets overflow-y:auto too). */
@media (min-width: 901px) { /* --bp-lg */
    .category-nav__inner { overflow: visible; }
}
.category-nav__item {
    position: static;
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
}
.category-nav__link {
    position: relative; /* anchors the touch hit-zone below */
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard);
}
/* Row is already 46px (--category-nav height below); a coarse pointer also
   gets the narrow single-word labels ("الكل") padded out to a real 44px
   width instead of relying on the glyph's own text metrics. */
@media (pointer: coarse) {
    .category-nav__link { min-width: 44px; justify-content: center; }
}
.category-nav__link:hover { color: var(--brand-on); }
.category-nav__link.is-active { color: var(--gold); border-color: var(--gold); }

/* ── Mega menu (§5) — one panel per real category ─────────────────────────
   Desktop only (hover/focus-within has no honest touch equivalent — mobile
   already has its own drawer nav, see mobile.css). Anchored to the whole
   .category-nav__inner (its containing block, position:relative above), not
   to the individual hovered link — so every panel renders at the same start
   edge, always inside the 1280 container, never overflowing past it for the
   categories nearest the end of the row. */
.mega-menu {
    position: absolute;
    top: calc(100% + 1px);
    inset-inline-start: 0;
    width: min(1000px, 100%);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-6);
    background: var(--neutral-0);
    color: var(--ink);
    border: 1px solid var(--neutral-200);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-pop);
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity var(--duration-fast) var(--ease-standard),
                transform var(--duration-fast) var(--ease-standard),
                visibility 0s linear var(--duration-fast);
    z-index: var(--z-dropdown);
}
.category-nav__item:hover .mega-menu,
.category-nav__item:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity var(--duration-fast) var(--ease-standard),
                transform var(--duration-fast) var(--ease-standard);
}
@media (max-width: 900px) { /* --bp-lg — mobile owns its own drawer nav */
    .mega-menu { display: none; }
}
.mega-menu__feature { display: flex; flex-direction: column; gap: var(--space-2); }
.mega-menu__image {
    width: 100%;
    max-width: 260px;
    aspect-ratio: var(--ratio-4-3);
    object-fit: cover;
    border-radius: var(--card-radius, var(--radius-md));
    background: var(--tray);
}
.mega-menu__heading { font-size: var(--text-xl); font-weight: var(--weight-bold); margin: 0; color: var(--ink); }
.mega-menu__count { font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }
.mega-menu__feature .btn { align-self: flex-start; margin-top: var(--space-1); }
.mega-menu__others {
    border-inline-start: 1px solid var(--neutral-200);
    padding-inline-start: var(--space-6);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.mega-menu__others-label {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    color: var(--ink-faint);
    letter-spacing: .04em;
    margin-bottom: var(--space-2);
}
.mega-menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.mega-menu__list a {
    display: block;
    padding-block: var(--space-1);
    color: var(--ink-soft);
    text-decoration: none;
    font-size: var(--text-base);
    transition: color var(--duration-fast) var(--ease-standard);
}
.mega-menu__list a:hover { color: var(--brand); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 62%, var(--ink) 100%);
    color: #fff;
}
.hero__lattice {
    position: absolute;
    inset: 0;
    background-image: url('/img/lattice.svg');
    background-repeat: repeat;
    opacity: .14;
    mix-blend-mode: overlay;
}
.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: var(--space-12) var(--container-padding);
}
.hero__eyebrow {
    font-size: var(--text-sm);
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .75);
    margin: 0 0 .55rem;
    font-weight: var(--weight-semibold);
}
.hero__title {
    font-size: var(--text-5xl);
    font-weight: var(--weight-bold);
    margin: 0 0 .6rem;
}
.hero__tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .85);
    max-width: 46ch;
    margin: 0 0 var(--space-6);
    line-height: var(--leading-relaxed);
}

/* ── Category showcase (amazon.sa tile-block pattern) ───────────────────── */

.showcase { padding-block: var(--space-10) var(--space-4); }
.showcase__heading {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin: 0 0 1.1rem;
}
.showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: var(--space-4);
}
.showcase__tile {
    position: relative;
    display: block;
    aspect-ratio: var(--ratio-4-3);
    border-radius: var(--card-radius, var(--radius-md));
    overflow: hidden;
    text-decoration: none;
    background: var(--tray);
    box-shadow: var(--shadow-card);
    transition: transform var(--duration-fast) var(--ease-standard);
}
.showcase__tile:hover { transform: translateY(-3px); }
.showcase__tile img { width: 100%; height: 100%; object-fit: cover; }
.showcase__label {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: .65rem .9rem;
    background: linear-gradient(to top, rgba(20, 23, 28, .78), transparent);
    color: #fff;
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
}

/* ── Catalog layout: filter rail + result column ─────────────────────────── */

.catalog { padding-block: var(--space-8) var(--space-16); }
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-8);
    align-items: start;
}
@media (max-width: 900px) { /* --bp-lg */
    .catalog-layout { grid-template-columns: 1fr; }
}

.catalog__meta {
    margin-bottom: var(--space-4);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
}
.catalog__count { color: var(--ink-soft); font-size: var(--text-base); margin: 0; }
.catalog__count strong { color: var(--ink); }

/* ── Filter rail — composes the .checkbox/.radio/.input primitives from
   components.css into the catalog's sticky sidebar form ─────────────── */

.filters {
    background: var(--neutral-0);
    border: 1px solid var(--neutral-200);
    border-radius: var(--card-radius, var(--radius-md));
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
/* Sticky only from the tablet breakpoint up — mobile.css (loaded LAST, see
   its own header comment) turns .filters into a fixed bottom sheet below
   900px and owns `position` there; scoping this to min-width keeps the two
   files from fighting over the same property at the same viewport instead
   of relying on cascade order alone. */
@media (min-width: 901px) { /* --bp-lg */
    .filters { position: sticky; top: var(--space-4); }
}
@media (max-width: 900px) { /* --bp-lg */ .filters { position: static; } }

.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters__head h2 { font-size: var(--text-lg); font-weight: var(--weight-bold); margin: 0; }
.filters__clear { font-size: var(--text-sm); color: var(--brand); text-decoration: none; font-weight: var(--weight-semibold); }
.filters__clear:hover { text-decoration: underline; }

.filters__group { display: flex; flex-direction: column; gap: var(--space-1); }
/* Each facet reads as its own block — a hairline rule carries the eye from
   one group to the next instead of open whitespace alone (founder brief:
   "دون تكرارها" — every group visually distinct, none repeating the same
   full-height row treatment). Sibling-only so the FIRST group under the
   rail heading never grows an orphan rule above it. */
.filters__group + .filters__group {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--neutral-200);
}
.filters__group legend { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--ink); margin-bottom: var(--space-1); }
.filters__group label { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--ink-soft); cursor: pointer; }
.filters__group input[type="radio"],
.filters__group input[type="checkbox"] { accent-color: var(--brand); width: 15px; height: 15px; flex: 0 0 auto; }
/* Same reasoning as .checkbox/.radio in components.css: the <label> is the
   real target, so it is the row — not the 15px glyph — that grows on a
   coarse pointer. */
@media (pointer: coarse) {
    .filters__group label { min-height: 44px; }
}

/* Attribute-value facets (colour/size/capacity/weight/…, Index.cshtml +
   Search.cshtml) render as a fieldset whose direct children ARE the
   <label> checkboxes — brand/sub-category facets wrap <a class="filters__link">
   instead, so this shape-based selector reaches only the former without any
   markup change. Wrapping chips instead of one full-height row per value is
   the single biggest space win on a facet with more than 3-4 values, and
   reuses the site's existing .chip vocabulary (components.css) rather than
   inventing a second one (Q9). */
.filters__group:has(> label) {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.filters__group > label {
    flex: 0 0 auto;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    background: var(--paper-muted);
    border: 1px solid var(--line);
    font-weight: var(--weight-semibold);
    transition: border-color var(--duration-fast) var(--ease-standard),
                background var(--duration-fast) var(--ease-standard),
                color var(--duration-fast) var(--ease-standard);
}
.filters__group > label:hover { border-color: var(--line-strong); }
.filters__group > label:has(input:checked) {
    background: var(--brand-tint);
    border-color: var(--brand);
    color: var(--brand-deep);
}

/* Cap any option list beyond ~6 rows — a long brand list (or a facet with
   many values) can no longer push the rest of the rail, and the "تطبيق
   الفلاتر" submit past it, below the fold. Row budget: ~6 × (space-1
   block-padding × 2 + text-sm line) ≈ 6 × 1.6rem, +a hair of headroom so
   the 6th row never clips mid-line. Scrollbar stays visibly THIN (not the
   hidden treatment used for the horizontal nav strips elsewhere in this
   file) — it is the only signal this one group has more values below. */
.filters__group:has(> .filters__link),
.filters__group:has(> label) {
    max-height: 10.25rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}
.filters__group:has(> .filters__link)::-webkit-scrollbar,
.filters__group:has(> label)::-webkit-scrollbar { width: 6px; }
.filters__group:has(> .filters__link)::-webkit-scrollbar-thumb,
.filters__group:has(> label)::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: var(--radius-full);
}

.filters__price-row { display: flex; align-items: center; gap: .5rem; }
.filters__price-row input[type="number"] {
    width: 100%;
    min-width: 0;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    padding-inline: .6rem;
    font: inherit;
    font-size: var(--text-base);
    background: var(--paper);
}
.filters__price-row input:focus { outline: none; border-color: var(--brand); }
.filters__price-row span { color: var(--ink-faint); font-size: var(--text-sm); }

.filters__checkbox { display: flex; align-items: center; gap: .5rem; font-size: var(--text-base); }

/* ── Filter rail: sidebar refinement (Q47 facets) — sub-categories/brands are
   toggling links, the batched apply-form (attributes/price/online-only) is a
   nested <form>, never the sidebar's own tag (avoids duplicate categoryId
   inputs colliding with the drill-down links) ─────────────────────────── */

.filters__form { display: flex; flex-direction: column; gap: var(--space-3); }
/* The <form> is its own visual block (price + submit) but isn't a
   .filters__group, so the sibling-hairline rule above never reaches it —
   guarded to :not(:first-child) so a form with nothing rendered ahead of it
   (facets failed to load) never grows an orphan rule under the heading. */
.filters__form:not(:first-child) {
    padding-top: var(--space-3);
    border-top: 1px solid var(--neutral-200);
}

.filters__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--ink-soft);
    text-decoration: none;
    padding-block: var(--space-1);
}
.filters__link:hover { color: var(--brand); }
/* Facet links are the primary way to narrow a catalog on mobile — worth a
   real 44px row there, not just an invisible overlay, since a coarse
   pointer is the common case for this exact control. */
@media (pointer: coarse) {
    .filters__link { min-height: 44px; }
}
.filters__link.is-active { color: var(--brand-deep); font-weight: var(--weight-semibold); }
.filters__count { color: var(--neutral-500); font-size: var(--text-xs); }

.filters__unavailable { color: var(--ink-soft); font-size: var(--text-sm); margin: 0; }

.filters__availability {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--ink-soft);
}
/* Same block-separation treatment as .filters__group/.filters__form above —
   guarded so it never grows an orphan rule if it happens to render first. */
.filters__availability:not(:first-child) {
    padding-top: var(--space-3);
    border-top: 1px solid var(--neutral-200);
}

/* ── Selected-filter chips, above the product grid (Q47) ─────────────── */

.chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: var(--space-4);
}
.chips-row .chip__remove { font-size: var(--text-sm); line-height: 1; }

/* ── Product grid ─────────────────────────────────────────────────────── */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-6);
}
@media (max-width: 480px) { /* --bp-xs */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.site-footer {
    position: relative;
    margin-top: var(--space-8);
    background: var(--brand-900);
    color: rgba(255, 255, 255, .75);
}
.site-footer__lattice {
    height: 6px;
    background-image: url('/img/lattice.svg');
    background-repeat: repeat-x;
    background-size: 40px 40px;
    opacity: .5;
}
.site-footer__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: var(--space-10) var(--container-padding) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}
.footer-brand .brand__name { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--brand-on); }
.footer-brand p { margin-top: .5rem; font-size: var(--text-base); line-height: var(--leading-relaxed); color: rgba(255, 255, 255, .65); max-width: 52ch; }

/* ── Footer columns (§74 — 4 columns): خدمة العملاء · عن ميزا · التسوق ·
   الشروط والسياسات. Organised, not visually heavy — one heading + a short,
   real link list per column, nothing padded to fill space (Q47/Q46). ──── */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8) var(--space-6);
}
@media (max-width: 1023px) { /* founder spec: 2 columns 768–1023 */
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) { /* founder spec: 1 column <768 */
    .footer-columns { grid-template-columns: 1fr; gap: var(--space-6); }
}
.footer-col { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.footer-col__title { font-weight: var(--weight-bold); color: var(--brand-on); font-size: var(--text-md); margin-bottom: .2rem; }
.footer-col a {
    position: relative; /* anchors the touch hit-zone below */
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: var(--text-base);
    transition: color var(--duration-fast) var(--ease-standard);
}
@media (pointer: coarse) {
    .footer-col a::before {
        content: "";
        position: absolute;
        inset-block: -10px;
        inset-inline: 0;
    }
}
.footer-col a:hover { color: var(--brand-on); }

/* ── Bottom bar — store name + copyright only, no payment-icon row (see
   this file's caller, _Layout.cshtml, for why: no gateway configured). ── */
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: var(--space-4) var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .6);
}
