/* Header Styles */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    width: 100%;
    font-family: 'Kay Pho Du', serif;
    font-size: 14px; 
}

/* Header styles with dynamic colors */
#site-header {
    width: 100%;  
}

.site-header {
    position: relative;
    width: 100%;
    display: flex;   
    border-bottom: 1px solid #ededed;
    padding: 10px 10%;
    align-items: stretch;
}

.top-header-row {
    padding: 5px 4% 0 !important;
    border: none !important;
    color: #232f3e !important;
}

.bottom-header-row {
    padding: 5px 4% 5px !important;
    border: none !important;
    color: #fff !important;
    background-color: #333;
}

.site-branding {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flwx-start;
}

.search-form {
    flex: 3;

}

.search-icon {
    display: none;
}

.search-form form {
    max-width: 100%;
    border: 1px solid #333;
    border-radius: 25px;
    background-color: #fff;
}

.search-form input {
    padding: 8px;
    border: none;
    width: 72%;
    margin: 2px 0;
    border-left: 1px solid #333;
}

.search-form select {
    width: 16%;
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 8px;

}

.search-form button {
    width: 10%;
    padding: 8px;
    border: none;
    background-color: red;
    color: #fff;
    cursor: pointer;
}

.site-title a {   
    font-family: Candara light, Helvetica, sans-serif !important;
    text-decoration: none;
    display: block;
}


.main-navigation {
    flex: 1;   
    text-align: center;

}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    margin-right: 20px;
}

.main-navigation a {    
    text-decoration: none;
}

/*long navigation*/
.long-nav {
    width: 100%;
    padding: 5px 10%;
    background-color: #f7f7f7;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;

}

.long-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 2px;
}

.long-nav li {
    display: inline-block;
    margin-right: 20px;
}

.long-nav a {
   
    text-decoration: none;
}

.long-nav a:hover {
    color: blue;
    text-decoration: underline;

}

/* Third column for search and mini cart */
.header-icons {
    flex: 1;
    order: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
}



/* Drawer styles */
.drawer-menu {
    position: fixed;
    left: -100vw;
    width: 100vw;
    height: 100%;
    background-color: #fff;
    /* Smooth transition effect */
    padding: 20px;
    /* Add padding for better aesthetics */
    z-index: 9999;
    overflow: scroll;
    transition: left 1s ease-in-out;
}

.drawer-menu-items {
    list-style: none;
    padding: 0;
    margin: 5px;
}

.drawer-menu-items li {
    margin-bottom: 10px;
    /* Adjust spacing between items */
}

.drawer-menu-items a {
    text-decoration: none;
    color: #333;
    /* Link color */
    font-size: 18px;
    /* Font size */
    display: block;
    line-height: 1.4;
    /* Adjust line height for better spacing */
}

.drawer-menu-items a:hover {
    text-decoration: underline;
    /* Underline on hover */
}

.menu-icon {
    display: none;
    font-size: 18px;
    width: 200px;
    margin-bottom: 4px;
}

.close-icon {
    display: none;
    font-size: 18px;
    margin-bottom: 4px;
    cursor: pointer;
}

/* Toggle button styles */
.menu-toggle {
    cursor: pointer;
    text-align: left;
}

.menu-icon-nav {
    display: block;
    max-width: 100%;
}


@media screen and (max-width: 767px) {


    .search-form input {
        width: 60%;

    }

    .search-form select {
        width: 20%;
    }

    .dt-search-bar {
        display: none;
    }

    .search-icon {
        display: block;
    }

    .mobil-hidden {
        display: none !important;
    }

    .menu-icon-nav {
        display: none;
    }

    .menu-icon {
        display: block;
    }


    /*#site-header {*/
    /*     padding:5px 5px;*/
    /*   }*/
    .long-nav {
        display: none;
    }

    .menu-toggle {
        display: block !important;
        flex: 1;
        cursor: pointer;
        text-align: left;
    }

    .main-navigation {
        display: none !important;
    }

    .header-icons {

        align-items: center;
        flex: 2;
        gap: 15px;
    }
}


.announcement-bar {

    padding: 4px;
    /* Adjust padding */
    text-align: center;
}

/*search function*/
.search-container {
    position: relative;
}

.myaccount-container {
    position: relative;
}

.myaccount-icon {
    cursor: pointer;
}

.search-icon {
    cursor: pointer;
}

.search-bar {
    position: fixed;
    display: none;
    top: 10%;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.search-results li.product {
    display: flex;
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between;
    margin: 0 !important;
    padding: 5px !important;
}

.search-results li.product a {
    text-decoration: none !important;
}

.search-results li.product img {
    width: 75px;
    height: 75px;
}

.search-results li.product .woocommerce-LoopProduct-link {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.search-results li.product .woocommerce-LoopProduct-link .star-rating {
    display: none !important;
}

.search-results li.product .add_to_cart_button {
    display: none !important;
}

.search-results li.product .woocommerce-LoopProduct-link h2.woocommerce-loop-product__title {
    flex: 8;
    padding: 5px !important;
    max-height: 75px !important;
    overflow: hidden !important;
    font-size: 14px !important;
    text-align: left !important;
    margin: auto !important;
    color: #595959 !important;
}

.search-results li.product .woocommerce-LoopProduct-link .price {
    float: right !important;
    margin: auto !important;
}

#ajax-search {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
}

.search-results {
    max-height: 300px;
    overflow-y: auto;
    border-top: 1px solid #ddd;
}

.announcement-slideshow {
    padding: 0;
}


.full-screen-nav {
    position: absolute;
    left: 4%;
    width: 90%;
    height: 60vh;
    display: none;
    flex-direction: row;
    justify-content: space-between;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    border: none;
}

.full-screen-nav.active1 {
    display: flex;
}

.nav-columns {
    width: 100%;
    display: flex;
    background: rgba(255, 255, 255, 0);
    border: none;
}

.nav-column {
    padding: 20px;
    background: rgba(255, 255, 255, 0);
}

.parent-categories {
    width: 20%;
    background-color: #fff2d3;
}

.first-child-categories {
    width: 20%;

}

.first-child-categories.active {
    background-color: #fff2d3;
}

.second-child-categories {
    width: 60%;
}

.second-child-categories.active {
    width: 60%;
    background-color: #fff2d3;
}

.nav-column.hidden {
    visibility: hidden;
    /* Hides content without collapsing layout */
    background-color: transparent;
    /* Transparent background for inactive columns */
}

.nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-column ul a {
    text-decoration: none;
    color: #333;

}

.nav-column li {
    padding: 5px 10px;
    margin: 5px 0;
    cursor: pointer;
    background-color: #fff2d3;
    border-radius: 0;
    text-align: left;
}

.nav-column li:hover {
    background-color: #f7f7f7;
}

.second-child-categories ul {
    width: 100%;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .full-screen-nav {
        flex-direction: column;
        height: 100vh;
    }

    .nav-column {
        padding: 10px;
    }
}

.cat-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* Space between image and name */
}

.cat-image {
    width: 50px;
    /* Set desired size */
    height: 50px;
    /* Keep it square */
    border-radius: 50%;
    /* Circular image */
    object-fit: cover;
    /* Ensure the image fits nicely */
}

.cat-name {
    font-size: 14px;
    /* Adjust font size */
    color: #333;
    /* Text color */
    text-align: center;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    /* Remove default bullet points */
    padding: 5px 10px;
    width: 100%;
    /* Ensures full width */
}

.category-link {
    flex-grow: 1;
    /* Keeps text aligned to the left */
    text-align: left;
    /* Ensures left alignment */
    text-decoration: none;
    /* Removes underline */
    color: #000;
    /* Adjust color as needed */
}

.category-arrow {
    font-size: 16px;
    /* Adjust size if needed */
    color: #000;
    /* Change color if required */
    margin-left: 10px;
    /* Provides spacing */
}


/* Container for the products */
.product-list {
    width: 50%;
    display: flex;
    gap: 20px;
    /* Space between product items */
    justify-content: center;
    /* Center align the items */
    padding: 10px;
}

/* Each product item */
.product-item-n {
    flex: 1 1 calc(25%-20px);
    /* 25% width minus the gap */
    text-align: center;
}

/* Adjust for smaller screens */
@media (max-width: 1200px) {
    .product-item-n {
        flex: 1 1 calc(20% - 20px);
        /* 3 items per row */
    }

    .product-image {
        width: 80px;
        height: auto;
        margin-bottom: 5px;
        border-radius: 15px;

    }
}

/* Adjust for smaller screens */
@media (max-width: 1000px) {
    .product-item-n {
        flex: 1 1 calc(15% - 20px);
        /* 3 items per row */
    }

    .product-image {
        width: 50px;
        height: auto;
        margin-bottom: 5px;
        border-radius: 10px;

    }
}






/* Style for the product card */
.product-card-n {
    padding: 10px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.product-card-n:hover {
    transform: translateY(-5px);
}

/* Product image */
.product-image {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 50px;

}

/* Product name and price */
.product-name {
    font-size: 14px;
    margin: 2px 0;
}

.product-price {
    color: #0073aa;
    font-size: 14px;
}


.view-all-item {
    text-align: center;
    margin-top: 10px;
}

.view-all-link {
    display: inline-block;
    padding: 10px 16px;
    background-color: #fbda09;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.view-all-link:hover {
    background-color: #005177;
}


.announcement-slideshow {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    transition: transform 2s ease-in-out;
    overflow: hidden;
    padding: 0;
}

.announcement-bar {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.child-categories-3 {
    display: none;
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}
