.site-header{
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    width:100%;
}

/* =====================
   TOP HEADER
===================== */
.header-top{
    border-bottom:1px solid #f1f5f9;
}

.header-top-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
}

.site-logo{
    max-height:48px;
}

.site-name{
    font-size:22px;
    font-weight:700;
    color:#111827;
}

/* SEARCH */
.header-search{
    display:flex;
    flex:1;
    max-width:500px;
    margin:0 40px; 
}

.header-search input{
    flex:1;
    padding:9px 12px;
    border:1px solid #d1d5db;
    border-radius:6px 0 0 6px;
    outline:none;
}

.header-search button{
    padding:9px 14px;
    border:1px solid #2563eb;
    background:#2563eb;
    color:#fff;
    border-radius:0 6px 6px 0;
    cursor:pointer;
}

/* RIGHT ICONS */
.header-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.header-icon{
    display:flex;
    align-items:center;
    gap:6px;
    color:#111827;
    position:relative;
    font-size:14px;
}

.header-icon i{
    font-size:18px;
}

.cart-count{
    position:absolute;
    top:-15px;
    right:-15px;
    background:#dc2626;
    color:#fff;
    font-size:11px;
    padding:2px 6px;
    border-radius:50%;
}

/* =====================
   BOTTOM HEADER (PC ONLY)
===================== */
.header-bottom{
    background:#f9fafb;
}

.header-bottom-inner{
    display:flex;
    align-items:center;
    gap:30px;
}

/* CATEGORY */
.category-menu{
    position:relative;
}

.category-btn{
    background:#111827;
    color:#fff;
    border:none;
    padding:8px 14px;
    border-radius:6px;
    cursor:pointer;
}

.category-dropdown{
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:6px;
    display:none;
    min-width:180px;
    z-index:99;
}

.category-dropdown a{
    display:block;
    padding:8px 12px;
    color:#111827;
}

.category-dropdown a:hover{
    background:#f3f4f6;
}

.category-menu:hover .category-dropdown{
    display:block;
}

/* MAIN MENU */
.main-menu a{
    margin-right:18px;
    font-weight:500;
    color:#111827;
}

/* =========================
   TOAST
========================= */
.cart-toast{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#111827;
    color:#fff;
    padding:12px 18px;
    border-radius:6px;
    opacity:0;
    pointer-events:none;
    transition:.3s;
}

.cart-toast.show{
    opacity:1;
}

/* =====================
   MOBILE
===================== */
@media(max-width:768px){

    /* TOP: LOGO + SEARCH */
    .header-top-inner{
        grid-template-columns: 1fr;
        gap:5px;
        justify-items: center;
    }

    .header-search{
        max-width:100%;
        margin:0;
    }

    .header-icon{
        display:none;
    }

    /* HIDE BOTTOM HEADER */
    .header-bottom{
        display:none;
    }
}
