.stores-page {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
    padding: 88px 0 104px;
}

.stores-hero {
    max-width: 760px;
    margin-bottom: 48px;
}

.stores-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #4ea1ff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stores-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.stores-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

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

.store-card {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(18, 31, 53, 0.96), rgba(8, 17, 32, 0.96));
}

.store-logo-wrap {
    display: flex;
    width: 100%;
    height: 78px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: #f8fafc;
}

.store-logo {
    display: block;
    max-width: 160px;
    max-height: 48px;
}

.store-card > strong {
    margin-bottom: 9px;
    font-size: 1.2rem;
}

.store-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.88rem;
}

.store-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
}

.store-link {
    margin-top: auto;
    padding-top: 24px;
    color: #4ea1ff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.store-link:hover {
    color: #7dd3fc;
}

.stores-empty {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(8, 17, 32, 0.86);
}

.stores-empty span {
    color: var(--muted);
}

@media (max-width: 900px) {
    .stores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .stores-page {
        width: min(100% - 28px, 1400px);
        padding: 56px 0 72px;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }
}
/* Scalable horizontal store cards */
.stores-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 18px;
}

.store-card {
    display: grid;
    min-height: 150px;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 20px;
    align-content: center;
    padding: 22px;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.store-card:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 161, 255, 0.55);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.store-logo-wrap {
    width: 112px;
    height: 104px;
    margin: 0;
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 20px;
}

.store-logo {
    width: 100%;
    max-width: 100%;
    max-height: 62px;
}

.store-card > strong {
    margin: 0 0 7px;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 1.08rem;
    line-height: 1.3;
}

.store-status {
    grid-column: 2;
    grid-row: 2;
}

.store-link {
    margin: 13px 0 0;
    padding: 0;
    grid-column: 2;
    grid-row: 3;
}

@media (max-width: 720px) {
    .stores-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    }

    .store-card {
        min-height: 134px;
        grid-template-columns: 98px minmax(0, 1fr);
        column-gap: 17px;
        padding: 20px;
    }

    .store-logo-wrap {
        width: 98px;
        height: 92px;
        border-radius: 18px;
    }
}

@media (max-width: 380px) {
    .store-card {
        min-height: 120px;
        grid-template-columns: 82px minmax(0, 1fr);
        column-gap: 14px;
        padding: 17px;
    }

    .store-logo-wrap {
        width: 82px;
        height: 78px;
        padding: 9px;
        border-radius: 16px;
    }

    .store-logo {
        max-height: 52px;
    }
}
