
:root {
    --primary-green: #6da32d;
    --hover-green: #5a8a24;
    --light-bg: #f3f8ee;
    --text-gray: #666;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
    background: #f8f8f8;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-gray);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shipping-promo {
    color: var(--primary-green);
    font-weight: bold;
    margin-left: 15px;
}

.top-right a {
    text-decoration: none;
    color: inherit;
    margin-left: 15px;
}

.top-right a:hover,
.top-right a:hover i {
    color: var(--primary-green);
}


/* =========================================================
   HEADER
   ========================================================= */

.main-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 160px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #333;
    cursor: pointer;
}

.logo span {
    color: var(--primary-green);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.desktop-nav {
    display: flex;
    gap: 50px;
}

.desktop-nav a {
    text-decoration: none;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.desktop-nav a:hover,
.nav-active {
    color: var(--primary-green);
}

.ai-link {
    color: var(--primary-green) !important;
}


/* =========================================================
   HEADER ICONS
   ========================================================= */

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    color: #000;
    margin-left: auto;
}

.header-icons i {
    color: #000 !important;
    transition: color 0.3s ease, transform 0.2s ease;
}

.header-icons i:hover {
    color: var(--hover-green) !important;
}

.header-icons a:hover i {
    color: var(--hover-green) !important;
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.mobile-only {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.mobile-only i:hover {
    color: var(--hover-green) !important;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.mobile-nav a {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

.mobile-nav a:hover {
    background: var(--light-bg);
    color: var(--primary-green);
}

.mobile-nav.active {
    display: flex;
}


/* =========================================================
   SEARCH BAR
   SAME RESPONSIVE BEHAVIOR AS HOME PAGE
   ========================================================= */

.search-row {
    margin-top: 20px;
}

.search-wrapper {
    display: flex;
    max-width: 590px;
    margin: 0 auto;
}

.search-wrapper input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px 0 0 6px;
    outline: none;
}

.search-wrapper input:focus {
    border-color: var(--primary-green);
}

.search-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 6px 6px 0;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--hover-green);
}


/* =========================================================
   FOOTER
   ========================================================= */

.main-footer {
    background-color: #fcfcfc;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    margin-top: 50px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    text-align: center;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col h3 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.footer-col h3 a:hover {
    color: var(--primary-green);
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-gray);
    transition: 0.3s;
    display: block;
    margin-bottom: 8px;
}

.footer-col ul a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #888;
    width: 100%;
}


/* =========================================================
   PRIVACY / ABOUT HERO
   ========================================================= */

.privacy-hero {
    background: linear-gradient(180deg, #f6fbf1, #ffffff);
    text-align: center;
    padding: 70px 20px 50px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-hero h1 {
    font-size: 36px;
    color: #111;
    margin-bottom: 10px;
}

.privacy-hero p {
    color: var(--text-gray);
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
}


/* =========================================================
   PRIVACY CONTENT
   ========================================================= */

.privacy-content {
    max-width: 900px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.privacy-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 25px;
}

.privacy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.privacy-card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #111;
}

.privacy-card p,
.privacy-card li {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.privacy-card ul {
    padding-left: 20px;
    margin: 15px 0;
}

.privacy-card li {
    margin-bottom: 8px;
}


/* =========================================================
   320px – 575px
   MOBILE
   ========================================================= */

@media (min-width: 320px) and (max-width: 575.98px) {

    .container {
        padding: 0 12px;
    }


    /* TOP BAR */

    .top-left span:first-child {
        display: none !important;
    }

    .top-left {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .shipping-promo {
        font-size: 14px;
        white-space: nowrap;
        margin-left: 0;
    }

    .top-right a {
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
        margin-left: 12px;
    }

    .top-right i {
        font-size: 12px;
    }


    /* HEADER */

    .header-flex {
        gap: 10px;
        justify-content: space-between;
    }

    .logo {
        font-size: 24px;
    }

    .header-icons {
        gap: 15px;
        font-size: 18px;
    }

    .header-icons i {
        font-size: 20px;
    }

    .mobile-only {
        display: block;
        font-size: 24px;
    }

    .desktop-nav {
        display: none;
    }


    /* SEARCH */

    .search-row {
        margin-top: 15px;
    }

    /*
       IMPORTANT:
       Same row as home page.
       Input + button do NOT stack vertically.
    */

    .search-wrapper {
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
    }

    .search-wrapper input {
        flex: 1;
        min-width: 0;
        width: auto;
        height: 42px;
        padding: 0 12px;
        font-size: 13px;
        border: none;
        border-radius: 0;
        outline: none;
    }

    .search-wrapper input:focus {
        border: none;
    }

    .search-btn {
        flex-shrink: 0;
        height: 42px;
        padding: 0 16px;
        border-radius: 0;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }


    /* PRIVACY HERO */

    .privacy-hero {
        padding: 40px 15px 30px;
    }

    .privacy-hero h1 {
        font-size: 28px;
    }

    .privacy-hero p {
        font-size: 13px;
        padding: 0 10px;
    }


    /* PRIVACY CONTENT */

    .privacy-content {
        margin: 30px auto;
        padding: 0 15px;
        gap: 20px;
    }

    .privacy-card {
        padding: 20px;
        border-radius: 10px;
    }

    .privacy-card h2 {
        font-size: 18px;
    }


    /* FOOTER */

    .main-footer {
        padding: 25px 12px 15px;
        margin-top: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-col {
        background: #ffffff;
        border-radius: 12px;
        padding: 16px;
        align-items: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    .footer-col h3 {
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .footer-col p {
        font-size: 12.5px;
        line-height: 1.6;
    }

    .footer-col ul li {
        margin-bottom: 6px;
    }

    .footer-col ul a {
        font-size: 13px;
    }

    .footer-col p i {
        color: var(--primary-green);
        margin-right: 6px;
    }

    .social-links {
        gap: 12px;
        margin-top: 8px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
        background: #f1f1f1;
        border: none;
    }

    .footer-bottom {
        font-size: 11.5px;
        color: #777;
        margin-top: 15px;
        padding-top: 10px;
        border-top: none;
    }


    /* MOBILE NAV */

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: flex;
    }
}


/* =========================================================
   576px – 767px
   LANDSCAPE / LARGE MOBILE
   ========================================================= */

@media (min-width: 576px) and (max-width: 767.98px) {

    .container {
        max-width: 100%;
        padding: 0 15px;
    }


    /* TOP BAR */

    .top-left span:first-child {
        display: inline !important;
    }

    .top-bar .container {
        justify-content: space-between;
        padding: 5px 15px;
    }

    .top-right a {
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
    }


    /* HEADER */

    .header-flex {
        gap: 40px;
        justify-content: space-between;
    }

    .logo {
        font-size: 24px;
    }

    .header-icons {
        gap: 15px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-only {
        display: block;
    }


    /* SEARCH */

    .search-row {
        margin-top: 15px;
    }

    .search-wrapper {
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
    }

    .search-wrapper input {
        flex: 1;
        min-width: 0;
        height: 42px;
        padding: 0 12px;
        font-size: 13px;
        border: none;
        border-radius: 0;
    }

    .search-btn {
        height: 42px;
        flex-shrink: 0;
        padding: 0 16px;
        border-radius: 0;
        font-size: 14px;
    }


    /* PRIVACY HERO */

    .privacy-hero {
        padding: 50px 20px 40px;
    }

    .privacy-hero h1 {
        font-size: 32px;
    }

    .privacy-content {
        margin: 40px auto;
        padding: 0 20px;
    }

    .privacy-card {
        padding: 25px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-col {
        align-items: center;
    }

    .footer-col h3,
    .footer-col p,
    .footer-col li {
        text-align: center;
    }

    .footer-col ul {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }


    /* MOBILE NAV */

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: flex;
    }
}


/* =========================================================
   768px – 990px
   TABLET PORTRAIT
   MATCH HOME PAGE SEARCH
   ========================================================= */

@media (min-width: 768px) and (max-width: 990px) {

    .container {
        max-width: 95%;
    }


    /* HEADER */

    .header-flex {
        gap: 40px;
        justify-content: space-between;
    }

    .logo {
        font-size: 22px;
    }

    .desktop-nav {
        display: flex !important;
        gap: 20px;
    }

    .desktop-nav a {
        font-size: 12px;
    }

    .mobile-only {
        display: none !important;
    }


    /* SEARCH */

    .search-wrapper {
        display: flex;
        max-width: 600px;
        min-width: 470px;
        margin: 0 auto;
    }

    .search-wrapper input {
        flex: 1;
        min-width: 0;
        padding: 12px 15px;
    }

    .search-btn {
        padding: 0 25px;
    }


    /* PRIVACY */

    .privacy-hero {
        padding: 60px 30px 50px;
    }

    .privacy-hero h1 {
        font-size: 34px;
    }

    .privacy-content {
        max-width: 95%;
        margin: 40px auto;
        padding: 0 20px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
}


/* =========================================================
   991px – 1060px
   SMALL LAPTOP / TABLET LANDSCAPE
   MATCH HOME PAGE
   ========================================================= */

@media (min-width: 991px) and (max-width: 1060px) {

    .container {
        max-width: 1060px;
    }


    /* HEADER */

    .header-flex {
        gap: 160px;
    }

    .desktop-nav {
        display: flex !important;
        gap: 25px;
    }

    .desktop-nav a {
        font-size: 12px;
    }

    .mobile-only {
        display: none !important;
    }


    /* SEARCH */

    .search-wrapper {
        display: flex;
        min-width: 500px;
        max-width: 600px;
        margin: 0 auto;
    }


    /* PRIVACY */

    .privacy-content {
        max-width: 900px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }
}


/* =========================================================
   1061px – 1199px
   LARGE TABLET / SMALL LAPTOP
   MATCH HOME PAGE
   ========================================================= */

@media (min-width: 1061px) and (max-width: 1199.98px) {

    .container {
        max-width: 1100px;
    }


    /* HEADER */

    .header-flex {
        gap: 140px;
    }

    .desktop-nav {
        display: flex !important;
        gap: 30px;
    }

    .desktop-nav a {
        font-size: 13px;
    }

    .mobile-only {
        display: none !important;
    }


    /* SEARCH */

    .search-wrapper {
        display: flex;
        max-width: 600px;
        min-width: 0;
        width: 600px;
        margin: 0 auto;
    }


    /* PRIVACY */

    .privacy-content {
        max-width: 900px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }
}


/* =========================================================
   1200px – 1399px
   STANDARD DESKTOP
   MATCH HOME PAGE
   ========================================================= */

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .container {
        max-width: 1200px;
    }


    /* HEADER */

    .header-flex {
        gap: 150px;
    }

    .desktop-nav {
        display: flex !important;
        gap: 55px;
    }

    .mobile-only {
        display: none !important;
    }


    /* SEARCH */

    .search-wrapper {
        display: flex;
        min-width: 650px;
        width: 650px;
        max-width: 650px;
        margin: 0 auto;
    }


    /* PRIVACY */

    .privacy-hero {
        padding: 70px 20px 50px;
    }

    .privacy-content {
        max-width: 900px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }
}


/* =========================================================
   1400px+
   XXL / ULTRA DESKTOP
   MATCH HOME PAGE
   ========================================================= */

@media (min-width: 1400px) {

    .container {
        max-width: 1400px;
    }


    /* HEADER */

    .header-flex {
        gap: 95px;
    }

    .desktop-nav {
        display: flex !important;
        gap: 60px;
    }

    .mobile-only {
        display: none !important;
    }


    /* SEARCH */

    .search-wrapper {
        display: flex;
        min-width: 700px;
        width: 700px;
        max-width: 700px;
        margin: 0 auto;
    }


    /* PRIVACY HERO */

    .privacy-hero {
        padding: 80px 20px 60px;
    }

    .privacy-hero h1 {
        font-size: 40px;
    }

    .privacy-content {
        max-width: 900px;
        margin: 60px auto;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
    }
}


/* =========================================================
   SUPPORT EMAIL
   HIDE BELOW 510px
   ========================================================= */

@media (max-width: 510px) {

    .top-left span:first-child {
        display: none !important;
    }

    .top-right a {
        margin-left: 12px;
    }
}


/* =========================================================
   VERY SMALL SCREENS
   BELOW 350px
   ========================================================= */

@media (max-width: 350px) {

    .shipping-promo {
        font-size: 10px !important;
    }

    .top-right a {
        font-size: 11px;
        margin-left: 8px;
    }

    .privacy-hero h1 {
        font-size: 24px !important;
    }

    .privacy-card {
        padding: 15px !important;
    }

    .search-wrapper input {
        font-size: 12px;
    }

    .search-btn {
        padding: 0 12px;
        font-size: 12px;
    }
}


/* =========================================================
   GENERAL MOBILE TOP BAR
   ========================================================= */

@media (max-width: 767px) {

    .top-bar .container {
        justify-content: space-between;
        padding: 5px 15px;
        flex-wrap: wrap;
    }

    .top-left {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
    }

    .top-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}


/* =========================================================
   MOBILE NAV SAFETY
   ========================================================= */

@media (min-width: 993px) {

    .mobile-nav {
        display: none !important;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-nav {
        display: flex !important;
    }
}


/* =========================================================
   SMOOTH SCROLL
   ========================================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================================
   SEARCH BAR - FINAL ALIGNMENT FIX
   ========================================================= */

.search-row {
    width: 100%;
    margin-top: 20px;
}

.search-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100%;
    max-width: 590px;
    height: 42px;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.search-wrapper input {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    background: #fff;
    font-size: 13px;
    line-height: 42px;
}

.search-wrapper input:focus {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.search-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--primary-green);
    color: #fff;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    line-height: 42px;
    white-space: nowrap;
    cursor: pointer;
}

.search-btn:hover {
    background: var(--hover-green);
}


/* =========================================================
   MOBILE SEARCH
   ========================================================= */

@media (max-width: 767px) {

    .search-row {
        width: 100%;
        margin-top: 15px;
    }

    .search-wrapper {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 6px !important;
        overflow: hidden;
    }

    .search-wrapper input {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        height: 42px !important;
        padding: 0 12px !important;
        border: 0 !important;
        border-radius: 0 !important;
        font-size: 13px;
        line-height: 42px;
    }

    .search-btn {
        flex: 0 0 auto !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 16px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        font-size: 13px;
        line-height: 42px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 350px) {

    .search-wrapper {
        height: 40px !important;
    }

    .search-wrapper input {
        height: 40px !important;
        line-height: 40px;
        font-size: 12px;
        padding: 0 10px !important;
    }

    .search-btn {
        height: 40px !important;
        min-height: 40px !important;
        line-height: 40px;
        padding: 0 12px !important;
        font-size: 12px;
    }
}


/* =========================================================
   TABLET / DESKTOP WIDTHS
   ========================================================= */

@media (min-width: 768px) and (max-width: 990px) {

    .search-wrapper {
        width: 600px;
        max-width: 600px;
        min-width: 470px;
        margin: 0 auto !important;
    }
}

@media (min-width: 991px) and (max-width: 1060px) {

    .search-wrapper {
        width: 500px;
        max-width: 600px;
        min-width: 500px;
        margin: 0 auto !important;
    }
}

@media (min-width: 1061px) and (max-width: 1199px) {

    .search-wrapper {
        width: 600px;
        max-width: 600px;
        min-width: 0;
        margin: 0 auto !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {

    .search-wrapper {
        width: 650px;
        max-width: 650px;
        min-width: 650px;
        margin: 0 auto !important;
    }
}

@media (min-width: 1400px) {

    .search-wrapper {
        width: 700px;
        max-width: 700px;
        min-width: 700px;
        margin: 0 auto !important;
    }
}