/* MURAHI INDIA — PREMIUM SHOP BY STORE */

.shop-by-store {
    padding: 54px 0;
    background: linear-gradient(180deg, #f8fbf8 0%, #ffffff 100%);
}

.shop-store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.shop-store-header h2 {
    margin: 0 0 7px;
    color: #173d2b;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.shop-store-header p {
    margin: 0;
    color: #77847b;
    font-size: 14px;
}

.shop-store-header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid #d8e9dc;
    border-radius: 30px;
    background: #fff;
    color: #198754;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.shop-store-header a:hover {
    background: #198754;
    color: #fff;
}

.shop-store-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.shop-store-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8eee9;
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(24, 65, 42, .055);
    transition: transform .25s ease, box-shadow .25s ease,
                border-color .25s ease;
}

.shop-store-card:hover {
    transform: translateY(-5px);
    border-color: #cfe4d4;
    box-shadow: 0 14px 30px rgba(24, 65, 42, .13);
    color: inherit;
}

.shop-store-image {
    position: relative;
    height: 174px;
    overflow: hidden;
    background: #edf4ee;
}

.shop-store-image::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, .02) 35%,
        rgba(0, 0, 0, .22) 100%
    );
}

.shop-store-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.shop-store-card:hover .shop-store-image img {
    transform: scale(1.055);
}

.shop-store-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #198754;
    font-size: 48px;
    background: linear-gradient(135deg, #e8f5eb, #f8fbf8);
}

.shop-store-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 28px 15px 17px;
}

.shop-store-logo {
    position: absolute;
    top: -25px;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #edf6ef;
    color: #198754;
    font-size: 22px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

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

.shop-store-info {
    min-width: 0;
    width: 100%;
}

.shop-store-info h3 {
    overflow: hidden;
    margin: 0 0 8px;
    color: #24372b;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.shop-store-distance {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #198754;
    font-size: 12px;
    font-weight: 700;
}

.shop-store-distance i {
    font-size: 12px;
}

@media (max-width: 1100px) {
    .shop-store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .shop-by-store {
        padding: 36px 0;
    }

    .shop-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .shop-store-image {
        height: 130px;
    }

    .shop-store-content {
        gap: 8px;
        padding: 27px 10px 13px;
    }

    .shop-store-logo {
        left: 10px;
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .shop-store-info h3 {
        font-size: 14px;
        margin-bottom: 7px;
    }

    .shop-store-distance {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .shop-store-grid {
        gap: 10px;
    }

    .shop-store-image {
        height: 108px;
    }

    .shop-store-content {
        padding-right: 8px;
        padding-left: 8px;
    }

    .shop-store-logo {
        left: 8px;
    }

    .shop-store-info h3 {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-store-card,
    .shop-store-image img,
    .shop-store-header a {
        transition: none;
    }
}
