/* Murahi India - Top Stores */

.top-stores-section {
    padding: 38px 0;
    background: #f8faf8;
    border-top: 1px solid #edf1ed;
    border-bottom: 1px solid #edf1ed;
}

.top-stores-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.top-stores-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: #198754;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.top-stores-header h2 {
    margin: 0;
    color: #202820;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
}

.top-stores-header p {
    margin: 5px 0 0;
    color: #737b73;
    font-size: 14px;
}

.top-stores-view-all {
    flex-shrink: 0;
    color: #198754;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.top-stores-view-all:hover {
    color: #126b40;
}

.top-stores-wrapper {
    position: relative;
}

.top-stores-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 5px 3px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.top-stores-track::-webkit-scrollbar {
    display: none;
}

.top-store-card {
    flex: 0 0 280px;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8eee8;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(20, 50, 25, 0.05);
    scroll-snap-align: start;
    transition: box-shadow .2s ease, transform .2s ease;
}

.top-store-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(20, 50, 25, 0.11);
}

.top-store-cover {
    position: relative;
    display: block;
    height: 145px;
    overflow: hidden;
    background: #edf5ee;
    text-decoration: none;
}

.top-store-cover > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.top-store-card:hover .top-store-cover > img {
    transform: scale(1.04);
}

.top-store-cover-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #198754;
    font-size: 46px;
    background: linear-gradient(135deg, #e6f4e9, #f6faf6);
}

.top-store-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    color: #fff;
    background: #198754;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
}

.top-store-card-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
}

.top-store-logo {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #198754;
    background: #edf5ee;
    border: 1px solid #edf0ed;
    border-radius: 12px;
    font-size: 22px;
}

.top-store-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-store-details {
    flex: 1;
    min-width: 0;
}

.top-store-details h3 {
    overflow: hidden;
    margin: 0 0 5px;
    color: #252b25;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-store-details p {
    overflow: hidden;
    margin: 0;
    color: #778077;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-store-visit {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    color: #198754;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

.top-store-visit:hover {
    color: #126b40;
}

.top-stores-arrow {
    position: absolute;
    z-index: 2;
    top: 42%;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #198754;
    background: #fff;
    border: 1px solid #e1e9e1;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
    cursor: pointer;
}

.top-stores-prev {
    left: -12px;
}

.top-stores-next {
    right: -12px;
}

@media (max-width: 576px) {
    .top-stores-section {
        padding: 27px 0;
    }

    .top-stores-header {
        margin-bottom: 16px;
        gap: 8px;
    }

    .top-stores-header h2 {
        font-size: 21px;
    }

    .top-stores-header p {
        font-size: 12px;
    }

    .top-stores-eyebrow {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .top-stores-view-all {
        font-size: 11px;
    }

    .top-stores-track {
        gap: 12px;
        margin-right: -3px;
    }

    .top-store-card {
        flex-basis: 245px;
        border-radius: 13px;
    }

    .top-store-cover {
        height: 125px;
    }

    .top-store-card-body {
        gap: 8px;
        padding: 10px;
    }

    .top-store-logo {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 19px;
    }

    .top-store-details h3 {
        font-size: 12px;
    }

    .top-store-details p {
        font-size: 10px;
    }

    .top-store-visit {
        font-size: 10px;
    }

    .top-stores-arrow {
        display: none;
    }
}
