/* -----------------------------
    Header csss             
----------------------------- */

.navbar {
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    .nav-container {
        max-width: 1400px;
        margin: auto;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .logo img {
        height: 43px;
        width: 161px;
    }

    .nav-links {
        display: flex;
        gap: 15px;
        align-items: center;
        background: #ffffff;
        padding: 12px 24px;
        position: relative;
    }

    /* MAIN LINKS */
    .nav-links a {
        text-decoration: none;
        color: #333;
        font-size: 18px;
        font-weight: 500;
        padding: 8px 6px;
        display: inline-block;
        transition: color 0.2s ease;
    }

    .nav-links a:hover {
        color: #8a2c4c;
    }

    /* MENU ITEM */
    .menu-item {
        position: relative;
    }

    /* DROPDOWN */
    .menu-item .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        padding: 8px 0;
        display: none;
        z-index: 1000;
    }

    /* SHOW DROPDOWN ON HOVER */
    .menu-item.has-dropdown:hover .dropdown {
        display: block;
    }

    /* DROPDOWN LINKS */
    .dropdown a {
        display: block;
        padding: 10px 16px;
        font-size: 16px;
        font-weight: 400;
        color: #333;
        white-space: nowrap;
    }

    .dropdown a:hover {
        background-color: #8a2c4c;
        color: #ffffff;
    }

    /* OPTIONAL: ARROW INDICATOR */
    .menu-item.has-dropdown > a::after {
        content: "▾";
        font-size: 22px;
        margin-left: 6px;
    }


    .nav-right {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .search-box {
        position: relative;
        display: flex;
        align-items: center;
        background: #f4f6f8;
        padding: 8px;
        border-radius: 20px;
        width: 40px; 
        overflow: visible;
        transition: width 0.4s ease, padding 0.3s ease;
        cursor: pointer;
    }

    .search-results {
        position: absolute;
        top: 100%;             
        left: 0;
        width: 100%;
        margin-top: 6px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        z-index: 9999;
        display: none;      
    }

    .search-item {
        display: block;
        padding: 10px 14px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #eee;
    }

    .search-item:last-child {
        border-bottom: none;
    }

    .search-item:hover {
        background: #8a2c4c;
        color: #fff;
    }

    .no-result {
        padding: 10px 14px;
        color: #999;
        font-size: 14px;
    }

    .search-box input {
        border: none;
        background: transparent;
        outline: none;
        font-size: 13px;
        width: 0;
        opacity: 0;
        transition: width 0.4s ease, opacity 0.2s ease;
    }

    .zoom-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .zoom-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .search-box.active {
        width: 180px;
        padding: 8px 12px;
    }

    .search-box.active input {
        width: 120px;
        opacity: 1;
        margin-right: 8px;
    }

    .phone-btn {
        text-decoration: none;
        padding: 10px 14px;
        border: 1px solid #682a29;
        border-radius: 20px;
        font-size: 13px;
        color: #000;
        font-weight: 600;
    }

    .lang-select {
        border: 1px solid #682a29;
        border-radius: 20px;
        padding: 9px 10px;
        font-size: 13px;
        background: #fff;
    }
    

    .hamburger {
        display: none;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
    }

    .hamburger span {
        width: 24px;
        height: 2px;
        background: #000;
    }

    .mobile-extra {
        display: none;
        flex-direction: column;
        gap: 14px;
        margin-top: 20px;
    }

    .mobile-extra input {
        padding: 8px 12px;
        border-radius: 20px;
        border: 1px solid #ddd;
    }

    .mobile-controls {
        display: none;
    }

    .mobile-lang {
        display: none;
    }

    .desktop-lang {
        display: block;
    }

    @media (max-width: 768px) {

    /* MOBILE CONTROLS */
    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 18px;
    }
        .logo img {
        height: 25px;
        width: 100px;
    }
    
.mobile-search-box {
    position: relative;
    width: 100%;
}

.mobile-search-box .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 6px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    z-index: 100000;
    display: none;
    max-height: 260px;
    overflow-y: auto;
}

    .hamburger {
        display: flex;
        cursor: pointer;
    }

    /* MAIN MOBILE MENU */
    .nav-links {
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%) scale(0.95);
        width: 90%;
        max-width: 320px;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 6px;
        display: none;
        border-radius: 14px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.18);
        z-index: 10000;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    /* MAIN LINKS */
    .nav-links a {
        display: block;
        color: #1f6b45;
        font-size: 16px;
        font-weight: 500;
        padding: 12px 14px;
        border-radius: 8px;
        transition: all 0.25s ease;
    }

    .nav-links a:hover {
        background: #1f6b45;
        color: #ffffff;
    }

    /* MENU ITEM */
    .menu-item {
        width: 100%;
    }

    /* DROPDOWN (MOBILE) */
    .menu-item .dropdown {
        position: static;
        display: none;
        margin-top: 4px;
        padding-left: 10px;
        background: transparent;
        box-shadow: none;
    }

    /* ACTIVE DROPDOWN (add class via JS) */
    .menu-item.active .dropdown {
        display: block;
    }

    /* DROPDOWN LINKS */
    .menu-item .dropdown a {
        font-size: 15px;
        padding: 10px 12px;
        background: #f4f6f8;
        margin-bottom: 4px;
        border-radius: 6px;
    }

    .menu-item .dropdown a:hover {
        background: #1f6b45;
        color: #fff;
    }

    /* ARROW INDICATOR */
    .menu-item.has-dropdown > a::after {
        content: "▸";
        float: right;
        transition: transform 0.3s ease;
    }

    .menu-item.active > a::after {
        transform: rotate(90deg);
    }

    /* HIDE DESKTOP ELEMENTS */
    .nav-right,
    .desktop-lang {
        display: none;
    }

    /* MOBILE EXTRA */
    .mobile-extra {
        display: flex;
        width: 100%;
    }

    .mobile-phone {
        text-align: center;
    }

    .mobile-lang {
        display: block;
        padding: 6px 8px;
        border-radius: 6px;
        font-size: 13px;
    }

    /* SEARCH ICON */
    .mobile-search-icon img {
        width: 22px;
        height: 22px;
        cursor: pointer;
    }

    /* SEARCH POPUP */
    .mobile-search-popup {
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translate(-50%, -15px);
        width: 280px;
        background: #fff;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.12);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 9999;
        border-radius: 10px;
        border: 1px solid #eee;
    }

    .mobile-search-popup.active {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .mobile-search-popup input {
        flex: 1;
        padding: 8px 30px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
    }

    .mobile-search-popup button {
        background: #f4f6f8;
        border: none;
        padding: 6px 8px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
    }
}


    @media (min-width: 769px) {
        .mobile-search-popup {
            display: none;
        }
    }
