/* General Vendor Card Styling */
.store-grid {
    width : 100%;
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive grid */
    gap: 13.5px; /* Gap between cards*/
    justify-content: start;
    flex-wrap:wrap;
    margin-top:5px;
}


.store-card {
    width: 19%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden; /* Ensures rounded corners apply to children */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative; /* For logo positioning */
    margin-top: 10px;
}





/*.store-card:hover {*/
/*    transform: translateY(-8px);*/
/*    box-shadow: 0 8px 20px rgba(0,0,0,0.12);*/
/*}*/





.store-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make anchor fill the card */
    width:100%;
}

/* Banner Styling */
.store-banner {
    width: 100%;
    height: 150px; /* Fixed height for banners */
    background-color: #f0f0f0; /* Placeholder background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
}
.store-banner img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Cover the area */
}
.no-banner {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
}

/* Logo Styling */
.store-logo-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: absolute;
    top: 80px; /* Position over the banner */
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.store-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.no-logo {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

/* Content below logo */
.store-card h3.store-name {
    margin-top: 80px; /* Space for the logo */
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
    text-transform:capitalize;
}

.store-card p.store-type,
.store-card p.store-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    text-transform:capitalize;
}

.store-card p:last-child {
    margin-bottom: 15px; /* Padding at the bottom of the card content */
    text-transform:capitalize;
}

/* Filter Wrapper Styling */
.store-type-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-bottom: 20px;
    justify-content:space-between;
}

.store-type-filter-wrapper select{
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    flex-grow: 1; /* Allow items to grow */
    width: 12%; /* Minimum width before wrapping */
}

.store-type-filter-wrapper input[type="text"] {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    flex-grow: 1; /* Allow items to grow */
    width: 52%; /* Minimum width before wrapping */
}




/* List Layout (if needed, though grid is primary) */
.store-grid.list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

 .store-grid.list .store-card{
    flex-direction: row;
    text-align: left;
    padding: 15px;
    align-items: center;
}

.store-grid.list .store-banner {
    display: none; /* Hide banner in list view */
}

.store-grid.list .store-logo-wrapper {
    position: static;
    transform: none;
    margin-right: 15px;
    flex-shrink: 0;
}

.store-grid.list .store-card h3.store-name {
    margin-top: 0;
}



.no-logo{
    background-color:red;
}




@media (max-width: 991px) {
    
    /* General Vendor Card Styling */

.store-card {
    width: 32%;
}

}


@media (max-width: 767px) {
    
    /* General Vendor Card Styling */
.store-card {
    width: 48.5%;
}

}


@media (max-width: 480px) {
    
    /* General Vendor Card Styling */
.store-grid{
    justify-content:center;
    margin-top:0px;
    gap:10px;
}
.store-card {
    width: 48%;
    margin-top:0px;
    box-shadow: none;
}

.store-type-filter-wrapper{
    margin-bottom:0;
}

.store-type-filter-wrapper select{
    width:20%;
    min-width:20%;
    font-size:11px;
}

.store-type-filter-wrapper input{
    padding:0;
    margin-top:6px;
    margin-bottom:8px;
    
}

.store-card p:last-child {
    margin-bottom: 0px; /* Padding at the bottom of the card content */
    font-size:12px;
}

.store-banner {
    width: 120%;
}

.store-logo-wrapper{
    height:80px;
    width:80px;
}

.store-card h3.store-name{
    margin-top:60px;
}
}