/* =============================================
   ADEKE IDEAS — Global Export Website Styles
   Modern, Professional, Conversion-Focused
   ============================================= */

/* === Variables === */
:root {
    /* BRAND COLORS: Orange + Green */
    --primary: #f97316;      /* Vibrant Orange */
    --primary-dark: #c2410c; /* Dark Orange */
    --primary-light: #fb923c;/* Light Orange */
    --accent: #16a34a;       /* Fresh Green */
    --accent-dark: #15803d;   /* Dark Green */
    --accent-light: #22c55e; /* Light Green */
    --dark: #0d1117;
    --dark2: #161b22;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light: #fef7f0;         /* Warm off-white */
    --white: #ffffff;
    --red: #dc2626;
    --border: #e5e7eb;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* BRAND: Orange primary + Green accent */
    --brand-orange: #f97316;
    --brand-green: #16a34a;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* === Container === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Top Bar === */
.top-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.contact-info a {
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--brand-green);
}

.contact-info span {
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: var(--dark2);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--brand-orange);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 180px;
    display: none;
    z-index: 10000;
}

.lang-menu.show {
    display: block;
}

.lang-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    color: var(--dark);
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.lang-menu button:hover {
    background: var(--light);
    color: var(--brand-orange);
}

/* === Header === */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 48px;
    height: 48px;
    background: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--brand-orange);
    background: var(--light);
}

.nav-link.active {
    color: var(--brand-orange);
    font-weight: 600;
}

.nav-link.cta {
    background: var(--brand-orange);
    color: var(--white) !important;
    padding: 10px 22px;
}

.nav-link.cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--dark);
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 999999;
    transition: right 0.3s ease;
    padding: 24px;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 1.2rem;
}

.mobile-menu-header button {
    font-size: 1.4rem;
    color: var(--gray);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav a {
    padding: 14px 18px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav a:hover {
    background: var(--light);
    color: var(--brand-orange);
}

.mobile-nav a.cta {
    background: var(--brand-orange);
    color: var(--white);
    text-align: center;
    margin-top: 16px;
}

/* === Hero Section === */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--brand-orange) 0%, 
        var(--primary-dark) 40%,
        var(--dark) 100%
    );
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(249,115,22,0.9) 0%, rgba(194,65,12,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.3);
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    display: block;
    color: rgba(255,255,255,0.85);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 580px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-primary {
    background: var(--brand-green);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,160,23,0.3);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--brand-orange);
}

.btn-white {
    background: var(--white);
    color: var(--brand-orange);
}

.btn-white:hover {
    background: var(--light);
    transform: translateY(-2px);
}

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

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Trust */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--brand-green);
    font-size: 1.1rem;
}

/* === Stats Section === */
.stats {
    background: var(--dark);
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-orange), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    color: var(--brand-green);
    margin-left: 4px;
}

.stat-label {
    color: var(--gray-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: rgba(26,95,42,0.08);
    color: var(--brand-orange);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--brand-green);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* === Featured Products === */
.featured-products {
    padding: 100px 0;
    background: var(--light);
}

.product-category {
    margin-bottom: 64px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 32px;
}

.category-title i {
    color: var(--brand-orange);
}

.hot-badge {
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 700;
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-orange);
}

.product-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.product-badge.mineral {
    background: rgba(249,115,22,0.1);
    color: var(--brand-orange);
}

.product-badge.agro {
    background: rgba(22,163,74,0.1);
    color: var(--brand-green);
}

.product-image {
    width: auto;
    height: auto;
    background: var(--light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 2rem;
    color: var(--brand-orange);
}

.product-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-spec {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-info i {
    color: var(--brand-orange);
    font-size: 0.75rem;
}

.more-card {
    background: var(--light);
    border: 2px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.more-card:hover {
    border-color: var(--brand-orange);
    background: var(--white);
}

.more-card .product-image {
    background: var(--brand-orange);
    color: var(--white);
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-orange);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 32px;
    transition: var(--transition);
}

.view-all:hover {
    gap: 14px;
    color: var(--primary-dark);
}

/* === Why Choose Us === */
.why-us {
    padding: 100px 0;
    background: var(--dark);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background: var(--dark2);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(45,138,66,0.1);
    border-color: var(--brand-orange);
    transform: translateY(-4px);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 24px;
}

.why-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.7;
}

/* === Markets === */
.markets {
    padding: 100px 0;
    background: var(--white);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.market-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.market-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--brand-orange);
}

.market-flag {
    font-size: 3rem;
    margin-bottom: 16px;
}

.market-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.market-card p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* === CTA Section === */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: none;
}

.footer-brand .logo-name {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    background: var(--dark2);
    color: var(--gray-light);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-light);
    padding: 8px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary-light);
    width: 18px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--brand-orange);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .markets-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .contact-info span:last-child {
        display: none;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-trust {
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .markets-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =============================================
   MOBILE RESPONSIVENESS — COMPLETE FIX
   Targets all broken sections on mobile
   ============================================= */

/* ── Root issues ──────────────────────────────
   1. products-grid uses minmax(240px,1fr) which
      forces 2 columns minimum even at 320px wide,
      causing horizontal scroll
   2. product-image has width/height: auto with no
      aspect-ratio so images collapse or overflow
   3. hero-content has no text-align:center on mobile
   4. featured-products section has no mobile padding
   5. category-title overflows on small screens
   6. top-bar contact-info wraps badly on mobile
   ─────────────────────────────────────────── */

/* Fix 1 — products grid: prevent horizontal scroll */
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fix 2 — product images: enforce consistent height */
.product-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

@media (max-width: 600px) {
    .product-image img {
        height: 120px;
    }

    .product-card {
        padding: 10px 8px;
    }

    .product-card h4 {
        font-size: 0.9rem;
    }

    .product-spec {
        font-size: 0.75rem;
    }

    .product-info {
        font-size: 0.72rem;
        flex-direction: column;
        gap: 4px;
    }
}

/* Fix 3 — hero: center text and fix overflow on mobile */
@media (max-width: 768px) {
    .hero {
        padding: 70px 0 50px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-badge {
        display: inline-flex;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .trust-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.15;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Fix 4 — featured products section padding */
@media (max-width: 768px) {
    .featured-products {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .section-subtitle {
        font-size: 0.88rem;
    }
}

/* Fix 5 — category title wrapping */
@media (max-width: 600px) {
    .category-title {
        font-size: 0.95rem;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 16px;
    }

    .hot-badge {
        font-size: 0.8rem;
    }
}

/* Fix 6 — top bar on very small screens */
@media (max-width: 400px) {
    .top-bar .contact-info {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .top-bar .contact-info a {
        font-size: 0.72rem;
    }
}

/* Fix 7 — stats section */
@media (max-width: 480px) {
    .stats {
        padding: 30px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 2rem !important;
    }

    .stat-label {
        font-size: 0.78rem;
    }
}

/* Fix 8 — markets section on mobile */
@media (max-width: 600px) {
    .markets-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
    }

    .market-card {
        padding: 16px 6px;
    }

    .market-card h4 {
        font-size: 0.82rem;
    }

    .market-card p {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .markets-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix 9 — why-us cards */
@media (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .why-card {
        padding: 20px 16px;
    }
}

/* Fix 10 — footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .footer-bottom {
        text-align: center;
        font-size: 0.8rem;
    }
}

/* Fix 11 — prevent any element from causing horizontal scroll */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
    }
}

/* =============================================
   FLAG IMAGE FIX — Works on ALL browsers
   including Windows desktop Chrome/Edge/Firefox
   ============================================= */

.market-flag {
    font-size: 0 !important;
    line-height: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    height: 44px;
}

.market-flag img {
    width: 52px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: block;
}

/* Fix product image wrapper (div renamed to avoid class conflict with img) */
.product-img-wrap {
    width: 100%;
    background: var(--light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
}

/* more-card icon inside wrapper */
.more-card .product-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--brand-orange);
    min-height: 140px;
}

/* ── FAQ Section ───────────────────────────────── */
.product-faq { margin-top: 60px; }
.product-faq h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.product-faq h3 i { color: var(--primary); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; background: white; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: white; border: none; cursor: pointer; font-size: 0.95rem; font-weight: 700; color: var(--dark); text-align: left; gap: 16px; }
.faq-question:hover { background: var(--light); }
.faq-question i { transition: transform 0.3s ease; flex-shrink: 0; color: var(--primary); }
.faq-item.open .faq-question { background: var(--light); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 16px 20px; font-size: 0.9rem; color: var(--gray); line-height: 1.7; border-top: 1px solid var(--border); margin: 0; }
/* ─────────────────────────────────────────────── */
