/* 
 * MrAgri Theme Main Stylesheet 
 * Premium Layout for Laptop, Tablet, and Mobile
 */

:root {
    --color-primary-dark: #0A2E17;
    --color-primary: #165B33;
    --color-primary-emerald: #1B8A4C;
    --color-primary-light: #25B865;
    --color-accent-gold: #FFB800;
    --color-bg-light: #F7F8F3;
    --color-card-bg: #FFFFFF;
    --color-text-main: #1E293B;
    --color-text-muted: #64748B;
    --color-border: #E2E8F0;
    --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    background-color: #FAFAFA;
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   0. TOP AD BANNER SLIDER — Full visual banner, ~60% of Hero height (~280px)
   ========================================================================== */
.ad-slider-banner {
    position: relative;
    z-index: 99;
    height: 280px;
    background: #0A2E17;
    overflow: hidden;
    border-bottom: 3px solid var(--color-primary-light);
    display: flex;
    align-items: stretch;
}

.ad-slider-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.ad-slides-wrapper {
    flex-grow: 1;
    position: relative;
    height: 280px;
    overflow: hidden;
}

.ad-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-slide-item.active-slide {
    opacity: 1;
    visibility: visible;
}

.ad-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 10s ease;
}

.ad-slide-item.active-slide .ad-bg-image {
    transform: scale(1.06);
}

.ad-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ad-content-flex {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 0.92rem;
    color: #FFFFFF;
    text-align: center;
    padding: 30px 40px;
    width: 100%;
    height: 100%;
}

.ad-sliding-tile {
    background: linear-gradient(135deg, #FFB800, #FF8C00);
    color: #0A2E17;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(255, 184, 0, 0.4);
    animation: tilePulse 2s infinite alternate;
    white-space: nowrap;
}

@keyframes tilePulse {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 184, 0, 0.4); }
    100% { transform: scale(1.05); box-shadow: 0 6px 18px rgba(255, 184, 0, 0.75); }
}

.ad-badge-topic {
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-width: 700px;
    text-align: center;
}

.ad-subtopic {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    text-align: center;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.ad-action-link {
    background: #25B865;
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(37, 184, 101, 0.4);
    transition: all 0.25s ease;
    margin-top: 4px;
}

.ad-action-link:hover {
    background: #1B8A4C;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 184, 101, 0.55);
    color: #FFFFFF;
}

/* Left & Right Nav Arrow Buttons — full height edge handles */
.ad-nav-btn {
    position: relative;
    z-index: 4;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: none;
    color: #FFFFFF;
    width: 52px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.25s ease;
    flex-shrink: 0;
}

.ad-nav-btn:hover {
    background: rgba(22, 91, 51, 0.7);
    color: #FFFFFF;
}

/* Animations for Text Overlays */
.active-slide .ad-anim-fade-up {
    animation: adFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.active-slide .ad-anim-slide-left {
    animation: adSlideLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.active-slide .ad-anim-zoom-in {
    animation: adZoomIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.active-slide .ad-anim-bounce-in {
    animation: adBounceIn 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes adFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes adSlideLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes adZoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes adBounceIn {
    0% { opacity: 0; transform: translateY(-30px); }
    60% { opacity: 1; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   1. TOPBAR & MAIN HEADER
   ========================================================================== */
.site-topbar {
    background-color: #0F4726;
    color: #E2E8F0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left { display: flex; align-items: center; gap: 8px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }

.topbar-link {
    color: #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-divider { opacity: 0.4; }
.social-links { display: flex; align-items: center; gap: 10px; }

.social-icon {
    color: #FFFFFF;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}
.social-icon:hover { color: #25B865; transform: translateY(-2px); }

/* Header Base */
.site-header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #165B33;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.6rem;
    box-shadow: 0 4px 10px rgba(22, 91, 51, 0.25);
}

.site-title-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #165B33;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.site-tagline-text {
    font-size: 0.75rem;
    color: #1B8A4C;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Brand link layout */
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Desktop nav dropdown arrow icon */
.nav-arrow {
    font-size: 0.6rem;
    opacity: 0.7;
    margin-left: 2px;
}

/* Mobile drawer brand row */
.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile drawer footer social icons */
.mobile-drawer-footer {
    padding: 20px 20px 16px;
    border-top: 1px solid #E2E8F0;
    margin-top: auto;
}

.mobile-social-row {
    display: flex;
    gap: 14px;
    align-items: center;
}

.mobile-social-row a {
    color: #165B33;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.mobile-social-row a:hover {
    transform: translateY(-2px);
    color: #25B865;
}


.action-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #334155;
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #165B33;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   DESKTOP & LAPTOP NAVIGATION (Screen Width >= 992px)
   ========================================================================== */

/* Base: always hide hamburger on desktop, always show desktop nav */
.mobile-hamburger-btn { display: none; }
.desktop-only-nav { display: block; }

/* Reset WP nav_menu default ul styles */
.main-navigation ul,
.main-navigation ul.menu,
#primary-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li,
#primary-menu li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a,
#primary-menu a {
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
    border-radius: 6px;
}

.main-navigation a::after,
#primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 10px;
    right: 10px;
    width: 0;
    height: 2px;
    background: #165B33;
    border-radius: 2px;
    transition: width 0.25s ease;
}

.main-navigation a:hover,
#primary-menu a:hover {
    color: #165B33;
    background: rgba(22, 91, 51, 0.06);
}

.main-navigation a:hover::after,
#primary-menu a:hover::after {
    width: calc(100% - 20px);
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a,
#primary-menu li.current-menu-item > a,
#primary-menu li.current_page_item > a {
    color: #165B33;
    font-weight: 800;
    background: rgba(22, 91, 51, 0.08);
}

.main-navigation li.current-menu-item > a::after,
.main-navigation li.current_page_item > a::after,
#primary-menu li.current-menu-item > a::after,
#primary-menu li.current_page_item > a::after {
    width: calc(100% - 20px);
}

/* Dropdown Submenus */
.main-navigation ul ul,
.main-navigation .sub-menu,
#primary-menu ul,
#primary-menu .sub-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #FFFFFF;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s ease;
    z-index: 9999;
    border: 1px solid #E2E8F0;
    display: block !important;
    flex-direction: column;
    gap: 0;
}

.main-navigation li:hover > ul,
.main-navigation li:hover > .sub-menu,
#primary-menu li:hover > ul,
#primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul li,
#primary-menu ul li {
    width: 100%;
}

.main-navigation ul ul a,
#primary-menu ul a {
    padding: 10px 18px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    display: block;
    width: 100%;
    border-radius: 0;
    white-space: nowrap;
}

.main-navigation ul ul a::after,
#primary-menu ul a::after {
    display: none;
}

.main-navigation ul ul a:hover,
#primary-menu ul a:hover {
    background: #F4F7EF;
    color: #165B33;
}

/* Mobile hamburger hidden on desktop */
@media (min-width: 992px) {
    .mobile-hamburger-btn {
        display: none !important;
    }
    .desktop-only-nav,
    .main-navigation {
        display: block !important;
    }
}

/* ==========================================================================
   MOBILE & TABLET NAVIGATION (Screen Width < 992px)
   ========================================================================== */
@media (max-width: 991px) {
    .desktop-only-nav,
    .main-navigation {
        display: none !important;
    }

    .mobile-hamburger-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #165B33;
        cursor: pointer;
        padding: 8px;
        border-radius: 8px;
        transition: background 0.2s ease;
    }

    .mobile-hamburger-btn:hover {
        background: rgba(22, 91, 51, 0.08);
    }
}

/* Mobile Drawer Elements */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -340px;
    width: 300px;
    max-width: 88vw;
    height: 100%;
    background: #FFFFFF;
    z-index: 9999;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-nav-drawer.active {
    left: 0;
}

.mobile-drawer-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8FAF6;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748B;
}

.mobile-drawer-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

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

.mobile-nav-list li {
    margin-bottom: 12px;
}

.mobile-nav-list a {
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.mobile-nav-list a:hover {
    background: #F4F7EF;
    color: #165B33;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #F5F8F2 0%, #EBF3E8 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section.hero-with-ad-slider {
    padding: 40px 0;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    color: #165B33;
    line-height: 1.15;
    margin: 0 0 20px 0;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #475569;
    max-width: 540px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.btn-primary {
    background: #165B33;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(22, 91, 51, 0.25);
    border: 2px solid #165B33;
    cursor: pointer;
}

.btn-secondary {
    background: #FFFFFF;
    color: #165B33;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #165B33;
    cursor: pointer;
}

.hero-badges-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(22, 91, 51, 0.15);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1E293B;
}

.badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #165B33;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-image-wrapper img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.hero-guide-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #FFFFFF;
    border-radius: 50%;
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border: 3px dashed #165B33;
}

.hero-guide-badge.badge-rotating {
    animation: rotateBadge 20s linear infinite;
}

.guide-badge-inner { display: flex; flex-direction: column; align-items: center; }
.guide-badge-icon { font-size: 1.5rem; color: #165B33; }
.guide-badge-title { font-size: 0.7rem; font-weight: 800; color: #165B33; text-transform: uppercase; line-height: 1.1; margin-top: 4px; }
.guide-badge-sub { font-size: 0.6rem; color: #64748B; }

@keyframes rotateBadge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   3. SECTIONS & CENTERED PLANT DIVIDER
   ========================================================================== */
.section-offer, .section-products, .section-features-split {
    padding: 60px 0;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle-dash {
    font-size: 1.8rem;
    font-weight: 800;
    color: #165B33;
    margin-bottom: 6px;
}

.plant-icon-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.plant-icon-divider::before,
.plant-icon-divider::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #165B33 50%, #25B865 100%);
    border-radius: 2px;
}

.plant-icon-divider::after {
    background: linear-gradient(90deg, #25B865 0%, #165B33 50%, transparent 100%);
}

.plant-icon-divider i { font-size: 1.2rem; color: #25B865; }

/* Grids */
.categories-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card, .product-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.category-card:hover, .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.category-img-container, .product-image {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #F1F5F9;
}

.category-img-container img, .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-price { font-size: 1.05rem; font-weight: 800; color: #165B33; margin-bottom: 12px; }
.btn-view-details { background: #165B33; color: #FFF; padding: 10px; border-radius: 8px; border: none; font-weight: 700; cursor: pointer; text-align: center; }

/* Quiz Banner */
.garden-finder-banner {
    background: #0F4726;
    border-radius: 20px;
    padding: 36px 40px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 40px 0;
}

.finder-info { display: flex; align-items: center; gap: 20px; }
.finder-icon-box { width: 64px; height: 64px; border-radius: 16px; background: rgba(255, 255, 255, 0.15); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #25B865; }
.btn-finder { background: #FFFFFF; color: #0F4726; padding: 14px 28px; border-radius: 30px; font-weight: 800; border: none; cursor: pointer; }
.finder-steps-flow { display: flex; align-items: center; gap: 12px; }
.flow-step { text-align: center; }
.step-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin: 0 auto 6px auto; border: 1px solid rgba(255, 255, 255, 0.2); }

/* Split Section */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.why-choose-card { background: #F8FAF6; border-radius: 20px; padding: 30px; display: flex; gap: 24px; align-items: center; border: 1px solid #E2E8F0; }
.why-choose-img { width: 180px; height: 220px; border-radius: 16px; object-fit: cover; }
.green-family-card { background: #F8FAF6; border-radius: 20px; padding: 36px; border: 1px solid #E2E8F0; display: flex; flex-direction: column; justify-content: space-between; }
.avatar-stack { display: flex; }
.avatar-img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #FFF; margin-left: -12px; background: #165B33; color: #FFF; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.avatar-img:first-child { margin-left: 0; }

/* Stats Counter */
.section-stats { background: #F4F7EF; padding: 40px 0; border-top: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.stat-box { display: flex; align-items: center; gap: 12px; }
.stat-icon-wrapper { width: 48px; height: 48px; border-radius: 50%; background: #FFF; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #165B33; }
.stat-number { font-size: 1.25rem; font-weight: 800; color: #165B33; }

/* Footer */
.site-footer { background: #0A2E17; color: #CBD5E1; padding: 70px 0 20px 0; }
.footer-columns { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: #FFFFFF; font-size: 1.05rem; font-weight: 700; margin: 0 0 20px 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #CBD5E1; }
.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.8rem; }

/* Floating WhatsApp Widget */
.whatsapp-widget { position: fixed; bottom: 30px; right: 30px; width: 58px; height: 58px; background: #25D366; color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 9999; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & MOBILES < 992px)
   ========================================================================== */
@media (max-width: 991px) {
    .topbar-right .social-links, .topbar-right .topbar-divider { display: none; }
    .hero-container { grid-template-columns: 1fr; gap: 30px; }
    .hero-content h1 { font-size: 2.6rem; }
    .categories-grid, .products-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-badges-5 { grid-template-columns: repeat(3, 1fr); }
    .split-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }

    /* Ad Slider responsive on tablet */
    .ad-slider-banner,
    .ad-slides-wrapper,
    .ad-nav-btn { height: 200px; }
    .ad-badge-topic { font-size: 1.4rem; }
    .ad-subtopic { font-size: 0.9rem; }
    .ad-sliding-tile { font-size: 0.72rem; }
    .ad-content-flex { padding: 20px 24px; }
}


@media (max-width: 640px) {
    .site-topbar { font-size: 0.75rem; }
    .topbar-container { flex-direction: column; text-align: center; gap: 4px; }
    /* Ad Slider on mobile */
    .ad-slider-banner,
    .ad-slides-wrapper,
    .ad-nav-btn { height: 180px; }
    .ad-badge-topic { font-size: 1.15rem; }
    .ad-subtopic { font-size: 0.82rem; display: none; }
    .ad-action-link { font-size: 0.85rem; padding: 9px 18px; }
    .ad-content-flex { padding: 16px 8px; gap: 10px; }
    .ad-nav-btn { width: 36px; }
    .hero-section { padding: 30px 0; }
    .hero-content h1 { font-size: 2.1rem; line-height: 1.2; }
    .hero-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; }
    .hero-image-wrapper img { height: 260px; }
    .hero-guide-badge { width: 95px; height: 95px; bottom: 12px; right: 12px; padding: 6px; }
    .guide-badge-icon { font-size: 1.1rem; }
    .guide-badge-title { font-size: 0.55rem; }
    .guide-badge-sub { font-size: 0.5rem; }
    .hero-badges-5 { grid-template-columns: repeat(2, 1fr); }
    .categories-grid, .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-img-container, .product-image { height: 110px; }
    .garden-finder-banner { flex-direction: column; text-align: center; padding: 24px 16px; }
    .finder-steps-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
    .flow-arrow { display: none; }
    .why-choose-card { flex-direction: column; text-align: center; }
    .why-choose-img { width: 100%; height: 160px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-columns { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
    .whatsapp-widget { width: 48px; height: 48px; font-size: 1.6rem; bottom: 20px; right: 20px; }
}
