/*
|--------------------------------------------------------------------------
| Dleelk Auto - Stores Directory
|--------------------------------------------------------------------------
*/

.stores-page {
    padding-bottom: 72px;
}

.stores-hero {
    text-align: center;
}

.stores-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stores-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(216, 189, 79, .25);
    border-radius: 999px;
    background: rgba(216, 189, 79, .12);
    color: #d8bd4f;
    font-size: 13px;
    font-weight: 800;
}

.stores-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.15;
    font-weight: 900;
}

.stores-hero p {
    width: min(100%, 720px);
    margin: 14px auto 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.8;
}

.stores-directory {
    padding-top: 48px;
}

.stores-directory__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.stores-directory__header h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.25;
}

.stores-directory__header p {
    margin: 0;
    color: #737373;
    line-height: 1.8;
}

.stores-directory__count {
    flex: 0 0 auto;
    padding: 9px 15px;
    border: 1px solid #e7dfcf;
    border-radius: 999px;
    background: #fffaf0;
    font-size: 14px;
    font-weight: 800;
}

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

.stores-grid .company-card {
    width: 100%;
    min-width: 0;
}

.stores-empty {
    padding: 48px 24px;
    border: 1px solid #ece7dd;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    color: #737373;
    font-weight: 700;
}

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

@media (max-width: 600px) {
    .stores-page {
        padding-bottom: 48px;
    }

    .stores-directory {
        padding-top: 32px;
    }

    .stores-directory__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .stores-directory__header h2 {
        font-size: 25px;
    }

    .stores-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
