/* header-v2.css */

/* ===== Main Header ===== */
.site-header{
    background: linear-gradient(
        135deg,
        #F4FBF4 0%,
        #EEF9EE 50%,
        #E8F6E8 100%
    );

    border-bottom: 1px solid #D7E8D7;

    box-shadow: 0 8px 25px rgba(46,125,50,0.08);
    position: relative;
    z-index: 3200;
}
.nav-row{
    display:flex;
    align-items:center;
    justify-content:space-between;

    height:82px;

    gap:30px;
}

.left-col,
.center-col,

.left-col{
    display:flex;
    align-items:center;

    gap:22px;
}
.center-col{
    flex:1;

    display:flex;
    align-items:center;

    gap:22px;
}

.right-col{
    display:flex;
    align-items:center;

    gap:28px;
}
/* 
   Header Action Cards
*/


.right-col > *{
    display:flex;
    align-items:center;
    justify-content:center;

    min-height:48px;

    padding:10px 16px;

    border-radius:12px;

    background:#eef8ee;

    border:1px solid #cfe6cf;

    transition:all .30s ease;
}

.right-col > *:hover{

    background:#2E7D32;

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(46,125,50,.25);
}

.right-col > *:hover,
.right-col > *:hover a,
.right-col > *:hover span,
.right-col > *:hover svg,
.right-col > *:hover i{

    color:#fff !important;
}

.brand img{

    width:60px;

    height:60px;

    object-fit:contain;

    transition:.3s;
}

.brand img:hover{

    transform:scale(1.06);

}
.drawer-toggle{

    width:48px;

    height:48px;

    border-radius:14px;

    border:2px solid #2E7D32;

    background:white;

    transition:.3s;

}

.drawer-toggle:hover{

    background:#2E7D32;

    color:white;

    transform:translateY(-2px);

}
/* ===== Search Bar ===== */
.search-bar {
    display: flex;
    width: 100%;
    max-width: 650px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #2e7d32;
    border-right: none;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 15px;
}

.search-btn {
    padding: 0 20px;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}
/* tech search button */
#tech-search-btn{

    background:#eef8ee;

    color:#2E7D32;

    border:1px solid #cfe6cf;

    text-decoration:none;

    padding:12px 18px;

    border-radius:12px;

    font-weight:600;

    transition:all .30s ease;

    white-space:nowrap;
}

#tech-search-btn:hover{

    background:#2E7D32;

    color:#fff;

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(46,125,50,.25);
}

/*  Right Icons  */
.icon-link {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-count {
    background: #ff9800;
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 12px;
    font-weight: bold;
}

/* Category dropdown navigation */
.green-nav {
    background: #1f704c;
    color: #fff;
    position: relative;
    z-index: 3100;
    min-height: 63px;
    height: 63px;
    overflow: visible;
}
.green-nav .container {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 63px;
    height: 63px;
    position: relative;
    overflow: visible;
}
.category-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 auto;
}
.category-nav::-webkit-scrollbar {
    display: none;
    height: 0;
}
.category-nav,
.category-nav .nav-dropdown,
.green-nav,
.green-nav .container {
    overflow: visible !important;
}
.category-nav > a,
.category-nav .nav-dropdown > a {
    line-height: 1;
    vertical-align: middle;
}
.category-nav .dropdown-caret {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}
.nav-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(255,255,255,0.18);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.nav-carousel-btn.prev {
    left: 6px;
}
.nav-carousel-btn.next {
    right: 6px;
}
.nav-carousel-btn:hover {
    background: rgba(255,255,255,0.28);
}
.category-nav > a,
.category-nav .nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
}
.category-nav > a:hover,
.category-nav .nav-dropdown > a:hover,
.category-nav .nav-dropdown.open > a {
    background: rgba(255,255,255,0.16);
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    color: #1d3a2e;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(15, 44, 30, 0.16);
    padding: 10px;
    display: none;
    z-index: 3300;
}
.nav-dropdown.open .nav-dropdown-menu {
    display: grid;
    gap: 6px;
}
.nav-dropdown-menu a {
    display: block;
    color: #1d3a2e;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
}
.nav-dropdown-menu a:hover {
    background: #f0f7f2;
}
.nav-dropdown-menu strong,
.nav-dropdown-menu small {
    display: block;
}
.nav-dropdown-menu small {
    font-size: 0.8rem;
    color: #61776a;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-row {
        flex-wrap: wrap;
    }

    .center-col {
        width: 100%;
        order: 3;
    }

    .search-bar {
        max-width: 100%;
    }

    .icon-text {
        display: none;
    }
}
.left-drawer{
    position: fixed;

    top:130px;

    left:0;

    width:260px;

    height:calc(100vh - 130px);

    background:#fff;

    overflow-y:auto;

    transform:translateX(-100%);   /* Hide sidebar */

    transition:transform .3s ease;

    z-index:999;
}

/* Show only when hamburger is clicked */

.left-drawer.is-open{
    transform:translateX(0);
}
.search-input{

    background:#ffffff;

    border:2px solid #AED9AE;

    transition:.3s;
}

.search-input:focus{

    border-color:#2E7D32;

    box-shadow:0 0 0 4px rgba(46,125,50,.15);
}