/*
 * FreshOrganic Farms - Agriculture Website Template
 * Modern, Premium & Responsive CSS Stylesheet
 * 
 * Color Palette:
 * - Primary (Forest Green): #14532D
 * - Secondary (Teal Green): #0F766E
 * - Accent (Fresh Lime): #84CC16
 * - Background (Soft Green White): #F0FDF4
 * - Text Dark (Deep Green): #022C22
 * - Primary Gradient: linear-gradient(135deg, #7C4A2D, #E6B566)
 */

/* ===============================================
   RESET & BASE STYLES
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --primary-green: #14532D;
    --secondary-teal: #0F766E;
    --accent-lime: #84CC16;
    --bg-soft-green: #F0FDF4;
    --text-dark: #022C22;
    --white: #FFFFFF;
    --light-gray: #F3F4F6;
    --border-color: #E5E7EB;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #7C4A2D, #E6B566);
    --gradient-overlay: linear-gradient(135deg, rgba(20, 83, 45, 0.85), rgba(15, 118, 110, 0.75));
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-normal);
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ===============================================
   BUTTONS
   =============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-green);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.logo i {
    font-size: 2rem;
    color: var(--accent-lime);
}

.logo-text .highlight {
    color: var(--accent-lime);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn,
.cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft-green);
    color: var(--primary-green);
    font-size: 1.1rem;
    position: relative;
    overflow: visible;
}

.search-btn:hover,
.cart-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-lime);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 2px solid var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    padding: 2rem;
    transition: var(--transition-normal);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.close-menu {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-soft-green);
    color: var(--primary-green);
    font-size: 1.2rem;
}

.mobile-nav-menu {
    list-style: none;
}

.mobile-nav-menu li {
    margin-bottom: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav-link:hover {
    color: var(--primary-green);
}

/* ===============================================
   HERO SECTION
   =============================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(132, 204, 22, 0.2);
    border: 2px solid var(--accent-lime);
    color: var(--accent-lime);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 1.2rem;
    pointer-events: all;
    transition: var(--transition-normal);
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
}

.hero-dots .dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ===============================================
   DELIVERY BADGE SECTION
   =============================================== */
.delivery-badge {
    padding: 3rem 0;
    background: var(--bg-soft-green);
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.badge-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.badge-text {
    font-size: 0.9rem;
    color: #6B7280;
    margin: 0;
}

/* ===============================================
   PAGE HEADER
   =============================================== */
.page-header {
    padding: 6rem 0 3rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #022C22;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin: 0;
}

.category-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* ===============================================
   SECTION HEADERS
   =============================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--bg-soft-green);
    color: var(--primary-green);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    margin: 0;
}

/* ===============================================
   CATEGORIES SECTION
   =============================================== */
.categories-section {
    padding: var(--section-padding);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}


.category-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 83, 45, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border-radius: 50px;
}

.category-content {
    padding: 2rem 1rem 1.5rem;
    position: relative;
}
.category-icon {
    position: absolute;
    top: -30px; /* half of icon height to lift above image */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #A17C4F; /* your circle color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    z-index: 10; /* make sure it's on top */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    color: #022C22;
}

.category-desc {
    font-size: 0.95rem;
    color: #6B7280;
    margin: 0.5rem 0 1rem;
}
.category-count {
    display: inline-block;
    font-size: 0.85rem;
    background: #ECFDF5;
    color: #14532D;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ===============================================
   PRODUCTS SECTION
   =============================================== */
.products-section {
    padding: var(--section-padding);
    background: var(--bg-soft-green);
}

.product-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-lime);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.product-badge.organic {
    background: var(--primary-green);
}

.product-badge.sale {
    background: #EF4444;
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}

.product-actions {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition-normal);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.action-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.product-rating i {
    color: #FBBF24;
    font-size: 0.9rem;
}

.rating-count {
    margin-left: 0.5rem;
    color: #9CA3AF;
    font-size: 0.85rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: var(--font-heading);
}

.unit {
    color: #9CA3AF;
    font-size: 0.9rem;
}

.old-price {
    color: #9CA3AF;
    font-size: 1rem;
    text-decoration: line-through;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-normal);
    text-align: center;
    white-space: nowrap;
    min-width: 120px;
    max-width: 100%;
    cursor: pointer;
    font-family: var(--font-body);
    flex-shrink: 1;
    box-sizing: border-box;
}

.btn-add-cart:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.btn-add-cart:active {
    transform: scale(0.98);
}

.btn-add-cart i {
    font-size: 1rem;
}

/* ===============================================
   SEASONAL SECTION
   =============================================== */
.seasonal-section {
    padding: var(--section-padding);
}

.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.seasonal-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.seasonal-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.seasonal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seasonal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

.seasonal-content {
    padding: 2.5rem;
}

.seasonal-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.seasonal-badge.summer {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.seasonal-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.seasonal-desc {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.seasonal-features {
    list-style: none;
    margin-bottom: 2rem;
}

.seasonal-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #4B5563;
}

.seasonal-features i {
    color: var(--accent-lime);
    font-size: 1.1rem;
}

.seasonal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.discount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #EF4444;
    font-family: var(--font-heading);
}

/* About Farm */
.about-farm {
    margin-top: 5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
}

.about-badge i {
    font-size: 2rem;
    color: var(--accent-lime);
}

.about-badge strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.about-badge span {
    color: #6B7280;
    font-size: 0.9rem;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text {
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-feature i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-soft-green);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.about-feature span {
    color: #6B7280;
    font-size: 0.9rem;
}

/* ===============================================
   TESTIMONIALS SECTION
   =============================================== */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--bg-soft-green);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    position: relative;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #FBBF24;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4B5563;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-lime);
}

.author-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-role {
    color: #6B7280;
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-quote {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    color: var(--bg-soft-green);
    opacity: 0.5;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-green);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary-green);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: var(--transition-normal);
}

.testimonial-dots .dot.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 6px;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.trust-badge {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.trust-content strong {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.trust-content span {
    color: #6B7280;
    font-size: 0.9rem;
}

/* ===============================================
   CTA SECTION
   =============================================== */
.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.95), rgba(15, 118, 110, 0.9));
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: rgba(132, 204, 22, 0.2);
    border: 2px solid var(--accent-lime);
    color: var(--accent-lime);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.cta-feature i {
    color: var(--accent-lime);
    font-size: 1.3rem;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Newsletter */
.newsletter-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    margin-top: 3rem;
}

.newsletter-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition-normal);
}

.newsletter-input:focus {
    border-color: var(--accent-lime);
    background: var(--white);
}

.newsletter-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.newsletter-note {
    text-align: center;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===============================================
   FOOTER
   =============================================== */
.main-footer {
    background: var(--text-dark);
    color: var(--white);
}

.footer-top {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent-lime);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-lime);
    transform: translateY(-3px);
}

.whatsapp-link:hover {
    background: #25D366;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-lime);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-lime);
    width: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-lime);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* ===============================================
   SCROLL TO TOP BUTTON
   =============================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ===============================================
   ANIMATIONS
   =============================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

/* Large Tablets & Small Desktops (1200px and below) */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .seasonal-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}


/* Tablets (992px and below) */
@media (max-width: 992px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .container {
        max-width: 960px;
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Categories & Products */
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* Page Header */
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .category-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}

/* Small Tablets (768px and below) */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        font-size: 15px;
    }
    
    .container {
        max-width: 720px;
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.5rem; }
    
    /* Header */
    .header {
        padding: 1rem 0;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .header-actions {
        gap: 0.75rem;
    }
    
    .search-btn,
    .cart-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Delivery Badges */
    .badge-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .badge-item {
        padding: 1.25rem;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-image {
        height: 180px;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 1.5rem;
    }
    
    .product-filters {
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Add to Cart Buttons - Tablet */
    .btn-add-cart {
        padding: 0.75rem 1.2rem;
        font-size: 0.85rem;
        min-width: 110px;
        gap: 0.4rem;
        margin-left: 12px;
    }
    
    /* Seasonal */
    .seasonal-card {
        min-width: auto;
    }
    
    /* About */
    .about-image img {
        height: 350px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    /* CTA */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-features {
        gap: 1rem;
    }
    
    /* Newsletter */
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        justify-content: center;
        width: 100%;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 5rem 0 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .category-icon-large {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    /* Product Detail Page */
    .product-detail-section {
        padding: 6rem 0 4rem !important;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .main-image img {
        height: 400px !important;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .product-info h1 {
        font-size: 2rem !important;
    }
    
    .product-info .price {
        font-size: 2.5rem !important;
    }
}

/* Mobile Landscape & Large Phones (576px and below) */
@media (max-width: 576px) {
    :root {
        --section-padding: 2.5rem 0;
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    
    /* Header */
    .header {
        padding: 0.875rem 0;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .search-btn,
    .cart-btn {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
    
    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -6px;
        right: -6px;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 450px;
        padding: 8rem 0 3rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        gap: 0.875rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-controls {
        padding: 0 0.5rem;
    }
    
    .hero-prev,
    .hero-next {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .hero-dots {
        gap: 0.5rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Delivery Badges */
    .badge-grid {
        gap: 1.25rem;
    }
    
    .badge-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .badge-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Categories */
    .categories-grid {
        gap: 1.25rem;
    }
    
    .category-image {
        height: 180px;
    }
    
    .category-content {
        padding: 1.25rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        margin: -0px auto 1rem;
        font-size: 1.25rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .product-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .product-card {
        border-radius: 15px;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 0.875rem;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .product-price {
        width: auto;
        justify-content: flex-start;
        flex-shrink: 0;
    }
    
    .btn-add-cart {
        width: auto;
        max-width: 100%;
        justify-content: center;
        min-width: 100px;
        padding: 0.75rem 0.85rem;
        font-size: 0.8rem;
        gap: 0.4rem;
        flex-shrink: 1;
    margin-left: 12px;
    }
    
    .btn-add-cart i {
        font-size: 0.95rem;
        margin-left: 20px;
    }
    
    .btn-add-cart span {
        font-weight: 600;
    }
    
    /* Seasonal */
    .seasonal-grid {
        gap: 2rem;
    }
    
    .seasonal-card {
        border-radius: 15px;
    }
    
    .seasonal-image {
        height: 200px;
    }
    
    .seasonal-content {
        padding: 1.5rem;
    }
    
    /* About Farm */
    .about-content {
        padding: 1.5rem;
    }
    
    .about-image img {
        height: 280px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .testimonial-rating {
        font-size: 0.9rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-controls {
        margin-top: 2rem;
    }
    
    /* CTA */
    .cta-content {
        padding: 2rem 1.5rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
    }
    
    .cta-buttons {
        gap: 0.875rem;
    }
    
    /* Newsletter */
    .newsletter-box {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .newsletter-input {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .newsletter-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Trust Badges */
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-col h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.625rem;
    }
    
    .social-links {
        gap: 0.625rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    /* Scroll to Top */
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 4.5rem 0 2rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .page-header p {
        font-size: 0.95rem;
    }
    
    .category-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    /* Product Detail Page */
    .product-detail-section {
        padding: 5rem 0 3rem !important;
        margin-top: 60px !important;
    }
    
    .breadcrumb {
        margin-bottom: 2rem !important;
        font-size: 0.85rem;
    }
    
    .main-image {
        margin-bottom: 1rem !important;
    }
    
    .main-image img {
        height: 300px !important;
    }
    
    .product-badge {
        top: 1rem !important;
        right: 1rem !important;
        padding: 0.375rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .thumbnail-images img {
        height: 70px !important;
    }
    
    .product-info h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.875rem !important;
    }
    
    .product-rating {
        flex-wrap: wrap;
    }
    
    .product-info .price {
        font-size: 2.25rem !important;
    }
    
    .product-info .unit {
        font-size: 1.1rem !important;
    }
    
    .product-info .old-price {
        font-size: 1.25rem !important;
    }
    
    .product-info p {
        font-size: 1rem !important;
    }
    
    .product-info h3 {
        font-size: 1.1rem !important;
    }
    
    .product-info ul li {
        font-size: 0.9rem !important;
    }
    
    .qty-minus,
    .qty-plus {
        padding: 0.875rem 1.25rem !important;
        font-size: 1.1rem !important;
    }
    
    #quantity {
        width: 60px !important;
        font-size: 1rem !important;
    }
    
    .product-info .btn-large {
        font-size: 1rem !important;
        padding: 0.875rem 1.25rem !important;
    }
    
    .product-info .btn-outline {
        padding: 0.875rem 1.25rem !important;
    }
    
    /* Related Products */
    .product-detail-section h2 {
        font-size: 1.75rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .contact-form {
        padding: 1.5rem !important;
    }
    
    .form-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .contact-item {
        padding: 1.25rem !important;
    }
}

/* Extra Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }
    
    .hero-section {
        min-height: 400px;
        padding: 7rem 0 2.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .main-image img {
        height: 250px !important;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .thumbnail-images div:last-child {
        display: none;
    }
    
    .product-info h1 {
        font-size: 1.5rem !important;
    }
    
    .product-info .price {
        font-size: 2rem !important;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .category-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Landscape Mode for Small Devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 400px;
        padding: 6rem 0 2rem;
    }
    
    .hero-stats {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .filter-btn,
    .action-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .hero-prev,
    .hero-next {
        min-width: 44px;
        min-height: 44px;
    }
    
    .search-btn,
    .cart-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ===============================================
   MOBILE PREVIEW BUTTON
   =============================================== */
.mobile-preview-btn {
    background: linear-gradient(135deg, #14532D, #0F766E);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 24px rgba(20, 83, 45, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.mobile-preview-btn i {
    font-size: 1.5rem;
    animation: phonePulse 2s ease-in-out infinite;
}

.mobile-preview-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(20, 83, 45, 0.4);
}

.mobile-preview-btn:active {
    transform: translateY(-1px);
}

@keyframes phonePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .mobile-preview-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* ===============================================
   FLOATING MOBILE PREVIEW BUTTON
   =============================================== */
.floating-mobile-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #14532D, #0F766E);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    box-shadow: 0 8px 24px rgba(20, 83, 45, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.floating-mobile-btn:hover {
    width: 140px;
    border-radius: 30px;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(20, 83, 45, 0.5);
}

.floating-mobile-btn i {
    font-size: 1.5rem;
    animation: phoneBounce 2s ease-in-out infinite;
}

.floating-mobile-btn:hover i {
    animation: none;
}

.floating-btn-text {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}

.floating-mobile-btn:hover .floating-btn-text {
    opacity: 1;
    max-height: 20px;
}

@keyframes phoneBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .floating-mobile-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-mobile-btn i {
        font-size: 1.3rem;
    }
    
    .floating-mobile-btn:hover {
        width: 55px;
        border-radius: 50%;
    }
    
    .floating-btn-text {
        display: none;
    }
}

