.site-header{
    position: relative;
    background-color: #ffffff;
}
.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    z-index: 999;
}
.site-header .container .row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 3rem;
    min-height: 4.5rem;
}
.left-menu{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    font-size: 0.9rem;
    color: #000000;
}
.contact-btn a{
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #000000;
}
.contact-btn a:hover{
    color: #e01a2b;
}
.contact-btn a:hover svg path{
    fill: #e01a2b;
}
.custom-logo{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.custom-logo img{
    max-width: 3rem !important;
}
.site-header .container .row .right-menu{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.4rem;
}
.site-header .container .row .right-menu a svg{
    width: 24px;
    height: 24px;
}
.toggle-menu{
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
}
.toggle-menu:hover{
    color: #e01a2b;
}
.toggle-menu:hover svg path{
    fill: #e01a2b;
}
.user a {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #000000;
    color: #000000;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 0.3rem;
    font-weight: 400;
}
.user a:hover{
    border: 1px solid #e01a2b;
    color: #e01a2b;
}
.cart-bag a{
    position: relative;
}
.cart-bag:hover svg{
    fill: #e01a2b;
}
.cart-count {
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 20px;
    height: 20px;
    background-color: #e01a2b;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1rem;
    font-weight: 500;
    color: #ffffff;
}
.cart-bag {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.header-cart-content {
    display: flex;
    flex-direction: column;
    margin-top: 0.2rem;
}
.header-cart-title {
    font-size: 0.9rem;
    line-height: 0.9rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.03rem;
}
.header-cart-label.subtotal,
.header-cart-subtotal{
    font-size: 0.8rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: #e01a2b;
}
.search-svg{
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.search-svg:hover{
    fill: #e01a2b;
}

/* Search */
.search-submit {
    display: none;
}
.ajax-search-wrapper {
    border: none;
    border-top: 1px solid #cccccc !important;
    font-size: 0.9rem;
    font-weight: 400;
    color: #000000;
}
.ajax-search-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 320px;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s ease;
    z-index: 999;
    background-color: #ffffff;
    padding: 2rem;
}
.search-svg.search-active{
    fill: #e01a2b;
}
.ajax-search-wrapper.open-search {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Main menu */
.main-menu-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(15px);
    display: none;
}
.main-menus {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 30%;
    height: inherit;
    padding: 8rem 2rem 2rem 2rem;
}
.main-menus .logout-btn {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    border: 1px solid #000000;
    display: block;
    width: calc(100% - 4rem);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #000000;
    transition: all 0.5s ease;
}
.main-menus .logout-btn:hover{
    background-color: #e01a2b;
    border-color: #e01a2b;
    color: #ffffff;
}
#menu-main-menu {
    margin: 0;
}
#menu-main-menu li {
    list-style: none;
    margin-bottom: 1.3rem;
}
#menu-main-menu li a {
    font-size: 1.1rem;
    font-weight: 300;
    display: block;
    color: #000000;
}
#menu-main-menu li a:hover,
#menu-main-menu .current-menu-item a{
    color: #e01a2b;
    text-decoration: underline;
}
.close-icon-svg {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background-color: #000000;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
}
.close-icon-svg:hover{
    background-color: #e01a2b;
}
.sidebar-menu-logo a img {
    width: 2.5rem !important;
}
.sidebar-menu-logo {
    position: absolute;
    left: 3rem;
    top: 3rem;
}
.custom-logo-link,
.custom-logo-link img {
    width: auto !important;
    height: auto !important;
    max-width: 200px;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.site-logo-img,
.sidebar-menu-logo .custom-logo-link {
    display: block !important;
}

.sidebar-menu.open-menu{
    display: block;
    right: 0;
}
.no-scroll{
    overflow: hidden;
}

.login-icon{
    width: 1rem !important;
}



/* ========== 1200px and below ========== */
@media (max-width: 1200px) {
    .site-header .container .row {
        grid-template-columns: 1fr 1fr;
        padding: 0.5rem 2rem;
    }

    .custom-logo img {
        max-width: 2.6rem !important;
    }

    .main-menus {
        max-width: 40%;
    }
}

/* ========== 992px and below ========== */
@media (max-width: 992px) {

    /* Header */
    .site-header .container .row {
        padding: 0.5rem 1.5rem;
    }

    .left-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .right-menu {
        gap: 1.5rem !important;
    }

    .main-menus {
        max-width: 50%;
        padding: 6rem 2rem 2rem 2rem;
    }

    .sidebar-menu-logo {
        top: 2rem;
        left: 2rem;
    }
}

/* ========== 768px (Tablets + Large Mobile) ========== */
@media (max-width: 768px) {
    .custom-logo img {
        max-width: 2.3rem !important;
    }

    /* Right menu compact */
    .site-header .container .row .right-menu {
        gap: 1rem;
    }

    .user a,
    .cart-bag a svg {
        width: 22px;
        height: 22px;
    }

    /* Cart count smaller */
    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.7rem;
        right: -4px;
    }

    /* Sidebar menu full width on mobile */
    .main-menus {
        max-width: 100%;
        padding: 5rem 1.5rem 2rem 1.5rem;
    }

    .close-icon-svg {
        width: 42px;
        height: 42px;
        top: 1rem;
        right: 1rem;
    }

    .sidebar-menu-logo {
        left: 1.5rem;
        top: 1.5rem;
    }

    #menu-main-menu li a {
        font-size: 1rem;
    }

    /* Search box reposition */
    .search-form {
        bottom: -35px;
        max-width: 260px;
    }
}

@media (max-width: 600px) {
    .header-cart-content, .contact-btn, .user{
        display: none;
    }
    
    #menu-main-menu {
        text-align: center;
        padding-top: 4rem;
    }
    
    .sidebar-menu-logo {
        left: 50%;
        top: 6%;
        transform: translateX(-50%);
    }
}

@media (max-width: 544px) {
    .woocommerce-result-count {
        border-bottom: 1px solid #000000;
        padding: 1rem;
    }
}

/* ========== 480px (Small Phones) ========== */
@media (max-width: 480px) {

    .custom-logo img {
        max-width: 3rem !important;
    }

    .search-svg {
        width: 18px;
        height: 18px;
    }

    .user a {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .cart-bag {
        gap: 0.5rem;
    }

    .main-menus {
        padding: 4.5rem 1rem 1.5rem 1rem;
    }

    #menu-main-menu li a {
        font-size: 0.95rem;
    }

    .close-icon-svg {
        width: 36px;
        height: 36px;
    }

    .search-form {
        right: 0;
        max-width: 200px;
    }

}



























