/* =========== TOP HEADER =========== */
.top-header {
    background: var(--title-color);
    padding: 18px 0;
}

.top-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 500;
}

.top-contact i {
    color: #FFC224;
}

.divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.30);
}

/* =========== MAIN HEADER =========== */
.main-header {
    padding: 12px 0;
    position: relative;
    background: #fefefe;
    border-bottom: 1px dashed #c7c7ed;
}

.header-wraper {
    align-items: center;
}

/* Navbar */
.navbar {
    padding: 5px 0;
    position: relative;
    z-index: 5;
}

/* Logo */
.navbar-brand logo a {
    padding: 6px;

}

/* Navbar Links */
.navbar-nav .nav-link {
    color: var(--title-color);
    font-size: 18px;
    font-weight: 500;
    margin: 0 14px;
    transition: 0.3s;
    position: relative;
}

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

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Right Side */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: end;
}

/* Register Button */
.register-btn {
    background: var(--secondary-color);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.6s;
}

.register-btn:hover {
    background: var(--title-color);
    color: #ffffff;
}

/* Navbar Toggler */
.navbar-toggler i {
    font-size: 36px;
    color: #ffffff;
}

/* =========== Responsive CSS For Navbar =========== */
/* Large Devices */
@media (max-width: 1199px) {

    .navbar-nav .nav-link {
        margin: 0 8px;
        font-size: 16px;
    }
}

/* Medium Devices */
@media (max-width: 991px) {
    .navbar {
        padding: 22px 0;
        justify-content: end;
    }

    div#mainNavbar {
        position: absolute;
        width: 600px;
        top: 60px;
    }

    .navbar-collapse {
        background: #ffffff;
        padding: 25px;
        margin-top: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .navbar-nav .nav-link {
        margin: 12px 0;
        display: inline-block;
    }

    .header-right {
        flex-wrap: wrap;
    }
}

/* Small Devices */
@media (max-width: 767px) {
    .top-header {
        padding: 15px 0;
    }

    .top-header-wrapper {
        justify-content: center;
        text-align: center;
    }

    .top-left {
        justify-content: center;
        gap: 15px;
    }

    .divider {
        display: none;
    }

    .top-contact {
        font-size: 14px;
        justify-content: center;
    }

    .logo {
        font-size: 38px;
    }

    .header-right {
        justify-content: center;
    }

    .login-btn,
    .register-btn {
        padding: 12px 22px;
    }
}

/* Extra Small Devices */
@media (max-width: 575px) {
    .top-contact {
        gap: 6px;
    }

    .logo {
        font-size: 34px;
    }

    .cart-btn {
        width: 50px;
        height: 50px;
    }

    .login-btn,
    .register-btn {
        width: 100%;
        text-align: center;
    }
}