/* =============================================
   Find Store page — scoped to .find-store-page
   Loaded only on the Find Store route.
   ============================================= */

.find-store-page {
    --fs-dark: #0d0d0d;
    --fs-line: #e8e8e8;
    --fs-muted: #6b7280;
    --fs-ink: #26262b;
}

/* ---------- Hero ---------- */
.fs-hero {
    position: relative;
    background-color: #0b0b0c;
    background-image:
        radial-gradient(120% 140% at 88% 108%, rgba(var(--primary-rgb, 223, 8, 16), 0.38) 0%, rgba(11, 11, 12, 0) 62%),
        linear-gradient(135deg, #17171a 0%, #0b0b0c 62%);
    color: var(--white);
    overflow: hidden;
}

/* configured background: one shared image, darkened and blended into the base */
.fs-hero-media {
    position: absolute;
    inset: 0;
    background-image: var(--fs-bg);
    background-size: cover;
    background-position: center 38%;
    opacity: 0.52;
}

.fs-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(11, 11, 12, 0.9) 0%, rgba(11, 11, 12, 0.66) 46%, rgba(11, 11, 12, 0.36) 100%),
        linear-gradient(to bottom, rgba(11, 11, 12, 0.4) 0%, rgba(11, 11, 12, 0.08) 40%, rgba(11, 11, 12, 0.66) 100%);
}

.fs-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 340px;
    padding: 30px 0;
    max-width: 660px;
}

.fs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

.fs-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.fs-breadcrumb a:hover {
    color: var(--white);
}

.fs-breadcrumb i {
    font-size: 11px;
    opacity: 0.6;
}

.fs-breadcrumb strong {
    color: var(--white);
    font-weight: 600;
}

.fs-hero h1 {
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.fs-hero h1 span {
    color: var(--primary);
}

.fs-hero-sub {
    font-size: clamp(13px, 1.3vw, 16px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 20px;
}

.fs-hero-points {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.fs-hero-point {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.88);
}

.fs-hero-point i {
    font-size: 16px;
    color: var(--white);
    opacity: 0.85;
}

.fs-hero-point + .fs-hero-point {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.fs-hero-script {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.15;
    color: var(--white);
    text-align: left;
    opacity: 0.92;
    pointer-events: none;
}

/* ---------- Body shell ---------- */
.fs-body {
    background: #fafafa;
    padding: 26px 0 46px;
}

/* the store listing keeps its own, slightly narrower measure */
.fs-body > .container {
    width: min(1200px, 100% - 32px);
}

/* ---------- Search / filter panel ---------- */
.fs-search-panel {
    background: var(--white);
    border: 1px solid var(--fs-line);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.fs-filter {
    display: grid;
    grid-template-columns: 1fr 260px 150px;
    gap: 12px;
}

.fs-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fafafa;
    border: 1px solid var(--fs-line);
    border-radius: 8px;
    padding: 0 15px;
    height: 48px;
    transition: border-color 0.2s, background 0.2s;
}

.fs-field:focus-within {
    background: var(--white);
    border-color: var(--fs-ink);
}

.fs-field i {
    color: var(--fs-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.fs-field input,
.fs-field select {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

.fs-field input {
    cursor: text;
}

.fs-search-btn {
    height: 48px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s;
}

.fs-search-btn:hover,
.fs-search-btn:focus-visible {
    background: var(--primary-dark);
}

/* ---------- Service filter chips ---------- */
.fs-services {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--fs-line);
}

.fs-services-label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--fs-muted);
}

.fs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fs-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid var(--fs-line);
    border-radius: 7px;
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--fs-ink);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.fs-chip:hover {
    border-color: #c9c9c9;
    color: var(--fs-ink);
}

.fs-chip-count {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 20px;
    background: #f1f1f1;
    color: var(--fs-muted);
}

.fs-chip.is-active {
    background: var(--fs-ink);
    border-color: var(--fs-ink);
    color: var(--white);
}

.fs-chip.is-fabrics.is-active {
    background: var(--primary);
    border-color: var(--primary);
}

.fs-chip.is-active .fs-chip-count {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

/* ---------- Result summary ---------- */
.fs-result-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.fs-result-count {
    margin: 0;
    font-size: 14px;
    color: var(--fs-muted);
}

.fs-result-count strong {
    color: var(--fs-ink);
    font-weight: 700;
}

.fs-result-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.fs-result-reset i {
    font-size: 11px;
}

.fs-result-reset:hover {
    color: var(--primary-dark);
}

/* ---------- Store cards ---------- */
.fs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fs-card {
    background: var(--white);
    border: 1px solid var(--fs-line);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.fs-card:hover {
    border-color: #dcdcdc;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* card head — branded identity panel: state and the Raymond / Lifestyle lock-up */
.fs-card-head {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 96px;
    padding: 10px 13px 12px;
    overflow: hidden;
    background-color: #121214;
    background-image:
        radial-gradient(circle at 92% 118%, rgba(var(--primary-rgb, 223, 8, 16), 0.5) 0%, rgba(18, 18, 20, 0) 60%),
        linear-gradient(135deg, #1c1c1f 0%, #0c0c0e 100%);
}

/* configured image as a subtle texture — same file as the hero, so no extra request */
.find-store-page.has-bg .fs-card-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--fs-bg);
    background-size: cover;
    background-position: center 42%;
    opacity: 0.36;
}

/* vignette keeping every label readable over either state */
.fs-card-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(12, 12, 14, 0.76) 0%, rgba(12, 12, 14, 0.5) 48%, rgba(var(--primary-rgb, 223, 8, 16), 0.34) 100%),
        linear-gradient(to bottom, rgba(12, 12, 14, 0.3) 0%, rgba(12, 12, 14, 0.16) 45%, rgba(12, 12, 14, 0.66) 100%);
}

.fs-head-mark {
    position: absolute;
    z-index: 2;
    right: 13px;
    bottom: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.fs-head-brand {
    position: relative;
    z-index: 2;
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
}

/* the red accent line, then "Lifestyle" right after it on the same row (the city is no longer shown here) */
.fs-head-tag {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    max-width: calc(100% - 58px);   /* stays clear of the store icon */
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
}

.fs-head-tag::before {
    content: "";
    flex: 0 0 32px;
    height: 2px;
    background: var(--primary);
}

.fs-head-row {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.fs-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #15803d;
}

.fs-state i {
    font-size: 6px;
}

.fs-state.is-closed {
    color: #b42318;
}


.fs-card-body {
    padding: 13px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.fs-card-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0;
    overflow-wrap: anywhere;
}

/* ---------- Service badges ---------- */
.fs-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1px;
}

.fs-svc {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.45;
    padding: 3px 9px;
    border-radius: 5px;
    white-space: nowrap;
}

.fs-svc.is-fabrics {
    background: var(--primary);
    color: var(--white);
}

.fs-svc.is-readymade {
    background: var(--fs-ink);
    color: var(--white);
}

/* ---------- Card meta rows ---------- */
.fs-meta {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.42;
    overflow-wrap: anywhere;
    min-width: 0;
}

.fs-meta i {
    color: var(--fs-muted);
    font-size: 11.5px;
    width: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    text-align: center;
}

.fs-meta a {
    color: inherit;
    transition: color 0.2s;
}

.fs-meta a:hover {
    color: var(--primary);
}

.fs-map-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    background: var(--fs-ink);
    color: var(--white);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 9px 14px;
    border-radius: 7px;
    transition: background 0.2s;
}

.fs-map-btn i {
    font-size: 12px;
}

.fs-map-arrow {
    font-size: 11px;
    opacity: 0.75;
    transition: transform 0.2s;
}

.fs-card:hover .fs-map-arrow {
    transform: translateX(3px);
}

.fs-map-btn:hover,
.fs-map-btn:focus-visible {
    background: var(--primary);
    color: var(--white);
}

/* visible keyboard focus across the whole page */
.find-store-page a:focus-visible,
.find-store-page button:focus-visible,
.find-store-page input:focus-visible,
.find-store-page select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ---------- Empty state ---------- */
.fs-empty {
    background: var(--white);
    border: 1px solid var(--fs-line);
    border-radius: 12px;
    padding: 48px 20px;
    text-align: center;
}

.fs-empty i {
    font-size: 36px;
    color: var(--primary);
    opacity: 0.55;
    margin-bottom: 14px;
}

.fs-empty h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
}

.fs-empty p {
    color: var(--fs-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.fs-empty-reset {
    display: inline-block;
    min-height: 44px;
    line-height: 24px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 7px;
}

.fs-empty-reset:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ---------- Bottom feature strip ---------- */
.fs-strip {
    margin-top: 34px;
    background: var(--white);
    border: 1px solid var(--fs-line);
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 10px;
}

.fs-strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 22px;
}

.fs-strip-item + .fs-strip-item {
    border-left: 1px solid var(--fs-line);
}

.fs-strip-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-soft, rgba(220, 38, 38, 0.1));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.fs-strip-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.fs-strip-text span {
    font-size: 14px;
    color: var(--fs-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .fs-hero-script {
        display: none;
    }

    .fs-hero-inner {
        min-height: 300px;
    }

    .fs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .fs-strip {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }

    .fs-strip-item:nth-child(odd) {
        border-left: none;
    }
}

@media (max-width: 900px) {
    .fs-filter {
        grid-template-columns: 1fr 1fr;
    }

    .fs-filter .fs-search-btn {
        grid-column: 1 / -1;
    }

    .fs-services {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .fs-hero-media {
        opacity: 0.38;
        background-position: center 40%;
    }

    .fs-hero-media::after {
        background: linear-gradient(to bottom, rgba(11, 11, 12, 0.74) 0%, rgba(11, 11, 12, 0.6) 45%, rgba(11, 11, 12, 0.86) 100%);
    }

    .fs-hero-inner {
        min-height: 246px;
        padding: 22px 0;
    }

    .fs-hero h1 {
        font-size: clamp(32px, 9vw, 38px);
    }

    .fs-hero-sub {
        font-size: 13.5px;
    }

    .fs-hero-point {
        font-size: 12.5px;
    }

    /* slightly stronger treatment so card labels stay readable on small screens */
    .find-store-page.has-bg .fs-card-head::before {
        opacity: 0.3;
    }

    .fs-card-head {
        min-height: 88px;
    }

    .fs-hero-point + .fs-hero-point {
        padding-left: 0;
        border-left: none;
    }

    .fs-hero-points {
        gap: 8px 18px;
    }

    .fs-body > .container {
        width: min(1200px, 100% - 28px);
    }

    .fs-search-panel {
        padding: 14px;
    }

    .fs-filter {
        grid-template-columns: 1fr;
    }

    .fs-chips {
        gap: 7px;
    }

    .fs-chip {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        padding: 7px 10px;
        font-size: 12.5px;
    }

    .fs-chip:first-child {
        flex-basis: 100%;
    }

    .fs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fs-map-btn {
        min-height: 42px;
        margin-top: 9px;
        padding: 9px 14px;
    }

    .fs-card-body {
        padding: 12px 13px 13px;
        gap: 6px;
    }

    .fs-strip {
        grid-template-columns: 1fr;
        padding: 20px 6px;
    }

    .fs-strip-item {
        border-left: none !important;
        padding: 4px 16px;
    }
}

@media (max-width: 360px) {
    .fs-chip {
        flex-basis: 100%;
    }

    .fs-card-name {
        font-size: 17px;
    }
}
