/* Store Header Styles */
.seller-header-container {
    background: linear-gradient(135deg, #d35400, #e67e22, #f39c12);
    color: white;
    padding: 6rem .8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
    border-radius: .6rem;
    position: relative;

    h1,
    p {
        padding: 0;
        margin: 0;
        color: white;
    }

    h1 {
        font-size: 2.5rem;
        font-weight: 700;
        position: relative;
        z-index: 2;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .slogan {
        font-size: 1rem;
        font-weight: bold;
    }

    .tagline {
        font-size: .8rem;
        position: relative;
        z-index: 2;
        opacity: 0.9;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    .logo {
        max-width: 150px;
        height: auto;
        border-radius: 5px;
        transition: transform 0.3s ease;
    }

    .logo:hover {
        transform: scale(1.05);
    }
}

/* Decorative circles */
.seller-header-container::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.253);
    border-radius: 50%;
    top: -150px;
    right: -50px;
    z-index: 1;
}

.seller-header-container::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -80px;
    left: -50px;
    z-index: 1;
}

/* Additional circles for more decoration */
.seller-header-container .hero-circle-1,
.seller-header-container .hero-circle-2,
.seller-header-container .hero-circle-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.151);
    z-index: 1;
}

.seller-header-container .hero-circle-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
}

.seller-header-container .hero-circle-2 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 15%;
}

.seller-header-container .hero-circle-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 20%;
}

/* Ensure content stays above circles */
.seller-header-container>* {
    position: relative;
    z-index: 2;
}

/* ===== Layout ===== */
.store-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
}

/* Listing */
.regualar-list {
    position: sticky;
    top: 6rem;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: .6rem 1rem;
    border-radius: .5rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
    background: white;
    border: 1px solid #eff3f7;

    button {
        color: var(--text-color);
        border: none;
        padding: 8px 0px;
        cursor: pointer;
        font-size: .8rem;
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 600;
        font-size: .7rem;
    }
}

.products-title {
    font-size: .865rem;
}

/* Header Group Styles */
.h-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 0;
}

/* Sort Options Container */
.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options span {
    color: #666;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

.sort-options select {
    padding: 0.4rem 2rem 0.4rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 0.7rem;
    color: #333;
    background-color: #f8f8f8;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 16px;
    transition: all 0.2s ease;
}

.sort-options select:hover {
    border-color: #d35400;
    background-color: #fff;
}

.sort-options select:focus {
    border-color: #d35400;
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
}

.sort-options select option {
    background: white;
    color: #333;
}

/* Vertical Divider */
.v-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
    display: none;
}

/* Filter Button */
#filterToggle {
    display: none;
    align-items: center;
    gap: 0.2rem;
    padding: 0.4rem .4rem;
    background: #111827;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

#filterToggle i {
    font-size: 1.1rem;
}

#filterToggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(211, 84, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Store Header Styles */
    .seller-header-container {
        padding: 4rem .4rem;

        h1 {
            font-size: 1.5rem;
        }

        .slogan {
            font-size: .9rem;
        }

        .tagline {
            font-size: .7rem;
        }
    }

    .sort-options {
        justify-content: space-between;
    }

    .sort-options select {
        flex: 1;
    }

    .v-divider {
        background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    }

    #filterToggle {
        justify-content: center;
    }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 900px) {


    .store-container {
        grid-template-columns: 1fr;
    }

    .products-header {
        flex-direction: column;
        margin-bottom: 20px;
        padding: .6rem .5rem;
    }

    .products-title {
        font-size: .865rem;
        margin-bottom: .5rem;
        display: none;
    }

    /* Header Group Styles */
    .h-group {
        justify-content: space-between;
        width: 100%;
    }

    #filterToggle {
        display: flex;
    }

    .filters {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100%;
        overflow-y: auto;
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 200;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    .filters.open {
        transform: translateX(0);
    }

    .s-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 150;
    }

    .s-overlay.active {
        display: block;
    }
}

/* Radio Buttons */
input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--mzansi-orange);
    background-color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Custom radio button inner circle */
input[type="radio"]::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--mzansi-orange);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

/* Active radio button effect */
input[type="radio"]:checked {
    border-color: var(--mzansi-orange);
    box-shadow: 0 0 6px rgba(246, 181, 59, 0.5);
}

input[type="radio"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}