/* -------------------------------------- */
/* --- Header--- */
/* -------------------------------------- */

        header {
background: linear-gradient(to right, #000000 0%, #18974E 100%);
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .custom-logo-link {
            font-size: 24px;
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            cursor: pointer;
            flex-shrink: 0;
        }

       .logo img {
                height: auto;
                width: 130px;
            }

        /* Desktop Navigation */
          nav {
            display: none;
            margin-right: 40px; 
            gap: 40px;
            margin-left: auto; 
            justify-content: flex-end;
            }

       /* -------------------------------------- */
/* --- Desktop Submenu: Base Styles --- */
/* -------------------------------------- */

/* -------------------------------------- */
/* --- Desktop Submenu: Base Styles --- */
/* -------------------------------------- */

.menu-item {
    position: relative;
}

.menu-item:hover > a::after {
    transform: rotate(180deg);
}

.submenu-desktop {
    position: absolute;
    top: 257%;
    left: 0;
    background: #fff3e8;
    padding: 15px 25px;
    border-radius: 12px;
    display: none; 
    min-width: 200px;
    z-index: 999;
}

.menu-item:hover .submenu-desktop {
    display: flex;
}

.submenu-col {
    display: flex;
    flex-direction: column;
}

.submenu-desktop a {
    color: #222;
    font-size: 15px;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.submenu-desktop a:hover {
    color: #C41E3A;
}

/* -------------------------------------- */
/* --- Desktop Layout (769px+) --- */
/* -------------------------------------- */
@media (min-width: 769px) {
    /* Two-column layout */
   .submenu-desktop {
        display: none;
        flex-direction: row;
        gap: 1px;
        min-width: 320px;
        padding: 20px 30px;
    }
    
    .submenu-col {
        min-width: 150px;
    }
}

        nav.active {
            display: flex;
        }

            nav a {
            color: white;
            text-decoration: none;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            position: relative;
            padding-bottom: 5px;
            transition: all 0.3s 
        ease;
        }

        nav a {
            position: relative;
            text-decoration: none;
            color: white;
            }

            /* Hover underline */
        nav a::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 0;
            width: 0;
            height: 1px;
            background: white;
            transition: width 0.3s 
        ease;
        }

            nav a:hover::after {
            width: 100%;
            }

            /* Active underline */
            nav a.active::after,
            nav .current-menu-item > a::after {
            width: 100%;
            }


        .nav-right {
            display: flex;
            gap: 25px;
            align-items: center;
            flex-shrink: 0;
        }

        /* Cart Button */
        .cart-btn {
            background: white;
            border: none;
            cursor: pointer;
            padding: 14px 24px;
            border-radius: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            transition: all 0.3s ease;
            position: relative;
        }

       

            .cart-btn-text {
            font-family: 'Montserrat';
            color: #333;
            font-size: 17px;
            font-weight: 600;
        }

        .cart-btn-icon {
            width: 20px;
            height: 20px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cart-btn-icon svg {
            width: 18px;
            height: 18px;
            stroke: #333;
            fill: none;
            stroke-width: 1.5;
        }

     .cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #333;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}
        /* Mobile Menu Toggle */
        .menu-toggle {
            display: flex;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            width: 28px;
            height: 22px;
        }

        .menu-toggle span {
            width: 100%;
            height: 2.5px;
            background: white;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(9px, 9px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Mobile Menu */
        .mobile-menu {
            position:absolute;
            top: 69px;
            left: 0;
            right: 0;
            background: #fff;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            z-index: 999;
        }

        .mobile-menu.active {
            max-height: 800px;
        }

        .mobile-menu-content {
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 0;
        }

      .mobile-menu-item {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

        .mobile-menu-item:hover {
            background: rgba(196, 30, 58, 0.08);
        }

        .submenu-arrow {
            font-size: 12px;
            transition: transform 0.3s ease;
            color: #999;
        }

        .mobile-menu-item.submenu-trigger.active .submenu-arrow {
            transform: rotate(180deg);
        }

        .submenu {
            display: none;
            background: white;
            border-bottom: 1px solid white;
        }

        .submenu.active {
            display: block;
        }

        .submenu-item {
            padding: 12px 20px 12px 40px;
            color: #666;
            text-decoration: none;
            font-size: 14px;
            border-bottom: 1px solid white;
            transition: all 0.3s ease;
            display: block;
        }

        .submenu-item:hover {
            background: rgba(196, 30, 58, 0.08);
            color: #C41E3A;
        }

        /* Cart Modal */
        .cart-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .cart-modal.active {
            display: flex;
        }

        .cart-modal-content {
            background: #f5f0eb;
            border-radius: 16px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            text-align: center;
            position: relative;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 28px;
            color: #333;
            cursor: pointer;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover {
            color: #C41E3A;
        }

        .cart-modal-title {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            margin-bottom: 20px;
        }

        .cart-modal-empty {
            font-size: 16px;
            color: #666;
            margin-bottom: 10px;
        }

        .cart-modal-subtitle {
            font-size: 14px;
            color: #999;
            margin-bottom: 30px;
        }

        .shop-btn {
            background: transparent;
            border: 2px solid #333;
            color: #333;
            padding: 12px 32px;
            border-radius: 25px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .shop-btn:hover {
            background: #333;
            color: white;
        }

        /* Responsive */
        @media (min-width: 769px) {
            nav {
                display: flex;
            }

            .menu-toggle {
                display: none;
            }

            .mobile-menu {
                display: none;
            }

            header {
                justify-content: space-between;
                padding: 20px;
            }
        }

        @media (max-width: 768px) {
            header {
                border-bottom: 1px solid #1c1c1ca6;
                padding: 16px;
            }

           .cart-btn-text
           {
            display: none;
           }

        .cart-btn {
            padding: 12px 14px;
            border-radius: 10px;
        }

        .menu-toggle{
            width:22px;
            height:22px;
        }
/*             .logo img {
                height: 35px;
            } */

            .nav-right {
                gap: 15px;
            }

            .cart-modal-content {
                padding: 30px 20px;
            }
        }