/* 
   AgriCart - Premium Agriculture eCommerce 
   Final UI, Format Fixes, Visibility Fixes, Layout Corrections
*/
:root {
    --primary-color: #2E7D32; 
    --secondary-color: #4CAF50; 
    --accent-yellow: #FFC107;
    --accent-orange: #FF9800;
    --bg-beige: #F5F5DC;
    --bg-light: #F9FAFB;
    --text-main: #222222;
    --text-muted: #555555;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-soft: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Poppins', sans-serif; color: var(--text-main); background-color: var(--white); line-height: 1.6; overflow-x: hidden; font-size: 1rem; }
h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif; font-weight: 800; color: var(--text-main); }
h1 { font-size: 3.5rem !important; line-height: 1.2; }
h2 { font-size: 2.5rem !important; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1250px; margin: 0 auto; padding: 0 15px; width: 100%; }
.section { padding: 70px 0; }
.bg-light { background-color: var(--bg-light); }
.border-top { border-top: 1px solid var(--border-color); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1rem; }
.text-yellow { color: var(--accent-yellow) !important; }
.text-white { color: var(--white) !important; }
.verified { color: #1DA1F2; font-size: 0.9em; }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 25px; border-radius: var(--radius); font-weight: 600; text-align: center; cursor: pointer; border: none; transition: var(--transition); font-size: 1.1rem; }
.btn-primary { background-color: var(--primary-color); color: var(--white) !important; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(46, 125, 50, 0.4); background: #1B5E20; color: white !important; }
.btn-secondary { background-color: var(--accent-orange); color: var(--white) !important; }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 152, 0, 0.4); background: #E65100; color: white !important; }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color) !important; background: transparent; }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white) !important; }
.btn-sm { padding: 8px 15px; font-size: 0.9rem; }
.btn-lg { padding: 16px 35px; font-size: 1.2rem; }
.btn-full { width: 100%; }

/* 1. Top Bar */
@keyframes gradient-pan { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes truck-drive { 0% { transform: translateX(0); } 50% { transform: translateX(4px); } 100% { transform: translateX(0); } }
@keyframes ring-phone { 0% { transform: rotate(0); } 10% { transform: rotate(15deg); } 20% { transform: rotate(-15deg); } 30% { transform: rotate(15deg); } 40% { transform: rotate(-15deg); } 50% { transform: rotate(0); } 100% { transform: rotate(0); } }
@keyframes shield-pulse { 0% { transform: scale(1); } 50% { transform: scale(1.15); color: var(--accent-yellow); } 100% { transform: scale(1); } }
@keyframes check-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15) rotate(5deg); color: var(--accent-yellow); } }

.top-bar { background: linear-gradient(90deg, #1B5E20, #4CAF50, #004D40, #1B5E20); background-size: 300% 300%; animation: gradient-pan 8s ease infinite; color: var(--white); font-size: 0.78rem; padding: 6px 0; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; }
.top-bar-left span { margin-right: 25px; display: flex; align-items: center; gap: 8px; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.top-bar-right { gap: 25px; }
.top-bar-right a { color: var(--white); display: flex; align-items: center; gap: 8px; transition: var(--transition); text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.top-bar-right a:hover { color: var(--accent-yellow); transform: translateY(-1px); }
.top-bar-inner .fa-truck { font-size: 1.1rem; color: var(--accent-yellow); animation: truck-drive 2s infinite ease-in-out; }
.top-bar-inner .fa-check-circle { font-size: 1rem; color: #A5D6A7; animation: check-pop 3s infinite ease-in-out; }
.top-bar-inner .fa-headset { font-size: 1.05rem; color: var(--accent-yellow); animation: ring-phone 2.5s infinite ease-in-out; }
.top-bar-inner .fa-shield-alt { font-size: 1rem; color: #A5D6A7; animation: shield-pulse 3s infinite ease-in-out; }

/* 2. Header */
.header { padding: 12px 0; background: var(--white); border-bottom: 1px solid var(--border-color); box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo a { font-size: 1.8rem; font-weight: 800; color: var(--primary-color); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent-orange); }

.search-bar { flex: 1; max-width: 550px; display: flex; border: 2px solid var(--primary-color); border-radius: 25px; overflow: hidden; height: 45px; background: var(--white); margin: 0 15px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); }
.search-cat-dropdown { background: var(--bg-light); padding: 0 15px; display: flex; align-items: center; border-right: 1px solid var(--border-color); font-size: 0.9rem; cursor: pointer; white-space: nowrap; font-weight: 600; color: var(--text-main); }
.search-bar input { flex: 1; border: none; padding: 0 15px; outline: none; font-size: 0.95rem; color: var(--text-main); width: 100%; }
.search-bar button { background: var(--primary-color); color: var(--white); border: none; padding: 0 25px; cursor: pointer; font-size: 1.2rem; transition: var(--transition); }
.search-bar button:hover { background: #1B5E20; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.action-icon { display: flex; flex-direction: column; align-items: center; position: relative; color: var(--text-main); transition: transform 0.3s; cursor: pointer; }
.icon-wrap { position: relative; display: inline-block; transition: var(--transition); }
.action-icon i { font-size: 1.4rem; }
.action-icon:hover { color: var(--primary-color); }
.action-icon:hover .icon-wrap { transform: translateY(-3px) scale(1.1); }
.action-text { font-size: 0.8rem; margin-top: 4px; font-weight: 600; white-space: nowrap; }
.badge { position: absolute; top: -6px; right: -8px; background: var(--accent-orange); color: var(--white); font-size: 0.7rem; font-weight: bold; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: flex; justify-content: center; align-items: center; border: 2px solid var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

.account-action { flex-direction: row; gap: 8px; border-left: 1px solid var(--border-color); padding-left: 15px; margin-left: 5px; align-items: center; }
.account-action i { font-size: 1.5rem !important; }
.action-text-wrap { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.action-text-small { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0px; text-transform: uppercase; letter-spacing: 0.5px; }
.account-action .action-text { margin-top: 0; font-size: 0.85rem; }

/* 3. Navigation & Mega Menu */
.main-nav { background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.05); z-index: 1000; position: relative; }
.main-nav.sticky { position: fixed; top: 0; left: 0; width: 100%; animation: slideDown 0.3s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.nav-inner { display: flex; align-items: center; gap: 20px; }
.categories-btn { background: var(--primary-color); color: var(--white); padding: 15px 30px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.nav-links { display: flex; gap: 25px; font-size: 1.05rem; font-weight: 600; flex: 1; align-items: center; margin: 0; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links > li > a { padding: 15px 0; display: block; position: relative; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: 8px; left: 0; width: 0; height: 2px; background: var(--secondary-color); transition: width 0.3s ease; }
.nav-links > li > a:hover::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary-color); }

/* Header Call Button */
@keyframes pulse-ring-orange { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 152, 0, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); } }
.header-call-btn { background: linear-gradient(45deg, #FF9800, #F44336); color: var(--white) !important; padding: 8px 25px !important; border-radius: 30px; font-weight: 800 !important; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4); animation: pulse-ring-orange 2s infinite; font-size: 1.1rem; }
.header-call-btn::after { display: none !important; }
.header-call-btn:hover { transform: scale(1.05); }

/* Mega Menu & Dropdown */
.mega-menu, .dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: var(--shadow-hover); border-radius: 0 0 var(--radius) var(--radius); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; margin-top: 15px; border-top: 4px solid var(--primary-color); transform: translateY(10px); }
.has-mega-menu:hover .mega-menu, .has-mega-menu:hover .dropdown-menu { opacity: 1; visibility: visible; margin-top: 0; transform: translateY(0); }
.categories-btn .mega-menu { width: 900px; padding: 30px; }
.mega-menu-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.dropdown-menu { width: 220px; padding: 15px; }
.dropdown-menu ul li a { padding: 10px 15px; display: block; color: var(--text-main); font-size: 0.95rem; border-bottom: 1px solid var(--bg-light); }
.dropdown-menu ul li:last-child a { border-bottom: none; }
.dropdown-menu ul li a:hover { color: var(--primary-color); background: var(--bg-light); padding-left: 20px; }
.mega-col h4 { font-size: 1.1rem; color: var(--primary-color); border-bottom: 2px solid var(--border-color); padding-bottom: 8px; margin-bottom: 12px; }
.mega-col ul li a { padding: 8px 0; display: block; color: var(--text-muted); font-size: 0.95rem; }
.mega-col ul li a:hover { color: var(--accent-orange); transform: translateX(5px); }

/* 4. Hero Slider */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide { min-height: 550px; display: flex; align-items: center; background-size: cover; background-position: center; padding: 100px 0; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.offer-badge { display: inline-block; background: var(--accent-yellow); color: var(--text-main); padding: 8px 20px; border-radius: 30px; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.hero-content h1 { text-shadow: 2px 4px 10px rgba(0,0,0,0.8); margin-bottom: 20px; color: white; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; text-shadow: 1px 2px 6px rgba(0,0,0,0.8); font-weight: 600; color: white; }

/* 5. Pin Checker */
.pin-checker { background: var(--accent-orange); color: var(--white); padding: 12px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.pin-checker-inner { display: flex; justify-content: center; align-items: center; gap: 15px; font-size: 1.1rem; font-weight: 600; }
.pin-checker input { padding: 12px 25px; border: none; border-radius: 25px; width: 300px; font-size: 1rem; outline: none; color: #333; }
.pin-checker button { background: var(--text-main); color: var(--white); border: none; padding: 12px 30px; border-radius: 25px; cursor: pointer; font-weight: 700; font-size: 1.05rem; transition: transform 0.2s; }
.pin-checker button:hover { transform: scale(1.05); }

/* 6. Trust Strip */
.trust-strip { background: var(--white); padding: 25px 0; border-bottom: 1px solid var(--border-color); }
.trust-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; transition: transform 0.3s; }
.trust-item:hover { transform: translateY(-5px); color: var(--primary-color); }
.trust-item i { color: var(--secondary-color); font-size: 2rem; }

/* Section Titles */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-header h2 { position: relative; padding-bottom: 12px; margin: 0; font-size: 2.2rem !important; }
.section-header h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--secondary-color); border-radius: 2px; }
.view-all { color: var(--primary-color); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 5px; transition: transform 0.2s; }
.view-all:hover { transform: translateX(5px); }

/* 7. Category Grid (Strictly 4 per row) */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cat-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); text-align: center; transition: var(--transition); display: flex; flex-direction: column; align-items: center; cursor: pointer; overflow: hidden; }
.cat-card:hover { box-shadow: var(--shadow-hover); border-color: var(--secondary-color); transform: translateY(-10px) scale(1.03); }
.cat-img { width: 100%; height: 160px; object-fit: cover; border: none; transition: var(--transition); }
.cat-card:hover .cat-img { transform: scale(1.1) rotate(2deg); }
.cat-card h3 { font-size: 1.1rem; padding: 15px; width: 100%; background: var(--white); z-index: 2; margin: 0; }

/* 8. Product Cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.product-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-color); overflow: hidden; position: relative; transition: var(--transition); display: flex; flex-direction: column; cursor: pointer; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-10px); border-color: var(--primary-color); z-index: 10; }
.product-badges { position: absolute; top: 15px; left: 15px; z-index: 2; display: flex; flex-direction: column; gap: 5px; }
.discount-badge { background: #E53935; color: var(--white); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.new-badge { background: var(--secondary-color); color: var(--white); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

.product-img-wrap { position: relative; overflow: hidden; padding-top: 100%; background: var(--bg-light); }
.product-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-image { transform: scale(1.15); }
.product-img-wrap::after { content:''; position:absolute; top:0;left:0;width:100%;height:100%; background: rgba(0,0,0,0.1); opacity: 0; transition: opacity 0.3s; z-index:1;}
.product-card:hover .product-img-wrap::after { opacity: 1; }

.hover-actions { position: absolute; bottom: -60px; left: 0; width: 100%; display: flex; justify-content: center; gap: 12px; padding: 15px; transition: all 0.4s ease; background: linear-gradient(transparent, rgba(255,255,255,0.95) 40%); z-index: 3; }
.product-card:hover .hover-actions { bottom: 0; }
.hover-actions button { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--white); color: var(--text-main); cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.15); font-size: 1.1rem; }
.hover-actions button:hover { background: var(--primary-color); color: var(--white); transform: scale(1.15); }

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; background: white; z-index: 2; position: relative; }
.cat-brand { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.p-name { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; height: 44px; overflow: hidden; transition: color 0.3s; }
.product-card:hover .p-name { color: var(--primary-color); }
.p-rating { font-size: 0.9rem; color: var(--accent-yellow); margin-bottom: 12px; }
.p-price-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.p-price { font-size: 1.4rem; font-weight: 800; color: var(--primary-color); }
.p-old-price { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.product-action-btns { display: flex; gap: 10px; }
.product-action-btns button { flex: 1; padding: 10px 0; font-size: 1rem; border-radius: 6px; }

/* 9. Promo Banners (Black Text Issue Fixed) */
.banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.promo-banner { border-radius: var(--radius-lg); padding: 40px; min-height: 250px; display: flex; align-items: center; position: relative; overflow: hidden; background-size: cover; background-position: center; transition: var(--transition); box-shadow: var(--shadow-soft); cursor: pointer; }
.promo-banner::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)); transition: background 0.3s; z-index: 1; }
.promo-banner:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.promo-banner:hover::before { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)); }
.banner-content { position: relative; z-index: 2; width: 100%; }
.banner-content * { color: var(--white) !important; }
.banner-content span { color: var(--accent-yellow) !important; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.banner-content h3 { font-size: 1.8rem; margin: 10px 0 15px; text-shadow: 2px 2px 6px rgba(0,0,0,0.8); }
.banner-content p { font-size: 1.1rem; margin-bottom: 20px; }

/* 10. Deal of the Day */
.dod-wrapper { display: flex; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); transition: var(--transition); }
.dod-wrapper:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.dod-content { flex: 1; padding: 60px; }
.dod-content h2 { font-size: 2.5rem !important; margin: 20px 0 30px; }
.countdown { display: flex; gap: 15px; margin-bottom: 30px; }
.cd-item { background: var(--bg-light); padding: 12px 15px; border-radius: var(--radius); text-align: center; min-width: 80px; border: 1px solid #ddd; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); }
.cd-item span { font-size: 2rem; font-weight: 800; color: var(--accent-orange); }
.dod-price { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.dod-price .price { font-size: 2.2rem; font-weight: 800; color: var(--primary-color); }
.dod-image { flex: 1; background-color: var(--bg-light); position: relative; overflow: hidden; }
.dod-image:hover { transform: scale(1.05); transition: transform 0.5s ease; }

/* 11. Shop by Crop (Hover Text Issue Fixed) */
.crop-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; }
.crop-item { text-align: center; background: var(--white); padding: 25px 15px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: var(--transition); cursor: pointer; }
.crop-item:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-8px) scale(1.05); box-shadow: var(--shadow-hover); }
.crop-item img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; transition: transform 0.4s; }
.crop-item:hover img { transform: scale(1.1) rotate(5deg); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.crop-item span { font-weight: 700; font-size: 1.1rem; color: var(--text-main); transition: color 0.3s; }
.crop-item:hover span { color: var(--white) !important; }

/* 12. Shop by Farming Need (Text Visibility Fixed) */
.needs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.need-card { padding: 50px 30px; border-radius: var(--radius-lg); display: flex; justify-content: space-between; align-items: center; transition: var(--transition); overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow-soft); }
.need-card::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)); transition: background 0.3s; z-index: 1; }
.need-card:hover { transform: translateY(-8px) scale(1.03); box-shadow: var(--shadow-hover); }
.need-card:hover::before { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)); }
.need-card h4 { font-size: 1.5rem; text-shadow: 2px 2px 8px rgba(0,0,0,0.9); z-index: 2; position: relative; color: var(--white) !important; transition: transform 0.3s; }
.need-card:hover h4 { transform: translateX(10px); }
.need-card i { color: var(--accent-yellow); font-size: 2rem; z-index: 2; position: relative; background: rgba(0,0,0,0.5); width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border-radius: 50%; transition: transform 0.3s, background 0.3s; }
.need-card:hover i { transform: translateX(-10px) scale(1.1); background: var(--primary-color); color: white; }

/* 13. Top Brands */
.brand-slider { padding: 40px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--white); }
.brand-item { display: flex; justify-content: center; align-items: center; padding: 20px; transition: var(--transition); cursor: pointer; }
.brand-item img { max-width: 140px; max-height: 70px; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: all 0.4s; }
.brand-item:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.15); }

/* 14. Vendor Highlights (Format Fixed) */
.vendor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.vendor-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); transition: var(--transition); text-align: center; }
.vendor-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary-color); }
.vendor-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 25px; }
.vendor-icon-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid var(--secondary-color); transition: transform 0.3s; margin-bottom: 15px; }
.vendor-card:hover .vendor-icon-img { transform: scale(1.1); box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4); }
.vendor-name { font-size: 1.4rem; margin-bottom: 5px; font-weight: 800; }
.vendor-loc { color: var(--text-muted); font-size: 1rem; margin-bottom: 15px; }

/* 15. Bulk Order Banner */
.bulk-banner { border-radius: var(--radius-lg); padding: 70px; color: var(--white); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition); }
.bulk-banner:hover { box-shadow: var(--shadow-hover); transform: scale(1.01); }
.bulk-content { position: relative; z-index: 2; }
.bulk-content h2 { font-size: 2.8rem !important; margin-bottom: 15px; text-shadow: 2px 2px 8px rgba(0,0,0,0.8); color: white; }
.bulk-content p { font-size: 1.3rem; max-width: 700px; margin: 0 auto 30px; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); }

/* 16. Customer Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: var(--white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); transition: var(--transition); cursor: pointer; }
.review-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--secondary-color); }
.review-stars { color: var(--accent-yellow); font-size: 1.2rem; margin-bottom: 15px; }
.review-text { font-style: italic; color: var(--text-muted); margin-bottom: 25px; font-size: 1.1rem; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--bg-light); padding-top: 15px; }
.ra-info h5 { font-size: 1.1rem; margin-bottom: 3px; transition: color 0.3s; }
.review-card:hover .ra-info h5 { color: var(--primary-color); }

/* 17. Blog / Farming Tips (Format Fixed) */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); background: var(--white); cursor: pointer; box-shadow: var(--shadow-soft); }
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-10px); border-color: var(--primary-color); }
.blog-img { height: 240px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-img img { transform: scale(1.15) rotate(2deg); }
.blog-content { padding: 30px; }
.blog-date { font-size: 0.95rem; color: var(--secondary-color); font-weight: 700; margin-bottom: 15px; display: inline-block; background: #E8F5E9; padding: 5px 15px; border-radius: 20px; }
.blog-content h3 { font-size: 1.4rem; margin-bottom: 15px; line-height: 1.4; transition: color 0.3s; }
.blog-card:hover h3 { color: var(--primary-color); }
.blog-content p { color: var(--text-muted); font-size: 1.05rem; }

/* 18. FAQs (Format Fixed) */
.faq-container { width: 100%; max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); margin-bottom: 20px; overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-soft); }
.faq-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.08); transform: translateX(5px); border-color: var(--secondary-color); }
.faq-question { padding: 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 1.2rem; transition: var(--transition); }
.faq-question.active { background: var(--primary-color); color: var(--white); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--bg-light); }
.faq-answer p { padding: 20px 0; color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; }

/* 19. Newsletter (Format Fixed) */
.newsletter-section { background: linear-gradient(135deg, var(--primary-color), #004D40); color: var(--white); padding: 70px 0; }
.newsletter-flex { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.newsletter-text { flex: 1; }
.newsletter-text h2 { color: white !important; font-size: 2.5rem !important; margin-bottom: 15px; }
.newsletter-text p { font-size: 1.2rem; opacity: 0.9; }
.newsletter-form { flex: 1; display: flex; gap: 15px; width: 100%; background: white; padding: 10px; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); }
.newsletter-form input { flex: 1; padding: 15px 20px; border: none; font-size: 1.1rem; border-radius: var(--radius); outline: none; }
.newsletter-form button { padding: 15px 35px; border-radius: var(--radius); font-size: 1.1rem; }

/* 20. Payment Strip */
.payment-strip { padding: 30px 0; text-align: center; background: var(--bg-light); }
.payment-icons { display: flex; justify-content: center; align-items: center; gap: 25px; flex-wrap: wrap; }
.pay-text { font-weight: 700; color: var(--text-main); margin-right: 20px; font-size: 1.2rem; }
.payment-icons i { font-size: 2.5rem; transition: transform 0.3s; cursor: pointer; }
.payment-icons i:hover { transform: scale(1.2); }
.payment-icons img { transition: transform 0.3s; cursor: pointer; height: 35px; }
.payment-icons img:hover { transform: scale(1.2); }

/* 21. Footer (Format Fixed) */
.footer { background: #111111; color: #DDDDDD; padding-top: 80px; font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
.footer-logo { font-size: 2.8rem; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--secondary-color); }
.footer-logo span { color: white; }
.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons a { display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--white); transition: var(--transition); font-size: 1.2rem; }
.social-icons a:hover { background: var(--secondary-color); transform: translateY(-5px) scale(1.1); box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4); }
.footer-col h3 { font-size: 1.5rem; padding-bottom: 15px; margin-bottom: 30px; color: var(--white); position: relative; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--secondary-color); }
.footer-col ul li { margin-bottom: 18px; }
.footer-col ul li a { display: flex; align-items: center; gap: 12px; color: #BBB; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary-color); transform: translateX(8px); }
.footer-col ul li a:hover i { transform: translateX(5px); }
.contact-info li { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 25px; color: #BBB; }
.contact-info li i { font-size: 1.5rem; color: var(--secondary-color); margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 30px 0; display: flex; justify-content: space-between; align-items: center; }
.fb-right a { color: #BBB; margin-left: 25px; }
.fb-right a:hover { color: var(--white); }

/* Floating Actions Animations */
@keyframes float-bounce { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }
@keyframes pulse-ring { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.floating-actions { position: fixed; right: 30px; bottom: 90px; display: flex; flex-direction: column; gap: 25px; z-index: 999; }
.fab-btn { width: 65px; height: 65px; font-size: 2rem; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.3); border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); animation: float-bounce 3s infinite ease-in-out; }
.fab-btn:hover { transform: scale(1.2) !important; animation-play-state: paused; box-shadow: 0 8px 25px rgba(0,0,0,0.4); }
.fab-whatsapp { background: #25D366; animation: pulse-ring 2s infinite; }
.fab-call { background: #1976D2; animation-delay: 0.5s; }
.fab-enquiry { background: var(--accent-orange); animation-delay: 1s; }
.fab-top { background: #333; opacity: 0; visibility: hidden; animation: none; width: 50px; height: 50px; font-size: 1.5rem; align-self: center; margin-top: 10px; }
.fab-top.show { opacity: 1; visibility: visible; }

/* Mobile Bottom Navigation Fix */
.hide-desktop { display: none !important; }
.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); box-shadow: 0 -2px 15px rgba(0,0,0,0.1); z-index: 1000; justify-content: space-around; padding: 12px 0 8px 0; border-top: 1px solid var(--border-color); }
.mobile-bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; color: var(--text-muted); font-size: 0.75rem; gap: 5px; font-weight: 600; text-decoration: none; }
.mobile-bottom-nav .nav-item.active, .mobile-bottom-nav .nav-item:hover { color: var(--primary-color); }
.mobile-bottom-nav .nav-item i { font-size: 1.5rem; }
.mobile-bottom-nav .badge { top: -8px; right: -12px; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .category-grid, .needs-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-grid, .vendor-grid, .reviews-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .crop-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    h1 { font-size: 2.8rem !important; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .hide-desktop { display: flex; }
    .header-inner { gap: 15px; }
    .search-bar { max-width: 100%; margin: 0; }
    .hero-slide { min-height: 400px; padding: 60px 0; text-align: center; }
    h1 { font-size: 2.2rem !important; }
    .dod-wrapper { flex-direction: column; }
    .dod-content { padding: 30px; text-align: center; }
    .countdown, .dod-price { justify-content: center; }
    .newsletter-flex { flex-direction: column; text-align: center; gap: 20px; }
}

@media (max-width: 480px) {
    .product-grid, .vendor-grid, .banner-grid, .reviews-grid, .blog-grid { grid-template-columns: 1fr; }
    .category-grid, .needs-grid, .crop-grid { grid-template-columns: repeat(2, 1fr); }
    h1 { font-size: 1.8rem !important; }
    .section { padding: 50px 0; }
}
