﻿form {
    /* background-color: rgb(28 75 13 / 97%);*/
    /* background-color: rgba(255,255,255,0.13);*/
    position: absolute;
    border-radius: 20px;
    /*backdrop-filter: blur(10px);*/
    border: 2px solid rgba(227,12,12,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    /* padding: 5px 5px;*/
}
/*form * {
                font-family: 'Poppins',sans-serif;
                color: #ffffff;
                letter-spacing: 0.5px;
                outline: none;
                border: none;
            }*/

ul.modern-list {
    list-style: none;
    padding: 0;
    max-width: 400px;
    margin: auto;
}

    ul.modern-list li {
        background: #ffffff;
        margin: 10px 0;
        padding: 15px 20px;
        border-left: 5px solid #4CAF50;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transition: transform 0.2s ease;
    }

        ul.modern-list li:hover {
            transform: translateX(5px);
            border-left-color: #2196F3;
        }

ul.glass-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /*width: 320px;*/
    /*backdrop-filter: blur(10px);*/
    /*background: rgba(255, 255, 255, 0.2);*/
    border-radius: 15px;
    /*box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
}

    ul.glass-list li {
        display: flex;
        align-items: center;
        padding: 10px 20px;
        /*border-bottom: 1px solid rgba(255, 255, 255, 0.3);*/
        color: #fff;
        font-weight: 500;
        font-size: 1.2em;
        font-family: 'Montserrat', sans-serif;
    }

        ul.glass-list li:last-child {
            border-bottom: none;
        }

        ul.glass-list li i {
            margin-right: 15px;
            color: #ffffffcc;
        }

        ul.glass-list li:hover {
            transform: translateX(5px);
            border-left-color: #2196F3;
        }

    ul.glass-list .list-header {
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        font-size: 1.5em;
        /*background-color: #eee;*/
        padding: 10px;
        /*border-bottom: 2px solid #ccc;*/
    }
/* div.para{
        padding:10px;box-shadow:0px 2px 6px #ffffff;font-size:20px;color:white;text-align:left;border-radius:8px;
    }*/
p.para {
    font-size: 15px;
    color: white;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    padding: 2% 20% 0 0;
}

a.foot {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

table {
    font-family: 'Montserrat', sans-serif
}

a {
    font-family: 'Montserrat', sans-serif
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #E5E5E5;
    border-radius: 50%;
    color: #004D00;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .footer-social-link:hover {
        background-color: #FFFFFF;
        transform: translateY(-2px);
    }

    .footer-social-link svg {
        width: 20px;
        height: 20px;
    }
/* thead th {
      position: sticky;
      top: 0;
      background-color: #f2f2f2;
      background-color: rgba(255,255,255,0.13);
      background-image:url(images/bg_cover.png);
      z-index: 1;
    }*/

:root {
    --brand-green: #004d00;
    --brand-green-light: #2e8b57;
    --brand-orange: #f5a623;
    --neutral-dark: #333;
    --neutral-light: #fff;
    --neutral-gray: #f0f0f0;
    --font-primary: "Poppins",sans-serif;
    --font-secondary: "Cinzel",serif;
    --fs-base: 16px;
    --fw-medium: 500;
    --fw-bold: 700;
    --container-width: 1440px;
    --radius-md: 8px;
    --radius-full: 50px;
    --transition-long: .35s ease-in-out;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    color: var(--neutral-dark);
    background: var(--neutral-light);
    line-height: 1.6;
    height: 200vh;
}

.header {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    transition: all var(--transition-long);
    background: transparent;
}

    .header.scrolled {
        background: var(--neutral-light);
        box-shadow: 0 2px 10px rgba(0,0,0,.1);
        padding: 10px 0;
        /*margin-left:10px;margin-right:15px;*/
    }

.container {
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ===== Desktop layout: equal side columns ===== */
.header__content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

/* Left column (logo) */
.header__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 101;
    justify-self: start;
    text-decoration: none;
}

.logo-img {
    height: 8vh;
    width: auto;
}

.logo-text {
    font-size: 1rem;
    /* font-weight:var(--fw-bold); */
    color: var(--neutral-light);
    transition: color var(--transition-long);
    text-decoration: none;
}

.header.scrolled .logo-text {
    color: var(--brand-green);
}

.header.scrolled .logo-img {
    /*visibility:visible;*/
    filter: brightness(0) saturate(100%) invert(15%) sepia(87%) saturate(2018%) hue-rotate(120deg) brightness(95%) contrast(101%);
}

/* Middle column = NAV (auto width) */
.header__nav-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-self: center;
    min-width: 0;
}

    .header__nav-cta > nav {
        flex: 0 1 auto;
        min-width: 0;
    }

.nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 150px;
    list-style: none;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
    position: relative;
    font-size: clamp(.95rem, .7vw + .2rem, 1rem);
}

.nav__link {
    flex-direction: row;
    color: var(--neutral-light);
    font-weight: var(--fw-medium);
    transition: color var(--transition-long);
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    padding: 4px 0;
    font-family: 'Montserrat', sans-serif;
}

.header.scrolled .nav__link {
    color: var(--brand-green);
}

.nav__link:hover {
    color: var(--brand-orange);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--neutral-light);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    list-style: none;
    padding: 10px 0;
    display: none;
    min-width: 200px;
    border-radius: var(--radius-md);
    z-index: 2000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--brand-green);
    text-decoration: none;
    font-weight: var(--fw-medium);
}

    .dropdown-menu a:hover {
        background: var(--neutral-gray);
        color: var(--brand-orange);
    }

/* Right column = search + cart + CTA */
.right-ctas {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-self: end;
    min-width: 0;
    /* margin-right: 30px; */
}

/* Search */
.header__search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 6px 8px;
}

    .header__search button {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
        line-height: 1;
        color: var(--neutral-light);
        transition: color var(--transition-long);
    }

.header.scrolled .header__search button {
    color: var(--brand-green);
}

.header__search button:hover {
    color: var(--brand-orange);
}

/* Primary button */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: var(--radius-full);
    font-weight: var(--fw-bold);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-long);
}

.btn--primary {
    background: var(--brand-green);
    color: #fff;
    border: 2px solid var(--brand-green);
}

    .btn--primary:hover {
        background: var(--brand-green-light);
        border-color: var(--brand-green-light);
    }

.header.scrolled .btn--primary {
    background: transparent;
    color: var(--brand-green);
}

    .header.scrolled .btn--primary:hover {
        background: var(--brand-green);
        color: #fff;
    }

/* Hamburger (mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 102;
    /*padding: 8px;*/
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all .3s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.hamburger__bar {
    display: block;
    width: 75px;
    height: 75px;
    transition: all .3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: var(--neutral-light);
    border-radius: 2px;
}

.header.scrolled .hamburger__bar {
    background: var(--brand-green);
}
/* When menu is open, hamburger bars should be dark/green for visibility */
.hamburger.is-active .hamburger__bar {
    background: var(--brand-green);
}

    .hamburger.is-active .hamburger__bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .hamburger.is-active .hamburger__bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger.is-active .hamburger__bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

/* ===== Cart: SVG uses currentColor; badge overlays ===== */
.header__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    flex: 0 0 auto;
}

    .header__cart .cart-svg {
        width: 24px;
        height: 24px;
        display: block;
    }

        .header__cart .cart-svg path {
            stroke: currentColor;
        }

        .header__cart .cart-svg circle {
            fill: currentColor;
        }

.header.scrolled .header__cart {
    color: var(--brand-green);
}

.header__cart .cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--brand-orange);
    color: #fff;
    font-size: 12px;
    font-weight: var(--fw-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* Mobile CTAs - Hidden on desktop */
.mobile-ctas {
    display: none;
}

/* Extra spacing on very wide screens */
@media (min-width:1600px) {
    .container {
        max-width: 1600px;
    }

    .nav__list {
        gap: 44px;
    }

    .header__content {
        column-gap: 40px;
    }
}

/* ===== Tablet and smaller screens - adjust layout for medium screens ===== */
@media (max-width:1400px) {
    /* Reduce gap on medium screens to fit more items */
    .nav__list {
        gap: 28px;
    }

    .header__content {
        gap: 20px;
    }
}

@media (max-width:1280px) {
    /* Further reduce gaps */
    .nav__list {
        gap: 20px;
    }

    .header__content {
        gap: 16px;
    }
}

/* ===== Mobile drawer ===== */
@media (max-width:1280px) {
    .hamburger {
        display: block;
        justify-self: end;
    }


    /* Mobile layout becomes: logo | hamburger */
    .header__content {
        grid-template-columns: 1fr auto;
    }

    /* Hide desktop right CTAs on mobile */
    .right-ctas {
        display: none;
    }


    /* Show mobile CTAs only in drawer */
    .mobile-ctas {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-top: 20px;
        border-top: 1px solid var(--neutral-gray);
        margin-top: auto;
        color: #f0f0f0;
    }

    /* Mobile drawer */
    .header__nav-cta {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        /*height: 100%;*/
        background: var(--neutral-light);
        /*flex-direction: column;*/
        justify-content: center;
        align-items: stretch;
        gap: 28px;
        padding: 50px 20px;
        box-shadow: -2px 0 10px rgba(0,0,0,.1);
        transition: right .4s ease-in-out;
        z-index: 99;
        overflow-y: auto;
    }

        .header__nav-cta.is-active {
            right: 0;
        }

    /* Navigation inside drawer */
    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        white-space: normal;
    }

    .nav__link {
        color: var(--brand-green);
        font-size: 1.1rem;
        font-weight:bold;
        padding: 8px 4px;
        font-family: 'Montserrat', sans-serif;
    }

    /* Dropdowns inside drawer */
    .dropdown {
        text-align: left;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,.1);
        min-width: 200px;
        padding: 10px 0;
        z-index: 2000;
    }

        .dropdown-menu a {
            padding: 8px 12px;
            font-size: 1rem;
        }

    .dropdown.mobile-open .dropdown-menu {
        display: block;
    }

    .mobile-ctas .header__search {
        width: 100%;
        justify-content: center;
        background: var(--neutral-gray);
        padding: 12px;
        border-radius: var(--radius-md);
    }

        .mobile-ctas .header__search button {
            font-size: 22px;
            color: var(--brand-green);
        }

    /* Cart in mobile drawer */
    .mobile-ctas .header__cart {
        width: 100%;
        height: 50px;
        color: var(--brand-green);
        background: var(--neutral-gray);
        border-radius: var(--radius-md);
        justify-content: center;
    }
    /* Improve hamburger positioning */
    .hamburger {
        display: flex;
    }
    /* Buy Now button in mobile drawer - remove mobile-specific styling */
    .mobile-ctas .btn--primary {
        /* Uses default button styling */
    }
    /* Mobile CTAs - Hidden on desktop */
    .mobile-ctas {
        display: none;
    }

    /* Extra spacing on very wide screens */
    @media (min-width:1600px) {
        .container {
            max-width: 1600px;
        }

        .nav__list {
            gap: 44px;
        }

        .header__content {
            column-gap: 40px;
        }
    }

    /* ===== Tablet and smaller screens - adjust layout for medium screens ===== */
    @media (max-width:1400px) {
        /* Reduce gap on medium screens to fit more items */
        .nav__list {
            gap: 28px;
        }

        .header__content {
            gap: 20px;
        }
    }

    @media (max-width:1280px) {
        /* Further reduce gaps */
        .nav__list {
            gap: 20px;
        }

        .header__content {
            gap: 16px;
        }
    }

    /* ===== Mobile drawer ===== */
    @media (max-width:1280px) {
        .hamburger {
            display: flex;
            justify-self: end;
            gap:10px;
        }


        /* Mobile layout becomes: logo | hamburger */
        .header__content {
            grid-template-columns: 1fr auto;
        }

        /* Hide desktop right CTAs on mobile */
        .right-ctas {
            display: none;
        }

        /* Show mobile CTAs only in drawer */
        .mobile-ctas {
            margin-bottom: calc(82px + env(safe-area-inset-bottom));
            display: flex;
            flex-direction: column;
            gap: 0;
            padding-top: 0;
            border-top: 1px solid var(--neutral-gray);
            margin-top: auto;
        }

        /* Mobile drawer */
        .header__nav-cta {
            padding-bottom: calc(96px + env(safe-area-inset-bottom));
            position: fixed;
            top: 0;
            right: -100%;
            width: 85%;
            max-width: 50%;
            /*height: 100vh;*/
            background: var(--neutral-light);
            flex-direction: column;
            justify-content: flex-start;
            align-items: stretch;
            gap: 0;
            padding: 80px 24px 24px;
            box-shadow: -2px 0 20px rgba(0,0,0,.15);
            transition: right .35s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 100;
            overflow-y: auto;
            border-left: 1px solid rgba(0,0,0,.05);
            will-change: right;
        }

            .header__nav-cta.is-active {
                right: 0;
            }

        /* Overlay backdrop */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,.5);
            opacity: 0;
            pointer-events: none;
            transition: opacity .35s ease;
            z-index: 99;
            will-change: opacity;
        }

            .mobile-menu-overlay.is-active {
                opacity: 1;
                pointer-events: auto;
            }

        /* Navigation inside drawer */
        .nav__list {
            flex-direction: column;
            align-items: stretch;
            gap: 4px;
            white-space: normal;
            margin-bottom: 24px;
            padding: 0;
        }

            .nav__list > li {
                border-bottom: 1px solid rgba(0,0,0,.05);
                list-style: none;
            }

                .nav__list > li:last-child {
                    border-bottom: none;
                }

        .nav__link {
            color: var(--brand-green);
            font-size: 2rem;
            font-weight: var(--fw-bold);
            padding: 16px 12px;
            display: block;
            border-radius: var(--radius-md);
            transition: all .2s ease;
            text-decoration: none;
        }

            .nav__link:hover,
            .nav__link:focus {
                background: var(--neutral-gray);
                color: var(--brand-green);
                padding-left: 16px;
                outline: none;
            }
    }
