* {
    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: var(--h1-size, 48px);
    margin-bottom: 20px;
    font-weight: 800;
    color: #fff;
}

.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: 30px 0;
}

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

.featured-stores h3 {
    font-size: var(--h2-size, 32px);
    color: #002d5b;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;

}

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

.store-logo-card {
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.store-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff5e14, #ff8e53);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 53, 128, 0.08); /* deeper blueish shadow */
    border-color: transparent;
}

.store-logo-card:hover::before {
    opacity: 1;
}

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

.store-logo-box img {
    max-width: 130px;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.store-logo-card:hover img {
    transform: scale(1.05);
}

.store-desc {
    font-size: 13px;
    color: #64748b;
    margin: -10px 0 15px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 95%;
}

.store-logo-card p {
    font-size: 13px;
    color: #475569;
    margin: 0;
    font-weight: 600;
    background: #f8fafc;
    padding: 6px 15px;
    border-radius: 20px;
    width: 90%;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

.store-logo-card:hover p {
    background: #fff1eb;
    color: #ff5e14;
}

.visit-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 24px;
    background-color: #ff5e14;
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 94, 20, 0.15);
    width: 90%;
}

.visit-store-btn:hover {
    background-color: #e54d00;
    box-shadow: 0 6px 15px rgba(255, 94, 20, 0.3);
    transform: translateY(-2px);
}

/* 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;
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: fit-content;
    font-family: "Spinnaker", sans-serif;
}

.filter-card {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}


.sidebar-filter h4 {
    font-size: var(--h3-size, 24px);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

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

.sidebar-search {
    position: relative;
}

.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: #ff5e14;
    width: 38px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
}

.filter-group h5 {
    font-size: var(--body-large, 18px);
    margin-bottom: 15px;
    font-weight: 700;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 6px;
}

.custom-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    /* border: 1px solid #e5e7eb; */
    user-select: none;
}
.custom-check:hover {
    background: #e9eef5;
}

.show-more-toggle {
    display: inline-block;
    margin-top: 15px;
    color: #ff5e14;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.show-more-toggle:hover {
    text-decoration: underline;
}

.custom-check input {
    display: none;
}
.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ff5e14;
    border-radius: 5px;
    position: relative;
}
.custom-check input:checked + .checkmark {
    background: #ff5e14;
}
.custom-check input:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    position: absolute;
    top: -2px;
    left: 3px;
}



.custom-check input:checked ~ * {
    font-weight: 600;
}
.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: var(--h2-size, 32px);
    margin: 0;
    font-weight: 700;
    color: #333;
}

/* Custom Premium Dropdown System */
.sort-by {
    position: relative;
    width: 210px;
    font-family: inherit;
}

#sort-filter {
    display: none; /* Hide original select */
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    z-index: 100;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #ffffff;
    border: 1.5px solid #ff5e14;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 94, 20, 0.08);
}

.custom-select-trigger:hover {
    box-shadow: 0 6px 20px rgba(255, 94, 20, 0.15);
    transform: translateY(-1px);
    background: #fff;
}

.custom-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.custom-select-wrapper.active .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.custom-option {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: #fff5f0;
    color: #ff5e14;
    padding-left: 22px;
}

.custom-option.selected {
    background: #ff5e14;
    color: #ffffff;
    font-weight: 700;
}

.trigger-icon {
    font-size: 11px;
    transition: transform 0.4s ease;
    color: #ff5e14;
}

.custom-select-wrapper.active .trigger-icon {
    transform: rotate(180deg);
}

.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: #ff5e14;
    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: 700;
    color: #000;
    font-size: var(--h3-size, 24px);
    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: #ff5e14;
    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: var(--body-default, 16px);
    color: #000;
    line-height: 1.6;
    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: #ff5e14;
    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;
    }
}
