.fontgaramond {
    font-family: 'EB Garamond', serif;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f3f6f3ff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #0d1f08;
    transform: translateY(-5px);
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.preload-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preload-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preload-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-preload {
    max-width: 150px;
    height: auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ========== HEADER STYLES ========== */
.header-wrapper {
    width: 100%;
    padding: 0;
}

.wrapper-header {
    margin: 0;
    padding: 0;
}

/* Main header container - Transparent by default */
#mainHeader {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent !important;
}

/* Fixed white header only on product-details page */
body.page-product-details #mainHeader {
    position: fixed !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Add padding to body only on product-details page */
body.page-product-details {
    padding-top: 80px;
}

/* Header content wrapper - Transparent by default */
.header-primary {
    width: 100%;
    background-color: transparent !important;
    height: auto;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
    border-bottom: none;
    position: relative;
    z-index: 1000;
}

/* Fixed white header only on product-details page */
body.page-product-details .header-primary {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-primary .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.header-primary .wrapper-header-5 {
    min-height: 80px !important;
    transition: all 0.3s ease;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    background-color: transparent !important;
}

/* White background only on product-details page */
body.page-product-details .wrapper-header-5 {
    background-color: #ffffff !important;
}

/* Ensure all columns stay in one row */
.wrapper-header-5 > div {
    flex-shrink: 0;
}

/* Default header state - Transparent on most pages, white on product-details */
.header-default {
    transition: all 0.3s ease;
    background-color: transparent !important;
}

body.page-product-details .header-default {
    background-color: #ffffff !important;
}

/* ========== Background Colors ========== */
#mainHeader {
    background-color: transparent !important;
}

body.page-product-details #mainHeader {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.page-product-details #mainHeader .wrapper-header-5 {
    background-color: #ffffff !important;
    min-height: 80px;
}

/* ========== TEXT COLORS ========== */
/* Default: White text on transparent header */
#mainHeader .menu-item .item-link {
    color: #ffffff !important;
}

#mainHeader .menu-item .item-link:hover {
    color: #f0f0f0 !important;
}

#mainHeader .nav-icon-item svg path,
#mainHeader .nav-icon-item svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Green text only on product-details page */
body.page-product-details #mainHeader .menu-item .item-link {
    color: #0f4f12ff !important;
}

body.page-product-details #mainHeader .menu-item .item-link:hover {
    color: #0d3d0f !important;
}

body.page-product-details #mainHeader .nav-icon-item svg path,
body.page-product-details #mainHeader .nav-icon-item svg {
    fill: #0f4f12ff !important;
    stroke: #0f4f12ff !important;
}

/* Additional selectors for all icon types on product-details page */
body.page-product-details #mainHeader .icon,
body.page-product-details #mainHeader .icon svg,
body.page-product-details #mainHeader .icon svg path,
body.page-product-details #mainHeader .nav-icon-item .icon,
body.page-product-details #mainHeader .nav-icon-item .icon path,
body.page-product-details #mainHeader .site-nav-icon svg,
body.page-product-details #mainHeader .site-nav-icon svg path {
    fill: #0f4f12ff !important;
    stroke: #0f4f12ff !important;
    color: #0f4f12ff !important;
}

/* Contact Us text on product-details page - always green */
body.page-product-details #mainHeader .nav-contact .item-link,
body.page-product-details #mainHeader .nav-icon-item a,
body.page-product-details #mainHeader .site-nav-icon {
    color: #0f4f12ff !important;
}

body.page-product-details #mainHeader .nav-contact .item-link:hover {
    color: #0d3d0f !important;
}

/* Swap white icons to green icons on product-details page */
body.page-product-details #mainHeader .nav-cart .header-icon[src*="cart_w.svg"] {
    content: url('../icon/navbar/cart_g.svg') !important;
}

body.page-product-details #mainHeader .nav-account .header-icon[src*="profile_w.svg"] {
    content: url('../icon/navbar/profile_g.svg') !important;
}

/* Make search icon stroke green on product-details page */
body.page-product-details #mainHeader .nav-search-btn svg path {
    stroke: #0f4f12ff !important;
}

#mainHeader .nav-search-input {
    color: #ffffff !important;
}

#mainHeader .nav-search-input::placeholder {
    color: #f0f0f0 !important;
}

#mainHeader .nav-search-btn svg path {
    stroke: #ffffff !important;
}

body.page-product-details #mainHeader .nav-search-input {
    color: #0f4f12ff !important;
}

body.page-product-details #mainHeader .nav-search-input::placeholder {
    color: #666 !important;
}

body.page-product-details #mainHeader .nav-search-btn svg path {
    stroke: #0f4f12ff !important;
}

#mainHeader:not(.header-scrolled):hover .nav-search-btn svg path {
    stroke: #ffffff !important;
}

body.page-product-details #mainHeader:not(.header-scrolled):hover .nav-search-btn svg path {
    stroke: #0f4f12ff !important;
}

/* Scrolled state: Dark text on white background */
#mainHeader.header-scrolled .menu-item .item-link {
    color: #0f4f12ff !important;
}

#mainHeader.header-scrolled .nav-icon-item .icon path {
    stroke: #0f4f12ff !important;
}

#mainHeader.header-scrolled .nav-account .nav-icon-item path {
    fill: #0f4f12ff !important;
}

/* ========== LOGO SWITCHING ========== */
/* Default: White logo on transparent header */
.logo-header {
    position: relative;
    display: inline-block;
    text-decoration: none;
    height: 60px;
    width: auto;
}

.logo-img {
    max-height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
    object-fit: contain;
    display: block;
}

/* Default pages: Show white logo */
.logo-default {
    opacity: 0 !important;
}

.logo-white {
    opacity: 1 !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Product-details page: Show green logo */
body.page-product-details .logo-default {
    opacity: 1 !important;
}

body.page-product-details .logo-white {
    opacity: 0 !important;
}

/* Scrolled state: Always show green logo */
#mainHeader.header-scrolled .logo-default {
    opacity: 1 !important;
}

#mainHeader.header-scrolled .logo-white {
    opacity: 0 !important;
}

/* Colored logo when hovered or scrolled */
#mainHeader.header-scrolled .logo-default,
#mainHeader:not(.header-scrolled):hover .logo-default {
    opacity: 1 !important;
}

#mainHeader.header-scrolled .logo-white,
#mainHeader:not(.header-scrolled):hover .logo-white {
    opacity: 0 !important;
}

/* ========== NAVIGATION MENU ========== */
.box-navigation {
    width: 100%;
}

.box-nav-ul {
    gap: 20px;
    flex-wrap: nowrap;
}

.menu-item {
    position: relative;
    white-space: nowrap;
}

.menu-item .item-link {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 0px 10px;
    display: block;
    white-space: nowrap;
    position: relative;
    padding-bottom: 5px;
}

/* Underline animation on hover */
.menu-item .item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #14340f;
    transition: width 0.3s ease;
}

.menu-item .item-link:hover::after {
    width: 80%;
}



/* Dropdown menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1000;
    min-width: 250px;
}

.menu-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.menu-list li {
    display: block;
}

.menu-link-text {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.menu-link-text:hover {
    background-color: #f5f5f5;
    color: #14340f;
}

/* ========== NAV ICONS ========== */
.nav-icon {
    gap: 15px;
    flex-wrap: nowrap;
}

.nav-contact {
    display: inline-flex;
    align-items: center;
}

.nav-contact .item-link {
    position: relative;
    padding-bottom: 5px;
}

/* Contact Us underline animation */
.nav-contact .item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #14340f;
    transition: width 0.3s ease;
}

.nav-contact .item-link:hover::after {
    width: 80%;
}

/* Default: White text on transparent background */
#mainHeader:not(.header-scrolled) .nav-contact .item-link {
    color: #ffffff !important;
}

/* Hover state: Dark text when hovered */
#mainHeader:not(.header-scrolled):hover .nav-contact .item-link {
    color: #0f4f12ff !important;
}

/* Scrolled state: Dark text on white background */
#mainHeader.header-scrolled .nav-contact .item-link {
    color: #0f4f12ff !important;
}

.nav-icon-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-icon-item:hover {
    transform: scale(1.1);
}

.nav-search,
.nav-cart,
.nav-account {
    position: relative;
}

.nav-cart .icon,
.nav-search .icon {
    width: 30px;
    height: 30px;
}

.count-box {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: #14340f;
}

/* Account dropdown */
.dropdown-list {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
    padding: 8px 0;
}

.nav-account:hover .dropdown-list,
.nav-account:focus-within .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-list .list-menu-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-list .list-menu-item li {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    background-color: #f5f5f5;
    color: #14340f;
}

.dropdown-list::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 15px;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
    filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.08));
}

/* ========== SEARCH BAR ========== */
.nav-search {
    flex: 0 0 auto;
    max-width: none;
}

.nav-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    height: 27px;
    width: auto;
    max-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 0px;
    padding: 0px 0px 0px 1px;
    margin: 0px;
    background-color: transparent !important;
    transition: all 0.3s ease;
}
/* 
Search bar on hover (when not scrolled) */
#mainHeader:not(.header-scrolled):hover .nav-search-form {
    border: 1px solid #14340F !important;
}

/* Search bar when scrolled */
#mainHeader.header-scrolled .nav-search-form {
    border: 1px solid #14340F !important;
}

.nav-search-input {
    width: auto;
    max-width: 150px;
    height: 26px;
    flex: 1 1 auto;
    border-radius: 0% !important;
    border: none !important;
    padding: 0px;
    font-size: 10px;
    color: #ffffff;
    outline: none;
    margin: 0px;
    background-color: transparent !important;
}

/* Search input color on hover (when not scrolled) */
#mainHeader:not(.header-scrolled):hover .nav-search-input {
    color: #333 !important;
}

/* Search input color when scrolled */
#mainHeader.header-scrolled .nav-search-input {
    color: #333 !important;
}

.nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

/* Placeholder color on hover (when not scrolled) */
#mainHeader:not(.header-scrolled):hover .nav-search-input::placeholder {
    color: #999 !important;
}

/* Placeholder color when scrolled */
#mainHeader.header-scrolled .nav-search-input::placeholder {
    color: #999 !important;
}

.nav-search-btn {
    border-radius: 0px !important;
    background-color: transparent !important;
    height: auto;
    width: auto;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Keep background transparent always */
#mainHeader:not(.header-scrolled):hover .nav-search-btn,
#mainHeader.header-scrolled .nav-search-btn {
    background-color: transparent !important;
}

/* Default: White stroke on transparent header */
#mainHeader:not(.header-scrolled) .nav-search-btn svg path {
    stroke: #ffffff !important;
}

/* On hover/scroll: Dark green stroke */
#mainHeader:not(.header-scrolled):hover .nav-search-btn svg path,
#mainHeader.header-scrolled .nav-search-btn svg path {
    stroke: #14340f !important;
}

/* ========== MOBILE MENU TOGGLE ========== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #f3f3f3ff;
    padding: 0;
    line-height: 1;
}

/* Mobile menu toggle on hover (when not scrolled) */
#mainHeader:not(.header-scrolled):hover .mobile-menu-toggle {
    color: #181818;
}

/* Mobile menu toggle when scrolled */
#mainHeader.header-scrolled .mobile-menu-toggle {
    color: #181818;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1199px) {
    .mobile-menu-toggle {
        display: inline-block;
    }
    
    .header-primary .wrapper-header-5 {
        min-height: auto;
        padding: 15px 0;
        flex-wrap: wrap;
    }

    .box-nav-ul {
        flex-direction: column;
        gap: 10px;
    }

    .dropdown-list {
        position: fixed;
        top: 60px;
        left: 180px;
        min-width: 150px;
        width: 160px;
        transform: translateY(0);
        border-radius: 10px;
    }

    .dropdown-list .dropdown-link {
        padding: 12px;
        font-size: 15px;
    }

    .nav-account:hover .dropdown-list {
        opacity: 1;
        visibility: visible;
    }

    .nav-search-form {
        border: none !important;
        width: 60% !important;
        background-color: transparent !important;
    }
    
    /* Adjust logo position to prevent overlap with nav text */
    .logo-header {
        margin-left: 20px;
    }
}

/* Additional spacing for screens below 1400px */
@media (max-width: 1399px) {
    .logo-header {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .header-primary .wrapper-header-5 {
        min-height: 70px !important;
        padding: 10px 15px !important;
    }
    
    /* Mobile: Always show white background */
    #mainHeader {
        background-color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .logo-img {
        max-width: 100%;
        max-height: 50px;
        height: auto;
    }
    
    .logo-header {
        height: 50px;
    }

    .menu-item .item-link {
        padding: 8px 10px;
        font-size: 14px;
    }

    .dropdown-list {
        left: auto;
        right: -10px;
    }
    
    /* Mobile: Always show dark logo */
    #mainHeader .logo-default {
        opacity: 1 !important;
    }
    
    #mainHeader .logo-white {
        opacity: 0 !important;
    }
    
    /* Mobile: Always show dark icons */
    .header-icon {
        content: none !important;
    }
    
    .nav-cart .header-icon,
    .nav-account .header-icon {
        filter: brightness(0) saturate(100%) invert(15%) sepia(12%) saturate(3000%) hue-rotate(80deg) brightness(95%) contrast(90%);
    }
    
    .nav-icon {
        gap: 12px;
    }
    
    .mobile-menu-toggle {
        color: #14340f !important;
    }
}

@media (max-width: 576px) {
    .nav-search-form {
        border: none !important;
    }
    
    .header-primary .wrapper-header-5 {
        padding: 8px 10px !important;
    }
    
    .logo-img {
        max-height: 45px;
    }
    
    .logo-header {
        height: 45px;
    }
    
    .header-icon {
        width: 22px !important;
        height: 22px !important;
    }
    
    .mobile-menu-toggle .icon {
        font-size: 22px;
    }
}

/* Video section full-width override */
#shortVideo .container-fluid {
    max-width: 100% !important;
}

#shortVideo.row {
    margin: 0 !important;
    gap: 20px !important;
}

#shortVideo .col-md-3 {
    flex: 1;
    padding: 0 !important;
}

/* Video container responsive height */
.video-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.video-container video {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
}

/* For large screens - make videos taller with max-height constraints */
@media (min-width: 1400px) and (max-width: 1919px) {
    .video-container {
        max-height: 500px;
    }
    
    .video-container video {
        height: 100% !important;
        max-height: 500px;
    }
}

@media (min-width: 1920px) {
    .video-container {
        max-height: 700px;
    }
    
    .video-container video {
        height: 100% !important;
        max-height: 700px;
    }
}

/* CEO Section & How It Started Section Styles */
/* Responsive heading sizes */
.ceo-main-heading {
    font-size: 40px !important;
    margin-bottom: 0 !important;
}

.ceo-sub-heading {
    font-size: 20px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
}

/* Responsive heading sizes for smaller screens */
@media (max-width: 767px) {
    .ceo-main-heading {
        font-size: 24px !important;
    }
    
    .ceo-sub-heading {
        font-size: 14px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ceo-main-heading {
        font-size: 30px !important;
    }
    
    .ceo-sub-heading {
        font-size: 16px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ceo-main-heading {
        font-size: 35px !important;
    }
    
    .ceo-sub-heading {
        font-size: 18px !important;
    }
}

/* Image containers with padding */
.image-container-ceo,
.image-container-started {
    padding: 50px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Centered heading, left-aligned content */
.thillai-ceo-section .ceo-section-content h3,
.thillai-ceo-section .ceo-section-content h5,
.how-started-section .how-started-content h2 {
    text-align: center !important;
}

.thillai-ceo-section .ceo-section-content p,
.thillai-ceo-section .ceo-section-content strong,
.how-started-section .how-started-content p {
    text-align: left !important;
}

/* Content max-width constraints - responsive */
.thillai-ceo-section .ceo-section-content,
.how-started-section .how-started-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thillai-ceo-section .ceo-section-content p,
.how-started-section .how-started-content p {
    max-width: 100%;
    width: 100%;
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 1439px) {
    .thillai-ceo-section .ceo-section-content p,
    .how-started-section .how-started-content p {
        max-width: 600px;
    }
}

/* Large screens (1440-1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .thillai-ceo-section .ceo-section-content p,
    .how-started-section .how-started-content p {
        max-width: 700px;
    }
}

/* Ultra-wide screens (1920px+) */
@media (min-width: 1920px) {
    .thillai-ceo-section .ceo-section-content p,
    .how-started-section .how-started-content p {
        max-width: 800px;
    }
}

/* Responsive image heights */
/* Base styles for all screens */
.ceo-section-img,
.how-started-img {
    width: 100% !important;
    height: 100% !important;
}

/* Mobile - Square aspect ratio */
@media (max-width: 767px) {
    .image-container-ceo,
    .image-container-started {
        padding: 20px;
        aspect-ratio: 1 / 1;
        height: auto;
    }
    
    .ceo-section-img,
    .how-started-img {
        max-height: 400px;
    }
}

/* Tablets and small desktops - 450px height, more rectangular */
@media (min-width: 768px) and (max-width: 1199px) {
    .image-container-ceo,
    .image-container-started {
        padding: 30px;
        height: 450px;
    }
    
    .ceo-section-img,
    .how-started-img {
        height: 450px !important;
    }
}

/* Medium screens (1200-1439px) - 450px */
@media (min-width: 1200px) and (max-width: 1439px) {
    .image-container-ceo,
    .image-container-started {
        padding: 40px;
        height: 500px;
    }
    
    .ceo-section-img,
    .how-started-img {
        height: 500px !important;
    }
}

/* Large screens (1440-1919px) - 500px */
@media (min-width: 1440px) and (max-width: 1920px) {
    .image-container-ceo,
    .image-container-started {
        padding: 50px;
        height: 700px;
    }
    
    .ceo-section-img,
    .how-started-img {
        height: 700px !important;
    }
}

/* ========== PRODUCTS/COLLECTIONS PAGE HEADER OVERRIDE ========== */
/* Force colored logo on non-hero pages (products, collections, etc.) */
body.page-products #mainHeader .logo-default,
body.page-products #mainHeader:not(.header-scrolled) .logo-default,
body.page-products #mainHeader:not(.header-scrolled):not(:hover) .logo-default {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

body.page-products #mainHeader .logo-white,
body.page-products #mainHeader:not(.header-scrolled) .logo-white,
body.page-products #mainHeader:not(.header-scrolled):not(:hover) .logo-white {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* Force white background on products page header */
body.page-products #mainHeader,
body.page-products #mainHeader:not(.header-scrolled),
body.page-products #mainHeader:not(.header-scrolled):not(:hover) {
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

/* Force green text on products page header */
body.page-products #mainHeader .item-link,
body.page-products #mainHeader:not(.header-scrolled) .item-link,
body.page-products #mainHeader:not(.header-scrolled):not(:hover) .item-link {
    color: #0f3916 !important;
}

body.page-products #mainHeader .nav-icon-item svg path,
body.page-products #mainHeader:not(.header-scrolled) .nav-icon-item svg path,
body.page-products #mainHeader:not(.header-scrolled):not(:hover) .nav-icon-item svg path {
    fill: #0f3916 !important;
    stroke: #0f3916 !important;
}

/* ========== HOMEPAGE TRANSPARENT HEADER ========== */
/* For homepage (body.page-home) - header is transparent over hero video */

/* Remove body padding for homepage - hero goes under header */
body.page-home {
    padding-top: 0 !important;
}

/* Force transparent header on homepage when not scrolled */
body.page-home .wrapper-header,
body.page-home #mainHeader,
body.page-home #mainHeader:not(.header-scrolled),
body.page-home .header-default,
body.page-home .header-primary,
body.page-home .wrapper-header-5,
body.page-home #mainHeader:not(.header-scrolled) .wrapper-header-5 {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* White logo visible, colored logo hidden on homepage hero */
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .logo-white {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
}

body.page-home #mainHeader:not(.header-scrolled):not(:hover) .logo-default {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* White text on homepage hero */
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .item-link,
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .menu-link-text,
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .nav-contact .item-link {
    color: #ffffff !important;
}

/* White icons on homepage hero */
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .nav-icon-item svg path,
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .nav-icon-item svg,
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .icon svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

body.page-home #mainHeader:not(.header-scrolled):not(:hover) .header-icon {
    filter: brightness(0) invert(1) !important;
}

/* White search input on homepage hero */
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .nav-search-input {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.3) !important;
}

body.page-home #mainHeader:not(.header-scrolled):not(:hover) .nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.page-home #mainHeader:not(.header-scrolled):not(:hover) .nav-search-btn svg path {
    stroke: #ffffff !important;
}

/* On hover - show white background with green text/icons */
body.page-home #mainHeader:not(.header-scrolled):hover,
body.page-home #mainHeader:not(.header-scrolled):hover .wrapper-header-5 {
    background-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

body.page-home #mainHeader:not(.header-scrolled):hover .logo-white {
    opacity: 0 !important;
    visibility: hidden !important;
}

body.page-home #mainHeader:not(.header-scrolled):hover .logo-default {
    opacity: 1 !important;
    visibility: visible !important;
}

body.page-home #mainHeader:not(.header-scrolled):hover .item-link,
body.page-home #mainHeader:not(.header-scrolled):hover .menu-link-text,
body.page-home #mainHeader:not(.header-scrolled):hover .nav-contact .item-link {
    color: #0f3916 !important;
}

body.page-home #mainHeader:not(.header-scrolled):hover .header-icon {
    filter: none !important;
}

body.page-home #mainHeader:not(.header-scrolled):hover .nav-icon-item svg path,
body.page-home #mainHeader:not(.header-scrolled):hover .nav-icon-item svg {
    fill: #0f3916 !important;
    stroke: #0f3916 !important;
}

/* When scrolled - white background with green text */
body.page-home #mainHeader.header-scrolled,
body.page-home #mainHeader.header-scrolled .wrapper-header-5 {
    background-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

body.page-home #mainHeader.header-scrolled .logo-white {
    opacity: 0 !important;
    visibility: hidden !important;
}

body.page-home #mainHeader.header-scrolled .logo-default {
    opacity: 1 !important;
    visibility: visible !important;
}

body.page-home #mainHeader.header-scrolled .item-link,
body.page-home #mainHeader.header-scrolled .menu-link-text,
body.page-home #mainHeader.header-scrolled .nav-contact .item-link {
    color: #0f3916 !important;
}

body.page-home #mainHeader.header-scrolled .header-icon {
    filter: none !important;
}

body.page-home #mainHeader.header-scrolled .nav-icon-item svg path,
body.page-home #mainHeader.header-scrolled .nav-icon-item svg {
    fill: #0f3916 !important;
    stroke: #0f3916 !important;
}

/* Ensure header content areas are transparent */
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .wrapper-header-5,
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .box-navigation,
body.page-home #mainHeader:not(.header-scrolled):not(:hover) .nav-icon {
    background: transparent !important;
    background-color: transparent !important;
}

/* ========== PRODUCTS PAGE SPECIFIC STYLES ========== */
/* Products page - fixed white header with green text and icons */
body.page-products {
    padding-top: 120px;
}

body.page-products .wrapper-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 999;
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

body.page-products #mainHeader {
    position: static !important;
    width: 100% !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
}

/* Force green text and icons on products page */
body.page-products #mainHeader .item-link,
body.page-products #mainHeader .menu-link-text,
body.page-products #mainHeader .nav-icon-item,
body.page-products #mainHeader .dropdown-link {
    color: #0f3916 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.page-products #mainHeader .item-link:hover,
body.page-products #mainHeader .menu-link-text:hover,
body.page-products #mainHeader .menu-item:hover .item-link {
    color: #0f3916 !important;
}

/* Logo visibility on products page - always show default green logo */
body.page-products #mainHeader .logo-default,
body.page-products #mainHeader .logo-default img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.page-products #mainHeader .logo-white {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Cart icon - green fill on products page */
body.page-products #mainHeader .nav-cart .nav-icon-item svg path,
body.page-products #mainHeader .nav-cart .nav-icon-item svg {
    fill: #0f3916 !important;
    stroke: #0f3916 !important;
}

/* Search icon - ensure it's visible and green on products page */
body.page-products #mainHeader .nav-search {
    display: block !important;
}

body.page-products #mainHeader .nav-search-btn {
    background-color: transparent !important;
    display: inline-block !important;
}

body.page-products #mainHeader .nav-search-btn svg {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
}

body.page-products #mainHeader .nav-search-btn svg path {
    stroke: #0f3916 !important;
    fill: none !important;
}

/* Other nav icons - green on products page */
body.page-products #mainHeader .nav-icon-item svg,
body.page-products #mainHeader .nav-icon-item svg path {
    stroke: #0f3916 !important;
    fill: #0f3916 !important;
}

body.page-products #mainHeader .nav-account .nav-icon-item svg path {
    fill: #0f3916 !important;
}