.rd-whatsapp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#rd-city-group {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
    padding: 10px;
    border-radius: 5px;
    height: 5.625rem;
    font-size: 16px;
    border: 1px solid #ddd;
}

.rd-stores-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 25px;
    color: white;
}

/* Two columns for resolutions below 1200px */
@media (max-width: 1200px) {
    .rd-stores-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rd-stores-list.short-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 25px;
    color: #fff;
  }
  

.store-item {
    width: 100%;
}

.store-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    transition: transform 0.2s,box-shadow 0.2s;
    border: 1px solid #CFCCCC;
    text-align: left;
}

.store-item a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    background: #ffffff;
 border: 1px solid #a0a0a0;
    color: #000000;
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 35px;
    background: url('../img/whatspass.png') left center / 25px no-repeat;
    min-height: 25px;
    text-align: left;
}

.store-name {
    font-weight: bold;
    font-size: 14px;
    text-align: left;
    line-height: 1.2;
}

.store-city {
    font-size: 12px;
    opacity: 1;
    text-align: left;
}

.whatsapp-icon {
    width: 25px;
    height: 25px;
    display: block;
    background: url('../img/whatspass.png') center / contain no-repeat;
}

/* Custom scrollbar for the stores list */
.rd-stores-list::-webkit-scrollbar {
    width: 8px;
}

.rd-stores-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.rd-stores-list::-webkit-scrollbar-thumb {
    background: #25D366;
    border-radius: 4px;
}

.rd-stores-list::-webkit-scrollbar-thumb:hover {
    background: #128C7E;
}

@media (max-width: 1000px) {
    #rd-city-group {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px;
        padding: 10px;
        height: 5.625rem;
        border-radius: 5px;
        font-size: 16px;
        border: 1px solid #ddd;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rd-stores-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        max-height: 400px;
        padding-right: 10px;
    }

    .store-item a {
        padding: 10px 12px;
    }

    .store-name {
        font-size: 13px;
    }

    .store-city {
        font-size: 11px;
    }

    .store-info {
        padding-left: 30px;
        background-size: 20px;
        min-height: 20px;
    }

    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }
}
