/* ======================================================
   DESKTOP (≥ 769px)
====================================================== */
@media (min-width: 769px){

    .left-menu{
        position: relative;
    }

    .left-dropdown{
        position: absolute !important;
        top: 120%;
        left: 0;

        width: 240px;
        max-height: 500px;
        overflow-y: auto;

        background: #fff;   /* 🔥 fixed (removed blue) */
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        padding: 10px 0;

        display: none;
        z-index: 999;
        margin-top: 6px;
    }

    .left-dropdown.show{
        display: block;
    }

    .main-navbar-orange .container-fluid{
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .left-menu-wrapper{
        position: absolute;
        left: 38px;
    }

    .desktop-menu{
        display: flex;
        justify-content: center;
        width: 100%;
        padding-left: 80px;
    }

    .desktop-menu .navbar-nav{
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-direction: row !important;
    }

    .desktop-menu .nav-link{
        border: 1.5px solid #fff;
        border-radius: 25px;
        color: #333;
        font-weight: 600;
        font-size: 14px;
        white-space: nowrap;
        padding-right: 20px;
    }

    .desktop-menu .nav-link:hover{
        background: #fff;
        color: #f15a00;   /* 🔥 updated */
    }

    .desktop-menu .dropdown-menu{
        border-radius: 10px;
        padding: 10px;
    }

    .desktop-menu .nav-item.dropdown{
        position: relative;
    }

    .desktop-menu .dropdown-menu{
        position: absolute !important;
        top: 110%;
        right: 0;
        left: auto !important;

        min-width: 200px;
        background: #fff;
        border-radius: 12px;
        padding: 10px 0;

        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
        border: none;

        display: none;
        z-index: 999;
    }

    .desktop-menu .dropdown:hover .dropdown-menu{
        display: block;
    }

    .desktop-menu .dropdown-item{
        padding: 10px 16px;
        font-weight: 600;
        color: #333;
    }

    .desktop-menu .dropdown-item:hover{
        background: #f15a00;   /* 🔥 updated */
        color: #fff;
    }

    .mobile-menu{
        display: none !important;
        padding-top: 10px;
        box-shadow: 5px 0 25px rgba(0,0,0,0.3);
    }

    .top-bar-black .col-md-4:first-child .row{
        display:flex;
        align-items:center;
        flex-wrap:nowrap;
    }
}

/* ======================================================
   NAVBAR TOGGLER ICON
====================================================== */

.navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ======================================================
   MAIN HEADER
====================================================== */

.main-header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(180deg, #ff7a1a 0%, #f15a00 50%, #d84300 100%);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    backdrop-filter: blur(6px);
    padding: 10px 20px;
	
}





















/* ======================================================
   LOGO & CONTACT
====================================================== */

.logo-blk{
    display:flex;
    align-items:center;
}

.contact-left{
    display:flex;
    align-items:center;
    gap:6px;
    margin-left:25px;
    white-space:nowrap;
}

.contact-left span{
    display:flex;
    align-items:center;
    gap:6px;
    font-weight:600;
    font-size:14px;
}


/* ======================================================
   SEARCH SECTION
====================================================== */

.search-form{
    display:flex;
    align-items:center;
    width:100%;
    max-width:520px;
    margin:0 auto;
    background:#f1f1f1;
    border-radius:30px;
    border:2px solid #fff;
    position:relative;
    overflow:visible;
    box-shadow:0 4px 10px rgba(0,0,0,0.25);
}

.search-form:hover{
    box-shadow:0 6px 16px rgba(0,0,0,0.35);
}

.search-input:focus{
    background:#ffffff;
}

.search-category{
    position:relative;
    z-index:1000;
}

.category-btn{
    height:42px;
    border:none;
    background:#ececec;
    padding:0 18px;
    font-weight:500;
    font-size:14px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:6px;
    border-right:1px solid #ddd;
    border-radius:30px 0 0 30px;
}

.search-input{
    flex:1;
    height:42px;
    border:none;
    padding:0 15px;
    background:#f1f1f1;
    outline:none;
    font-size:14px;
}

/* 🔥 BUTTON FIX */
.search-btn{
    height:42px;
    width:45px;
    border:none;
    background:#f15a00;   /* ✅ updated */
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:0 30px 30px 0;
    box-shadow:0 2px 6px rgba(0,0,0,0.2);
}

.search-btn i{
    color:#ffffff !important;
    font-size:15px;
    display:flex;
    align-items:center;
    justify-content:center;
}


/* ======================================================
   CATEGORY DROPDOWN
====================================================== */

.category-dropdown{
    position:absolute;
    top:46px;
    left:0;
    background:#fff;
    width:360px;
    list-style:none;
    padding:8px 0;
    margin:0;
    border-radius:14px;
    box-shadow:0 12px 28px rgba(0,0,0,0.25);
    display:none;
    max-height:520px;
    overflow-y:auto;
    animation:dropdownFade .25s ease;
    z-index:9999;
    transform-origin:top;
}

.category-dropdown li{
    padding:8px 12px;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
}

.category-dropdown li:hover{
    background:#f5f5f5;
}

.category-dropdown li a{
    display:block;
    padding:10px 16px;
    font-size:14px;
    font-weight:600;
    color:#333;
    transition:all .2s ease;
}

/* 🔥 HOVER FIX */
.category-dropdown li a:hover{
    background:#f15a00;   /* ✅ updated */
    color:#fff;
    transform:translateX(5px);
    border-radius:6px;
}

.search-category:hover .category-dropdown{
    display:block;
}


/* ======================================================
   TOP BAR
====================================================== */

.top-bar-black{
    background:transparent;
    box-shadow:none;
    color: white;
    padding: 3px 0;
    font-size: 0.8rem;
}

.top-bar-black .col-md-4:last-child .d-flex{
    justify-content:flex-end;
    align-items:center;
}

.top-bar-black .col-md-4:last-child{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:14px;
    
}

.top-bar-black a{
    text-decoration: none;
}

.top-bar-black a.btn.btn-sm{
    padding: 0.4rem 0.7rem; 
}

/* 🔥 BUTTON FIX */
.top-bar-black .btn-light{
    background:#ffffff;
    color:#f15a00;   /* ✅ updated */
    font-weight:700;
    box-shadow:0 3px 8px rgba(0,0,0,0.25);
    transition:all .25s ease;
}

.top-bar-black .btn-light:hover{
    background:#f15a00;   /* ✅ updated */
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(0,0,0,0.35);
}


/* ======================================================
   REVIEW SECTION
====================================================== */

.review{
    display:flex;
    align-items:center;
    margin-right:10px;
    min-width:110px;
    margin-top:6px;
    margin-bottom:8px;
}

.review a{
    display:flex;
    align-items:center;
    gap:6px;
    backdrop-filter: blur(4px);
    background:rgba(255,255,255,0.85);
    padding:4px 10px;
    border-radius:18px;
    color:#333;
    font-weight:600;
    border:1px solid rgba(255,255,255,0.6);
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
    white-space:nowrap;
    transition:all .25s ease;
}

.review a:hover{
    background:#ffffff;
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(0,0,0,0.25);
}

/* STARS */
.customer-review-stars{
    display:flex;
    align-items:center;
    gap:2px;
    font-size:12px;
    color:#FFC107;
}

/* RATING */
.rating-number{
    font-size:13px;
    font-weight:800;
    color:#111;
    margin-left:4px;
    display:flex;
    align-items:center;
    line-height:1;
    transform:translateY(1px);
}













/* ======================================================
   NAVBAR
====================================================== */

.main-navbar-orange{
    background:transparent;
    padding:0px 0;
    border-top:none;
}

/* NAV ALIGN */
#navbarNav{
    display: flex !important;
    justify-content: flex-end !important;
}

#navbarNav .navbar-nav{
    margin-left: auto !important;
}

.navbar-collapse{
    justify-content: flex-end !important;
}

.main-navbar-orange .navbar-nav{
    gap:10px;
    align-items:center;
}

/* NAV LINKS */
.main-navbar-orange .nav-link{
    background:transparent;
    border:1.5px solid rgba(255,255,255,0.9);
    border-radius:30px;
    padding:5px 16px !important;
    font-size:14px;
    font-weight:600;
    color:#ffffff;
    transition:all .25s ease;
    box-shadow:0 2px 6px rgba(0,0,0,0.18);
}

/* 🔥 HOVER FIX */
.main-navbar-orange .nav-link:hover{
    background:#ffffff;
    color:#f15a00;   /* ✅ updated */
    transform:translateY(-2px);
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

/* 🔥 ACTIVE FIX */
.main-navbar-orange .nav-link.active{
    background:#ffffff;
    color:#f15a00 !important;   /* ✅ updated */
}


/* ======================================================
   ANIMATION
====================================================== */

@keyframes dropdownFade{
    from{
        opacity:0;
        transform:translateY(8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* ======================================================
   DROPDOWN ITEMS
====================================================== */

.dropdown-item{
    font-weight:600;
    padding:10px 18px;
    transition:all .2s ease;
}

/* 🔥 DROPDOWN HOVER FIX */
.dropdown-item:hover{
    background:#f15a00;   /* ✅ updated */
    color:#fff;
    transform:translateX(5px);
    border-radius:6px;
}

/* 🔥 ACTIVE FIX */
.navbar-nav .nav-link.active{
    background:#ffffff;
    color:#f15a00 !important;   /* ✅ updated */
    border-radius:30px;
}

.dropdown-item.active{
    background:#f15a00;   /* ✅ updated */
    color:#fff;
}


/* ======================================================
   MOBILE HEADER (≤ 768px)
====================================================== */

@media (max-width: 768px){

    .desktop-menu{
        display: none !important;
    }

    .top-bar-black .row{
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        position: relative;
    }

    .main-header{
        padding: 6px 14px;
        background: linear-gradient(180deg, #ff7a1a 0%, #f15a00 50%, #d84300 100%) !important;
    }

    .logo-blk{
        display: flex !important;
        align-items: center !important;
        z-index: 2;
        margin-left: 5px;
    }

    .logo{
        position: absolute;
        left: 100%;
        transform: translateX(-50%);
        z-index: 1;
    }

    .logo img{
        width: 38px !important;
    }

    /* FORCE SHOW SEARCH */
    a[data-bs-target="#searchModal"]{
        display: inline-flex !important;
		
    }

    .category-dropdown{
        width: 250px;
    }

    /* FORCE SHOW CART */
    a[href*="cart"]{
        display: inline-flex !important;
    }

    /* HIDE LOGIN */
    .top-bar-black .btn[href="/login"]{
        display: none !important;
    }

    /* HIDE DESKTOP CONTENT */
    .contact-left,
    .review{
        display: none !important;
    }

    .top-bar-black .btn{
        padding: 9px 9px !important;
    }

    .top-bar-black .col-12.col-md-4:last-child a{
        margin-left: 4px;
    }
}













/* ===============================
   MOBILE MENU PANEL
=============================== */

.mobile-menu.active{
    left: 0;
    transform: translateX(0);
}

.mobile-menu.active ~ .main-header{
    display: none;
    opacity: 0;
    pointer-events: none;
}

/* ===============================
   MENU HEADER
=============================== */

.menu-header{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.menu-close-btn{
    position: absolute;
    top: 5px;
    right: 14px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(3px);

    border: 1px solid rgba(0,0,0,0.05);

    border-radius: 50%;

    box-shadow: none;

    font-size: 35px;
    color: #c2410c;   /* already correct ✔ */

    cursor: pointer;
    transition: all 0.2s ease;
}

.wa-floating-btn{
    z-index: 999 !important;
}

.mobile-menu.active ~ .wa-floating-btn{
    display: none !important;
}

/* ===============================
   OVERLAY
=============================== */

.mobile-overlay{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;

    backdrop-filter: blur(2px);

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active{
    opacity: 1;
    visibility: visible;
}

/* ===============================
   MOBILE MENU BUTTON
=============================== */

#menuToggle{
    border: none;
    outline: none;
    box-shadow: none;
    padding: 6px;
}

#menuToggle .navbar-toggler-icon{
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#menuToggle{
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
}


/* ONLY ICON BUTTONS */
#menuToggle{
    width: 36px;
    height: 36px;
    padding: 0 !important;
}

/* NORMAL BUTTON (LOGIN FIX) */
.top-bar-black .btn{
    
    height: auto !important;
    width: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* 🔥 CART BUTTON HEIGHT FIX */
.top-bar-black a[href*="cart"]{
    height: 35px !important;       /* ✅ same height as login */
    width: 35px !important;        /* keep square */
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 8px;            /* match login feel */
}





#menuToggle i,
.top-bar-black .btn i{
    font-size: 16px;
}

/* ===============================
   MOBILE MENU PANEL
=============================== */

.mobile-menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);

    background: linear-gradient(180deg, #fff5f0, #ffe8dc);
    z-index: 10000;

    transform: translateX(-100%);
    transition: transform 0.3s ease;

    overflow-y: auto;
}

/* ===============================
   MENU LIST
=============================== */

.mobile-menu ul{
    margin: 0;
    padding: 12px 0;
    width: 100%;
    text-align: left;
    display: block;
}

/* ===============================
   MENU ITEM
=============================== */

.mobile-menu .nav-link{
    display: block;
    padding: 6px 15px !important;
    line-height: 1.6;
    margin: 2px 0;

    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333;

    border: none;
    border-bottom: 2px solid rgba(0,0,0,0.04);

    letter-spacing: 0.2px;

    background: none;
    box-shadow: none;
    border-radius: 0;
}

.mobile-menu li{
    margin-bottom: 1px;
}

/* ===============================
   LEFT LINE ACTIVE
=============================== */

.mobile-menu .nav-link{
    border-left: 2px solid transparent;
}

/* 🔥 ACTIVE FIX */
.mobile-menu .nav-link:active{
    border-left: 2px solid #f15a00;   /* ✅ updated */
    color: #f15a00;                  /* ✅ updated */
    background: #fff5ef;             /* 🔥 updated */
}

/* 🔥 HOVER FIX */
.mobile-menu .nav-link:hover{
    color: #f15a00;   /* ✅ updated */
}