/*
Theme Name: Tropical Foods Cameroon
Theme URI: https://www.tropicalfoodscameroon.com
Author: Tropical Foods Cameroon
Author URI: https://www.tropicalfoodscameroon.com
Description: Official WordPress theme for Tropical Foods Cameroon — Fresh & Dry Products from West & Central Africa. Features product catalogue, WhatsApp ordering, and mobile-responsive design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tropical-foods
Tags: e-commerce, food, africa, cameroon, one-page, custom-menu

Tropical Foods Cameroon — 100% Organic, Fresh to Order.
*/


        :root {
            --clr-earth: #5C3D2E;
            --clr-earth-light: #8B6F47;
            --clr-leaf: #2D6A4F;
            --clr-leaf-dark: #1B4332;
            --clr-leaf-light: #52B788;
            --clr-gold: #D4A843;
            --clr-gold-light: #F2D98B;
            --clr-cream: #FFF8F0;
            --clr-sand: #F5E6D3;
            --clr-white: #FFFFFF;
            --clr-dark: #1A1A1A;
            --clr-text: #3A3A3A;
            --clr-muted: #7A7A7A;
            --clr-whatsapp: #25D366;
            --clr-whatsapp-dark: #128C7E;
            --font-display: 'Playfair Display', Georgia, serif;
            --font-body: 'DM Sans', -apple-system, sans-serif;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
            --radius: 16px;
            --radius-sm: 10px;
        }

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

        html { scroll-behavior: smooth; }

        body {
            font-family: var(--font-body);
            color: var(--clr-text);
            background: var(--clr-cream);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        /* ===== NAVIGATION ===== */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255,248,240,0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(92,61,46,0.08);
            transition: all 0.4s ease;
        }
        .nav.scrolled {
            background: rgba(255,248,240,0.98);
            box-shadow: var(--shadow-sm);
        }
        .nav-inner {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        .nav-logo-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--clr-leaf), var(--clr-leaf-light));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
        }
        .nav-logo-text {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--clr-earth);
            line-height: 1.2;
        }
        .nav-logo-text span {
            display: block;
            font-family: var(--font-body);
            font-weight: 400;
            font-size: 0.65rem;
            color: var(--clr-leaf);
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            list-style: none;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--clr-text);
            font-size: 0.9rem;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 8px;
            transition: all 0.2s;
        }
        .nav-links a:hover {
            background: rgba(45,106,79,0.08);
            color: var(--clr-leaf);
        }
        .nav-cta {
            background: var(--clr-whatsapp) !important;
            color: white !important;
            font-weight: 600 !important;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .nav-cta:hover {
            background: var(--clr-whatsapp-dark) !important;
            transform: translateY(-1px);
        }
        
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }
        .mobile-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--clr-earth);
            margin: 6px 0;
            transition: all 0.3s;
            border-radius: 2px;
        }

        /* ===== HERO ===== */
        .hero {
            margin-top: 72px;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, var(--clr-leaf-dark) 0%, var(--clr-leaf) 40%, var(--clr-earth-light) 100%);
            padding: 80px 24px;
            min-height: 520px;
            display: flex;
            align-items: center;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 700px;
            height: 700px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(212,168,67,0.15) 0%, transparent 70%);
        }
        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(82,183,136,0.1) 0%, transparent 70%);
        }
        .hero-pattern {
            position: absolute;
            inset: 0;
            opacity: 0.04;
            background-image: 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'%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-inner {
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 2;
        }
        .hero-content h1 {
            font-family: var(--font-display);
            font-size: 3.2rem;
            font-weight: 800;
            color: var(--clr-white);
            line-height: 1.15;
            margin-bottom: 20px;
        }
        .hero-content h1 em {
            font-style: normal;
            color: var(--clr-gold-light);
        }
        .hero-content p {
            font-size: 1.15rem;
            color: rgba(255,255,255,0.85);
            margin-bottom: 32px;
            max-width: 480px;
            font-weight: 300;
        }
        .hero-badges {
            display: flex;
            gap: 12px;
            margin-bottom: 36px;
            flex-wrap: wrap;
        }
        .hero-badge {
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.2);
            padding: 8px 16px;
            border-radius: 100px;
            color: white;
            font-size: 0.85rem;
            font-weight: 500;
            backdrop-filter: blur(10px);
        }
        .hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-family: var(--font-body);
        }
        .btn-primary {
            background: var(--clr-gold);
            color: var(--clr-dark);
        }
        .btn-primary:hover {
            background: var(--clr-gold-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(212,168,67,0.3);
        }
        .btn-wa {
            background: var(--clr-whatsapp);
            color: white;
        }
        .btn-wa:hover {
            background: var(--clr-whatsapp-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(37,211,102,0.3);
        }
        .hero-image {
            position: relative;
        }
        .hero-image img {
            width: 100%;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
        }
        .hero-image::after {
            content: '';
            position: absolute;
            inset: -8px;
            border-radius: 24px;
            border: 2px solid rgba(212,168,67,0.3);
            pointer-events: none;
        }

        /* ===== TRUST BAR ===== */
        .trust-bar {
            background: var(--clr-white);
            padding: 32px 24px;
            border-bottom: 1px solid rgba(0,0,0,0.04);
        }
        .trust-inner {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            gap: 48px;
            flex-wrap: wrap;
        }
        .trust-item {
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--clr-muted);
            font-size: 0.95rem;
        }
        .trust-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--clr-sand);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        /* ===== FILTER ===== */
        .filter-section {
            max-width: 1280px;
            margin: 0 auto;
            padding: 40px 24px 0;
        }
        .filter-bar {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .filter-btn {
            padding: 10px 22px;
            border: 2px solid transparent;
            border-radius: 100px;
            background: var(--clr-white);
            color: var(--clr-text);
            font-size: 0.88rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.25s;
            font-family: var(--font-body);
        }
        .filter-btn:hover {
            border-color: var(--clr-leaf-light);
            color: var(--clr-leaf);
        }
        .filter-btn.active {
            background: var(--clr-leaf);
            color: white;
            border-color: var(--clr-leaf);
        }

        /* ===== PRODUCTS ===== */
        .products-section {
            max-width: 1280px;
            margin: 0 auto;
            padding: 40px 24px 80px;
        }
        .products-section > .section-header {
            text-align: center;
            margin-bottom: 20px;
        }
        .section-header h2 {
            font-family: var(--font-display);
            font-size: 2.4rem;
            font-weight: 700;
            color: var(--clr-earth);
            margin-bottom: 8px;
        }
        .section-header p {
            color: var(--clr-muted);
            font-size: 1.05rem;
        }

        .category-divider {
            display: flex;
            align-items: center;
            gap: 20px;
            margin: 48px 0 24px;
            grid-column: 1 / -1;
        }
        .category-divider:first-child {
            margin-top: 16px;
        }
        .category-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--clr-earth-light), transparent);
            opacity: 0.3;
        }
        .category-title {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--clr-earth);
            white-space: nowrap;
        }

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

        .product-card {
            background: var(--clr-white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
        }
        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
        }
        .product-image-wrap {
            position: relative;
            overflow: hidden;
            aspect-ratio: 4/3;
            background: #f9f6f2;
        }
        .product-image-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .product-card:hover .product-image-wrap img {
            transform: scale(1.05);
        }
        .product-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: var(--clr-leaf);
            color: white;
            padding: 4px 12px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        .product-info {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .product-name {
            font-family: var(--font-display);
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--clr-earth);
            margin-bottom: 2px;
        }
        .product-name-fr {
            font-size: 0.82rem;
            color: var(--clr-leaf);
            font-style: italic;
            margin-bottom: 10px;
        }
        .product-desc {
            font-size: 0.88rem;
            color: var(--clr-muted);
            line-height: 1.5;
            flex: 1;
            margin-bottom: 16px;
        }
        .product-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .product-price {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--clr-earth);
        }
        .order-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--clr-whatsapp);
            color: white;
            padding: 10px 18px;
            border-radius: 10px;
            font-size: 0.88rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.25s;
            white-space: nowrap;
        }
        .order-btn:hover {
            background: var(--clr-whatsapp-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(37,211,102,0.3);
        }
        .order-btn svg {
            flex-shrink: 0;
        }

        /* ===== ABOUT ===== */
        .about-section {
            background: var(--clr-white);
            padding: 80px 24px;
        }
        .about-inner {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .about-content h2 {
            font-family: var(--font-display);
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--clr-earth);
            margin-bottom: 20px;
        }
        .about-content p {
            color: var(--clr-text);
            margin-bottom: 16px;
            font-size: 1.02rem;
        }
        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-top: 24px;
        }
        .about-feature {
            padding: 20px;
            background: var(--clr-cream);
            border-radius: var(--radius-sm);
            text-align: center;
        }
        .about-feature-icon {
            font-size: 1.8rem;
            margin-bottom: 8px;
        }
        .about-feature h4 {
            font-size: 0.92rem;
            font-weight: 600;
            color: var(--clr-earth);
        }

        /* ===== CONTACT ===== */
        .contact-section {
            padding: 80px 24px;
            background: linear-gradient(135deg, var(--clr-leaf-dark), var(--clr-earth));
            position: relative;
        }
        .contact-section::before {
            content: '';
            position: absolute;
            inset: 0;
            opacity: 0.03;
            background-image: 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'%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");
        }
        .contact-inner {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 2;
        }
        .contact-inner h2 {
            font-family: var(--font-display);
            font-size: 2.4rem;
            color: var(--clr-white);
            margin-bottom: 12px;
        }
        .contact-inner > p {
            color: rgba(255,255,255,0.7);
            font-size: 1.05rem;
            margin-bottom: 40px;
        }
        .contact-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 40px;
        }
        .contact-card {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: var(--radius-sm);
            padding: 24px 16px;
            backdrop-filter: blur(10px);
            color: white;
            text-decoration: none;
            transition: all 0.3s;
        }
        .contact-card:hover {
            background: rgba(255,255,255,0.14);
            transform: translateY(-3px);
        }
        .contact-card-icon {
            font-size: 1.6rem;
            margin-bottom: 12px;
        }
        .contact-card h4 {
            font-size: 0.88rem;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--clr-gold-light);
        }
        .contact-card p {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.75);
        }
        .contact-wa-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--clr-whatsapp);
            color: white;
            padding: 16px 36px;
            border-radius: 14px;
            font-size: 1.1rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s;
        }
        .contact-wa-btn:hover {
            background: var(--clr-whatsapp-dark);
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(37,211,102,0.3);
        }

        /* ===== FOOTER ===== */
        footer {
            background: var(--clr-dark);
            color: rgba(255,255,255,0.5);
            text-align: center;
            padding: 28px 24px;
            font-size: 0.85rem;
        }
        footer a {
            color: var(--clr-gold);
            text-decoration: none;
        }

        /* ===== FLOATING WA ===== */
        .wa-float {
            position: fixed;
            bottom: 28px;
            right: 28px;
            width: 60px;
            height: 60px;
            background: var(--clr-whatsapp);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(37,211,102,0.4);
            z-index: 999;
            transition: all 0.3s;
            animation: pulse 2s infinite;
        }
        .wa-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 28px rgba(37,211,102,0.5);
        }
        .wa-float svg {
            width: 30px;
            height: 30px;
            fill: white;
        }
        @keyframes pulse {
            0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
            50% { box-shadow: 0 4px 32px rgba(37,211,102,0.6); }
        }

        /* ===== CART MODAL ===== */
        .cart-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
            justify-content: flex-end;
        }
        .cart-overlay.open {
            display: flex;
        }
        .cart-panel {
            width: 420px;
            max-width: 90vw;
            background: var(--clr-white);
            height: 100%;
            overflow-y: auto;
            padding: 32px 24px;
            box-shadow: -8px 0 40px rgba(0,0,0,0.15);
            animation: slideIn 0.35s ease;
        }
        @keyframes slideIn {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }
        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }
        .cart-header h3 {
            font-family: var(--font-display);
            font-size: 1.4rem;
            color: var(--clr-earth);
        }
        .cart-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--clr-muted);
            padding: 4px;
        }
        .cart-items { margin-bottom: 24px; }
        .cart-item {
            display: flex;
            gap: 12px;
            padding: 16px 0;
            border-bottom: 1px solid var(--clr-sand);
            align-items: center;
        }
        .cart-item img {
            width: 64px;
            height: 64px;
            object-fit: cover;
            border-radius: 8px;
        }
        .cart-item-info { flex: 1; }
        .cart-item-info h4 {
            font-size: 0.92rem;
            color: var(--clr-earth);
            font-weight: 600;
        }
        .cart-item-info p {
            font-size: 0.82rem;
            color: var(--clr-muted);
        }
        .cart-item-qty {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .cart-item-qty button {
            width: 28px;
            height: 28px;
            border: 1px solid var(--clr-sand);
            background: white;
            border-radius: 6px;
            cursor: pointer;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .cart-item-qty span {
            font-weight: 600;
            min-width: 20px;
            text-align: center;
        }
        .cart-total {
            display: flex;
            justify-content: space-between;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--clr-earth);
            padding: 16px 0;
            border-top: 2px solid var(--clr-sand);
            margin-bottom: 20px;
        }
        .cart-checkout {
            width: 100%;
            padding: 16px;
            background: var(--clr-whatsapp);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.05rem;
            font-weight: 700;
            cursor: pointer;
            font-family: var(--font-body);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.25s;
        }
        .cart-checkout:hover {
            background: var(--clr-whatsapp-dark);
        }
        .cart-empty {
            text-align: center;
            padding: 40px 0;
            color: var(--clr-muted);
        }
        .cart-count {
            position: absolute;
            top: -6px;
            right: -6px;
            width: 22px;
            height: 22px;
            background: var(--clr-gold);
            color: var(--clr-dark);
            border-radius: 50%;
            font-size: 0.72rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .nav-cart {
            position: relative;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            font-size: 1.3rem;
            color: var(--clr-earth);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-toggle { display: block; }
            .nav-links.open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 72px;
                left: 0;
                right: 0;
                background: var(--clr-white);
                padding: 16px 24px;
                box-shadow: var(--shadow-md);
                border-radius: 0 0 16px 16px;
            }
            .hero-inner {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .hero-content h1 { font-size: 2.2rem; }
            .hero-content p { margin-left: auto; margin-right: auto; }
            .hero-badges { justify-content: center; }
            .hero-actions { justify-content: center; }
            .hero-image { max-width: 400px; margin: 0 auto; }
            .about-inner { grid-template-columns: 1fr; }
            .contact-cards { grid-template-columns: 1fr; }
            .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
            .trust-inner { gap: 24px; }
            .section-header h2 { font-size: 1.8rem; }
        }
        @media (max-width: 480px) {
            .hero { padding: 40px 16px; }
            .hero-content h1 { font-size: 1.8rem; }
            .products-grid { grid-template-columns: 1fr; }
            .product-footer { flex-direction: column; align-items: stretch; text-align: center; }
            .order-btn { justify-content: center; }
        }
    

/* WordPress-specific overrides */
.wp-admin-bar .nav {
    top: 32px;
}
@media (max-width: 782px) {
    .wp-admin-bar .nav {
        top: 46px;
    }
}
.wp-admin-bar .hero {
    margin-top: 104px;
}
