*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial;
}

body{
    background:#e5e0ea;
}

/* HEADER */
header{
    width:100%;
    min-height:80px;
    background:#4b0081;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:12px 40px;
    flex-wrap:wrap;
}

.header-center{
    flex:1;
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.header-location{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 12px;
    background:rgba(255,255,255,0.15);
    border:1px solid rgba(255,255,255,0.45);
    border-radius:5px;
    color:#fff;
    font-size:13px;
    font-weight:bold;
    white-space:nowrap;
    flex-shrink:0;
}

.header-globe{
    font-size:16px;
    line-height:1;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
    margin-left:auto;
}

.header-seller-identity{
    display:flex;
    align-items:center;
    gap:10px;
    max-width:320px;
}

.header-seller-name,
.header-company-name,
.header-buyer-name{
    padding:0 4px;
    color:#fff;
    font-size:14px;
    font-weight:bold;
    white-space:nowrap;
    max-width:220px;
    overflow:hidden;
    text-overflow:ellipsis;
}

.header-logout-link{
    padding:0 4px;
    color:#fff;
    font-size:13px;
    font-weight:bold;
    text-decoration:none;
    white-space:nowrap;
}

.header-logout-link:hover{
    color:#fff;
    opacity:0.85;
    text-decoration:underline;
}

.header-company-btn{
    padding:4px 10px;
    border:1px solid rgba(255,255,255,0.65);
    border-radius:5px;
    background:rgba(255,255,255,0.12);
    color:#fff;
    font-size:14px;
    font-weight:bold;
    cursor:pointer;
    white-space:nowrap;
    max-width:180px;
    overflow:hidden;
    text-overflow:ellipsis;
}

a.header-company-link{
    display:inline-block;
    text-decoration:none;
}

.header-company-btn:hover,
a.header-company-link:hover{
    background:rgba(255,255,255,0.22);
}

.header-login-toast{
    padding:6px 12px;
    color:#fff;
    font-size:13px;
    font-weight:bold;
    white-space:nowrap;
    background:rgba(255,255,255,0.2);
    border-radius:5px;
    border:1px solid rgba(255,255,255,0.4);
    transition:opacity 0.4s ease;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.logo a{
    display:flex;
    align-items:center;
    color:white;
    text-decoration:none;
}

.logo img{
    width:50px;
    margin-right:10px;
}

.logo h2{
    font-size:32px;
    color:white;
    white-space:nowrap;
}

/* HEADER SEARCH */
.header-search{
    flex:1;
    display:flex;
    align-items:stretch;
    max-width:520px;
    min-width:200px;
}

.search-type{
    padding:0 10px;
    border:2px solid #fff;
    border-right:none;
    border-radius:5px 0 0 5px;
    background:#fff;
    color:#2d2650;
    font-size:14px;
    font-weight:bold;
    cursor:pointer;
    outline:none;
}

.search-input{
    flex:1;
    min-width:0;
    padding:10px 14px;
    border:2px solid #fff;
    border-left:none;
    border-right:none;
    font-size:14px;
    outline:none;
}

.search-input:focus{
    border-color:#cfe2ff;
    box-shadow:inset 0 0 0 1px #c9a5e1;
}

.search-btn{
    padding:10px 18px;
    border:2px solid #fff;
    border-left:none;
    border-radius:0 5px 5px 0;
    background:#c9a5e1;
    color:#fff;
    font-size:14px;
    font-weight:bold;
    cursor:pointer;
    white-space:nowrap;
    transition:background 0.2s ease;
}

.search-btn:hover{
    background:#c9a5e1;
}

@media (max-width: 900px){
    .header-center{
        flex:1 1 100%;
        flex-wrap:wrap;
    }

    .header-search{
        flex:1 1 100%;
        max-width:none;
    }

    .header-actions{
        flex:1 1 100%;
        justify-content:flex-end;
    }

    header{
        padding:12px 20px;
    }
}

/* LOGIN */
.login-box button{
    padding:10px 20px;
    border:none;
    background:white;
    color:#c9a5e1;
    font-weight:bold;
    cursor:pointer;
    border-radius:5px;
}

.login-box button:hover{
    background:#ddd;
}

/* CATEGORY SECTION */
.category-section{
    --banner-height:clamp(200px, 32vw, 360px);
    background:rgb(183, 167, 218);
    width:90%;
    margin:20px auto 0;
    padding:12px;
    border-radius:8px;
}

.category-section-inner{
    display:flex;
    flex-direction:row;
    align-items:stretch;
    gap:12px;
    height:var(--banner-height);
}

.category-main{
    flex:1;
    display:flex;
    align-items:stretch;
    gap:12px;
    min-width:0;
    height:100%;
}

.header-actions a{
    text-decoration:none;
}

.header-btn{
    padding:8px 12px;
    border:none;
    background:#c9a5e1;
    color:#fff;
    font-size:15px;
    font-weight:bold;
    letter-spacing:0.5px;
    border-radius:5px;
    cursor:pointer;
    white-space:nowrap;
    flex-shrink:0;
    display:inline-block;
}

.header-btn:hover{
    background:#0b5ed7;
}

/* CATEGORY BOX — left list + right sub-categories */
.category-box{
    --cat-row-height:2.65rem;
    position:relative;
    width:min(360px, 38%);
    min-width:280px;
    flex-shrink:0;
    align-self:stretch;
    height:100%;
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid #ddd;
    border-radius:6px;
    overflow:hidden;
}

.category-browser-head{
    padding:10px 12px;
    background:#4b0081;
    color:#fff;
    font-size:14px;
    font-weight:bold;
    letter-spacing:0.5px;
    text-align:center;
    flex-shrink:0;
}

.category-browser-body{
    display:flex;
    flex:1;
    min-height:0;
    height:100%;
    overflow:hidden;
    align-items:stretch;
}

.category-list-left{
    list-style:none;
    width:42%;
    flex-shrink:0;
    margin:0;
    padding:0;
    height:100%;
    max-height:100%;
    overflow-x:hidden;
    overflow-y:auto;
    border-right:1px solid #e1dddd;
    background:#faf8fc;
    scrollbar-width:thin;
    scrollbar-color:#7e3cc4 #f3eef8;
}

.category-list-left::-webkit-scrollbar{
    width:6px;
}

.category-list-left::-webkit-scrollbar-thumb{
    background:#7e3cc4;
    border-radius:4px;
}

.category-list-left li{
    border-bottom:1px solid #e8e4ef;
}

.category-list-btn{
    display:block;
    width:100%;
    min-height:var(--cat-row-height, 2.65rem);
    padding:10px;
    box-sizing:border-box;
    border:none;
    background:transparent;
    color:#2d2650;
    font-size:13px;
    font-weight:bold;
    text-align:left;
    cursor:pointer;
    line-height:1.3;
    transition:background 0.2s ease, color 0.2s ease;
}

.category-list-btn:hover{
    background:#f3eef8;
    color:#4b0081;
}

.category-list-btn.is-active{
    background:#dfd9ee;
    color:#4b0081;
    border-left:3px solid #4b0081;
}

.category-sub-panel{
    flex:1;
    min-width:0;
    height:100%;
    max-height:100%;
    padding:12px 10px;
    overflow-x:hidden;
    overflow-y:auto;
    background:#fff;
    scrollbar-width:thin;
    scrollbar-color:#7e3cc4 #f3eef8;
}

.category-sub-panel::-webkit-scrollbar{
    width:6px;
}

.category-sub-panel::-webkit-scrollbar-thumb{
    background:#7e3cc4;
    border-radius:4px;
}

.category-sub-placeholder{
    font-size:13px;
    color:#5a4f7a;
    margin:0;
    padding:4px 0;
}

.category-sub-panel-item{
    display:none;
}

.category-sub-panel-item.is-active{
    display:block;
}

.category-sub-title{
    margin:0 0 10px;
    font-size:14px;
    color:#4b0081;
}

.category-sub-list{
    list-style:none;
    margin:0;
    padding:0;
}

.category-sub-list li{
    padding:6px 0;
    border-bottom:1px solid #f0eaf5;
}

.category-sub-list li:last-child{
    border-bottom:none;
}

.category-sub-list a{
    color:#2d2650;
    text-decoration:none;
    font-size:13px;
    display:block;
}

.category-sub-list a:hover{
    color:#0d6efd;
}

.category-no-subs,
.category-item-empty{
    font-size:13px;
    color:#5a4f7a;
    margin:0;
    padding:12px;
}

/* SITE AD BANNERS (admin AD BANNER 1–4) */
.site-ad-banners{
    width:90%;
    margin:20px auto 0;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.site-ad-banners--after-hero{
    margin-top:12px;
    margin-bottom:8px;
}

.site-ad-banners--below-hero{
    margin-top:20px;
}

main .hero{
    margin-top:24px;
    margin-bottom:4px;
}

main .hero h1,
main .hero p{
    color:#074290;
}

/* World marketplace banner (below hero) */
.world-marketplace-banner{
    width:90%;
    margin:20px auto 0;
    background:#074290;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(7,66,144,0.35);
}

.world-marketplace-banner-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:28px 32px;
    min-height:160px;
}

.world-marketplace-banner-media{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    max-width:42%;
    margin-left:32px;
    padding-left:16px;
}

.world-marketplace-banner-img{
    display:block;
    max-width:100%;
    max-height:200px;
    width:auto;
    height:auto;
    object-fit:contain;
}

.world-marketplace-banner-text{
    flex:1;
    margin:0;
    color:#fff;
    font-size:clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight:bold;
    line-height:1.25;
    letter-spacing:0.02em;
    text-align:right;
}

@media (max-width: 768px){
    .world-marketplace-banner-inner{
        flex-direction:column;
        text-align:center;
        padding:24px 20px;
    }

    .world-marketplace-banner-media{
        max-width:100%;
        margin-left:0;
        padding-left:0;
    }

    .world-marketplace-banner-text{
        text-align:center;
        font-size:1.35rem;
    }
}

.site-ad-banner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:20px 24px;
    background:#fff;
    border-radius:8px;
    border:1px solid #e5d8f0;
    box-shadow:0 4px 16px rgba(75,0,129,0.08);
    min-height:140px;
}

/* AD BANNER 1–5 — golden border and shadow */
.site-ad-banner--slot-1,
.site-ad-banner--slot-2,
.site-ad-banner--slot-3,
.site-ad-banner--slot-4,
.site-ad-banner--slot-5{
    border:3px solid #D4AF37;
    border-radius:10px;
    background:linear-gradient(180deg, #fffef8 0%, #fff 100%);
    box-shadow:
        0 0 0 1px rgba(212,175,55,0.35),
        0 8px 24px rgba(180,140,30,0.28),
        0 16px 40px rgba(120,90,20,0.12);
}

.site-ad-banner--slot-1 .site-ad-banner-media img,
.site-ad-banner--slot-2 .site-ad-banner-media img,
.site-ad-banner--slot-3 .site-ad-banner-media img,
.site-ad-banner--slot-4 .site-ad-banner-media img,
.site-ad-banner--slot-5 .site-ad-banner-media img{
    border:1px solid rgba(212,175,55,0.45);
    box-shadow:0 4px 12px rgba(180,140,30,0.2);
}

.site-ad-banner-text{
    flex:1;
    min-width:0;
    line-height:1.55;
    font-weight:normal;
}

.site-ad-banner-media{
    flex:0 0 42%;
    max-width:420px;
    min-width:160px;
}

.site-ad-banner-media img{
    width:100%;
    max-height:220px;
    object-fit:contain;
    border-radius:6px;
    display:block;
}

.site-ad-banner--text-left{
    flex-direction:row;
}

.site-ad-banner--image-left{
    flex-direction:row;
}

/* PRODUCT SHOW sections (admin PRODUCT SHOW 1–4) */
.site-product-shows{
    width:90%;
    margin:28px auto 0;
    display:flex;
    flex-direction:column;
    gap:32px;
}

.site-product-shows--before-ad-banner-1{
    margin-top:12px;
    margin-bottom:8px;
}

.site-product-shows--below-ads{
    margin-top:24px;
}

.site-product-show{
    padding:20px 0 8px;
}

.site-product-show-heading{
    margin:0 0 18px;
    font-weight:bold;
    text-align:center;
}

.site-product-show-grid{
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:14px;
}

.site-product-show-card{
    border:2px solid #D4AF37;
    border-radius:10px;
    background:linear-gradient(180deg, #fffef8 0%, #fff 100%);
    box-shadow:
        0 0 0 1px rgba(212,175,55,0.35),
        0 6px 18px rgba(180,140,30,0.2);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:100%;
}

.site-product-show-card-image{
    aspect-ratio:4/3;
    background:#f8f4fc;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.site-product-show-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.site-product-show-no-image{
    color:#888;
    font-size:14px;
}

.site-product-show-card-body{
    padding:10px 10px 12px;
    font-size:12px;
    line-height:1.4;
}

.site-product-show-name{
    margin:0 0 6px;
    font-size:13px;
    color:#4b0081;
}

.site-product-show-price,
.site-product-show-category,
.site-product-show-origin{
    margin:0 0 4px;
    color:#333;
}

@media (max-width: 1200px){
    .site-product-show-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px){
    .site-product-show-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px){
    .site-product-show-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width: 768px){
    .site-ad-banner{
        flex-direction:column !important;
        text-align:center;
    }

    .site-ad-banner-media{
        flex:1 1 auto;
        max-width:100%;
        width:100%;
    }
}

/* Empty admin sections — visible until content is configured */
.site-content-placeholder{
    padding:28px 24px;
    background:#fff;
    border:2px dashed #b8a0d4;
    border-radius:10px;
    text-align:center;
    box-shadow:0 4px 16px rgba(75,0,129,0.06);
}

.site-content-placeholder-title{
    margin:0 0 8px;
    font-size:18px;
    font-weight:bold;
    color:#4b0081;
}

.site-content-placeholder-text{
    margin:0;
    font-size:14px;
    line-height:1.5;
    color:#5a4f7a;
}

main{
    width:90%;
    margin:0 auto 24px;
}

@media (max-width: 992px){
    .category-section{
        --banner-height:auto;
    }

    .category-section-inner{
        flex-direction:column;
        height:auto;
    }

    .category-main{
        flex-direction:column;
        height:auto;
    }

    .category-box{
        width:100%;
        min-width:0;
        max-height:320px;
    }

    .slider-wrap{
        width:100%;
        height:clamp(200px, 45vw, 300px);
    }

    .seller-signup-box{
        width:100%;
        min-height:140px;
    }
}

/* SLIDER (slidingphotos) */
.slider-wrap{
    flex:1;
    display:flex;
    align-items:stretch;
    min-width:0;
    height:100%;
}

.slider{
    position:relative;
    width:100%;
    height:100%;
    border-radius:8px;
    overflow:hidden;
    background:#c4b6e3;
    box-shadow:0 8px 24px rgba(0,0,0,0.12);
}

.slider-track{
    display:flex;
    height:100%;
    transition:transform 0.65s ease-in-out;
    will-change:transform;
}

.slider .slide{
    flex:0 0 100%;
    min-width:0;
    height:100%;
}

.slider .slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.slider-placeholder{
    width:100%;
    height:100%;
    margin:0;
    padding:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#4a3f6b;
    font-size:14px;
    line-height:1.5;
    background:rgba(255,255,255,0.35);
    border-radius:8px;
}

/* SELLER SIGNUP BOX */
.seller-signup-box{
    width:min(240px, 28%);
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    background:#f2e0f6;
    border-radius:8px;
    cursor:pointer;
    padding:16px;
    box-shadow:0 8px 24px rgba(0,0,0,0.12);
}

.seller-signup-title{
    font-size:16px;
    font-weight:bold;
    color:#2d2650;
    letter-spacing:0.5px;
    line-height:1.3;
}

.seller-signup-text{
    font-size:13px;
    color:#5a4f7a;
    line-height:1.4;
    margin-top:8px;
}

.join-now-btn{
    width:100%;
    margin-top:auto;
    padding:10px 16px;
    border:none;
    background:#0d6efd;
    color:#fff;
    font-size:14px;
    font-weight:bold;
    letter-spacing:0.5px;
    border-radius:5px;
    cursor:pointer;
    transition:background 0.2s ease, transform 0.2s ease;
}

.join-now-btn:hover{
    background:#0b5ed7;
    transform:translateY(-1px);
}

.slider-folder{
    font-weight:bold;
    color:#2d2650;
}

/* SIGN UP MODAL */
.modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:2000;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.modal.is-open{
    display:flex;
}

.modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
}

.modal-dialog{
    position:relative;
    z-index:1;
    width:min(420px,100%);
    max-height:90vh;
    overflow-y:auto;
    background:#fff;
    border-radius:10px;
    padding:28px 24px 24px;
    box-shadow:0 16px 48px rgba(0,0,0,0.2);
}

.modal-close{
    position:absolute;
    top:10px;
    right:14px;
    border:none;
    background:transparent;
    font-size:28px;
    line-height:1;
    color:#666;
    cursor:pointer;
}

.modal-close:hover{
    color:#000;
}

.modal-dialog h2{
    margin-bottom:18px;
    color:#2d2650;
    font-size:22px;
}

.signup-alert{
    padding:10px 12px;
    border-radius:6px;
    margin-bottom:14px;
    font-size:14px;
}

.signup-success{
    background:#d1e7dd;
    color:#0f5132;
}

.signup-error{
    background:#f8d7da;
    color:#842029;
}

.signup-form label{
    display:block;
    margin-bottom:14px;
    font-size:14px;
    font-weight:bold;
    color:#333;
}

.signup-form input{
    display:block;
    width:100%;
    margin-top:6px;
    padding:10px 12px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:14px;
    font-weight:normal;
}

.signup-form input:focus{
    outline:none;
    border-color:#0d6efd;
}

.signup-submit{
    width:100%;
    margin-top:6px;
    padding:12px;
    border:none;
    background:#a489dd;
    color:#fff;
    font-size:16px;
    font-weight:bold;
    border-radius:5px;
    cursor:pointer;
}

.signup-submit:hover{
    background:#9070c8;
}

/* SELLER OTP MODAL */
.seller-otp-step.is-hidden{
    display:none;
}

.seller-otp-label{
    display:block;
    font-size:14px;
    font-weight:bold;
    color:#333;
    margin-bottom:8px;
}

.phone-row{
    display:flex;
    gap:8px;
    margin-bottom:14px;
}

.country-code-select{
    flex:0 0 100px;
    padding:10px 8px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:14px;
    background:#fff;
}

.seller-mobile-input,
.seller-otp-code-input{
    flex:1;
    width:100%;
    padding:10px 12px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:14px;
}

.seller-otp-code-input{
    margin-bottom:14px;
}

.seller-otp-action-btn{
    width:100%;
    padding:12px;
    border:none;
    background:#0d6efd;
    color:#fff;
    font-size:15px;
    font-weight:bold;
    border-radius:5px;
    cursor:pointer;
    transition:background 0.2s ease;
}

.seller-otp-action-btn:hover:not(:disabled){
    background:#0b5ed7;
}

.seller-otp-action-btn:disabled{
    opacity:0.7;
    cursor:not-allowed;
}

.seller-otp-link-btn{
    display:block;
    width:100%;
    margin-top:10px;
    padding:8px;
    border:none;
    background:transparent;
    color:#0d6efd;
    font-size:14px;
    font-weight:bold;
    cursor:pointer;
}

.seller-otp-link-btn:hover{
    text-decoration:underline;
}

.seller-otp-sent-text{
    font-size:14px;
    color:#5a4f7a;
    margin-bottom:14px;
}

.seller-otp-hint{
    margin:0 0 14px;
    font-size:13px;
    line-height:1.45;
    color:#5a4f7a;
    text-align:center;
}

.seller-otp-msg{
    margin-top:12px;
    font-size:13px;
    line-height:1.4;
    color:#5a4f7a;
}

.seller-otp-msg.is-error{
    color:#842029;
}

.seller-otp-msg.is-success{
    color:#0f5132;
}

.otp-display-box{
    margin:12px 0 14px;
    padding:14px;
    text-align:center;
    background:#e8f4fd;
    border:2px dashed #0d6efd;
    border-radius:8px;
    font-size:28px;
    font-weight:bold;
    letter-spacing:6px;
    color:#0d6efd;
}

.otp-display-box.is-hidden{
    display:none;
}

.otp-display-box::before{
    content:"Your OTP: ";
    display:block;
    font-size:12px;
    font-weight:bold;
    letter-spacing:0;
    color:#2d2650;
    margin-bottom:6px;
}

.seller-success-banner{
    width:90%;
    margin:16px auto 0;
    padding:12px 16px;
    background:#d1e7dd;
    color:#0f5132;
    border-radius:6px;
    text-align:center;
    font-weight:bold;
    transition:opacity 0.4s ease;
}

/* SELLER REGISTER PAGE */
.seller-register-page{
    background:#e5e0ea;
}

.seller-register-topbar{
    width:90%;
    margin:24px auto 0;
    padding:20px 24px;
    background:#7e3cc4;
    color:#fff;
    border-radius:8px 8px 0 0;
}

.seller-register-topbar h1{
    font-size:24px;
    margin-bottom:6px;
}

.seller-register-topbar p{
    font-size:14px;
    opacity:0.95;
}

.member-payment-topbar{
    background:#44067a;
}

.member-payment-main{
    max-width:960px;
    text-align:center;
}

.membership-plans-table-wrap{
    overflow-x:auto;
    margin:0 0 28px;
    border:1px solid #e5d8f0;
    border-radius:10px;
    background:#fff;
    box-shadow:0 4px 16px rgba(75,0,129,0.08);
}

.membership-plans-table{
    width:100%;
    border-collapse:collapse;
    min-width:640px;
    font-size:14px;
}

.membership-plans-table th,
.membership-plans-table td{
    border:1px solid #e8e4ef;
    padding:12px 14px;
    text-align:center;
    vertical-align:middle;
}

.membership-plans-table thead th{
    background:#f8f4fc;
    color:#2d2650;
    font-weight:bold;
    font-size:15px;
}

.membership-plans-table tbody th[scope="row"]{
    text-align:left;
    background:#faf8fc;
    color:#4b0081;
    font-weight:bold;
}

.membership-plans-table-price td strong{
    font-size:16px;
    color:#4b0081;
}

.membership-plans-tax{
    font-size:12px;
    color:#5a4f7a;
    font-weight:normal;
}

.member-payment-extra{
    margin:24px 0 0;
    padding:18px 20px;
    background:#fff;
    border:1px solid #e5d8f0;
    border-radius:8px;
    line-height:1.6;
    text-align:left;
}

.member-payment-plans{
    display:flex;
    flex-wrap:wrap;
    align-items:stretch;
    justify-content:center;
    gap:16px;
    margin:0 0 8px;
}

.member-payment-plan-form{
    margin:0;
}

.member-payment-plan-link{
    text-decoration:none;
    text-align:center;
}

.member-payment-plan-link:hover{
    color:#fff;
    text-decoration:none;
}

.member-payment-plan-btn.is-disabled{
    opacity:0.55;
    cursor:not-allowed;
    pointer-events:none;
}

.member-payment-plan-payu{
    font-size:11px;
    font-weight:600;
    opacity:0.9;
}

.member-payment-payu-note{
    margin:12px 0 0;
    font-size:13px;
    color:#5a4f7a;
}

.payu-redirect-main{
    text-align:center;
    padding:40px 24px;
}

.payu-redirect-main h1{
    color:#4b0081;
    margin-bottom:12px;
}

.payu-redirect-hint{
    margin-bottom:20px;
    color:#5a4f7a;
}

.membership-register-main{
    max-width:640px;
    text-align:center;
}

.membership-register-amount-box{
    margin:0 0 28px;
    padding:32px 24px;
    border-radius:12px;
    color:#fff;
    box-shadow:0 10px 28px rgba(0,0,0,0.15);
}

.membership-register-amount-box--golden{
    background:linear-gradient(135deg, #a67c00 0%, #e8c547 50%, #c9a227 100%);
    color:#1a1200;
}

.membership-register-amount-box--platinum{
    background:linear-gradient(135deg, #4a5568 0%, #c0c8d4 45%, #6b7b8c 100%);
    color:#1a1f28;
}

.membership-register-amount-label{
    margin:0 0 8px;
    font-size:16px;
    font-weight:600;
    letter-spacing:0.5px;
    text-transform:uppercase;
}

.membership-register-amount-value{
    margin:0;
    font-size:clamp(2rem, 6vw, 3rem);
    font-weight:bold;
    line-height:1.15;
}

.membership-register-amount-note{
    margin:12px 0 0;
    font-size:14px;
    opacity:0.9;
}

.membership-register-summary{
    margin:0 0 28px;
    padding:20px 22px;
    background:#fff;
    border:1px solid #e5d8f0;
    border-radius:10px;
    text-align:left;
}

.membership-register-summary h2{
    margin:0 0 12px;
    font-size:18px;
    color:#4b0081;
}

.membership-register-summary ul{
    margin:0;
    padding-left:22px;
    line-height:1.6;
    color:#333;
}

.membership-register-seller{
    margin:14px 0 0;
    font-size:14px;
    color:#5a4f7a;
}

.membership-register-proceed-form{
    margin:0 0 20px;
}

.membership-register-proceed-form .member-payment-plan-btn{
    min-width:min(100%, 320px);
    padding:16px 24px;
    font-size:16px;
}

.membership-register-payu-loading{
    padding:24px 0;
}

.membership-register-payu-instruction{
    margin:0 0 24px;
    padding:18px 20px;
    background:#e8f4fd;
    border:2px solid #074290;
    border-radius:10px;
    text-align:center;
}

.membership-register-payu-instruction p{
    margin:0 0 8px;
    font-size:15px;
    color:#2d2650;
}

.membership-register-payu-enter-amount{
    margin:8px 0 !important;
    font-size:clamp(1.75rem, 5vw, 2.5rem) !important;
    font-weight:bold;
    color:#074290 !important;
}

.membership-register-payu-instruction-note{
    font-size:13px !important;
    color:#5a4f7a !important;
    margin-top:10px !important;
}

.member-payment-plan-btn{
    min-width:140px;
    padding:14px 20px;
    border:none;
    border-radius:8px;
    font-size:15px;
    font-weight:bold;
    letter-spacing:0.4px;
    cursor:pointer;
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    transition:transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.member-payment-plan-price{
    font-size:12px;
    font-weight:600;
    opacity:0.95;
}

.member-payment-plan-btn--golden .member-payment-plan-price,
.member-payment-plan-btn--platinum .member-payment-plan-price{
    color:inherit;
}

.member-payment-plan-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.18);
}

.member-payment-plan-btn--free{
    background:#198754;
}

.member-payment-plan-btn--golden{
    background:linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #a67c00 100%);
    color:#1a1200;
}

.member-payment-plan-btn--platinum{
    background:linear-gradient(135deg, #6b7b8c 0%, #c0c8d4 45%, #4a5568 100%);
}

.member-payment-alert{
    margin:0 0 20px;
    padding:12px 16px;
    border-radius:8px;
    font-size:14px;
    text-align:center;
}

.member-payment-alert-success{
    background:#d1e7dd;
    color:#0f5132;
    border:1px solid #badbcc;
}

.member-payment-alert-error{
    background:#f8d7da;
    color:#842029;
    border:1px solid #f5c2c7;
}

.member-payment-back{
    margin-top:28px;
    text-align:center;
}

.member-payment-back a{
    color:#5824bf;
    font-weight:600;
    text-decoration:none;
}

.member-payment-back a:hover{
    text-decoration:underline;
}

.seller-register-main{
    width:90%;
    max-width:720px;
    margin:0 auto 40px;
    padding:28px 24px 32px;
    background:#fff;
    border-radius:0 0 8px 8px;
    box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

.seller-register-form label{
    display:block;
    margin-bottom:16px;
    font-size:14px;
    font-weight:bold;
    color:#333;
}

.seller-register-form input{
    display:block;
    width:100%;
    margin-top:6px;
    padding:10px 12px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:14px;
    font-weight:normal;
}

.seller-register-form input:focus{
    outline:none;
    border-color:#0d6efd;
}

.seller-register-form input[readonly],
.seller-register-form textarea[readonly]{
    background:#f5f5f5;
    color:#555;
}

.seller-register-form textarea,
.seller-register-form select{
    display:block;
    width:100%;
    margin-top:6px;
    padding:10px 12px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:14px;
    font-weight:normal;
}

.seller-register-form textarea{
    min-height:100px;
    resize:vertical;
}

.seller-listings-table{
    width:100%;
    border-collapse:collapse;
    margin-top:28px;
    font-size:14px;
}

.seller-listings-table th,
.seller-listings-table td{
    padding:10px 12px;
    border:1px solid #e5e0ea;
    text-align:left;
}

.seller-listings-table th{
    background:#f3eef8;
    color:#2d2650;
}

.form-row-two{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-bottom:16px;
}

.form-row-two label{
    margin-bottom:0;
}

@media (max-width: 560px){
    .form-row-two{
        grid-template-columns:1fr;
    }
}

.product-image-upload-wrap{
    margin-bottom:20px;
}

.product-image-upload-place{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:24px 16px;
    border:2px dashed #7e3cc4;
    border-radius:8px;
    background:#faf8fc;
    cursor:pointer;
    text-align:center;
}

.product-image-upload-place:hover{
    background:#f3eef8;
}

.product-image-input{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    border:0;
}

.product-image-click-text{
    display:block;
    font-size:16px;
    font-weight:bold;
    color:#000;
}

.product-image-formats{
    display:block;
    font-size:13px;
    font-weight:normal;
    color:#5a4f7a;
}

.product-image-filename{
    margin-top:8px;
    font-size:13px;
    color:#2d2650;
    font-weight:normal;
    min-height:18px;
}

.listing-form-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:8px;
}

.listing-form-actions .save-details-btn{
    flex:1;
    min-width:160px;
    margin-top:0;
}

.listing-reset-btn{
    flex:1;
    min-width:120px;
    padding:14px;
    border:2px solid #7e3cc4;
    background:#fff;
    color:#4b0081;
    font-size:16px;
    font-weight:bold;
    border-radius:5px;
    cursor:pointer;
    transition:background 0.2s ease, color 0.2s ease;
}

.listing-reset-btn:hover{
    background:#f3eef8;
}

.listing-added-toast{
    padding:14px 18px;
    margin-bottom:18px;
    background:#d1e7dd;
    color:#0f5132;
    border:1px solid #badbcc;
    border-radius:6px;
    font-size:15px;
    font-weight:bold;
    text-align:center;
    transition:opacity 0.4s ease;
}

.listing-added-toast.is-hidden{
    opacity:0;
    pointer-events:none;
}

.listing-thumb{
    width:48px;
    height:48px;
    object-fit:cover;
    border-radius:4px;
    border:1px solid #e5e0ea;
}

/* SELLER MENU POPUP */
.seller-menu-dialog{
    position:relative;
    z-index:1;
    width:min(720px,100%);
    max-height:90vh;
    overflow-y:auto;
    background:#E4D8F0;
    border:2px solid #7e3cc4;
    border-radius:10px;
    padding:28px 24px 24px;
    box-shadow:0 16px 48px rgba(0,0,0,0.25);
}

.seller-menu-greeting{
    margin:0 36px 20px 0;
    color:#2d2650;
    font-size:20px;
    line-height:1.35;
}

.seller-menu-body{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.seller-menu-nav{
    display:flex;
    flex-direction:column;
    gap:10px;
    flex:0 0 200px;
    min-width:180px;
}

.seller-menu-btn,
a.seller-menu-link{
    display:block;
    width:100%;
    padding:12px 14px;
    border:1px solid #7e3cc4;
    border-radius:6px;
    box-sizing:border-box;
    text-align:center;
    text-decoration:none;
    background:#fff;
    color:#2d2650;
    font-size:13px;
    font-weight:bold;
    text-align:left;
    cursor:pointer;
    text-decoration:none;
    transition:background 0.2s ease, color 0.2s ease;
}

.seller-menu-btn:hover,
.seller-menu-btn.is-active,
a.seller-menu-link:hover{
    background:#4b0081;
    color:#fff;
    border-color:#4b0081;
}

.seller-menu-panel{
    flex:1;
    min-height:180px;
    padding:16px 18px;
    background:rgba(255,255,255,0.55);
    border:1px solid #b9a8d4;
    border-radius:8px;
    color:#2d2650;
    font-size:14px;
    line-height:1.5;
}

.seller-menu-panel-hint{
    color:#5a4f7a;
}

.seller-menu-panel strong{
    display:block;
    margin-bottom:8px;
    font-size:16px;
}

@media (max-width: 640px){
    .seller-menu-body{
        flex-direction:column;
    }

    .seller-menu-nav{
        flex:1 1 auto;
        width:100%;
    }
}

/* SELLER DASHBOARD (Golden / Platinum full page) */
.seller-dashboard-page .seller-register-topbar{
    margin-bottom:0;
}

.seller-dashboard-wrap{
    display:flex;
    gap:20px;
    align-items:flex-start;
    width:90%;
    max-width:1200px;
    margin:0 auto 40px;
    padding:0;
}

.seller-dashboard-nav{
    flex:0 0 200px;
    min-width:180px;
}

.seller-dashboard-main{
    flex:1;
    min-width:0;
    max-width:none;
    margin:0;
    border-radius:0 0 8px 8px;
}

.seller-dashboard-page .seller-dashboard-main.seller-menu-panel{
    min-height:240px;
    padding:20px 22px;
    background:#fff;
    border:1px solid #e5d8f0;
    box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

.seller-dashboard-welcome{
    margin-top:12px;
    color:#5a4f7a;
}

.seller-dashboard-page .member-payment-main{
    text-align:center;
}

@media (max-width: 768px){
    .seller-dashboard-wrap{
        flex-direction:column;
    }

    .seller-dashboard-nav{
        flex:1 1 auto;
        width:100%;
    }
}

.required{
    color:#dc3545;
    font-weight:normal;
}

.save-details-btn{
    width:100%;
    margin-top:8px;
    padding:14px;
    border:none;
    background:#0d6efd;
    color:#fff;
    font-size:16px;
    font-weight:bold;
    border-radius:5px;
    cursor:pointer;
    transition:background 0.2s ease, transform 0.2s ease;
}

.save-details-btn:hover{
    background:#0b5ed7;
    transform:translateY(-1px);
}

/* SEARCH PAGE */
.search-page{
    width:90%;
    max-width:900px;
    margin:32px auto;
    padding:28px;
    background:#fff;
    border-radius:8px;
    box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

.search-page h1{
    font-size:26px;
    color:#2d2650;
    margin-bottom:16px;
}

.search-summary,
.search-hint,
.search-empty{
    color:#5a4f7a;
    font-size:15px;
    line-height:1.5;
}

.search-results{
    list-style:none;
    margin-top:20px;
}

.search-result-item{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:14px 16px;
    border:1px solid #e5e0ea;
    border-radius:6px;
    margin-bottom:10px;
}

.search-result-product{
    flex-direction:row;
    align-items:center;
    gap:14px;
}

.search-result-thumb{
    width:64px;
    height:64px;
    object-fit:cover;
    border-radius:6px;
    border:1px solid #e5e0ea;
    flex-shrink:0;
}

.result-title{
    font-weight:bold;
    color:#2d2650;
}

.result-meta{
    font-size:14px;
    color:#5a4f7a;
}

/* HERO */
.hero{
    text-align:center;
    margin-top:24px;
}

.hero h1{
    font-size:40px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
}

main .hero h1{
    font-size:40px;
    margin-bottom:12px;
}

main .hero p{
    font-size:20px;
}

/* SITE FOOTER */
.site-footer{
    background:#44067a;
    color:#fff;
    margin-top:40px;
    padding:48px 32px 40px;
    min-height:160px;
    width:100%;
    box-sizing:border-box;
}

.site-footer-nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:16px 32px;
    max-width:1100px;
    margin:0 auto 32px;
}

.site-footer-nav a{
    color:#fff;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    transition:opacity 0.2s ease, color 0.2s ease;
}

.site-footer-nav a:hover{
    color:#e8d4ff;
    text-decoration:underline;
}

.site-footer-contact{
    margin:0 auto 16px;
    text-align:center;
    font-size:14px;
    color:#fff;
}

.site-footer .site-footer-contact a,
.site-footer .site-footer-contact a:link,
.site-footer .site-footer-contact a:visited{
    color:#fff;
    text-decoration:none;
}

.site-footer .site-footer-contact a:hover{
    color:#e8d4ff;
    text-decoration:underline;
}

.site-footer-copy{
    margin:0;
    padding-top:8px;
    text-align:center;
    font-size:14px;
    color:rgba(255,255,255,0.92);
    letter-spacing:0.02em;
}

/* FOOTER CONTENT PAGES */
.footer-page-topbar{
    background:#44067a;
    color:#fff;
    padding:28px 24px;
    text-align:center;
    box-shadow:0 4px 16px rgba(68,6,122,0.25);
}

.footer-page-topbar h1{
    margin:0;
    font-size:28px;
    font-weight:bold;
    letter-spacing:0.02em;
}

.footer-page-main{
    width:90%;
    max-width:900px;
    margin:32px auto 0;
    padding-bottom:24px;
}

.footer-page-hero-image{
    margin-bottom:28px;
    border-radius:10px;
    overflow:hidden;
    border:2px solid #e5d8f0;
    box-shadow:0 6px 20px rgba(75,0,129,0.1);
}

.footer-page-hero-image img{
    width:100%;
    max-height:360px;
    object-fit:cover;
    display:block;
}

.footer-page-content{
    line-height:1.65;
    padding:24px 28px;
    background:#fff;
    border-radius:10px;
    border:1px solid #e5d8f0;
    box-shadow:0 4px 16px rgba(75,0,129,0.06);
}

.footer-page-empty{
    color:#888;
    font-style:italic;
    margin:0;
}

@media (max-width: 768px){
    .footer-page-topbar h1{
        font-size:22px;
    }

    .footer-page-main{
        width:94%;
        margin-top:20px;
    }

    .footer-page-content{
        padding:18px 16px;
    }
}

@media (max-width: 600px){
    .site-footer{
        padding:40px 20px 32px;
        min-height:140px;
    }

    .site-footer-nav{
        flex-direction:column;
        gap:14px;
    }

    .site-footer-nav a{
        font-size:14px;
    }
}