/***** Header *****/

.full-header {
    width: 100%;

    float: left;
}

#header {
    box-sizing: border-box;

    float: left;

    width: 100%;
}

/* 3-column Grid Layout for Header */

.header-box {
    display: grid !important;

    grid-template-columns: 1fr 1.2fr 1fr;

    align-items: center !important;

    /* gap: 20px; */

    width: 100%;

    box-sizing: border-box;

    overflow: visible !important;

    /* Ensure nothing is hidden */
}

.header-logo {
    float: none !important;

    width: 100% !important;

    display: flex;

    justify-content: flex-start;
}

.header-logo img {
    height: auto;

    width: 100%;

    max-width: 180px !important;
}

.text-header {
    float: none !important;

    width: 100% !important;

    display: flex;

    justify-content: center;

    text-align: center;
}

.text-header h1 {
    color: #d4a017;

    font-size: 16px !important;

    font-weight: bold;

    text-align: center;

    text-shadow: 2px 2px 2px #fff;

    text-transform: uppercase;

    margin: 0;

    line-height: 1.6;
}

.header-actions {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    width: 100%;

    padding-right: 15px;

    /* Prevent cart badge from getting cut off at the edge */

    box-sizing: border-box;
}

.search-menu,
.cart-menu {
    float: none !important;

    margin-left: 15px !important;
}

.search-menu i,
.cart-menu i {
    color: #333;

    font-size: 22px;
}

.cart-menu a {
    color: #333;

    display: flex;

    align-items: center;
}

/* Custom Search Form */

.search-menu .search-form {
    position: relative;

    display: flex;

    align-items: center;
}

.search-menu .search-form input[type="search"] {
    width: 100%;

    max-width: 220px;

    height: 38px;

    padding: 8px 40px 8px 15px;

    /* Padding for text and icon */

    border: 1px solid #ccc;

    border-radius: 20px;

    outline: none;

    font-size: 14px;

    background-color: #fff;

    transition: all 0.3s ease;
}

.search-menu .search-form input[type="search"]:focus {
    border-color: #0073aa;

    box-shadow: 0 0 5px rgba(0, 115, 170, 0.2);
}

.search-menu .search-form .search-submit {
    position: absolute;

    right: 1px;

    top: 50%;

    transform: translateY(-50%);

    background: none;

    border: none;

    padding: 10px;

    cursor: pointer;

    color: #666;

    transition: color 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 0px 20px 20px 0px;
}

.search-menu .search-form .search-submit:hover {
    color: #0073aa;
}

.search-menu .search-form .search-submit i.fa-search {
    font-size: 16px !important;

    color: inherit !important;
}

.ngonngu {
    text-align: right;

    width: 100%;
}

.ngonngu li {
    display: inline-block;
}



/* Responsive Layout for Tablet (<= 1024px) */
@media only screen and (max-width: 1024px) {
    .header-box {
        grid-template-columns: 1fr 4fr !important;
    }

    .header-actions {
        display: none !important;
    }
}

/* Responsive Layout for Mobile only */
@media only screen and (max-width: 767px) {

    .full-header {
        padding: 5px 0;
    }

    .header-box {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start;
    }

    .header-logo {
        flex: 0 0 auto;
        width: auto !important;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .header-logo a {
        display: flex;
        align-items: center;
    }

    .header-logo img {
        max-width: 120px !important;
        display: block;
    }

    .text-header {
        flex: 1 1 auto;
        width: auto !important;
        text-align: left;
        justify-content: flex-start;
        margin: 0 0 0 10px;
        padding-left: 10px;
        border-left: 1px solid #ccc;
        display: flex;
        align-items: center;
    }

    .text-header h1 {
        font-size: 11px !important;
        text-align: left;
        line-height: 1.3;
        margin: 0;
        padding: 0;
    }

    .header-actions {
        display: none !important;
    }

    li#menu-item-1182 {
        display: none !important;
    }
}

@media only screen and (max-width: 480px) {
    .header-logo img {
        max-width: 80px !important;
    }

    .text-header h1 {
        font-size: 9px !important;
    }

    .text-header {
        margin-left: 5px;
        padding-left: 5px;
    }
}