/*=============================================================================================
  Start Header Area
==============================================================================================*/
.header.style-5 {
    position: relative;
    width: 100%;
}
.header.style-5 ul.live_search_box {
    top: 48px;
}
.header.style-5 .container,
.header.style-5 .container-fluid,
.header.style-5 .inner-wrap {
    display: block;
}
.header.style-5 .header-top-wrapper {
    background: var(--primary-color);
    padding: 16px 0px;
}

.header.style-5 button {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
.header.style-5 i {
    position: relative;
    top: 2px;
}
.header.style-5 .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}
.header.style-5 .header-wrapper {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
}
.header.style-5 .h-category-btn {
    font-size: 24px;
    color: #e7f6f1;
}
.header.style-5 .h-logo img {
    max-width: 180px;
    height: 48px;
    object-fit: contain;
}
.header.style-5 .h-search-widget {
    display: flex;
    align-items: center;
}
.header.style-5 .h-search-form {
    position: relative;
}
.header.style-5 .h-search-form input {
    font-family: var(--font-family);
    width: 500px;
    height: 48px;
    padding: 15px 120px 15px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    background: #f7f7f7;
    border: none;
}
.header.style-5 .h-search-form button {
    font-family: var(--font-family);
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    line-height: 40px;
    position: absolute;
    right: 4px;
    top: 4px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.header.style-5 .h-search-form button:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}
.header.style-5 .h-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header.style-5 .h-contact i {
    font-size: 36px;
    color: var(--white-color);
}
.header.style-5 .h-contact-info span {
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    display: block;
    color: #e7f6f1;
}
.header.style-5 .h-contact-info p {
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    color: #e7f6f1;
    margin: 0;
    margin-top: 4px;
    transition: all 0.3s ease;
}
.header.style-5 .h-contact:hover .h-contact-info p {
    color: var(--secondary-color);
}
.header.style-5 .header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.header.style-5 .header-actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header.style-5 .header-actions .btn {
    color: var(--white-color);
    position: relative;
    margin-left: 12px;
}
.header.style-5 .header-actions .btn i {
    font-size: 20px;
    color: var(--white-color);
}
.header.style-5 .header-actions .btn .label {
    position: absolute;
    top: -2px;
    left: -12px;
    width: 20px;
    height: 20px;
    background: var(--white-color);
    color: var(--title-color);
    border-radius: 100%;
    font-size: 13px;
    font-weight: 600;
    line-height: 19px;
    display: inline-block;
    text-align: center;
}
.header.style-5 .h-account-btn {
    background: var(--white-color);
    padding: 8px 12px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    border-radius: 30px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.header.style-5 .h-account-btn:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}
.header.style-5 .header-bottom-wrapper {
    background: #f5f5f5;
    padding: 0;
}
.header.style-5 .header-bottom-wrapper.fixed {
    background: var(--white-color);
}
.header.style-5 .header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header.style-5 .header-item-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}
.header.style-5 .h-category-btn {
    background: transparent;
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-radius: 4px 4px 0px 0px;
    font-size: 14px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    height: 40px;
    padding: 0;
}
.header.style-5 .h-category-btn i {
    font-size: 20px;
}

.header.style-5 .header-nav ul {
    padding: 0;
    margin: 0;
}
.header.style-5 .header-nav li {
    display: inline-block;
    margin-right: 24px;
}
.header.style-5 .header-nav li:last-child {
    margin: 0;
}
.header.style-5 .header-nav li a {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}
.header.style-5 .header-nav li a:hover {
    color: var(--primary-color);
}
.header.style-5 .header-nav li .submenu li a {
    font-weight: 500;
    font-size: 15px;
    transition: none;
}
.header.style-5 .h-flash-btn {
    border-radius: 4px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--white-color) !important;
}
.header.style-5 .h-flash-btn i {
    font-size: 24px;
}

.menu .submenu .has-submenu > a::after {
    right: 15px;
}

.header.style-5 .header-top-wrapper {
    background: var(--white-color);
}

.header.style-5 .header-bottom-wrapper {
    background: var(--primary-color);
}

.header.style-5 .h-contact-info p,
.header.style-5 .header-actions .btn i,
.header.style-5 .header-nav li .submenu li a {
    color: var(--title-color);
}

.header.style-5 a:not(.btn),
.header.style-5 .menu > li.active > a:not(.menu-title),
.header.style-5 .menu > li:hover > a:not(.menu-title) {
    color: var(--white-color);
}

.header.style-5 .header-actions .btn .label {
    top: -4px;
    left: -14px;
    line-height: 16px;
    color: var(--white-color);
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.header.style-5 .h-account-btn {
    color: var(--white-color);
    background: var(--primary-color);
    box-shadow: 0 2px 6px #00000045;
}

.header.style-5 .h-flash-btn {
    background: linear-gradient(
        45deg,
        var(--primary-color),
        color-mix(in srgb, var(--primary-color) 80%, #fff 18%),
        rgba(255, 255, 255, 0.7),
        color-mix(in srgb, var(--primary-color) 90%, #000 10%),
        rgba(0, 0, 0, 0.2)
    );
    border: 1px solid var(--white-color);
    box-shadow: 0 0 10px #00000029;
    background-size: 400% 250%;
    animation: gradient 8s ease infinite;
}

.header.style-5 .h-search-form input {
    border: 1px solid var(--primary-color);
}

.header.style-5 .header-nav li a:hover {
    color: var(--white-color) !important;
}

.header.style-5 .header-nav li .submenu li:hover > a {
    color: var(--white-color) !important;
}

.header.style-5 .header-bottom-wrapper.fixed {
    background: var(--primary-color);
}
.header.style-5 .h-contact-info span {
    color: var(--primary-color);
}
.header.style-5 .h-contact:hover .h-contact-info p {
    color: var(--primary-color);
}

.header.style-5 .header-nav li a {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 80%;
}

.header.style-5 .h-flash-btn {
    padding: 6px 9px;
}

.header.style-5 .header-nav li .submenu li a {
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
    padding: 4px 15px;
}

/* First-level submenu only */
.header.style-5 .menu > li > ul {
    top: calc(100% - 2px);
    padding: 5px 0;
    transition: none;
}
.header.style-5 .h-wishlist-btn.btn {
	display: none;
}
/* All nested submenus beyond the first */
.header.style-5 .menu > li ul ul {
    top: 0;
    padding: 5px 0;
    transition: none;
}

.header.style-5 .menu li > .submenu li {
    padding: 0px;
}

.header.style-5 .menu li > .submenu li:hover {
    background: var(--primary-color);
}
.header.style-5 .mobile-menu-toggle {
    color: var(--title-color) !important;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1372px) {
    .header.style-5 .header-inner {
        gap: 48px;
    }
    .header.style-5 .h-search-form input {
        width: 400px;
    }
}

@media only screen and (max-width: 1200px) {
    .header.style-5 .header-inner {
        display: flex;
        gap: 8px;
    }
    .header.style-5 .header-wrapper {
        gap: 24px;
        justify-content: space-between;
        width: auto;
        margin: 0;
    }
    .header.style-5 .h-logo img {
        max-width: 164px;
        height: auto;
    }
    .header.style-5 .h-category-btn {
        font-size: 22px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header.style-5 .h-search-form input {
        width: 300px;
    }
}

@media only screen and (max-width: 991px) {
    .header.style-5 .header-bottom-wrapper {
        display: none;
    }
    .header.style-5 .header-nav {
        display: none;
    }
    .header.style-5 .h-logo img {
        max-width: 180px;
        height: auto;
    }
    .header.style-5 .h-flash-btn {
        padding: 8px;
        font-size: 12px;
    }
    .header.style-5 .h-flash-btn i {
        font-size: 18px;
    }
    .header.style-5 .h-search-widget,
    .header.style-5 .h-contact {
        display: none;
    }
    .header.style-5 .h-account-btn {
        background: transparent !important;
        padding: 0;
        font-size: 0;
        color: var(--title-color) !important;
        box-shadow: none !important;
    }

    .header.style-5 .h-account-btn i {
        font-size: 20px;
        position: relative;
        top: 0;
    }
    .header.style-5 .header-top-wrapper {
        background: var(--white-color);
        border-bottom: 2px solid var(--primary-color);
        padding: 8px 0px;
    }
}

@media only screen and (max-width: 767px) {
    .header.style-5 .h-logo img {
        max-width: 132px;
        height: auto;
    }
}
/*=============================================================================================
  End Header Area
==============================================================================================*/
