/* =============================================
   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;
}

/* ---------- Hero ---------- */
.fs-hero {
    position: relative;
    background: var(--fs-dark);
    color: var(--white);
    overflow: hidden;
}

.fs-hero-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 58%;
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
    mask-image: linear-gradient(to right, transparent 0%, #000 32%);
}

.fs-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13, 13, 13, 0.85), rgba(13, 13, 13, 0.15));
}

.fs-hero-inner {
    position: relative;
    z-index: 2;
    padding: 34px 0 42px;
    max-width: 640px;
}

.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(34px, 6vw, 62px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

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

.fs-hero-sub {
    font-size: clamp(15px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 24px;
}

.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: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.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: 34px;
    line-height: 1.15;
    color: var(--white);
    text-align: left;
    opacity: 0.92;
    pointer-events: none;
}

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

.fs-filter {
    display: grid;
    grid-template-columns: 1fr 260px 230px;
    gap: 14px;
    margin-bottom: 26px;
}

.fs-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--fs-line);
    border-radius: 8px;
    padding: 0 16px;
    height: 54px;
}

.fs-field i {
    color: var(--fs-muted);
    font-size: 15px;
    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: 15px;
    color: var(--text);
    cursor: pointer;
}

.fs-field input {
    cursor: text;
}

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

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

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

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

.fs-card:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.fs-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f1f1f1;
}

.fs-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fs-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
    line-height: 1.4;
}

.fs-badge.is-open {
    background: #22c55e;
    color: var(--white);
}

.fs-badge.is-closed {
    background: #fde2e4;
    color: #b91c1c;
}

.fs-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.fs-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.fs-meta {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15px;
    color: #3f3f46;
    line-height: 1.45;
    overflow-wrap: anywhere;
    min-width: 0;
}

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

.fs-meta a {
    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: 9px;
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

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

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

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

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

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

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

.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-media {
        width: 66%;
    }

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

    .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;
    }
}

@media (max-width: 640px) {
    .fs-hero-media {
        width: 100%;
        -webkit-mask-image: none;
        mask-image: none;
        opacity: 0.35;
    }

    .fs-hero-media::after {
        background: linear-gradient(to bottom, rgba(13, 13, 13, 0.75), rgba(13, 13, 13, 0.9));
    }

    .fs-hero-inner {
        padding: 24px 0 30px;
    }

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

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

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

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

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

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