/*
Theme Name: Fresh Harvest Agriculture
Description: Modern agriculture supplier WordPress theme inspired by the approved Fresh Harvest homepage design.
Version: 2.0
Author: Deliverydevs
License: GPL-2.0-or-later
Text Domain: fresh-harvest
*/
:root{
 --green:#075c2a;--green2:#16833d;--lime:#75c936;--dark:#15311e;--text:#2d352f;
 --muted:#6b756d;--soft:#eef5ea;--line:#dfe8df;--white:#fff;--gold:#e8b84c;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.65;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,92%);margin:auto}
.topbar{background:var(--green);color:#fff;font-size:13px}.topbar-inner{height:38px;display:flex;align-items:center;justify-content:space-between}.top-contact{display:flex;gap:18px}.top-contact a{opacity:.95}.top-contact i{margin-right:7px}.top-social{display:flex;gap:15px}.top-social a{font-size:15px;display:inline-flex;align-items:center;justify-content:center}.top-social a:hover{color:var(--lime)}
.site-header{position:sticky;top:0;z-index:9999;background:#fff;box-shadow:0 3px 18px rgba(0,0,0,.08)}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:12px;min-width:280px}.brand-logo{width:58px;height:58px;border-radius:50%;background:linear-gradient(145deg,#e9f7dc,#fff);border:2px solid #63b932;display:grid;place-items:center;color:var(--green);font-size:29px}.brand-title{font-size:25px;font-weight:800;line-height:1;color:var(--green)}.brand-tagline{font-size:13px;color:#56625a;margin-top:5px}.main-nav{display:flex;align-items:center;gap:29px;margin:0;padding:0;list-style:none}.main-nav a{font-size:15px;color:#26342b;font-weight:600;padding:30px 0;position:relative}.main-nav a:hover,.main-nav .current-menu-item a{color:var(--green2)}.main-nav .current-menu-item a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--lime)}.header-actions{display:flex;align-items:center;gap:12px}.whatsapp-btn{background:var(--green);color:#fff;padding:11px 17px;border-radius:5px;font-weight:700;white-space:nowrap}.whatsapp-btn:hover{background:#08451f}.menu-toggle{display:none;border:0;background:var(--green);color:#fff;border-radius:4px;padding:10px 13px;font-size:18px}
.hero{height:570px;position:relative;overflow:hidden;background:#21472b}.hero-slide{position:absolute;inset:0;opacity:0;background-size:cover;background-position:center;transition:opacity .7s}.hero-slide.active{opacity:1}.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,25,10,.76) 0%,rgba(5,25,10,.36) 50%,rgba(5,25,10,.08) 100%)}.hero-content{height:100%;position:relative;z-index:2;display:flex;align-items:center}.hero-copy{max-width:650px;color:#fff}.hero-kicker{text-transform:uppercase;letter-spacing:2px;font-size:13px;font-weight:800;color:#a9e85e}.hero h1{font-size:clamp(40px,5.3vw,66px);line-height:1.04;margin:12px 0 17px;font-weight:800}.hero h1 span{color:#78d438}.hero p{font-size:18px;max-width:570px;margin:0 0 23px;color:#f3f7f3}.btn{display:inline-flex;align-items:center;gap:9px;padding:12px 22px;border-radius:5px;font-weight:800;border:1px solid transparent;transition:.2s}.btn-primary{background:#61c832;color:#fff}.btn-primary:hover{background:#4eac26}.btn-outline{border-color:#fff;color:#fff;margin-left:8px;background:#07180c55}.btn-outline:hover{background:#fff;color:var(--green)}.slider-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:46px;height:58px;border:0;background:#0008;color:#fff;font-size:27px;cursor:pointer}.slider-arrow.prev{left:16px}.slider-arrow.next{right:16px}.slider-dots{position:absolute;z-index:5;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:9px}.slider-dots button{width:12px;height:12px;border-radius:50%;border:0;background:#fff;cursor:pointer}.slider-dots button.active{background:#6ed035}
.section{padding:55px 0}.section-head{text-align:center;margin:0 auto 28px;max-width:720px}.section-label{display:block;color:#278b39;font-size:13px;text-transform:uppercase;font-weight:800;margin-bottom:3px}.section-head h2{font-size:31px;line-height:1.2;color:#242b26;margin:0 0 9px}.section-head p{margin:0;color:var(--muted)}.products-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:18px}.product-card{border:1px solid #e1e7e1;border-radius:5px;overflow:hidden;background:#fff;text-align:center;transition:.2s;box-shadow:0 3px 10px #00000009}.product-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #00000012}.product-card img{width:100%;height:220px;object-fit:cover}.product-card h3{font-size:14px;margin:10px 5px 13px;color:#222}.view-products{text-align:center;margin-top:22px}.small-btn{display:inline-flex;align-items:center;gap:8px;background:var(--green);color:#fff;padding:9px 18px;border-radius:4px;font-weight:700;font-size:13px}
.features{background:var(--soft);padding:28px 0}.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.feature{display:flex;gap:15px;align-items:center;padding-right:20px;border-right:1px solid #d6dfd5}.feature:last-child{border-right:0}.feature-icon{width:55px;height:55px;flex:0 0 55px;border:3px solid var(--green);border-radius:50%;display:grid;place-items:center;color:var(--green);font-size:22px}.feature h3{font-size:16px;color:#17612d;margin:0}.feature p{font-size:12px;margin:2px 0 0;line-height:1.35}
.about-section{background:#fff}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}.about-copy h2{font-size:37px;color:var(--dark);line-height:1.15;margin:7px 0 15px}.checks{list-style:none;padding:0;margin:20px 0}.checks li{margin:10px 0}.checks i{color:var(--green2);margin-right:8px}

@media (max-width: 768px) {
    .about-image img {
        width: 100%;
        height: auto !important;
        max-height: 280px;
        object-fit: cover;
        margin-bottom: 12px;
    }
}
.cta{background:var(--green);color:#fff;text-align:center}.cta h2{font-size:34px;margin:0 0 7px}.cta p{max-width:680px;margin:0 auto 15px;color:#e2eee4}

/* =========================================
   ABOUT US PAGE HERO
   ========================================= */
.page-hero {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden;
    line-height: 0;
}

.page-hero .about-hero-image {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
}
/* =========================================
   Team PAGE LAYOUT & TEXT RESPONSIVE STYLING
   ========================================= */

.team-page-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.team-large-wrap img{width: 100%;height: 400px;object-fit: cover;display: block;}
.team-large h3{font-size:20px}
.team-large p{padding:0 15px 14px;color:var(--muted);font-size:14px}

/* =========================================
   PRODUCTS PAGE LAYOUT & TEXT RESPONSIVE STYLING
   ========================================= */
.product-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns on desktop for detailed text cards */
    gap: 30px;
}

.product-card.product-large {
    display: flex;
    flex-direction: column;
    background: #fff;
    text-align: left; /* Aligned left for better readability of descriptions */
    border-radius: 8px;
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.product-content {
	padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
	
}
.product-content-team {
    text-align:center; 
	padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-large h3 {
    font-size: 20px;
    margin: 0 0 8px 0;
    color: var(--dark);
	margin-bottom: 0px;
}

.product-subtitle {
    color: var(--green2);
    font-size: 0.95rem;
    margin-bottom: 0px;
}

.product-details {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button nicely to bottom */
}

.product-card .small-btn {
    align-self: flex-start;
    margin-top: auto;
}

.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:45px}.contact-card,.query-form{background:var(--soft);padding:28px;border-radius:7px}.contact-item{margin:18px 0}.contact-item i{color:var(--green);width:24px}.query-form{background:#fff;border:1px solid var(--line);box-shadow:0 8px 25px #0000000b}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:block;font-weight:700;font-size:14px;margin:12px 0 5px}input,textarea,select{width:100%;font:inherit;border:1px solid #ccd7cc;border-radius:4px;padding:12px}textarea{min-height:145px;resize:vertical}
.site-footer{background:#005b29;color:#dce9de;padding:48px 0 0}.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1.35fr 1.25fr;gap:45px}.site-footer h3{color:#fff;font-size:17px;margin:0 0 15px}.footer-brand{color:#fff;font-size:21px;font-weight:800}.site-footer p{font-size:13px;line-height:1.55}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:7px 0}.footer-links a:hover{color:#fff}.footer-products{display:grid;grid-template-columns:1fr 1fr;gap:3px 20px;list-style:none;padding:0;margin:0}.footer-products li:before{content:"✓";color:#75d13d;margin-right:8px;font-weight:800}.footer-social{display:flex;gap:15px;margin-top:15px}.footer-social a{font-size:20px;color:#fff}.footer-social a:hover{color:#79d53e}.footer-bottom{border-top:1px solid #ffffff24;margin-top:30px;padding:14px 0;display:flex;justify-content:space-between;font-size:12px}.footer-bottom a{margin-left:18px}

@media(max-width:1100px){
 .main-nav{gap:18px}.header-actions{display:none}.products-grid{grid-template-columns:repeat(4,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:800px){
 .top-contact{font-size:11px;gap:9px}.top-social{gap:10px}.header-inner{min-height:70px}.brand{min-width:0}.brand-logo{width:46px;height:46px;font-size:22px}.brand-title{font-size:19px}.brand-tagline{font-size:10px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;padding:12px 5%;flex-direction:column;align-items:flex-start;gap:0;box-shadow:0 10px 20px #0001}.main-nav.open{display:flex}.main-nav a{padding:11px 0;width:100%}.main-nav .current-menu-item a:after{display:none}.hero{height:520px}.hero h1{font-size:42px}.hero p{font-size:16px}.products-grid{grid-template-columns:repeat(2,1fr)}.features-grid,.about-grid,.contact-grid{grid-template-columns:1fr}.feature{border-right:0;border-bottom:1px solid #d6dfd5;padding:12px 0}.feature:last-child{border-bottom:0}.section{padding:45px 0}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom a{margin-left:0;margin-right:15px}.form-row{grid-template-columns:1fr}.page-hero h1{font-size:38px}
}

/* Mobile Responsiveness for Product Cards with Text Details */
@media(max-width: 768px) {
    .product-page-grid {
        grid-template-columns: 1fr; /* Stacks cards in 1 column on tablets and mobile screens */
        gap: 20px;
    }
    
    .product-image-wrap img {
        height: 190px;
    }
}

.brand-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}.footer-logo{max-width:190px;max-height:75px;object-fit:contain;margin-bottom:12px}

/* Final logo refinement */
.brand-logo{
 width:auto !important;
 height:auto !important;
 min-width:0 !important;
 border-radius:0 !important;
 background:transparent !important;
 display:flex !important;
 align-items:center !important;
 justify-content:center !important;
 overflow:visible !important;
}
.brand-logo img{
 width:190px !important;
 height:72px !important;
 max-width:none !important;
 object-fit:contain !important;
 border-radius:0 !important;
}
@media(max-width:768px){
 .brand-logo img{width:155px !important;height:60px !important;}
}

/* Vintage Farms logo: large, clear, transparent, no circle or rectangle */
.site-header .header-inner{position:relative;min-height:96px}
.brand{display:flex;align-items:center;gap:14px;position:relative;z-index:5}
.brand-logo{width:180px !important;height:125px !important;min-width:180px !important;background:transparent !important;border:0 !important;border-radius:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;overflow:visible !important;margin-top:8px}
.brand-logo img{display:block !important;width:180px !important;height:125px !important;max-width:none !important;object-fit:contain !important;object-position:center !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important}
.brand-title{font-size:25px}
@media(max-width:1050px){.brand-logo{width:150px !important;height:105px !important;min-width:150px !important}.brand-logo img{width:150px !important;height:105px !important}.brand-title{font-size:21px}}
@media(max-width:768px){.site-header .header-inner{min-height:74px}.brand-logo{width:115px !important;height:82px !important;min-width:115px !important;margin-top:0}.brand-logo img{width:115px !important;height:82px !important}.brand-title{font-size:18px}.brand-tagline{display:none}}
.footer-logo{width:145px !important;height:auto !important;max-height:110px !important;object-fit:contain !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important}

/* ================================
   Vintage Farms Approved Homepage
   ================================ */
.site-header{position:relative;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.site-header .header-inner{min-height:96px;max-width:1180px}
.brand{width:260px;min-width:260px;height:96px;align-items:center}
.brand-logo{width:220px !important;height:150px !important;min-width:220px !important;margin-top:35px !important;z-index:20}
.brand-logo img{width:220px !important;height:150px !important;object-fit:contain !important;object-position:center !important}
.brand-title,.brand-tagline{display:none !important}
.main-nav{margin-left:auto}
.main-nav a{padding:38px 0 31px}
.header-actions{margin-left:8px}
.whatsapp-btn{background:#168c43;border-radius:4px;padding:12px 20px}
.top-social a{font-size:16px;transition:transform .15s}
.top-social a:hover{transform:translateY(-1px);color:inherit}
.top-social .social-facebook{color:#1877f2}
.top-social .social-instagram{color:#e4405f}
.top-social .social-linkedin{color:#0a66c2}
.top-social .social-whatsapp{color:#25d366}
.top-social .social-email{color:#fff}

.hero-home{height:550px;background:#183e25}
.hero-home .hero-slide{inset:0;background-size:cover;background-position:center center}
.hero-home .hero-banner-slide{background-size:cover;background-position:center}
.hero-home .hero-banner-slide .hero-overlay{display:none}
.hero-accessible-copy{position:absolute;left:-9999px}
.hero-home .hero-farm-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,30,10,.68),rgba(0,0,0,.08))}
.hero-slide-copy{position:relative;z-index:2;max-width:600px;padding-top:90px;margin-left:max(4%,calc((100% - 1180px)/2));color:#fff}
.hero-slide-copy span{display:block;color:#b4e86a;font-size:16px;font-weight:800;text-transform:uppercase;letter-spacing:1px}
.hero-slide-copy strong{display:block;font-size:46px;line-height:1.08;margin:8px 0 18px}
.hero-slide-copy a{display:inline-block;background:#64c932;color:#fff;padding:11px 20px;border-radius:4px;font-weight:700}
.hero-home .slider-arrow{background:rgba(0,0,0,.68);width:46px;height:52px}
.hero-home .slider-dots{bottom:10px}

.products-section{padding:17px 0 13px}
.products-section .section-head{margin-bottom:10px}
.products-section .section-label{font-size:14px}
.products-section .section-head h2{font-size:28px}
.products-section .products-grid{gap:10px}
.products-section .product-card{border:1px solid #e0e5e0;border-radius:5px;box-shadow:none}
.products-section .product-card img{height:110px;object-fit:cover}
.products-section .product-card h3{margin:7px 4px 10px;font-size:14px}
.products-section .view-products{margin-top:10px}
.products-section .small-btn{padding:8px 17px}

.features{padding:14px 0}
.features-grid{gap:18px}
.feature{padding-right:14px}
.feature-icon{width:50px;height:50px;flex-basis:50px}
.feature h3{font-size:15px}
.feature p{font-size:11px}

.site-footer{padding-top:30px}
.footer-logo{width:120px !important;height:auto !important;max-height:105px !important;object-fit:contain !important}
.footer-social a{display:inline-flex;width:29px;height:29px;align-items:center;justify-content:center;border-radius:4px;font-size:16px}
.footer-social .social-facebook{background:#1877f2;color:#fff}
.footer-social .social-instagram{background:#e4405f;color:#fff}
.footer-social .social-linkedin{background:#0a66c2;color:#fff}
.footer-social .social-whatsapp{background:#25d366;color:#fff}
.footer-social .social-email{background:#fff;color:#075c2a}
.footer-social a:hover{color:#fff;opacity:.9}

@media(max-width:1100px){
 .brand{width:190px;min-width:190px}
 .brand-logo{width:170px !important;height:125px !important;min-width:170px !important}
 .brand-logo img{width:170px !important;height:125px !important}
 .main-nav{gap:18px}
 .main-nav a{font-size:14px}
}
@media(max-width:800px){
 .brand{width:140px;min-width:140px;height:70px}
 .brand-logo{width:130px !important;height:95px !important;min-width:130px !important;margin-top:0 !important}
 .brand-logo img{width:130px !important;height:95px !important}
 .site-header .header-inner{min-height:70px}
 .main-nav{top:70px}
 .hero-home{height:300px}
 .hero-home .hero-banner-slide{background-position:center center}
 .hero-slide-copy{padding:55px 5%;margin:0}
 .hero-slide-copy strong{font-size:32px}
 .products-section .products-grid{grid-template-columns:repeat(2,1fr)}
}
/* Sticky Header - Final */
.site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 99999 !important;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ==========================================
   ABOUT US IMAGE - FINAL
   ========================================== */
.about-hero {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
    line-height: 0 !important;
}

.about-hero img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
}

/* Mobile */
@media (max-width: 768px) {
    .about-hero {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }

    .about-hero img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
    }
}
/* =========================================
   GALLERY PAGE GRID & RESPONSIVE STYLING
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

/* Fallback/Support for standard WordPress block galleries */
.wp-block-gallery.has-nested-images figure.wp-block-image,
.gallery-item {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
    border: 1px solid var(--line);
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover,
.wp-block-gallery.has-nested-images figure.wp-block-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.gallery-item img,
.wp-block-gallery.has-nested-images figure.wp-block-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* Tablet Responsiveness */
@media(max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* Mobile Phone Responsiveness */
@media(max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item img,
    .wp-block-gallery.has-nested-images figure.wp-block-image img {
        height: 220px;
    }
}