* {
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
}

.header {
    display: flex;
    flex-direction: column;

    padding: 12px 14px;

    background: #ffffff;
    border-bottom: 1px solid #eee;

    position: sticky;
    top: 0;
    z-index: 1000;

    transition: all .3s ease;
}


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

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

img {
    max-width: 100%;
    height: auto;
}

.logo {
    display: flex;
    align-items: center;
}

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

.menu-btn {
    border: none;
    background: none;

    font-size: 26px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item {
    position: relative;

    display: flex;
    align-items: center;
}

.cart-item img {
    width: 34px;
    height: auto;
}

.cart-badge {
    position: absolute;
    top: -4px;
    left: -4px;

    background: #e53935;
    color: #fff;

    font-size: 11px;

    padding: 2px 6px;

    border-radius: 50%;
}


.search-Box {
    display: flex;
    align-items: center;

    width: 100%;

    margin-top: 10px;

    border: 1px solid #ddd;
    border-radius: 30px;

    overflow: hidden;

    background: #fff;

    transition: all .25s ease;
}

.search-input {
    border: none;
    outline: none;

    padding: 10px 14px;

    font-size: 22px;

    width: 100%;
}

.search-button {
    border: none;

    background: #c89b3c;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 48px;

    cursor: pointer;
}

.search-button img {
    width: 18px;
    height: 18px;
}

.search-Box:hover {
    border-color: #c89b3c;
}

.mobile-menu {

    position: fixed;
    top: 0;
    right: 0;

    width: 280px;
    height: 100vh;

    background: #ffffff;

    box-shadow: -5px 0 20px rgba(0, 0, 0, .15);

    display: flex;
    flex-direction: column;

    padding: 90px 25px 30px;

    gap: 0;

    transform: translateX(100%);
    transition: transform .35s ease;
    will-change: transform;
    z-index: 1000;

}


.mobile-menu a {

    text-decoration: none;

    color: #c89b3c;

    font-size: 18px;
    font-weight: 600;

    padding: 16px 0;

    border-bottom: 1px solid #eee;

    transition: .2s;

}


.mobile-menu a:hover {

    color: #000;

    padding-right: 6px;

}

.mobile-menu.active {
    transform: translateX(0);
}

.menu-overlay {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: rgba(0, 0, 0, .35);

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 900;

}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-btn {
    width: 28px;
    height: 22px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: none;
    border: none;

    cursor: pointer;
}

.menu-btn span {

    height: 3px;
    width: 100%;

    background: #222;

    border-radius: 3px;

    transition: .3s;

}


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

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

.menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.footer {
    background: #ffffff;
    padding: 40px 18px 25px;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
}


.footer h3 {
    color: #c89b3c;
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 800;
}


.footer p {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
}


.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.footer-contact img {
    width: 40px;
    margin-top: 6px;
    transition: .25s;
}

.footer-contact img:hover {
    transform: translateY(-4px) scale(1.1);
}


.footer-links ul {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin-top: 8px;
}


.footer-links img {
    width: 40px;
    transition: .25s;
}

.footer-links img:hover {
    transform: translateY(-5px) scale(1.15);
}


.footer-bottom {
    border-top: 1px solid #eee;
    margin-top: 18px;
    padding-top: 15px;
    text-align: center;
    font-size: 17px;
    color: #555;
}

.desktop-nav {
    display: none;
}

.desktop-nav a {

    text-decoration: none;
    color: #222;

    font-size: 25px;
    font-weight: 600;

    margin-left: 28px;

    transition: .25s;
}

.desktop-nav a:hover {

    color: #c89b3c;
    transform: translateY(-2px);

}


@media (min-width: 1000px) {

    .menu-btn {
        display: none;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 20px;
        flex: 0 0 auto;
    }

    .header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .logo {
        flex: 0 0 auto;
    }

    .search-Box {
        flex: 1;
        min-width: 300px;
        max-width: 650px;
        margin-top: 0;
    }

    .search-input {
        font-size: 24px;
    }

    .cart-item {
        flex: 0 0 auto;
        margin-right: 20px;
    }


    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
    }

    .footer-about,
    .footer-contact,
    .footer-links {
        flex: 1;
    }

}

/* scrol arrow */
#scrollToTopBtn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #d4af37;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

#scrollToTopBtn:hover {
    background: #b8962e;
    transform: translateY(-3px);
}

/* scrol arrow */



/* drop down products */

.drop-down {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #d4af37;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    background: #f9f9f9;
}

.mobile-dropdown a {
    padding: 12px 20px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown a:last-child {
    border-bottom: none;
}

.mobile-dropdown.active {
    max-height: 400px;
}

.mobile-item {
    display: flex;
    flex-direction: column;
}

.mobile-link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown {
    margin-top: 5px;
}


/* desktop hover */
@media (min-width: 900px) {
    .drop-down:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* mobile fix */
@media (max-width: 899px) {
    .dropdown-menu {
        display: none;
    }
}


/* drop down products */

@media (min-width:1200px) {

    .desktop-nav {
        gap: 35px;
    }

}