/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body{
    font-family: 'Inter', sans-serif;
    background:#f5f7fa;
    color:#222;
}

/* GLOBAL CONTAINER SYSTEM (VERY IMPORTANT) */
.shopex-container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 15px;
}

/* FLEX UTILITIES (Bootstrap না ব্যবহার করেও কাজ হবে) */
.flex{
    display:flex;
}

.space-between{
    justify-content:space-between;
}

.center{
    align-items:center;
}

.gap-10{ gap:10px; }
.gap-20{ gap:20px; }


/* =========================
   TOPBAR BASE
========================= */
.shopex-topbar{
    background:#111;
    color:#fff;
    font-size:14px;
}

/* INNER CONTAINER */
.shopex-topbar-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:8px 0;
}

/* LINKS */
.shopex-topbar a{
    color:#fff;
    text-decoration:none;
    transition:0.2s;
}

.shopex-topbar a:hover{
    color:#ff6600;
}

/* TEXT */
.shopex-topbar span{
    white-space:nowrap;
}

/* LEFT RIGHT ALIGN */
.shopex-topbar-left,
.shopex-topbar-right{
    display:flex;
    align-items:center;
}

/* GAP CONTROL */
.gap-10{ gap:10px; }
.gap-20{ gap:20px; }

/* =========================
   MOBILE RESPONSIVE
========================= */
@media(max-width:768px){

    .shopex-topbar-inner{
        flex-direction:column;
        gap:8px;
        text-align:center;
    }

    .shopex-topbar-right{
        justify-content:center;
    }
}


/* TOPBAR ICON STYLE */
.shopex-topbar .icon{
    color:#fff;
    font-size:14px;
    transition:0.2s;
}

.shopex-topbar .icon:hover{
    color:#ff6600;
}

/* CONTACT ICON STYLE */
.shopex-topbar i{
    margin-right:6px;
    color:#ff6600;
}

/* ALIGN FIX */
.shopex-topbar-left,
.shopex-topbar-right{
    display:flex;
    align-items:center;
    gap:12px;
}



/* =========================
   MAIN HEADER
========================= */

.shopex-header{
    background:#fff;
    border-bottom:1px solid #eee;
}

/* HEADER WRAPPER */
.shopex-header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:15px 0;
    gap:20px;
}

/* LOGO */
.shopex-logo a{
    font-size:22px;
    font-weight:700;
    color:#111;
}

/* SEARCH BAR */
.shopex-search{
    flex:1;
    display:flex;
    max-width:600px;
}

.shopex-search input{
    flex:1;
    padding:10px 12px;
    border:1px solid #ddd;
    outline:none;
}

.shopex-search button{
    padding:10px 15px;
    border:none;
    background:#ff6600;
    color:#fff;
    cursor:pointer;
}

/* ACTIONS */
.shopex-header-actions{
    display:flex;
    align-items:center;
    gap:15px;
}

.shopex-header-actions .icon{
    color:#111;
    text-decoration:none;
    font-size:14px;
    transition:0.2s;
}

.shopex-header-actions .icon:hover{
    color:#ff6600;
}

/* CART SPECIAL */
.shopex-header-actions .cart{
    font-weight:600;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:768px){

    .shopex-header-inner{
        flex-direction:column;
        align-items:stretch;
    }

    .shopex-search{
        max-width:100%;
    }

    .shopex-header-actions{
        justify-content:space-between;
        width:100%;
    }
}


/* SEARCH WRAPPER */
.shopex-search{
    flex:1;
    display:flex;
    max-width:650px;
}

/* CATEGORY DROPDOWN */
.shopex-search-category{
    padding:10px;
    border:1px solid #ddd;
    border-right:none;
    background:#f8f8f8;
    outline:none;
    cursor:pointer;
}

/* INPUT */
.shopex-search input{
    flex:1;
    padding:10px;
    border:1px solid #ddd;
    border-left:none;
    outline:none;
}

/* BUTTON */
.shopex-search button{
    padding:10px 15px;
    border:none;
    background:#ff6600;
    color:#fff;
    cursor:pointer;
}

/* MOBILE FIX */
@media(max-width:768px){

    .shopex-search{
        flex-direction:column;
        gap:8px;
    }

    .shopex-search-category{
        border-right:1px solid #ddd;
    }

    .shopex-search input{
        border-left:1px solid #ddd;
    }
}


/* =========================
   GLOBAL NAV BAR (MODERN)
========================= */

.shopex-nav{
    background: linear-gradient(90deg, #111, #1c1c1c);
    color:#fff;
    position:relative;
    z-index:999;
}

/* INNER */
.shopex-nav-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 0;
}

/* MENU */
.shopex-menu{
    list-style:none;
    display:flex;
    gap:18px;
    align-items:center;
}

.shopex-menu li{
    position:relative;
}

.shopex-menu a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    padding:6px 8px;
    transition:0.2s;
}

.shopex-menu a:hover{
    color:#ff6600;
}

/* DROPDOWN BASE */
.dropdown{
    position:absolute;
    top:100%;
    left:0;

    background:#fff;
    color:#000;

    display:none;
    min-width:200px;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    border-radius:6px;
    overflow:hidden;
}

.dropdown li a{
    color:#000;
    display:block;
    padding:10px;
}

.dropdown li a:hover{
    background:#f5f5f5;
}

/* SHOW ON HOVER */
.has-dropdown:hover .dropdown{
    display:block;
}

/* RIGHT ACCOUNT */
.shopex-nav-right{
    position:relative;
}

.shopex-nav-right a{
    color:#fff;
    text-decoration:none;
    padding:6px 10px;
}

/* RIGHT DROPDOWN ALIGN */
.right-dropdown{
    right:0;
    left:auto;
}

/* MOBILE */
@media(max-width:768px){

    .shopex-nav-inner{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .shopex-menu{
        flex-direction:column;
        width:100%;
    }

    .dropdown{
        position:relative;
        box-shadow:none;
    }
}