/* ==========================================================================================================
   STORES - the Egypt store's "contact + our stores" hub (/contactus, Home/ContactUs.cshtml) and each branch's local
   store page (/stores/{slug}, Home/StoreBranch.cshtml). Also linked by the admin branch form for its store-card preview.
   Arena tokens (CLAUDE.md B6): page #0b0d10, surfaces #14171c / #1a1d22, lines #23272e, text #eef0f3 / #9aa1a9; the
   accent is lime #bcd767. Poppins / Tajawal come from the layout. 14-24px radii, 1px lines.
   Logical properties only, so one file serves EN and AR. Motion = transform / opacity, slow and calm, all of it off
   under prefers-reduced-motion. The branch photos are the only images; no background images.
   ========================================================================================================== */

.str {
    --str-page: #0b0d10;
    --str-surface: #14171c;
    --str-raised: #1a1d22;
    --str-input: #171a20;
    --str-line: #23272e;
    --str-line2: #2a2f37;
    --str-text: #eef0f3;
    --str-muted: #9aa1a9;
    --str-dim: #868d96;
    --str-lime: #bcd767;
    --str-lime-hover: #cbe27f;
    --str-lime-soft: rgba(188, 215, 103, .12);
    --str-lime-line: rgba(188, 215, 103, .45);
    --str-on-lime: #0b0d10;
    --str-gold: #f4b63d;
    --str-radius: 20px;
    --str-radius-md: 16px;
    --str-radius-sm: 14px;
    --str-ease: cubic-bezier(.2, .7, .2, 1);
    position: relative;
    padding-bottom: 56px;
    color: var(--str-text);
}

.str *, .str *::before, .str *::after { box-sizing: border-box; }
:where(.str) a { color: inherit; text-decoration: none; }
:where(.str) a:hover { text-decoration: none; }
.str :is(h1, h2, h3, h4, button, summary, th) { text-transform: none !important; letter-spacing: normal; }
.str :focus-visible { outline: 2px solid var(--str-lime); outline-offset: 2px; }
.str :focus:not(:focus-visible) { outline: none !important; box-shadow: none; }
.str figure { margin: 0; }
.str ul, .str ol { margin: 0; padding: 0; list-style: none; }
.str p { margin: 0; }
.str [hidden] { display: none !important; }

.str-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.str-muted { color: var(--str-muted); font-size: 14px; }

.str-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--str-lime);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

[dir="rtl"] .str-eyebrow { letter-spacing: 0; }

.str-h2 {
    margin: 0 0 16px;
    color: var(--str-text) !important;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.str-h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--str-text) !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.str-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--str-line);
    border-radius: var(--str-radius);
    background: var(--str-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.str-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

    .str-card__head .str-h3 { margin: 0; }

.str-section { scroll-margin-top: 72px; }

/* Breadcrumb */
.str-crumbs { margin: 16px 0 14px; }
.str-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.str-crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--str-dim); font-size: 12.5px; }
.str-crumbs li + li::before { content: "›"; font-size: 14px; line-height: 1; }
[dir="rtl"] .str-crumbs li + li::before { content: "‹"; }
.str-crumbs a { color: var(--str-muted) !important; transition: color .2s ease; }
.str-crumbs a:hover { color: var(--str-text) !important; }
.str-crumbs [aria-current] { color: var(--str-text); }

/* Buttons: lime primary, a glass secondary for dark photos and surfaces */
.str-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--str-radius-sm);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--str-ease);
}

    .str-btn bdi { font-variant-numeric: tabular-nums; }
    .str-btn:active { transform: scale(.98); }

.str-btn--primary { background: var(--str-lime); color: var(--str-on-lime) !important; }
.str-btn--primary:hover, .str-btn--primary:focus-visible { background: var(--str-lime-hover); }

.str-btn--glass {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(20, 23, 28, .55);
    color: var(--str-text) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

    .str-btn--glass:hover { border-color: rgba(255, 255, 255, .3); background: rgba(26, 29, 34, .75); }
    .str-btn--glass.is-mine { border-color: var(--str-lime-line); color: var(--str-lime) !important; }

/* Open now: a lime dot when open, a grey dot when closed — never red */
.str-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--str-muted);
    font-size: 14px;
}

    .str-open.is-open { color: var(--str-text); }

.str-open__dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5b626b;
}

.str-open.is-open .str-open__dot { background: var(--str-lime); box-shadow: 0 0 0 4px rgba(188, 215, 103, .16); }

.str-open--hero { font-size: 15px; }

.str-open--chip {
    min-height: 28px;
    padding: 2px 12px;
    border: 1px solid var(--str-line2);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

    .str-open--chip.is-open { border-color: var(--str-lime-line); background: var(--str-lime-soft); color: var(--str-lime); }

/* A soft pulse for things that are live now */
.str-pulse {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--str-lime);
}

    .str-pulse::after {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        background: var(--str-lime);
        opacity: .35;
        animation: str-pulse 2.4s ease-out infinite;
    }

@keyframes str-pulse {
    from { transform: scale(.6); opacity: .45; }
    to { transform: scale(1.7); opacity: 0; }
}

.str-closed__pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 12px;
    border: 1px solid var(--str-line2);
    border-radius: 999px;
    background: var(--str-raised);
    color: var(--str-muted);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.str-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px !important;
    padding: 10px 12px;
    border: 1px solid rgba(244, 182, 61, .3);
    border-radius: var(--str-radius-sm);
    background: rgba(244, 182, 61, .08);
    color: #f6dca6;
    font-size: 13.5px;
    line-height: 1.5;
}

    .str-notice .fa { margin-top: 3px; color: var(--str-gold); }

/* Fade-in on load (CSS only; the content is visible without it) */
.str-reveal { animation: str-rise .6s var(--str-ease) both; }

@keyframes str-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* Slideshows (the store hero and the head office band): stacked slides, a slow cross-fade */
.str-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
}

    .str-slide.is-active { opacity: 1; }

    .str-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.04);
        transition: transform 8s linear;
    }

    .str-slide.is-active img { transform: scale(1); }

.str-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.str-thumbs::-webkit-scrollbar { display: none; }

.str-thumb {
    flex: 0 0 auto;
    width: 72px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: var(--str-surface);
    opacity: .7;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease;
}

    .str-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .str-thumb:hover { opacity: 1; }
    .str-thumb.is-active { opacity: 1; border-color: var(--str-lime); }

/* ================================================================================== contact page */

.str-contacthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px 32px;
    margin: 4px 0 40px;
}

.str-contacthead__title {
    margin: 0 0 6px;
    color: var(--str-text) !important;
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.str-contacthead__intro { color: var(--str-muted); font-size: 15px; line-height: 1.6; }

.str-contacthead__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }

/* The hotline: the largest, lime */
.str-hotline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px 12px 14px;
    border-radius: var(--str-radius-md);
    background: var(--str-lime);
    color: var(--str-on-lime) !important;
    box-shadow: 0 10px 30px rgba(188, 215, 103, .18);
    transition: transform .25s var(--str-ease), box-shadow .25s ease, background-color .2s ease;
}

    .str-hotline:hover { transform: translateY(-2px); background: var(--str-lime-hover); box-shadow: 0 14px 36px rgba(188, 215, 103, .26); }

.str-hotline__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(11, 13, 16, .12);
    font-size: 20px;
}

.str-hotline__text { display: flex; flex-direction: column; gap: 2px; }
.str-hotline__text small { font-size: 12px; font-weight: 600; opacity: .75; }
.str-hotline__text b { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.str-reach {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 12px;
    border: 1px solid var(--str-line);
    border-radius: var(--str-radius-md);
    background: var(--str-surface);
    color: var(--str-text);
    text-align: start;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

    .str-reach:hover { border-color: #2e333b; background: var(--str-raised); }
    .str-reach--email { cursor: default; }

.str-reach__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--str-lime-soft);
    color: var(--str-lime);
    font-size: 17px;
}

.str-reach__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.str-reach__text b { color: var(--str-text); font-size: 14.5px; font-weight: 600; }
.str-reach__text small { color: var(--str-dim); font-size: 12.5px; word-break: break-all; }
.str-reach__text a:hover b { color: var(--str-lime); }

.str-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    margin-inline-start: 4px;
    padding: 0 12px;
    border: 1px solid var(--str-line2);
    border-radius: 10px;
    background: transparent;
    color: var(--str-muted);
    font-size: 12.5px;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

    .str-copy:hover { color: var(--str-text); border-color: #3a4049; }
    .str-copy.is-copied { color: var(--str-lime); border-color: var(--str-lime-line); }

/* Visit a store */
.str-stores { margin-bottom: 56px; }

.str-stores__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

    .str-stores__head .str-h2 { margin: 0; }

.str-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.str-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--str-line2);
    border-radius: 999px;
    background: var(--str-surface);
    color: var(--str-muted);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

    .str-filter:hover { color: var(--str-text); border-color: #3a4049; }
    .str-filter.is-active { border-color: var(--str-lime-line); background: var(--str-lime-soft); color: var(--str-lime); }
    .str-filter:disabled { opacity: .6; cursor: progress; }

.str-filter__count {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--str-raised);
    color: var(--str-dim);
    font-size: 11.5px;
    text-align: center;
}

.str-filter.is-active .str-filter__count { background: rgba(188, 215, 103, .18); color: var(--str-lime); }
.str-geo-note { margin-bottom: 14px; }

/* The store grid: 4 a row on desktop, 2 on tablets, 1 on phones */
.str-store-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    transition: opacity .16s ease;
}

    .str-store-list.is-fading { opacity: 0; }

.str-store {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--str-line);
    border-radius: var(--str-radius);
    background: var(--str-surface);
    transition: transform .35s var(--str-ease), border-color .35s ease, box-shadow .35s ease;
}

    .str-store:hover {
        transform: translateY(-2px);
        border-color: var(--str-lime-line);
        box-shadow: 0 0 0 1px rgba(188, 215, 103, .18), 0 18px 40px rgba(0, 0, 0, .35), 0 0 32px rgba(188, 215, 103, .08);
    }

/* Photo cards (the hover-seam rule): the card lifts while ONLY the img scales. The wrapper clips, isolates its own
   stacking and has the card body's colour (a lighter wrapper showed through a subpixel seam under the photo as a flash
   of light on hover); the shade reaches 1px past the bottom; no border or shadow on the wrapper's bottom edge. */
.str-store__photo {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    isolation: isolate;
    background: var(--str-surface);
}

    .str-store__photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        backface-visibility: hidden;
        will-change: transform;
        transition: transform 1.2s var(--str-ease);
    }

.str-store:hover .str-store__photo img { transform: scale(1.04); }

.str-store__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #14171c, #1a1d22 60%, rgba(188, 215, 103, .12));
    color: rgba(188, 215, 103, .45);
    font-size: 48px;
}

.str-store__shade {
    position: absolute;
    inset: 0 0 -1px 0;
    background: linear-gradient(180deg, rgba(20, 23, 28, 0) 40%, rgba(20, 23, 28, .55) 70%, rgba(20, 23, 28, .94) 100%);
    pointer-events: none;
}

.str-store__over {
    position: absolute;
    inset-inline: 18px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.str-store__city {
    color: var(--str-lime);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

[dir="rtl"] .str-store__city { letter-spacing: 0; }

.str-store__name {
    margin: 0;
    color: #fff !important;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}

/* "Nearest to me": a solid lime pill on the photo's top corner (reads on bright and dark photos alike). */
.str-store__distance {
    position: absolute;
    z-index: 1;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #bcd767;
    color: #14200a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

    .str-store__distance .fa { font-size: 12px; }

.str-store__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }

/* Two lines at most (the cards in a row keep one height: the grid stretches them, the buttons sit at the bottom). */
.str-store__address {
    display: -webkit-box;
    overflow: hidden;
    color: var(--str-muted);
    font-size: 13.5px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 3em;
}

.str-store__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }

.str-store__view {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    background: var(--str-lime);
    color: var(--str-on-lime) !important;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .2s ease;
}

    .str-store__view:hover { background: var(--str-lime-hover); }

.str-store__dir {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--str-line2);
    border-radius: 12px;
    color: var(--str-text) !important;
    font-size: 16px;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

    .str-store__dir:hover { border-color: var(--str-lime-line); color: var(--str-lime) !important; }

/* The head office band: edge to edge, a dark gradient from the start side */
.str-hq {
    position: relative;
    height: 620px;
    margin-bottom: 56px;
    overflow: hidden;
    background: var(--str-surface);
}

.str-hq__slides { position: absolute; inset: 0; }

.str-hq__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 13, 16, .94) 0%, rgba(11, 13, 16, .78) 32%, rgba(11, 13, 16, .2) 64%, rgba(11, 13, 16, 0) 100%),
        linear-gradient(0deg, rgba(11, 13, 16, .6) 0%, rgba(11, 13, 16, 0) 30%);
    pointer-events: none;
}

[dir="rtl"] .str-hq__shade {
    background:
        linear-gradient(270deg, rgba(11, 13, 16, .94) 0%, rgba(11, 13, 16, .78) 32%, rgba(11, 13, 16, .2) 64%, rgba(11, 13, 16, 0) 100%),
        linear-gradient(0deg, rgba(11, 13, 16, .6) 0%, rgba(11, 13, 16, 0) 30%);
}

.str-hq__inner {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.str-hq__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 480px; }

.str-hq__title {
    margin: 0;
    color: #fff !important;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.015em;
}

.str-hq__intro { color: #c9ced4; font-size: 15.5px; line-height: 1.7; }

.str-hq__address { display: flex; align-items: flex-start; gap: 10px; color: var(--str-muted); font-size: 14px; line-height: 1.5; }
.str-hq__address .fa { margin-top: 3px; color: var(--str-lime); }

.str-hq .str-thumbs { position: absolute; inset-inline-end: var(--g2-wrap-pad, 20px); bottom: 24px; max-width: 50%; }

/* Quick help */
.str-help { margin-bottom: 24px; }

.str-help__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.str-help__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--str-radius-sm);
    transition: border-color .2s ease, background-color .2s ease;
}

    .str-help__link:hover { border-color: #2e333b; background: var(--str-raised); }

.str-help__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--str-lime-soft);
    color: var(--str-lime);
    font-size: 17px;
}

.str-help__text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.str-help__text b { color: var(--str-text); font-size: 15px; font-weight: 600; }
.str-help__text span { color: var(--str-dim); font-size: 13px; }
.str-help__arrow { color: var(--str-dim); }

/* ================================================================================== store page */

.str--store { padding-bottom: 72px; }

.str-hero {
    position: relative;
    height: 640px;
    overflow: hidden;
    background: var(--str-surface);
}

.str-hero__slides { position: absolute; inset: 0; }

.str-hero__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #14171c, #1a1d22 55%, rgba(188, 215, 103, .14));
    color: rgba(188, 215, 103, .3);
    font-size: 120px;
}

.str-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 13, 16, .55) 0%, rgba(11, 13, 16, 0) 22%),
        linear-gradient(0deg, rgba(11, 13, 16, .96) 0%, rgba(11, 13, 16, .7) 30%, rgba(11, 13, 16, 0) 62%);
    pointer-events: none;
}

.str-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-block: 18px 40px;
}

.str-crumbs--hero { margin: 0; }
.str-crumbs--hero li, .str-crumbs--hero a { color: rgba(238, 240, 243, .78) !important; }
.str-crumbs--hero [aria-current] { color: #fff; }

.str-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 760px; }

.str-hero__place {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--str-lime);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

[dir="rtl"] .str-hero__place { letter-spacing: 0; }

.str-mine {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--str-lime);
    color: var(--str-on-lime);
    font-size: 11px;
    letter-spacing: .04em;
}

.str-hero__title {
    margin: 0;
    color: #fff !important;
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.str-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--str-radius-sm);
    background: rgba(20, 23, 28, .7);
    color: var(--str-text);
    font-size: 14.5px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

    .str-banner .fa { color: var(--str-gold); }

.str-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.str-hero__gallery {
    position: absolute;
    inset-inline-end: var(--g2-wrap-pad, 20px);
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: 40%;
}

.str-hero__count {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(11, 13, 16, .6);
    color: var(--str-muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

    .str-hero__count b { color: #fff; font-weight: 600; }

/* The sticky sub-navigation (the site header never sticks, so it sits at the top) */
.str-subnav {
    position: sticky;
    top: 0;
    z-index: 30;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--str-line);
    background: rgba(11, 13, 16, .86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.str-subnav__list { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.str-subnav__list::-webkit-scrollbar { display: none; }

.str-subnav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    color: var(--str-muted) !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s ease;
}

    .str-subnav__link::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        bottom: -1px;
        height: 2px;
        border-radius: 2px;
        background: var(--str-lime);
        transform: scaleX(0);
        transition: transform .3s var(--str-ease);
    }

    .str-subnav__link:hover { color: var(--str-text) !important; }
    .str-subnav__link.is-active { color: var(--str-text) !important; }
    .str-subnav__link.is-active::after { transform: scaleX(1); }

/* Shop this store */
.str-shop { margin-bottom: 48px; }

.str-shop__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 4px;
}

    .str-shop__head .str-h2 { margin-bottom: 6px; }

.str-shop__line { color: var(--str-muted); font-size: 14.5px; }

.str-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; border: 1px solid var(--str-line); border-radius: 999px; background: var(--str-surface); scrollbar-width: none; }
.str-tabs::-webkit-scrollbar { display: none; }

.str-tab {
    flex: none;
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--str-muted);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

    .str-tab:hover { color: var(--str-text); }
    .str-tab.is-active { background: var(--str-lime); color: var(--str-on-lime); }

.str-shop__panel.is-active { animation: str-fade .35s ease both; }

@keyframes str-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* The rail's own heading row repeated the tab name: hidden here ("See all" sits next to the tabs instead). */
.str-shop .g2-sec { margin-top: 12px; }
.str-shop__panel .g2-sec__head { display: none; }

.str-shop__nav { display: flex; align-items: center; gap: 14px; min-width: 0; max-width: 100%; }

.str-shop__all {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    color: var(--str-lime) !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

    .str-shop__all:hover { color: var(--str-lime-hover) !important; }

/* "Pick up today at this store": once, above the rail */
.str-shop__pickup {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px !important;
    color: var(--str-text);
    font-size: 13.5px;
    font-weight: 600;
}

.str-shop__pickup-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--str-lime);
    box-shadow: 0 0 0 4px rgba(188, 215, 103, .16);
}

/* The Visit info address card's links: Directions and the Google reviews */
.str-where__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }

.str-where__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--str-lime) !important;
    font-size: 13.5px;
    font-weight: 600;
}

    .str-where__link:hover { color: var(--str-lime-hover) !important; }
    .str-where__link--muted { color: var(--str-muted) !important; }
    .str-where__link--muted:hover { color: var(--str-text) !important; }

/* The phone store page's sticky bar: Directions + Call, after the hero's buttons leave the screen */
.str-mbar { display: none; }

.str-shop__loading { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-block: 56px 20px; }

.str-shop__loading span {
    height: 320px;
    border-radius: var(--str-radius-sm);
    background: linear-gradient(90deg, var(--str-surface) 0%, var(--str-raised) 50%, var(--str-surface) 100%);
    background-size: 200% 100%;
    animation: str-shimmer 1.4s ease-in-out infinite;
}

@keyframes str-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.str-shop__error { display: flex; align-items: center; gap: 14px; padding-block: 32px; color: var(--str-muted); }

/* The small "Pick up today" line on each product card (ListProducts cardNote) */
.g2-card__note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--str-lime, #bcd767);
    font-size: 12px;
    font-weight: 600;
}

.g2-card__note-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Visit info: three cards in a row */
.str-visit { margin-bottom: 48px; }

.str-visit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; }

/* (a) the map preview, drawn in CSS: nothing from Google until the click */
.str-mapbox {
    position: relative;
    height: 170px;
    margin: -8px -8px 18px;
    overflow: hidden;
    border: 1px solid var(--str-line);
    border-radius: var(--str-radius-sm);
    background:
        repeating-linear-gradient(0deg, transparent 0 23px, rgba(255, 255, 255, .04) 23px 24px),
        repeating-linear-gradient(90deg, transparent 0 23px, rgba(255, 255, 255, .04) 23px 24px),
        #111419;
}

    .str-mapbox iframe { display: block; width: 100%; height: 100%; border: 0; }
    .str-mapbox.is-loaded { height: 260px; }

.str-mapbox__button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.str-mapbox__road {
    position: absolute;
    inset-inline: -10%;
    top: 58%;
    height: 14px;
    background: #22272e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -1px 0 rgba(0, 0, 0, .3);
    transform: rotate(-12deg);
}

.str-mapbox__road--cross { inset-inline: auto; inset-inline-start: 62%; top: -10%; width: 10px; height: 120%; transform: rotate(8deg); }

.str-mapbox__pin {
    position: absolute;
    top: 38%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--str-lime);
    color: var(--str-on-lime);
    font-size: 22px;
    box-shadow: 0 0 0 8px rgba(188, 215, 103, .16), 0 10px 24px rgba(0, 0, 0, .5);
    transform: translate(-50%, -50%);
    transition: transform .3s var(--str-ease);
}

.str-mapbox__button:hover .str-mapbox__pin { transform: translate(-50%, calc(-50% - 3px)); }

.str-mapbox__label {
    position: absolute;
    inset-inline-end: 12px;
    bottom: 12px;
    padding: 6px 12px;
    border: 1px solid var(--str-line2);
    border-radius: 10px;
    background: rgba(20, 23, 28, .9);
    color: var(--str-text);
    font-size: 12.5px;
    font-weight: 600;
}

.str-where__address { color: var(--str-text); font-size: 15px; line-height: 1.6; }

.str-where__note {
    margin-top: 12px !important;
    padding: 12px 14px;
    border-radius: var(--str-radius-sm);
    background: var(--str-raised);
    color: var(--str-muted);
    font-size: 14px;
    line-height: 1.6;
}

    .str-where__note b { display: block; margin-bottom: 2px; color: var(--str-text); font-size: 13px; }

.str-branch-line {
    display: inline-block;
    margin-top: 14px;
    border-bottom: 1px dashed var(--str-line2);
    color: var(--str-muted) !important;
    font-size: 13px;
}

    .str-branch-line:hover { color: var(--str-text) !important; }

/* (b) hours */
.str-hours__table { width: 100%; border-collapse: collapse; }

    .str-hours__table th,
    .str-hours__table td {
        padding: 9px 10px;
        border-top: 1px solid var(--str-line);
        font-size: 14px;
        vertical-align: middle;
    }

    .str-hours__table tr:first-child :is(th, td) { border-top: 0; }
    .str-hours__table th { color: var(--str-muted); font-weight: 500; text-align: start; }
    .str-hours__table td { color: var(--str-text); text-align: end; font-variant-numeric: tabular-nums; }
    .str-hours__table tr.is-closed td { color: var(--str-dim); }
    .str-hours__table tr.is-today :is(th, td) { background: var(--str-lime-soft); color: var(--str-text); font-weight: 600; }
    .str-hours__table tr.is-today th:first-child { border-start-start-radius: 10px; border-end-start-radius: 10px; }
    .str-hours__table tr.is-today td:last-child { border-start-end-radius: 10px; border-end-end-radius: 10px; }
    .str-hours__table tr.is-today th::after { content: attr(data-today); margin-inline-start: 8px; color: var(--str-lime); font-size: 12px; font-weight: 700; }

.str-special-mark { margin-inline-start: 4px; color: var(--str-gold); }

/* (c) at this store: a 2-column icon grid */
.str-features__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }

.str-feature { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--str-text); font-size: 13.5px; line-height: 1.35; }

.str-feature__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--str-lime-soft);
    color: var(--str-lime);
    font-size: 15px;
}

/* Trade-in and repairs: two wide cards */
.str-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.str-services--single { grid-template-columns: minmax(0, 1fr); }

.str-wide {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 260px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--str-line);
    border-radius: var(--str-radius);
    background: var(--str-surface);
}

    .str-wide p { max-width: 520px; color: var(--str-muted); font-size: 15px; line-height: 1.7; }
    .str-wide .str-btn { margin-top: auto; }
    .str-wide__actions { margin-top: auto; }
    .str-wide__actions .str-btn { margin-top: 0; }

.str-wide--tradein {
    border-color: rgba(188, 215, 103, .28);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(188, 215, 103, .18) 0%, rgba(188, 215, 103, 0) 55%),
        linear-gradient(160deg, rgba(188, 215, 103, .08), rgba(188, 215, 103, 0) 60%),
        var(--str-surface);
}

.str-wide__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--str-lime-soft);
    color: var(--str-lime);
    font-size: 21px;
}

.str-wide__title { margin: 0; color: var(--str-text) !important; font-size: 24px; font-weight: 700; line-height: 1.2; }

/* About (5 columns) and Questions (7 columns) */
.str-about {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 40px;
    margin-bottom: 56px;
}

.str-about__intro p { color: var(--str-muted); font-size: 15px; line-height: 1.8; }
.str-about__intro p + p { margin-top: 12px; }

.str-faq { display: flex; flex-direction: column; }

.str-qa { border-bottom: 1px solid var(--str-line); }
.str-qa:first-of-type { border-top: 1px solid var(--str-line); }

    .str-qa summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 18px 2px;
        list-style: none;
        cursor: pointer;
    }

        .str-qa summary::-webkit-details-marker { display: none; }

.str-qa__q { margin: 0; color: var(--str-text) !important; font-size: 15.5px; font-weight: 600; line-height: 1.45; transition: color .2s ease; }
.str-qa summary:hover .str-qa__q { color: var(--str-lime) !important; }

.str-qa__plus {
    position: relative;
    flex: none;
    width: 28px;
    height: 28px;
    border: 1px solid var(--str-line2);
    border-radius: 50%;
    transition: border-color .2s ease, background-color .2s ease, transform .3s var(--str-ease);
}

    .str-qa__plus::before,
    .str-qa__plus::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 11px;
        height: 2px;
        border-radius: 2px;
        background: var(--str-lime);
        transform: translate(-50%, -50%);
    }

    .str-qa__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--str-ease); }

.str-qa[open] .str-qa__plus { border-color: var(--str-lime-line); background: var(--str-lime-soft); }
.str-qa[open] .str-qa__plus::after { transform: translate(-50%, -50%) rotate(0deg); }

.str-qa__a { padding: 0 2px 18px; color: var(--str-muted); font-size: 14.5px; line-height: 1.75; animation: str-fade .3s ease both; }

/* Other stores near you: 4 a row */
.str-near { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.str-near__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border: 1px solid var(--str-line);
    border-radius: var(--str-radius-md);
    background: var(--str-surface);
    transition: transform .3s var(--str-ease), border-color .3s ease;
}

    .str-near__card:hover { transform: translateY(-2px); border-color: var(--str-lime-line); }

.str-near__img {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 84px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    isolation: isolate;
    border-radius: 10px;
    background: var(--str-surface);
    box-shadow: inset 0 0 0 1px var(--str-line);
    color: rgba(188, 215, 103, .45);
    font-size: 22px;
}

    .str-near__img img { width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; will-change: transform; transition: transform 1.2s var(--str-ease); }
    .str-near__card:hover .str-near__img img { transform: scale(1.04); }

.str-near__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--str-lime) !important;
    font-size: 14px;
    font-weight: 600;
}

    .str-near__all:hover { color: var(--str-lime-hover) !important; }

.str-near__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.str-near__city { color: var(--str-lime); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
[dir="rtl"] .str-near__city { letter-spacing: 0; }
.str-near__name { color: var(--str-text); font-size: 15px; font-weight: 600; }
.str-near__distance { color: var(--str-dim); font-size: 12.5px; }

/* ================================================================================== responsive */

@media (max-width: 1399.98px) {
    .str-contacthead { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1199.98px) {
    .str-store-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .str-visit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .str-visit__grid .str-features { grid-column: 1 / -1; }
    .str-near { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .str-shop__loading { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .str-about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .str-help__list { grid-template-columns: minmax(0, 1fr); }
    .str-services { grid-template-columns: minmax(0, 1fr); }
    /* Phones and tablets swipe the hero; the counter stays, the filmstrip goes. */
    .str-hero__gallery { inset-block: 18px auto; bottom: auto; }
    .str-hero__gallery .str-thumbs { display: none; }
}

/* Phones: one card a row with a 200px photo; the head office text goes under its 420px photo. */
@media (max-width: 767.98px) {
    /* Room under the last section for the floating chat bubble (it never sits over a button at the end). */
    .str { padding-bottom: 112px; }

    /* Sideways rows (product tabs, the sub-navigation): a soft fade on the far edge while more is hidden there;
       the store page's script toggles .is-overflowing / .is-at-end on scroll. */
    .str-tabs.is-overflowing:not(.is-at-end),
    .str-subnav__list.is-overflowing:not(.is-at-end) {
        -webkit-mask-image: linear-gradient(to right, #000 78%, transparent);
        mask-image: linear-gradient(to right, #000 78%, transparent);
    }

    [dir="rtl"] .str-tabs.is-overflowing:not(.is-at-end),
    [dir="rtl"] .str-subnav__list.is-overflowing:not(.is-at-end) {
        -webkit-mask-image: linear-gradient(to left, #000 78%, transparent);
        mask-image: linear-gradient(to left, #000 78%, transparent);
    }

    .str-shop__nav { width: 100%; }
    .str-shop__nav .str-tabs { flex: 1 1 auto; min-width: 0; }

    /* The sticky bar: slides up once the hero's buttons are off screen; never over the drawer, the search or a modal. */
    .str-mbar {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 40;
        display: flex;
        gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--str-line);
        background: rgba(11, 13, 16, .92);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        transform: translateY(110%);
        transition: transform .35s var(--str-ease);
    }

        .str-mbar .str-btn { flex: 1 1 0; min-height: 46px; }
        .str-mbar.is-shown { transform: translateY(0); }

    html.g2-locked .str-mbar,
    html.g2s-locked .str-mbar,
    body.modal-open .str-mbar { transform: translateY(110%); }

    /* While the bar shows: room under the page, and the chat / back-to-top bubbles ride above the bar. */
    body.str-mbar-shown { padding-bottom: var(--str-mbar-h, 70px); }
    body.str-mbar-shown #chat_with_us { bottom: calc(var(--str-mbar-h, 70px) + 12px) !important; }
    body.str-mbar-shown #scrollToTopBtn { bottom: calc(var(--str-mbar-h, 70px) + 12px + var(--g2-chat-h, 56px) + 12px) !important; }
    .str-card { padding: 18px; }
    .str-h2 { font-size: 22px; }

    .str-contacthead { margin-bottom: 28px; }
    .str-contacthead__actions { flex-direction: column; }
    .str-hotline, .str-reach { width: 100%; }

    .str-stores__head { align-items: flex-start; flex-direction: column; }
    .str-filters { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .str-filters::-webkit-scrollbar { display: none; }
    .str-filter { flex: none; }

    .str-store-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .str-store__photo { height: 200px; }

    .str-hq { height: auto; background: transparent; }
    .str-hq__slides { position: relative; height: 420px; }
    .str-hq__shade { background: linear-gradient(0deg, rgba(11, 13, 16, .7) 0%, rgba(11, 13, 16, 0) 40%); }
    [dir="rtl"] .str-hq__shade { background: linear-gradient(0deg, rgba(11, 13, 16, .7) 0%, rgba(11, 13, 16, 0) 40%); }
    .str-hq__inner { display: block; height: auto; padding-top: 22px; }
    .str-hq .str-thumbs { position: static; max-width: none; margin-top: 18px; }

    .str-hero { height: 420px; }
    .str-hero__inner { padding-block: 12px 24px; }
    .str-hero__content { gap: 10px; }
    .str-actions { width: 100%; }
    .str-actions .str-btn { flex: 1 1 auto; min-height: 44px; padding: 0 14px; font-size: 13.5px; }
    .str-subnav { margin-bottom: 28px; }
    .str-subnav__list { gap: 22px; }
    .str-subnav__link { min-height: 50px; }

    .str-visit__grid { grid-template-columns: minmax(0, 1fr); }
    .str-features__grid { grid-template-columns: minmax(0, 1fr); }
    .str-wide { min-height: 0; padding: 22px; }
    .str-wide__title { font-size: 20px; }
    .str-near { grid-template-columns: minmax(0, 1fr); }
    .str-shop__loading { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .str-shop__loading span { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
    .str-reveal,
    .str-pulse::after,
    .str-shop__loading span,
    .str-shop__panel.is-active,
    .str-qa__a { animation: none !important; }

    .str *,
    .str *::before,
    .str *::after { transition: none !important; }

    .str-slide img,
    .str-slide.is-active img,
    .str-store:hover,
    .str-store:hover .str-store__photo img,
    .str-near__card:hover .str-near__img img,
    .str-near__card:hover,
    .str-hotline:hover { transform: none; }

    .str-mapbox__button:hover .str-mapbox__pin { transform: translate(-50%, -50%); }
}
