.home-grid-section
{
    height: 185px;
    position: relative;
    margin: 50px 50px 0 0;
    box-shadow: 3px 3px 3px 1px rgba(96, 96, 96, .5);
}
.home-grid-inner-section
{
   
    position: absolute;
    left: 180px;
    top: 20px;
    bottom: 0;
    right: 0;

    color: #3a7e3c;
    
}

.gallery_s {
    color: #3a7e3c;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.Navigation li a
{
    text-decoration: none;
}

/**Footer**/
.footer-insize {
    height: 40px;
    background-color: #3a7e3c;
   
    color: #cfcfcf;
    text-align: center;
    line-height: 40px;
}
/**Footer**/

.bread nav 
{
    background-color: #F8F9FA;
    height: 100px;
    line-height: 100px;
}

/** Font sizes **/
.fs-12
{
    font-size: 12px;
}
.fs-10
{
    font-size: 10px;
}
.fs-11
{
    font-size: 11px;
}
.fs-13
{
    font-size: 13px;
}
.fs-14
{
    font-size: 14px !important;
}
.fs-15
{
    font-size: 15px;
}
.fs-16
{
    font-size: 16px;
}

/* .pagination-product
{
    text-align: center;
} */
.pagination-product ul > li
{
   display:inline-block;
   /* padding:0px 10px; */
}

.pagination-product {
    text-align: center;
    margin: 20px 0;
}

.pagination-product ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    /* gap: 10px; */
}

.pagination-product .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 16px;
    color: #555;
    border: 1px solid #ddd;
    /* border-radius: 5px; */
    transition: background-color 0.3s, color 0.3s;
}

.pagination-product .page-numbers:hover {
    /* background-color: #007bff; */
    /* color: #fff; */
    border-color: #3a7e3c;
}

.pagination-product .page-numbers.current {
    background-color: #3a7e3c;
    color: #fff;
    border-color: #3a7e3c;
    pointer-events: none;
}

.pagination-product .prev.page-numbers {
    border-radius: 5px 0 0 5px;
}

.pagination-product .next.page-numbers {
    border-radius: 0 5px 5px 0;
}

/* Search */

#live-search-form {
    position: relative;
    width: 300px;
}
#search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 99999;
    display: none;
    /* max-height: 200px; */
    overflow-y: auto;
}
#search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#search-results li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
#search-results li:hover {
    background: #f4f4f4;
    cursor: pointer;
}





/*Related Products*/
.related-products .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-products .product {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.related-products .product:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.related-products .product img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.related-products .product h2 {
    font-size: 1rem;
    margin: 10px 0;
    font-weight: bold;
}

.related-products .product .price {
    font-size: 1.1rem;
    color: #3a7e3c;
    font-weight: 600;
}

.related-products .product .button {
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 0.9rem;
    background: #3a7e3c;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.related-products .product .button:hover {
    background: #0056b3;
    color: #fff;
}

.related-products {
    margin: 0 auto;
}

.related-products .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.related-products .product {
    flex: 1 1 calc(25% - 1.5rem); /* 4 items per row, adjust spacing */
    max-width: calc(25% - 1.5rem);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .related-products .product {
        flex: 1 1 calc(50% - 1rem); /* 2 items per row on smaller screens */
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .related-products .product {
        flex: 1 1 100%; /* 1 item per row on extra-small screens */
        max-width: 100%;
    }
}
.related.products .button {
    display: none;
}
.related.products a {
    text-decoration: none; /* Removes underline */
    color: #333; /* Changes text color to black */
}

/*Related Products*/

/* product Slider */

.product-image-slider {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.thumbnail-slider {
    display: flex;
    overflow-x: scroll;
    gap: 10px;
    max-width: 100%;
}

.thumbnail-slider ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.thumbnail-slider li {
    width: 80px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumbnail-slider li:hover {
    opacity: 0.7;
}

.thumbnail-slider img {
    width: 100%;
    height: auto;
}



/* Product Page Styling */
.product-page {
    display: flex;
    gap: 20px;
}

/* Details Section */
.product-details {
    flex: 1;
}

/* Sticky Slider Section */
.sticky-slider {
    flex: 1;
    position: sticky;
    top: 10px; /* Adjust this value based on your layout */
    height: fit-content; /* Ensures it resizes properly */
}

.nivo-slider img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* product Slider */

.product-price {
    font-size: 18px;
    margin: 10px 0;
}

.product-price .regular-price {
    margin-right: 10px;
    font-size: 16px;
    text-decoration: line-through;
    color: #888;
}

.product-price .sale-price {
    font-size: 18px;
    font-weight: bold;
    color: #3a7e3c;
}

/* Make Navbar Sticky */
.navbar {
    position: sticky;
    top: 0;
    z-index: 9999; /* Ensures it stays on top of other elements */
    background-color: #3a7e3c; /* Optional: To match your website's design */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better visibility */
}
/* Make Navbar Sticky */

.add-to-cart-button {
    background-color: #3a7e3c; /* Theme Color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.add-to-cart-button:hover {
    background-color: #2d5e2d; /* Slightly darker shade for hover */
    transform: scale(1.05); /* Adds a small zoom effect */
}

.out-of-stock-message {
    font-size: 14px;
    font-weight: bold;
    color: #ff0000;
}


.header-cart {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-button {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.cart-button:hover {
    color: #2d5e2d; /* Slightly darker shade for hover */
}

.cart-count {
    font-size: 14px;
    font-weight: bold;
    background-color: #3a7e3c; /* Theme Color */
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    margin-left: 5px;
}


.custom-login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.custom-login-form div {
    margin-bottom: 15px;
}

.custom-login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.custom-login-form input[type="text"],
.custom-login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-login-form button {
    background-color: #3a7e3c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.custom-login-form button:hover {
    background-color: #2e662e;
}


.custom-signup-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.custom-signup-form div {
    margin-bottom: 15px;
}

.custom-signup-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.custom-signup-form input[type="text"],
.custom-signup-form input[type="email"],
.custom-signup-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-signup-form button {
    background-color: #3a7e3c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.custom-signup-form button:hover {
    background-color: #2e662e;
}

/* General My Account Container */
.woocommerce-MyAccount {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
}

/* Sidebar Navigation Styling */
.woocommerce-MyAccount-navigation {
    flex: 0 0 25%; /* Set fixed width for sidebar */
    background: #ffffff; /* Main theme color */
    border-radius: 10px;
    padding: 20px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    color: #fff;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 15px;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    margin-bottom: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    background: #edecec; /* Match sidebar background */
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #2e662e; /* Darker shade for hover/active */
    border-color: #2e662e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Content Area Styling */
.woocommerce-MyAccount-content {
    flex: 1; /* Take up remaining space */
    background: #f9f9f9; /* Light background for content */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .woocommerce-MyAccount {
        flex-wrap: wrap; /* Stack sidebar and content vertically */
    }

    .woocommerce-MyAccount-navigation {
        flex: 1 1 100%; /* Full width for sidebar */
        margin-bottom: 20px;
    }

    .woocommerce-MyAccount-content {
        flex: 1 1 100%; /* Full width for content */
    }
}

/* Additional Spacing for Billing/Shipping Addresses */
.woocommerce-MyAccount-content h3 {
    margin-top: 30px;
    font-size: 18px;
    font-weight: bold;
}

/* Prevent Menu from Shifting on Scroll */
.woocommerce-MyAccount-navigation {
    position: static; /* Ensure the navigation stays in place */
}

/* Ensure Smooth Layout with No Shifting */
.woocommerce-MyAccount {
    align-items: flex-start; /* Keep sidebar and content aligned */
}

/* Optional: Make Menu Always Visible Without Scrolling in Sidebar */
.woocommerce-MyAccount-navigation {
    overflow: auto; /* Enable scrolling within the navigation if content overflows */
    max-height: calc(100vh - 40px); /* Limit height to the viewport */
}

/* Styling both Account Details and Addresses Form */
.woocommerce-Address, .woocommerce-EditAccountForm {
    background-color: #fff; /* White background for both forms */
    border-radius: 10px; /* Rounded corners for a modern look */
    padding: 20px; /* Add padding for space around the forms */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for a lifted effect */
    margin-top: 20px;
    max-width: 800px; /* Limit the width to improve readability */
    margin: 20px auto; /* Center both forms horizontally */
}

/* Form Title */
.woocommerce-Address h2, .woocommerce-EditAccountForm h2 {
    font-size: 24px; /* Increase font size */
    font-weight: 700;
    margin-bottom: 20px; /* Space below title */
    color: #3a7e3c; /* Match theme color */
}

/* Input Fields */
.woocommerce-Address .woocommerce-input-wrapper input,
.woocommerce-EditAccountForm .woocommerce-input-wrapper input {
    width: 100%; /* Make inputs full-width */
    padding: 12px; /* Add padding inside the input */
    margin-bottom: 20px; /* Space between fields */
    border: 2px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    font-size: 16px;
    color: #333; /* Dark text for readability */
}

/* Focus State for Input Fields */
.woocommerce-Address .woocommerce-input-wrapper input:focus,
.woocommerce-EditAccountForm .woocommerce-input-wrapper input:focus {
    border-color: #3a7e3c; /* Highlight border with theme color on focus */
    box-shadow: 0 0 5px rgba(58, 126, 60, 0.3); /* Add subtle shadow */
}

/* Labels for Input Fields */
.woocommerce-Address label,
.woocommerce-EditAccountForm label {
    font-size: 16px; /* Slightly larger label text */
    font-weight: 600;
    margin-bottom: 8px; /* Space between label and input */
    display: block; /* Make labels block to align with inputs */
    color: #555; /* Darker color for readability */
}

/* Submit Button */
.woocommerce-Address button[type="submit"],
.woocommerce-EditAccountForm button[type="submit"] {
    background-color: #3a7e3c; /* Theme color */
    color: #fff; /* White text */
    padding: 15px 25px; /* Space inside the button */
    font-size: 16px;
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Submit Button Hover Effect */
.woocommerce-Address button[type="submit"]:hover,
.woocommerce-EditAccountForm button[type="submit"]:hover {
    background-color: #336d2d; /* Darker theme color on hover */
}

/* Responsive Design: Adjusting for Mobile */
@media (max-width: 767px) {
    .woocommerce-Address, .woocommerce-EditAccountForm {
        padding: 15px; /* Reduce padding on mobile */
        margin-top: 10px; /* Reduce margin */
    }
    
    .woocommerce-Address input,
    .woocommerce-EditAccountForm input {
        font-size: 14px; /* Smaller text for mobile */
        padding: 10px; /* Reduced padding for smaller screens */
    }
    
    .woocommerce-Address button[type="submit"],
    .woocommerce-EditAccountForm button[type="submit"] {
        padding: 12px 20px; /* Smaller button size on mobile */
        font-size: 14px;
    }
}



/* Form Fields */
.woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.woocommerce-address-fields .form-row {
    width: calc(50% - 10px);
    margin-bottom: 20px;
    position: relative;
}

.woocommerce-address-fields .form-row label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* Input Fields */
input.input-text, select.input-text {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

input.input-text:focus, select.input-text:focus {
    border-color: #3a7e3c;
    outline: none;
    background-color: #fff;
}

.woocommerce-input-wrapper {
    position: relative;
    display: block;
}

select.country_select, select.state_select {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
}

select.country_select:focus, select.state_select:focus {
    background-color: #fff;
    border-color: #3a7e3c;
    outline: none;
}

/* Optional Text Styling */
.optional {
    font-size: 12px;
    color: #888;
}

/* Error and Required Fields */
.woocommerce-address-fields__field-wrapper .validate-required:after {
    content: "*";
    color: red;
}

.woocommerce-address-fields__field-wrapper .form-row .error {
    color: red;
    font-size: 12px;
}

/* Adjustments for small screens */
@media screen and (max-width: 768px) {
    .woocommerce-address-fields .form-row {
        width: 100%;
    }
}

/* Form submission button styling */
button[type="submit"] {
    background-color: #3a7e3c;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2e5c2a;
}


.price del {
    color: #999;
    font-size: 0.9em;
    margin-right: 5px;
    text-decoration: line-through;
}

.price ins {
    color: #3a7e3c;
    font-size: 1.1em;
    font-weight: bold;
}

.wp-block-woocommerce-cart-line-items-block img {
    display: block;
}

.wp-block-woocommerce-cart-line-items-block img[src="https://innojs.com/insize/wp-content/uploads/woocommerce-placeholder-300x300.png"] {
    content: url('https://innojs.com/insize/wp-content/uploads/2025/01/New-Project-9.png'); /* Replace with your ACF placeholder image URL */
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease-in-out;
}

.search-item:hover {
    background: #f8f8f8;
}

.search-item-link {
    text-decoration: none;
    color: #333;
    display: block;
}

.search-item-title {
    font-size: 16px;
    font-weight: bold;
}

.search-item-meta {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}

.search-item-meta span {
    margin-right: 10px;
}

.search-item-category {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
    font-style: italic;
}

/** Search By Category***/
#product-search-form {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    display: inline-block;
}

#product-search-input {
    width: 60%;
    padding: 8px;
    margin-bottom: 10px;
}

#category-checkboxes {
    margin-bottom: 10px;
}

#product-search-form label {
    display: block;
    font-size: 14px;
    cursor: pointer;
}

#product-search-form button {
    background: #3a7e3c;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

#product-search-form button:hover {
    background: #2f6b30;
}

/** Search By Category***/
.full-width-search-form {
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.full-width-search-form input[type="text"] {
    width: 80%;
    padding: 12px;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 5px;
}

.full-width-search-form button {
    padding: 12px 20px;
    font-size: 18px;
    background: #3a7e3c; /* Your Theme Color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.full-width-search-form button:hover {
    background: #2e6a30;
}




/* Main language dropdown container */
.pll-parent-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #3e763b; /* Match header background */
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    min-width: 160px;
    position: relative;
}

/* Language name and flag alignment */
.pll-parent-menu-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

/* Adjust flag size */
.pll-parent-menu-item img {
    width: 16px;
    height: 11px;
}

/* Dropdown arrow styling */
.pll-parent-menu-item i img {
    width: 10px;
    margin-left: auto;
}

/* Dropdown menu styling */
.sub-menu.dropdown-menu {
    background: #3e763b !important; /* Match background */
    border: none;
    border-radius: 5px;
    padding: 5px 0;
    min-width: 160px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

/* Dropdown menu items */
.sub-menu.dropdown-menu li {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Dropdown menu links */
.sub-menu.dropdown-menu li a {
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    width: 100%;
}

/* Fix overlapping text */
.sub-menu.dropdown-menu li a span {
    display: inline-block;
    margin-left: 6px;
}

/* Highlight on hover */
.sub-menu.dropdown-menu li:hover {
    background: #305b2d;
    border-radius: 5px;
}
.dropdown-toggle {
    white-space: nowrap;
    width: 50px;
}