.header {
    width: 100%;
    position: relative;
}

.header .topbar {
    background-color: var(--color-overlay);
    height: 41px;
    color: var(--color-white);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 10px 0;
}

.header .topbar .top-left .menu-top-link .select-position {
    position: relative;
}

.header .topbar .top-left .menu-top-link .select-position select {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    border: none;
    padding: 0 10px 0 0px;
    color: var(--color-white) !important;
    font-weight: 500;
    font-size: 14px;
    background-color: var(--color-overlay) !important;
}

.header .topbar .top-left .menu-top-link .select-position select:focus {
    text-decoration: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.header .topbar .top-left .menu-top-link .select-position::after {
    border-bottom: 2px solid var(--color-white);
    border-right: 2px solid var(--color-white);
    content: '';
    display: block;
    height: 6px;
    margin-top: -3px;
    pointer-events: none;
    position: absolute;
    right: 0px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 6px;
}

.header .topbar .top-left .menu-top-link li {
    display: inline-block;
    margin-right: 20px;
}

.header .topbar .top-left .menu-top-link li:last-child {
    margin: 0;
}

.header .topbar .top-middle {
    text-align: center;
}

@media (max-width: 767px) {
    .header .topbar .top-middle {
        display: none;
    }
}

.header .topbar .top-middle .useful-links li {
    display: inline-block;
    margin-right: 10px;
    padding-right: 10px;
}

.header .topbar .top-middle .useful-links li:last-child {
    margin: 0;
    border: none;
}

.header .topbar .top-middle .useful-links li a {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
}

.header .topbar .top-middle .useful-links li a:hover {
    color: var(--color-blue);
}

.header .topbar .top-end {
    float: right;
    display: inline-block;
}

@media (max-width: 767px) {
    .header .topbar .top-end {
        float: none;
        text-align: center;
        display: block;
        margin-top: 15px;
    }
}

.header .topbar .top-end .user {
    color: var(--color-white);
    display: inline-block;
    margin-right: 5px;
    font-weight: 500;
    font-size: 14px;
}

.header .topbar .top-end .user i {
    color: var(--color-white);
    display: inline-block;
    margin-right: 5px;
    font-size: 16px;
}

.header .topbar .top-end .user-login {
    display: inline-block;
    white-space: nowrap;
}

.header .topbar .top-end .user-login li {
    display: inline-block;
    border-right: 1px solid var(--color-gray-light);
    padding: 0px 10px;
    white-space: nowrap;
}

.header .topbar .top-end .user-login li:first-child {
    padding-right: 12px;
}

.header .topbar .top-end .user-login li:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.header .topbar .top-end .user-login li a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.header .topbar .top-end .user-login li a:hover {
    color: var(--color-blue);
}

.header .header-middle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 25px 0;
}

@media (max-width: 767px) {
    .header .header-middle .d-xs-none {
        display: none;
    }

    .header .header-middle {
        padding: 0px;
        padding-top: 5px;
    }
}

.header .middle-right-area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@media (max-width: 767px) {
    .header .middle-right-area {
        -webkit-box-pack: right;
        -ms-flex-pack: right;
        justify-content: right;
        float: right;
    }
}

.header .nav-hotline {
    position: relative;
    padding-left: 50px;
    margin-right: 35px;
}

@media (max-width: 767px) {
    .header .nav-hotline {
        display: none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header .nav-hotline {
        display: none;
    }
}

.header .nav-hotline i {
    color: var(--color-pri);
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
    border: 1px solid var(--color-border);
    border-radius: 50%;
}

.header .nav-hotline h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-font-active);
}

.header .nav-hotline h3 span {
    color: var(--color-white);
    font-weight: 500;
    font-size: 14px;
    display: block;
    margin-top: 2px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header .nav-hotline h3 span {
        font-size: 12px;
        font-weight: 600;
    }
}

.header .navbar-cart {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
}

.header .navbar-cart .wishlist {
    margin-right: 12px;
}

.header .navbar-cart .wishlist a {
    height: 40px;
    width: 40px;
    line-height: 40px;
    display: inline-block;
    border-radius: 50%;
    color: var(--color-font);
    font-size: 18px;
    text-align: center;
    position: relative;
}

.header .navbar-cart .wishlist a:hover {
    color: var(--color-white);
    background-color: var(--color-blue);
    border-color: transparent;
}

.header .navbar-cart .wishlist a .total-items {
    position: absolute;
    right: -6px;
    top: -5px;
    height: 19px;
    width: 19px;
    line-height: 19px;
    background-color: var(--color-pri);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    border-radius: 50%;
}

.header .navbar-cart .cart-items {
    position: relative;
}

.header .navbar-cart .cart-items:hover .main-btn {
    color: var(--color-white);
    background-color: var(--color-blue);
    border-color: transparent;
}

.header .navbar-cart .cart-items .main-btn {
    height: 40px;
    width: 40px;
    line-height: 40px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-font);
    font-size: 18px;
    text-align: center;
    position: relative;
}

.header .navbar-cart .cart-items .main-btn .total-items {
    position: absolute;
    right: -6px;
    top: -5px;
    height: 19px;
    width: 19px;
    line-height: 19px;
    background-color: var(--color-pri);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    border-radius: 50%;
}

.header .navbar-cart .cart-items:hover .shopping-item {
    opacity: 1;
    visibility: visible;
}

.header .navbar-cart .cart-items .shopping-item {
    position: absolute;
    top: 72px;
    right: 0;
    width: 300px;
    background: var(--color-white);
    padding: 20px 25px;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    z-index: 99;
    border-radius: 4px;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 767px) {
    .header .navbar-cart .cart-items .shopping-item {
        width: 250px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header .navbar-cart .cart-items .shopping-item {
        top: 68px;
    }
}

@media (max-width: 767px) {
    .header .navbar-cart .cart-items .shopping-item {
        top: 66px;
    }
}

.header .navbar-cart .cart-items .shopping-item .dropdown-cart-header {
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.header .navbar-cart .cart-items .shopping-item .dropdown-cart-header span {
    text-transform: capitalize;
    color: var(--color-font-active);
    font-size: 14px;
    font-weight: 600;
}

.header .navbar-cart .cart-items .shopping-item .dropdown-cart-header a {
    float: right;
    text-transform: capitalize;
    color: var(--color-font-active);
    font-size: 14px;
    font-weight: 600;
}

.header .navbar-cart .cart-items .shopping-item .dropdown-cart-header a:hover {
    color: var(--color-blue);
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li {
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .remove {
    position: absolute;
    right: 0;
    top: 0;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-align: center;
    background: var(--color-white);
    color: var(--color-font-active);
    border-radius: 50%;
    font-size: 9px;
    border: 1px solid var(--color-border);
    padding-left: 1px;
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .remove:hover {
    border-color: transparent;
    color: var(--color-white);
    background-color: var(--color-blue);
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .cart-img-head {
    width: 40%;
}

@media (max-width: 767px) {
    .header .navbar-cart .cart-items .shopping-item .shopping-list li .cart-img-head {
        width: 30%;
        margin-right: 12px;
    }
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .cart-img {
    border: 1px solid var(--color-border);
    overflow: hidden;
    height: 80px;
    width: 80px;
    border-radius: 4px;
    float: left;
    margin-right: 20px;
}

@media (max-width: 767px) {
    .header .navbar-cart .cart-items .shopping-item .shopping-list li .cart-img {
        height: 60px;
        width: 60px;
        margin-right: 10px;
    }
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .content {
    padding-right: 25px;
    width: 60%;
}

@media (max-width: 767px) {
    .header .navbar-cart .cart-items .shopping-item .shopping-list li .content {
        width: 70%;
    }
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .content h4 {
    margin-bottom: 5px;
    line-height: 22px;
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .content h4 a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-font-active);
}

@media (max-width: 767px) {
    .header .navbar-cart .cart-items .shopping-item .shopping-list li .content h4 a {
        font-size: 13px;
    }
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .content h4 a:hover {
    color: var(--color-blue);
}

.header .navbar-cart .cart-items .shopping-item .shopping-list li .content .quantity {
    line-height: 22px;
    font-size: 14px;
}

.header .navbar-cart .cart-items .shopping-item .bottom {
    text-align: center;
}

.header .navbar-cart .cart-items .shopping-item .bottom .total {
    overflow: hidden;
    display: block;
    padding-bottom: 10px;
}

.header .navbar-cart .cart-items .shopping-item .bottom .total span {
    text-transform: capitalize;
    color: var(--color-font-active);
    font-size: 14px;
    font-weight: 600;
    float: left;
}

.header .navbar-cart .cart-items .shopping-item .bottom .total .total-amount {
    float: right;
    font-size: 14px;
}

.header .navbar-cart .cart-items .shopping-item .bottom .button {
    margin-top: 10px;
    width: 100%;
}

.header .navbar-cart .cart-items .shopping-item .bottom .button .btn {
    width: 100%;
}

@media (max-width: 767px) {
    .header .main-menu-search {
        display: block;
    }
}

.header .main-menu-search .navbar-search {
    position: relative;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.header .main-menu-search .select-position {
    position: relative;
}

.header .main-menu-search .select-position:after {
    border-bottom: 1.5px solid var(--color-overlay);
    border-right: 1.5px solid var(--color-overlay);
    content: '';
    display: block;
    height: 8px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 15px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 8px;
}

.header .main-menu-search .select-position select {
    height: 45px;
    border: 1px solid var(--color-border);
    border-right: 0px;
    padding: 0 20px;
    background: transparent;
    border-radius: 4px 0 0 4px;
    position: relative;
    padding-right: 30px;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    font-size: 14px;
}

.header .main-menu-search .select-position select:focus {
    text-decoration: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.header .main-menu-search .search-input {
    width: 100%;
}

.header .main-menu-search .search-input input {
    width: 100%;
    float: left;
    height: 39px;
    border-radius: 9px;
    padding: 0;
    padding-right: 45px;
    padding-left: 10px;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    font-size: 14px;
    border: unset;
    /*background-color: var(--color-white);*/
    background-color: var(--color-beige-medium);
    color: var(--color-pri);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.header .main-menu-search .search-input button {
    background-color: transparent;
    float: right;
    color: var(--color-font);
    width: 39px;
    height: 39px;
    padding: 0;
    border: 0;
    margin-left: -42px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    font-size: 18px;
    border-radius: 9px;
}

.header .main-menu-search .search-input button:hover,
.header .main-menu-search .search-input button:active {
    background-color: var(--color-pri-active);
    color: var(--color-white) !important;
}

.search.style {
    border-radius: 9px;
    background: var(--color-white-sec);
    height: 39px;
}

.header .main-menu-search .search-btn button:hover {
    background-color: var(--color-white-sec);
    border: 1px solid;
}

.header .nav-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.header .nav-inner.categories {
    padding: 0px !important;
}

.header .mega-category-menu {
    position: relative;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-right: 1px solid var(--color-border);
    margin-right: 40px;
    padding-right: 112px;
    cursor: pointer;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header .mega-category-menu {
        padding-right: 35px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header .mega-category-menu {
        display: none;
    }
}

@media (max-width: 767px) {
    .header .mega-category-menu {
        display: none;
    }
}

.header .mega-category-menu .cat-button {
    display: inline-block;
    color: var(--color-font-active);
    font-size: 15px;
    font-weight: 600;
}

.header .mega-category-menu .cat-button i {
    display: inline-block;
    margin-right: 12px;
    font-size: 20px;
    position: relative;
    top: 2px;
}

.header .mega-category-menu:hover .sub-category {
    opacity: 1;
    visibility: visible;
    top: 61px;
}

.header .mega-category-menu .sub-category {
    position: absolute;
    left: 0;
    top: 68px;
    width: 241px;
    height: auto;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    padding: 15px 0;
}

.header .mega-category-menu .sub-category li {
    display: block;
    position: relative;
}

.header .mega-category-menu .sub-category li:hover .inner-sub-category {
    opacity: 1;
    visibility: visible;
    top: 0;
}

.header .mega-category-menu .sub-category li .inner-sub-category {
    padding: 15px 0;
    position: absolute;
    top: 8px;
    width: 240px;
    height: auto;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    border-radius: 0;
    left: 239px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.header .mega-category-menu .sub-category li .inner-sub-category li {
    display: block;
    position: relative;
}

.header .mega-category-menu .sub-category li .inner-sub-category li:last-child {
    margin: 0;
}

.header .mega-category-menu .sub-category li .inner-sub-category li a {
    color: var(--color-font);
    text-transform: capitalize;
    font-size: 14px;
    position: relative;
    width: 100%;
    padding: 8px 30px;
}

.header .mega-category-menu .sub-category li .inner-sub-category li a:hover {
    color: var(--color-blue);
}

.header .mega-category-menu .sub-category li:last-child {
    margin: 0;
}

.header .mega-category-menu .sub-category li a {
    color: var(--color-font);
    text-transform: capitalize;
    font-size: 14px;
    position: relative;
    width: 100%;
    padding: 8px 30px;
}

.header .mega-category-menu .sub-category li a i {
    font-size: 12px;
    float: right;
    position: relative;
    top: 5px;
}

.header .mega-category-menu .sub-category li a:hover {
    color: var(--color-blue);
}

.header .nav-social {
    float: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 767px) {
    .header .nav-social {
        position: relative;
        margin-top: -50px;
    }
}

.header .nav-social .title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-font-active);
    display: inline-block;
    margin-right: 15px;
}

@media (max-width: 767px) {
    .header .nav-social .title {
        display: none;
    }
}

.header .nav-social ul li {
    display: inline-block;
    margin-right: 5px;
}

.header .nav-social ul li:last-child {
    margin: 0;
}

.header .nav-social ul li a {
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    display: block;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    font-size: 14px;
    color: var(--color-font);
}

.header .nav-social ul li a:hover {
    color: var(--color-white);
    background-color: var(--color-blue);
    border-color: transparent;
}

/* --- Checkout Steps Header --- */
.checkout-steps-header {
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-border);
    padding: 0;
    margin-bottom: 0;
    width: 100%;
}

.checkout-steps-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 64px;
    justify-content: space-between;
    gap: 32px;
}

.checkout-logo {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: var(--color-font);
    margin-right: 36px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-step {
    display: flex;
    align-items: center;
    position: relative;
    background: none;
    border: none;
    margin: 0 0.5rem 0 0;
    padding: 0;
}

.checkout-step-btn {
    background: none;
    border: none;
    padding: 0 8px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--color-font-active);
    font: inherit;
    outline: none;
    border-radius: 0;
    position: relative;
    transition: color 0.2s;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.7;
}

.checkout-step.active .checkout-step-btn,
.checkout-step .checkout-step-btn:disabled {
    color: var(--color-sec-active) !important;
    opacity: 1;
}

.checkout-step.active .checkout-step-btn::after,
.checkout-step .checkout-step-btn:disabled::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 4px;
    background: var(--color-sec-active);
    border-radius: 19px;
}

.checkout-step:not(.active) .checkout-step-btn {
    color: var(--color-font) !important;
    opacity: 0.7;
}

.checkout-step.completed .checkout-step-btn {
    color: var(--color-font-active);
    opacity: 1;
}

.checkout-step-icon {
    margin-right: 6px;
    font-size: 1.1em;
    vertical-align: middle;
}

.checkout-step-label {
    vertical-align: middle;
    font-size: 1rem;
}

.checkout-step:not(:last-child)::after {
    content: "\25B6";
    font-size: 1rem;
    color: var(--color-font-active);
    opacity: 0.5;
    margin: 0 10px 0 6px;
    font-family: Arial, sans-serif;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .checkout-steps-container {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 12px;
        gap: 12px;
    }

    .checkout-logo {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .checkout-steps {
        gap: 0;
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    .checkout-step-label {
        font-size: 0.95rem;
    }

    .checkout-step:not(:last-child)::after {
        margin: 0 4px 0 4px;
    }
}

.nav-logo {
    padding: 0px;
    padding-right: 30px;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 11001;
    background: var(--color-bg);
}

.dropdown-header li .dropdown-item:hover {
    background-color: var(--color-beige-medium);
}

.dropdown-header span.icon {
    display: flex;
    align-items: center;
    flex-direction: row;
    background: var(--color-sec);
    border-radius: 50%;
    color: var(--color-white);
    justify-content: center;
    font-size: 12px;
    aspect-ratio: 1 / 1;
    width: 35px;
    height: 35px;
    padding: 10px;
}

.dropdown-header a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-header a.dropdown-item {
    gap: 8px;
    padding: 8px 15px;
}