/* =============================================================
   mm.css — Freshambo Global Stylesheet
   Sections:
     1.  Fonts & CSS Variables (Design Tokens)
     2.  Reset & Base Styles
     3.  Navbar
     4.  Buttons
     5.  Hero Slider
     6.  Marquee Ticker
     7.  Search & Filter Bar
     8.  Product Listings Header
     9.  Product Card Grid
    10.  Cart Drawer
    11.  Forms (Enquiry Section)
    12.  Feedback / Reviews Section
    13.  About Section
    14.  Map Section
    15.  Footer
    16.  Detail Page
    17.  Team Page
    18.  Privacy / Legal Page
    19.  Profile Page
    20.  Review Form
    21.  Status Messages
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. FONTS & CSS VARIABLES (Design Tokens)
   All colors, spacing, and sizing are defined here.
   Use these tokens everywhere — avoid hardcoded hex values.
───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary:       #006aff;     /* Brand blue — buttons, links, accents  */
    --primary-hover: #0056d6;     /* Darker blue for button hover states   */
    --secondary:     #ff5a5f;     /* Accent red — badges, favourite icons  */
    --bg-main:       #f5f6f7;     /* Page background                       */
    --bg-card:       #ffffff;     /* Card / panel background               */
    --text-dark:     #2a2b2c;     /* Primary text color                    */
    --text-light:    #6a6b6c;     /* Secondary / muted text                */
    --border:        #d1d5db;     /* Border color for cards, inputs, lines */
    --header-height: 80px;        /* Navbar height (used in sticky offset) */
}


/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE STYLES
   Removes browser default margin/padding, sets font globally.
───────────────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-dark);
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
}

.main-panel {
    width: 100%;
}


/* ─────────────────────────────────────────────────────────────
   3. NAVBAR
   Sticky frosted-glass top navigation bar.
   Contains logo, navigation links, cart button, and hamburger.
───────────────────────────────────────────────────────────── */
.navbar {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Frosted glass effect */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 220px; /* Space between nav links and logo */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo image sizing */
.logo img {
    height: 150px;
    display: block;
}

/* Nav link base styles */
.nav-links a,
.nav-right a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-right a:hover {
    color: var(--primary);
}

/* Active page link — shows blue underline indicator */
.nav-links a.active {
    color: var(--primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

/* Hamburger menu icon — hidden on desktop */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
    transition: 0.4s;
}

.hamburger:hover {
    color: var(--primary);
}

/* Items visible only inside mobile menu */
.mobile-only {
    display: none !important;
}

/* ── Navbar Responsive (Tablet & Mobile) ── */
@media (max-width: 992px) {
    .nav-left {
        gap: 16px;
    }

    /* Hide desktop nav links by default */
    .nav-links {
        display: none;
    }

    /* Show hamburger icon */
    .hamburger {
        display: block;
    }

    .navbar {
        padding: 0 16px;
    }

    /* Mobile menu: full-screen slide-in panel */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: white;
        padding: 30px;
        box-shadow: none;
        border-bottom: 1px solid var(--border);
        animation: slideInLeft 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 2000;
    }

    .nav-links.mobile-open a {
        padding: 15px 0;
        font-size: 20px;
        font-weight: 700;
        border-bottom: 1px solid #f5f5f5;
    }

    /* Hide active underline in mobile full-screen menu */
    .nav-links.mobile-open a.active::after {
        display: none;
    }

    /* Show items only meant for mobile */
    .nav-links.mobile-open .mobile-only {
        display: block !important;
    }
}

/* Mobile menu slide animation */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* ─────────────────────────────────────────────────────────────
   4. BUTTONS
   Three button variants used across the app.
───────────────────────────────────────────────────────────── */

/* Primary (solid blue): main CTAs */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Secondary (outlined blue): secondary actions */
.btn-secondary,
button.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.5s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-secondary:hover,
button.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Outline (white with gray border): tertiary */
.btn-outline {
    background: white;
    border: 1.5px solid var(--border);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* ─────────────────────────────────────────────────────────────
   5. HERO SLIDER
   Full-viewport-width image/video slider with overlay text.
   Slides use opacity transitions (not translate) for fade effect.
───────────────────────────────────────────────────────────── */
.image-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
}

/* Each slide is absolutely positioned and fades in/out */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darkens image so text overlay is readable */
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text/CTA overlay centered on the slide */
.slider-overlay {
    position: absolute;
    text-align: center;
    color: white;
    z-index: 10;
    max-width: min(800px, 90%);
    padding: 20px;
}

.slider-overlay h1 {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.slider-overlay p {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dot navigation — centered at the bottom of the slider */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2); /* Slightly larger for the active dot */
}

/* ── Mobile Responsive Hero Image (Show more full image) ── */
@media (max-width: 768px) {
    .image-slider {
        /* Prevents aggressive side-cropping on portrait devices */
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 280px; 
    }
    
    .slider-overlay h1 {
        font-size: clamp(28px, 6vw, 36px);
        margin-bottom: 8px;
    }
    
    .slider-overlay p {
        font-size: clamp(14px, 3vw, 16px);
        margin-bottom: 20px;
    }
}


/* ─────────────────────────────────────────────────────────────
   6. MARQUEE TICKER
   Horizontal scrolling announcement banner below the hero.
───────────────────────────────────────────────────────────── */
.marquee-ticker {
    background: #ff9100;  /* Orange brand color */
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 2px solid #e17e00;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%; /* Starts off-screen to the right */
    animation: marquee 30s linear infinite;
}

/* Scrolls text from right to left */
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}


/* ─────────────────────────────────────────────────────────────
   7. SEARCH & FILTER BAR
   Sticky below the hero — contains text input + filter chip buttons.
───────────────────────────────────────────────────────────── */
.search-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: white;
}

/* Search input + button container */
.search-bar-container {
    display: flex;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.search-bar-container input {
    flex: 1;
    border: none;
    padding: 14px 16px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

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

/* Filter chip buttons row below the search input */
.filter-bar {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-drop {
    background: white;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
    color: var(--text-dark);
}

.filter-drop:hover {
    border-color: var(--text-dark);
    background: #f9f9f9;
}

/* Dropdown caret icon inside filter buttons */
.caret {
    font-size: 12px;
    margin-left: 4px;
    color: var(--text-light);
}


/* ─────────────────────────────────────────────────────────────
   8. LISTINGS SECTION HEADER
   Title + subtitle above each product card grid.
───────────────────────────────────────────────────────────── */
.listings-header {
    padding: 16px 24px 0;
    background: white;
}

.listings-header h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.listings-header p {
    font-size: 14px;
    color: var(--text-light);
}


/* ─────────────────────────────────────────────────────────────
   9. PRODUCT CARD GRID
   Responsive auto-fill grid of mango product cards.
   Each card contains: image, badge, favourite icon, body, footer.
───────────────────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px 15px;
    background: white;
}

/* Card container with hover lift animation */
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Square image wrapper (1:1 aspect ratio) */
.card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
}

/* Card image — zooms in slightly on card hover */
.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover .card-img {
    transform: scale(1.05);
}

/* Top-left badge: "Top Seller", "Kachcha", "Tree Rental" */
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    color: var(--text-dark);
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Green variant for Kachcha / raw mango badge */
.card-badge-kachcha {
    background: linear-gradient(135deg, #43a047, #66bb6a) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(67, 160, 71, 0.45);
}

/* Top-right favourite heart icon */
.card-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: 0.2s;
    font-size: 18px;
}

.card-fav:hover {
    background: rgba(0, 0, 0, 0.6);
    color: var(--secondary); /* Red on hover */
}

/* Card body: price + title + address */
.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.card-address {
    font-size: 13px;
    color: var(--text-light);
    margin-top: auto; /* Push address to bottom of card body */
}

/* Card footer: verification label + add-to-cart button */
.card-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

.broker-logo {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--primary);
}

/* Mobile: single-column card layout  */
@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .card-price {
        font-size: 20px;
    }
}


/* ─────────────────────────────────────────────────────────────
   10. CART DRAWER
   Slide-in panel from the right side of the screen.
   Contains scrollable cart items + checkout footer.
───────────────────────────────────────────────────────────── */

/* Drawer container — slides in from right via 'right' CSS prop */
.detail-pane {
    position: fixed;
    top: 0;
    right: -100%;              /* Hidden off-screen by default */
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
}

/* Open state — slides into view */
.detail-pane.open {
    right: 0;
}

/* Sticky header inside the drawer */
.detail-header {
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Close (×) button */
.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 50%;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #f0f0f0;
}

/* Scrollable cart items area */
.cart-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.empty-cart-msg {
    color: var(--text-light);
    font-size: 15px;
    text-align: center;
    margin-top: 40px;
}

/* Individual cart item row */
.cart-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.cart-item-farm {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--text-dark);
}

/* Quantity +/- control group */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 4px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--primary);
    padding: 0 4px;
}

.qty-val {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* Remove item button (red) */
.remove-btn {
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
}

/* Cart footer: subtotal + checkout button */
.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.btn-checkout {
    background: var(--primary);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-checkout:hover:not(:disabled) {
    background: var(--primary-hover);
}

/* Disabled when cart is empty */
.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ─────────────────────────────────────────────────────────────
   11. FORMS — ENQUIRY SECTION
   Two-column layout: info on left, form card on right.
   Converts to single column on small screens.
───────────────────────────────────────────────────────────── */
.enquiry-section {
    padding: 40px 24px;
    background: #f8f9fa;
}

.enquiry-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Stack columns on mobile */
@media (max-width: 768px) {
    .enquiry-container {
        grid-template-columns: 1fr;
    }
}

.enquiry-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.enquiry-info p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual contact method block (icon + text) */
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.contact-method span {
    font-size: 24px;
}

.contact-method strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.contact-method p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* White card containing the enquiry form */
.enquiry-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Two-column form row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Stack form row on very small screens */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* Shared input, select, textarea styles */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: #f9fafb;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

/* Highlight active input/select/textarea with primary color */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
}


/* ─────────────────────────────────────────────────────────────
   12. FEEDBACK / REVIEWS SECTION
   Responsive grid of customer testimonial cards.
───────────────────────────────────────────────────────────── */
.feedback-section {
    padding: 40px 24px;
    background: white;
}

.feedback-header {
    text-align: center;
    margin-bottom: 30px;
}

.feedback-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.feedback-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Auto-fill grid for review cards */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual review card */
.feedback-card {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.feedback-stars {
    font-size: 20px;
    margin-bottom: 10px;
}

.feedback-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

/* Reviewer info row: avatar + name + location */
.feedback-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Color-coded initials avatar circle */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
}

.user-info strong {
    display: block;
    font-size: 14px;
}

.user-info span {
    font-size: 12px;
    color: var(--text-light);
}


/* ─────────────────────────────────────────────────────────────
   13. ABOUT SECTION
   Brand story with text on the left and farm image on the right.
───────────────────────────────────────────────────────────── */
.about-freshambo {
    padding: 40px 24px;
    background: var(--bg-main);
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.about-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Card containing both about-text and about-image */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.about-text p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Key features bullet list */
.about-features {
    list-style: none;
    margin-top: 20px;
}

.about-features li {
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

/* Farm image container */
.about-image-grid {
    flex: 1;
    min-width: 300px;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Farm image: subtle zoom on hover */
.about-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    transition: transform 0.3s;
}

.about-image-grid:hover .about-img-main {
    transform: scale(1.03);
}


/* ─────────────────────────────────────────────────────────────
   14. MAP SECTION
   Card with descriptive text on the left + India map on the right.
───────────────────────────────────────────────────────────── */
.map-card-section {
    padding: 40px 24px;
    background: #f8f9fa;
    border-radius: 16px;
    margin: 20px 0 40px;
}

/* Flex container for the two-column map card */
.map-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

/* Stack vertically on mobile */
@media (max-width: 768px) {
    .map-card {
        flex-direction: column;
    }
}

.map-card-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-card-info h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.map-card-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Map image container: takes more width than the info side */
.map-image-container {
    flex: 1.5;
    height: 350px;
    background: #f1f1f1;
}

.map-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the whole map is visible on all screens */
}

@media (max-width: 768px) {
    .map-image-container {
        height: 250px;
    }
}


/* ─────────────────────────────────────────────────────────────
   15. FOOTER
   Dark multi-column footer with links, contact, and copyright.
───────────────────────────────────────────────────────────── */
.site-footer {
    background: #1a1b1c;
    color: #ccc;
    padding: 48px 24px 24px;
}

/* 3-column layout: brand | links | contact */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto 32px;
}

/* Single column on mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Brand name accent color for "Mango" word */
.footer-col h3 span {
    color: var(--secondary);
}

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

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

/* Copyright bar at the very bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
    max-width: 1100px;
    margin: 0 auto;
}


/* ─────────────────────────────────────────────────────────────
   16. DETAIL PAGE (detail.html)
   Product detail view: full hero image, specs grid, description,
   CTA buttons (cart, call, WhatsApp), and enquiry form.
───────────────────────────────────────────────────────────── */

/* Back navigation button */
.detail-back-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    margin-bottom: 20px;
    padding: 0;
}

.detail-back-btn:hover {
    text-decoration: underline;
}

/* Hero image wrapper with rounded corners */
.detail-hero-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.detail-section-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
}

/* Badge overlay on hero image (certification, type) */
.detail-hero-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.detail-main-col {}

/* Large variety name */
.ds-variety {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.ds-farm {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 12px;
}

.ds-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

/* 3-column spec grid (weight, rating, sweetness, etc.) */
.ds-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.ds-spec-item {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.ds-spec-icon {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}

.ds-spec-label {
    font-size: 11px;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.ds-spec-val {
    font-size: 14px;
    font-weight: 700;
}

/* Description text block */
.ds-desc-block {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.ds-desc-block h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ds-desc-block p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* CTA button row (Cart + Call + WhatsApp) */
.ds-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ds-actions button {
    flex: 1;
    min-width: 130px;
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
}


/* ─────────────────────────────────────────────────────────────
   17. TEAM PAGE (team.html)
   Card layout for the "Meet Our Team" section.
───────────────────────────────────────────────────────────── */
.team-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px 80px;
}

/* Outer card */
.team-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Section title + subtitle */
.team-header {
    text-align: center;
    margin-bottom: 36px;
}

.team-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.team-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Vertical list of team member cards */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

/* Each member: avatar + name, role, bio text */
.team-member {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid var(--border);
}

/* Circle avatar with initials or photo */
.team-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.team-note {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Bottom call-to-action / contact row */
.team-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.team-cta p {
    color: var(--text-light);
    margin-bottom: 16px;
}


/* ─────────────────────────────────────────────────────────────
   18. PRIVACY / LEGAL PAGE (privacy.html)
   Displays policy sections with headings, paragraphs, and lists.
───────────────────────────────────────────────────────────── */
.legal-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 24px 80px;
}

.legal-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 40px;
}

.legal-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.legal-subtitle {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 32px;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section ul li {
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.legal-section p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────────
   19. PROFILE PAGE (profile.html)
───────────────────────────────────────────────────────────── */
.profile-page {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 24px 80px;
}

.profile-card {
    background: white;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}


/* ─────────────────────────────────────────────────────────────
   20. REVIEW FORM CARD
   Floating centered card for the customer review submission form.
───────────────────────────────────────────────────────────── */
.review-form-card {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
}

.review-form-card h3 {
    margin-bottom: 20px;
}


/* ─────────────────────────────────────────────────────────────
   21. STATUS MESSAGES
   Inline feedback messages shown after form submissions.
   Variants: success (green) and error (red).
───────────────────────────────────────────────────────────── */
.status-msg {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f9fafb;
    font-weight: 700;
    font-size: 14px;
}

.status-msg.error {
    color: #b91c1c;   /* Red for errors */
}

.status-msg.success {
    color: #15803d;   /* Green for success */
}