/* General Vendor Card Styling */
.store-grid {
    width : 100%;
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive grid */
    gap: 10px; /* Gap between cards*/
    margin-top: 20px;
    flex-wrap:wrap;
}

.store-card {
    width: 24%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    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 */
}

.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 */
}

/* 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 */
}

.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: 100px; /* 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: 60px; /* Space for the logo */
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.store-card p.store-type,
.store-card p.store-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.store-card p:last-child {
    margin-bottom: 15px; /* Padding at the bottom of the card content */
}

/* Filter Wrapper Styling */
.store-type-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.store-type-filter-wrapper select,
.store-type-filter-wrapper input[type="text"] {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    flex-grow: 1; /* Allow items to grow */
    min-width: 180px; /* 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;
}