* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* explore-stores.css */
.explore-stores-section {
    width: 100%;
    font-family: "Spinnaker", sans-serif;
}

.stores-header {
    background-color: #002d5b;
    /* Dark blue from design */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.stores-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 500;
}

.stores-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.5;
}

.featured-stores {
    background-color: #ffffff;
    padding: 60px 0;
}

.featured-stores .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-stores h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 400;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.store-logo-card {
    background-color: #ffffff;
    border: 1px solid #dde4ec;
    /* Light blueish grey border */
    border-radius: 12px;
    padding: 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 140px;
}

.store-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.store-logo-box {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.store-logo-box img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
}

.store-logo-card p {
    font-size: 14px;
    color: #002d5b;
    margin: 0;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .stores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .stores-grid {
        grid-template-columns: 1fr;
    }
}

/* Browse All Stores Section */
.browse-all-stores {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.browse-all-stores .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

/* Sidebar */
.sidebar-filter {
    flex: 0 0 280px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
    font-family: "Spinnaker", sans-serif;
}

.sidebar-filter h4 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.clear-all {
    font-size: 14px;
    color: #4c9eeb;
    text-decoration: none;
    font-weight: normal;
}

.sidebar-search {
    position: relative;
    margin-bottom: 25px;
}

.sidebar-search input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #dde4ec;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.sidebar-search .search-icon {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    background: #007bff;
    width: 38px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
}

.filter-group h5 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
}

.filter-list li input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #002d5b;
}

/* Main Content Area */
.main-browse-content {
    flex: 1;
    font-family: "Spinnaker", sans-serif;
}

.breadcrumb {
    font-size: 15px;
    color: #888;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
}

.browse-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.browse-header h2 {
    font-size: 34px;
    margin: 0;
    font-weight: 500;
    color: #333;
}

.sort-by select {
    padding: 8px 15px;
    border: 1px solid #002d5b;
    border-radius: 4px;
    color: #002d5b;
    font-family: inherit;
    cursor: pointer;
    background: #fff;
}

.stores-alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.stores-alphabet-filter span {
    font-size: 16px;
    color: #666;
    cursor: pointer;
}

.stores-alphabet-filter span.active {
    color: #002d5b;
    font-weight: bold;
}

/* Store List Card */
.store-list-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    gap: 35px;
    margin-bottom: 25px;
    border: 1px solid #ededed;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.store-card-logo-aside {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
}

.logo-container {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    flex: 1;
}

.logo-container img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

.store-card-title {
    text-align: center;
    font-weight: 500;
    color: #000;
    font-size: 22px;
    padding: 10px;
    border-top: 1px solid #eaeaea;
    background-color: #fff;
}

.store-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.details-top-row {
    margin-bottom: 12px;
}

.votes-pill {
    background: #002d5b;
    color: #fff;
    padding: 4px 5px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.votes-pill i {
    cursor: pointer;
    font-size: 12px;
}

.store-card-intro {
    font-size: 14px;
    color: #000;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 400;
    max-width: 95%;
}

.store-meta-info {
    display: flex;
    gap: 40px;
    margin-bottom: 10px;
}

.info-point {
    font-size: 12px;
    color: #8e8e8e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-point i {
    font-size: 12px;
    color: #b2b2b2;
}

.store-stats-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #8e8e8e;
}

.stat-item i {
    font-size: 12px;
    color: #b2b2b2;
}

.trending-badge {
    border: 1px solid #002d5b;
    color: #002d5b;
    padding: 4px 15px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 400;
}

.details-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 15px;
}

.details-toggle {
    color: #333;
    text-decoration: underline;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-icons {
    font-size: 11px;
    display: flex;
    gap: 20px;
}

.action-icons i {
    color: #002d5b;
    font-size: 15px;
    cursor: pointer;
}

.card-bottom-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all-button {
    background: #002d5b;
    color: #fff;
    border: none;
    padding: 4px 20px 4px 4px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.view-all-button:hover {
    background: #003d7a;
}

.button-icon-circle {
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.posting-status {
    background: #f4f8fb;
    border: 1px solid #002d5b;
    color: #002d5b;
    padding: 6px 18px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 400;
}

.exclusive-badge {
    display: none;
    /* Removed as we use trending badge now */
}

@media (max-width: 1100px) {
    .browse-all-stores .container {
        flex-direction: column;
    }

    .sidebar-filter {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .store-list-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .store-card-logo-aside {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .store-card-intro {
        max-width: 100%;
        font-size: 16px;
    }

    .store-meta-info,
    .store-stats-row {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .details-actions {
        justify-content: center;
    }

    .card-bottom-row {
        flex-direction: column;
        gap: 20px;
    }

    .view-all-button {
        width: 100%;
        justify-content: center;
    }

    .posting-status {
        width: 100%;
        text-align: center;
    }
}
