/* ======================================================
   HEADER & NAVIGATION
   ====================================================== */
/*================ HEADER ================*/
/* 
.header{

    position:relative;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    transition:.35s;

    padding:18px 0;

    background:transparent;

}

.header.scrolled{

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(18px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

[data-theme="dark"] .header.scrolled{

    background:rgba(20,20,20,.82);

}

/*================ HEADER CONTAINER ================*/

.header-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

/*================ LOGO ================*/

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    font-weight:700;

    font-size:1.2rem;

    color:var(--heading);

}

.logo img{

    width:52px;

    height:52px;

    object-fit:contain;

}

.logo span{

    letter-spacing:1px;

}

/*================ NAVBAR ================*/

.navbar ul{

    display:flex;

    align-items:center;

    gap:36px;

}

.navbar a{

    position:relative;

    font-weight:500;

    color:var(--text-color);

    transition:.3s;

}

.navbar a:hover{

    color:var(--primary);

}

.navbar a.active{

    color:var(--primary);

}

/* underline */

.navbar a::after{

    content:"";

    position:absolute;

    right:0;

    bottom:-8px;

    width:0;

    height:2px;

    border-radius:99px;

    background:var(--primary);

    transition:.3s;

}

.navbar a:hover::after,
.navbar a.active::after{

    width:100%;

}

/*================ HEADER ACTIONS ================*/

.header-actions{

    display:flex;

    align-items:center;

    gap:12px;

}

/*================ HEADER BUTTON ================*/

.header-btn{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#C09891;

    backdrop-filter:blur(10px);

    color:var(--heading);

    transition:.3s;

}

.header-btn:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-3px);

}

/*================ CART ================*/

.cart-btn{

    position:relative;

}

.cart-count{

    position:absolute;

    top:-3px;

    left:-2px;

    width:20px;

    height:20px;

    border-radius:50%;

    background:#ff5252;

    color:#fff;

    font-size:.7rem;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:600;

}

/*================ MOBILE BUTTON ================*/

.mobile-btn{

    display:none;

}

/*================ THEME BUTTON ================*/

#theme-toggle{

    transition:.35s;

}

#theme-toggle:hover{

    transform:rotate(180deg);

}

/*================ SEARCH & CART EFFECT ================*/

.header-btn i{

    transition:.35s;

}

.header-btn:hover i{

    transform:scale(1.15);
    }
     */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 18px 0;
    background: transparent;
    transition: var(--transition-speed);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(20, 20, 20, 0.85);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--heading);
}

.logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.logo span {
    letter-spacing: 1px;
}

/* Desktop Navbar */
.navbar ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar a {
    position: relative;
    font-weight: 500;
    color: var(--text-color);
    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary);
}

.navbar a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: var(--radius-full);
    background: var(--primary);
    transition: 0.3s;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C09891;
    backdrop-filter: blur(10px);
    color: var(--heading);
    transition: 0.3s;
}

.header-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.header-btn i {
    transition: var(--transition-speed);
}

.header-btn:hover i {
    transform: scale(1.15);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -3px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff5252;
    color: #fff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C09891;
    transition: 0.3s;
}

.theme-toggle-btn .sun-icon {
    display: none;
   
}

.theme-toggle-btn .moon-icon {
    display: block;
    color: #222;
   
}

[data-theme="dark"] .theme-toggle-btn {
    background: #333;
    
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
    display: none;
    
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
    display: block;
    color: #fff;
    
}
