/*  HEADER  */
.header-top-bar {
    padding: 12px 0px;
    background: #FFFFFF;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.header-top-bar .top-head-left .weather-location {
    margin-right: 14px;
}

.header-top-bar .top-head-left .icon {
    margin-right: 7px;
}

.header-top-bar .top-head-left .text {
    color: #393939;
    font-weight: 600;
}

.header-top-bar .top-head-right span {
    margin-right: 32px;
    font-size: 16px;
    color: #393939;
}

.header-top-bar .top-head-right span:last-child {
    margin: 0;
}

.main-header .logo-image {
    max-width: 273px;
    max-height: 106px;
    width: 100%;
    height: 100%;
}

.main-header .top-bar-links-list {
    gap: 24px;
    margin: 0 12px 0 0;
}

.main-header .top-bar-links-list li {
    font-family: var(--secondary-font);
    font-weight: 700;
    font-size: 12px;
    color: #393939;
}

.main-header .top-bar-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background-color: var(--primary-color);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 26px;
}

.main-header .top-bar-btn i {
    font-size: 16px;
}

.main-header .top-bar-btn:hover {
    background-color: var(--secondary-color);
}

.main-header .top-bar-btn.login {
    margin-right: 10px;
}
.navbar-auth .dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 200px;
    margin-top: 10px;
}

.navbar-auth .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.navbar-auth .dropdown-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.navbar-auth .dropdown-item.text-danger:hover {
    background: #fff5f5;
    color: #dc3545;
}

.navbar-auth .dropdown-divider {
    margin: 8px 0;
    border-color: #eee;
}
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

/*  HEADER MENU BAR */
.header-menu-bar .categories-list-menu {
    margin: 0;
}

.header-menu-bar {
    background-color: #1C273F;
    width: 100%;
}

.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    animation: slideDown 0.3s ease-in-out;
    z-index: 2;
}

.header-menu-bar .categories-list-menu li a {
    font-weight: 700;
    font-size: 15px;
    color: #FFFFFF;
    padding: 17.5px 12px 19px;
}

.header-menu-bar .categories-list-menu li a:hover {
    color: var(--primary-color);
}

.header-menu-bar .categories-list-menu li a.active {
    background-color: var(--primary-color);
}

.header-menu-bar .categories-list-menu li.has-menu-dropdown {
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
}

.header-menu-bar .categories-list-menu li.trend a {
    color: var(--secondary-color);
}

.header-menu-bar .categories-list-menu li.trend a span {
    margin-right: 4px;
}

.header-menu-bar .categories-list-menu li .down-arrow {
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-left: 4px;
    margin-bottom: 3px;
}

.header-menu-bar .header-search {
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    padding: 18px 0 18px 10px;
}

.header-menu-bar .header-search input {
    background-color: transparent;
    max-width: 150px;
    border: none;
    padding: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.header-menu-bar .header-search input::placeholder,
.header-menu-bar .header-search i {
    color: rgba(255, 255, 255, 0.9);
}

.header-menu-bar .header-search input:focus,
footer .subscribe-row .subscribe-form input:focus {
    box-shadow: none;
}

/*  DROPDOWN MENU */
.header-menu-bar .categories-list-menu li.has-menu-dropdown {
    position: relative;
}

.dropdown-menu {
    display: unset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    min-width: 11rem;
}

.header-menu-bar .categories-list-menu li.has-menu-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu-bar .categories-list-menu .dropdown-menu li {
    background-color: #1C273F;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

/*SideNav Button */
.sideNav-btn {
    width: 38px;
    height: 34px;
    position: relative;
    background: var(--primary-color);
    padding: 0px;
    margin-left: 14px;
}

.sideNav-btn .hamburger-line {
    position: absolute;
    left: 8px;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
}

.sideNav-btn span:nth-child(1) {
    top: 8px;
}

.sideNav-btn span:nth-child(2) {
    top: 15px;
}

.sideNav-btn span:nth-child(3) {
    bottom: 8px;
}

/*sidenav-btn Animation when active (turn into X) */
.sideNav-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

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

.sideNav-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
}

/* SIDE - NAVBAR */
.sidenav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.sidenav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.sidenav.active {
    right: 0;
}

.sidenav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.sidenav-logo {
    width: 140px;
}

.sidenav-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidenav-close-btn:hover {
    background: var(--brand-color);
    transform: rotate(90deg);
}

.sidenav-auth {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sidenav-auth .btn-sidenav-auth {
    background-color: var(--primary-color);
    border-radius: 6px;
    padding: 8px 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.sidenav-section-title {
    font-size: 13px;
    font-weight: 600;
}

.sidenav-menu,
.sidenav-social {
    padding: 15px;
    border-top: 1px solid #dfdfdf;
}

.sidenav-menu ul li {
    padding: 8px 20px;
}

.sidenav-menu ul li a {
    font-size: 14px;
    text-transform: uppercase;
    color: #000;
    font-weight: 500;
}

.sidenav-social .sidenav-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.sidenav-social .sidenav-social-icons a {
    height: 42px;
    width: 42px;
    border-radius: 50%;
    padding: 9px;
    background-color: #f2f2f2;
    font-size: 16px;
    color: #555;
    text-align: center;
}

body.menu-open,
body.search-open {
    overflow: hidden;
}

/* Search button click -> search overlay*/
.header-search button {
    color: #555;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.search-overlay-content {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
}

.search-close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-close-btn:hover {
    background: var(--brand-color);
    border-color: var(--brand-color);
    transform: rotate(90deg);
}

.search-container {
    text-align: center;
}

.search-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.search-form {
    margin-bottom: 25px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-input-icon {
    position: absolute;
    left: 25px;
    font-size: 20px;
    color: #999;
}

.search-input {
    flex: 1;
    padding: 16px 25px 16px 60px;
    border: none;
    font-size: 18px;
    font-family: var(--font-body);
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #aaa;
}

.search-submit-btn {
    position: absolute;
    right: 4px;
    width: 50px;
    height: 50px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-submit-btn:hover {
    background: var(--primary-color);
    opacity: 0.9;
    transform: scale(1.05);
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popular-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
}

.popular-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.popular-tag:hover {
    background: var(--primary-color);
    color: #fff;
}