/* ============================================
   TIMIZA AGRO MACHINERY - MAIN STYLESHEET
   Palette + typography inspired by the Aprin theme's bold, modern
   look, adapted to Timiza's real brand colours - gold/yellow and
   white/neutral grey - taken directly from the Timiza Agro logo,
   shopfront signage and terms poster.
   ============================================ */

:root {
    --tfm-green: #B8960C;
    --tfm-green-dark: #8F730A;
    --tfm-green-light: #FBF3D9;
    --tfm-orange: #F0B90B;
    --tfm-orange-dark: #C79A08;
    --tfm-orange-light: #FFF8E1;
    --tfm-navy: #211F1C;
    --tfm-white: #FFFFFF;
    --tfm-gray-light: #F7F7F5;
    --tfm-gray: #EAEAE6;
    --tfm-gray-medium: #D0D0C8;
    --tfm-gray-dark: #767670;
    --tfm-text: #211F1C;
    --tfm-text-light: #4A4944;
    --tfm-text-muted: #83817A;

    --tfm-font-heading: 'Gabarito', 'Poppins', sans-serif;
    --tfm-font-body: 'Inter', sans-serif;

    --tfm-container-max: 1200px;
    --tfm-container-padding: 0 20px;
    --tfm-radius-sm: 8px;
    --tfm-radius-md: 12px;
    --tfm-radius-lg: 18px;
    --tfm-radius-full: 999px;

    --tfm-shadow-sm: 0 2px 10px rgba(33, 31, 28, 0.07);
    --tfm-shadow-md: 0 8px 24px rgba(33, 31, 28, 0.11);
    --tfm-shadow-lg: 0 20px 50px rgba(33, 31, 28, 0.16);

    --tfm-transition: all 0.25s ease;
}

/* ---------- Reset ---------- */
.tfm-body, .tfm-body *, .tfm-body *::before, .tfm-body *::after { box-sizing: border-box; }
.tfm-body { font-family: var(--tfm-font-body); color: var(--tfm-text); line-height: 1.65; background: var(--tfm-white); font-size: 16px; -webkit-font-smoothing: antialiased; }
.tfm-body.tfm-no-scroll { overflow: hidden; }
.tfm-body img { max-width: 100%; height: auto; display: block; }
.tfm-body a { text-decoration: none; color: inherit; transition: var(--tfm-transition); }
.tfm-body ul { list-style: none; margin: 0; padding: 0; }
.tfm-body h1, .tfm-body h2, .tfm-body h3, .tfm-body h4 { font-family: var(--tfm-font-heading); color: var(--tfm-navy); line-height: 1.25; margin: 0; }
.tfm-body p { margin: 0; }
.tfm-body button { font-family: inherit; cursor: pointer; }

.tfm-container { max-width: var(--tfm-container-max); margin: 0 auto; padding: var(--tfm-container-padding); }
.tfm-text-accent { color: var(--tfm-orange); }
.tfm-bg-light { background: var(--tfm-gray-light); }

/* ---------- Preloader ---------- */
#tfm-preloader { position: fixed; inset: 0; background: var(--tfm-green-dark); z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.4s ease, visibility 0.4s ease; }
#tfm-preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.tfm-loader { text-align: center; }
img.tfm-loader-logo { height: 64px; width: auto; display: block; margin: 0 auto; animation: tfm-pulse 1.1s ease-in-out infinite; }
@keyframes tfm-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.75; transform: scale(0.95); } }
.tfm-loader-circle { width: 48px; height: 48px; border: 3px solid rgba(255,255,255,0.15); border-top-color: var(--tfm-orange); border-radius: 50%; animation: tfm-spin 0.8s linear infinite; margin: 0 auto 16px; }
.tfm-loader-text { color: #fff; font-family: var(--tfm-font-heading); font-weight: 800; letter-spacing: 4px; }
@keyframes tfm-spin { to { transform: rotate(360deg); } }

/* ---------- WhatsApp float ---------- */
.tfm-whatsapp-float { position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: var(--tfm-shadow-lg); z-index: 9998; animation: tfm-pulse 2.4s infinite; }
@keyframes tfm-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Buttons ---------- */
.tfm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: var(--tfm-radius-full); font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; transition: var(--tfm-transition); white-space: nowrap; touch-action: manipulation; -webkit-tap-highlight-color: transparent; position: relative; z-index: 1; }
.tfm-btn-primary { background: var(--tfm-green); color: var(--tfm-navy); }
.tfm-btn-primary:hover { background: var(--tfm-green-dark); color: #fff; transform: translateY(-2px); }
.tfm-btn-accent { background: var(--tfm-orange); color: var(--tfm-navy); }
.tfm-btn-accent:hover { background: var(--tfm-orange-dark); color: #fff; transform: translateY(-2px); }
.tfm-btn-outline { background: transparent; color: var(--tfm-green); border-color: var(--tfm-green); }
.tfm-btn-outline:hover { background: var(--tfm-green); color: var(--tfm-navy); }
.tfm-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.tfm-btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.tfm-btn-lg { padding: 16px 32px; font-size: 1rem; }
.tfm-btn-block { width: 100%; }
.tfm-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ---------- Header ---------- */
.tfm-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
.tfm-topbar { background: var(--tfm-navy); color: #E3DCC6; font-size: 0.78rem; }
.tfm-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; gap: 12px; }
.tfm-topbar-item { display: flex; align-items: center; gap: 6px; }
.tfm-topbar-right { display: flex; gap: 18px; }
.tfm-topbar-right a { display: flex; align-items: center; gap: 6px; color: #E3DCC6; }
.tfm-topbar-right a:hover { color: var(--tfm-orange); }

.tfm-navbar { background: #fff; transition: var(--tfm-transition); }
.tfm-header.tfm-scrolled .tfm-navbar { box-shadow: var(--tfm-shadow-sm); }
.tfm-nav-wrapper { display: flex; align-items: center; gap: 20px; padding: 14px 20px; }
.tfm-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tfm-logo-badge { background: var(--tfm-green); color: var(--tfm-navy); font-family: var(--tfm-font-heading); font-weight: 800; font-size: 0.85rem; letter-spacing: 1px; padding: 8px 12px; border-radius: var(--tfm-radius-sm); }
.tfm-logo-text { font-family: var(--tfm-font-heading); font-weight: 700; color: var(--tfm-navy); font-size: 1.05rem; line-height: 1.15; white-space: nowrap; }
img.tfm-logo-img { height: 54px; width: auto; display: block; }

.tfm-nav-menu { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; }
.tfm-nav-link { padding: 10px 16px; font-weight: 600; font-size: 0.95rem; color: var(--tfm-text); border-radius: var(--tfm-radius-full); }
.tfm-nav-link:hover, .tfm-nav-link.active { color: var(--tfm-green); background: var(--tfm-green-light); }
.tfm-nav-cta { flex-shrink: 0; }

.tfm-mobile-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; }
.tfm-mobile-toggle span { display: block; height: 2.5px; width: 100%; background: var(--tfm-navy); border-radius: 2px; transition: var(--tfm-transition); }
.tfm-mobile-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.tfm-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.tfm-mobile-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (full-bleed carousel with overlaid text panel) ---------- */
.tfm-hero { position: relative; color: #fff; overflow: hidden; min-height: 480px; display: flex; align-items: center; background: var(--tfm-navy); }
.tfm-hero-slides { position: absolute; inset: 0; z-index: 0; }
.tfm-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease; }
.tfm-hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.tfm-hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.tfm-hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,18,16,0.88) 0%, rgba(20,18,16,0.72) 30%, rgba(20,18,16,0.4) 58%, rgba(20,18,16,0.25) 100%); }
/* Subtle per-slide tint so the overlay feels connected to each photo without ever compromising text contrast */
.tfm-hero-tint-1 .tfm-hero-slide-overlay { background: linear-gradient(100deg, rgba(8,28,18,0.9) 0%, rgba(10,32,20,0.74) 30%, rgba(12,36,22,0.42) 58%, rgba(12,36,22,0.22) 100%); }
.tfm-hero-tint-2 .tfm-hero-slide-overlay { background: linear-gradient(100deg, rgba(10,24,30,0.9) 0%, rgba(12,30,36,0.74) 30%, rgba(14,34,40,0.42) 58%, rgba(14,34,40,0.22) 100%); }
.tfm-hero-tint-3 .tfm-hero-slide-overlay { background: linear-gradient(100deg, rgba(28,20,8,0.88) 0%, rgba(34,24,10,0.72) 30%, rgba(38,28,12,0.4) 58%, rgba(38,28,12,0.22) 100%); }

.tfm-hero-container { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.tfm-hero-panel { max-width: 620px; background: rgba(20,18,16,0.45); backdrop-filter: blur(6px) saturate(1.1); -webkit-backdrop-filter: blur(6px) saturate(1.1); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--tfm-radius-lg); padding: 32px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.tfm-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); padding: 8px 16px; border-radius: var(--tfm-radius-full); font-size: 0.8rem; font-weight: 600; margin-bottom: 18px; border: 1px solid rgba(255,255,255,0.15); }
.tfm-hero-title { font-size: clamp(1.8rem, 4.4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.22; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.tfm-hero-tagline { font-size: 1rem; color: #F5F2E8; margin-bottom: 26px; max-width: 520px; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.tfm-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.tfm-hero-perks { display: flex; flex-wrap: wrap; gap: 10px; }
.tfm-hero-perk { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); padding: 8px 14px; border-radius: var(--tfm-radius-full); font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.1); }
.tfm-hero-perk i { color: var(--tfm-orange); }

/* ---------- Hero carousel controls ---------- */
.tfm-hero-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(15,42,26,0.45); backdrop-filter: blur(2px); color: #fff; border: none; z-index: 3; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--tfm-transition); }
.tfm-hero-carousel-arrow:hover { background: rgba(15,42,26,0.7); }
.tfm-hero-carousel-prev { left: 16px; }
.tfm-hero-carousel-next { right: 16px; }
.tfm-hero-carousel-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 3; }
.tfm-hero-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; padding: 0; transition: var(--tfm-transition); }
.tfm-hero-carousel-dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* ---------- Section ---------- */
.tfm-section { padding: 70px 0; }
.tfm-section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.tfm-section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.tfm-section-header p { color: var(--tfm-text-light); font-size: 1rem; }
.tfm-section-cta { text-align: center; margin-top: 40px; position: relative; z-index: 2; }
.tfm-section-cta .tfm-btn { position: relative; z-index: 2; pointer-events: auto; }

/* ---------- Category grid ---------- */
.tfm-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tfm-category-card { background: #fff; border: 1px solid var(--tfm-gray); border-radius: var(--tfm-radius-lg); padding: 24px 16px; text-align: center; box-shadow: var(--tfm-shadow-sm); transition: var(--tfm-transition); opacity: 0; transform: translateY(16px); }
.tfm-category-card.tfm-in-view { opacity: 1; transform: translateY(0); }
.tfm-category-card:hover { transform: translateY(-4px); box-shadow: var(--tfm-shadow-md); border-color: var(--tfm-green); }
.tfm-category-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--tfm-green-light); color: var(--tfm-green); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 14px; }
.tfm-category-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.tfm-category-card span { display: block; font-size: 0.78rem; color: var(--tfm-text-muted); }
.tfm-category-stock { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 0.72rem; font-weight: 700; color: var(--tfm-green-dark); background: var(--tfm-green-light); padding: 3px 10px; border-radius: var(--tfm-radius-full); }
.tfm-category-stock i { font-size: 0.7rem; }

/* ---------- Product grid / card ---------- */
.tfm-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tfm-product-card { background: #fff; border: 1px solid var(--tfm-gray); border-radius: var(--tfm-radius-lg); overflow: hidden; box-shadow: var(--tfm-shadow-sm); transition: var(--tfm-transition); display: flex; flex-direction: column; opacity: 0; transform: translateY(16px); }
.tfm-product-card.tfm-in-view { opacity: 1; transform: translateY(0); }
.tfm-product-card:hover { box-shadow: var(--tfm-shadow-md); transform: translateY(-3px); }
.tfm-product-image { position: relative; aspect-ratio: 1 / 1; background: var(--tfm-gray-light); overflow: hidden; display: block; width: 100%; border: none; padding: 0; }
.tfm-badge-lipa { position: absolute; top: 10px; left: 10px; background: var(--tfm-orange); color: var(--tfm-navy); font-size: 0.68rem; font-weight: 700; padding: 5px 10px; border-radius: var(--tfm-radius-full); }
.tfm-product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tfm-product-category { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--tfm-green); font-weight: 700; }
.tfm-product-name { font-size: 0.92rem; font-weight: 700; line-height: 1.35; min-height: 2.5em; }
.tfm-product-price { font-size: 1.05rem; font-weight: 800; color: var(--tfm-navy); }
.tfm-product-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.tfm-product-actions .tfm-btn { padding: 10px 14px; font-size: 0.82rem; }

/* ---------- Features grid ---------- */
.tfm-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tfm-feature-card { display: block; background: #fff; border: 1px solid var(--tfm-gray); border-radius: var(--tfm-radius-lg); padding: 26px 20px; text-align: center; opacity: 0; transform: translateY(16px); transition: var(--tfm-transition); }
.tfm-feature-card:hover { border-color: var(--tfm-green); box-shadow: var(--tfm-shadow-md); transform: translateY(-2px); }
.tfm-feature-card.tfm-in-view { opacity: 1; transform: translateY(0); }
.tfm-feature-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--tfm-orange-light); color: var(--tfm-orange); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 14px; }
.tfm-feature-card h4 { font-size: 1rem; margin-bottom: 8px; }
.tfm-feature-card p { font-size: 0.86rem; color: var(--tfm-text-light); }

/* ---------- CTA section ---------- */
.tfm-cta-section { background: linear-gradient(135deg, var(--tfm-green-dark), var(--tfm-green)); padding: 60px 0; text-align: center; }
.tfm-cta-content h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.tfm-cta-content p { color: #EEE8D5; margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }
.tfm-cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.tfm-footer { background: var(--tfm-navy); color: #D6D0BC; padding-top: 56px; }
.tfm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.tfm-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tfm-footer-logo .tfm-logo-text { color: #fff; }
img.tfm-footer-logo-img { height: 60px; width: auto; display: block; background: #fff; padding: 8px 12px; border-radius: var(--tfm-radius-sm); }
.tfm-footer-tagline { color: var(--tfm-orange); font-weight: 600; font-size: 0.85rem; margin-bottom: 12px; }
.tfm-footer-desc { font-size: 0.86rem; line-height: 1.7; color: #AFA88E; margin-bottom: 18px; }
.tfm-footer-social { display: flex; gap: 10px; }
.tfm-footer-social-labeled { margin-top: 16px; }
.tfm-footer-social-heading { display: block; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.tfm-footer-social-links { display: flex; flex-direction: column; gap: 6px; }
.tfm-footer-social-links .tfm-contact-social-link { font-size: 0.88rem; color: rgba(255,255,255,0.75); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; }
.tfm-footer-social-links .tfm-contact-social-link:hover { color: rgba(255,255,255,1); }
.tfm-social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--tfm-transition); }
.tfm-social-icon:hover { filter: brightness(1.12); transform: translateY(-2px); }
.tfm-social-facebook { background: #1877F2; }
.tfm-social-tiktok   { background: #000000; }
.tfm-social-youtube  { background: #FF0000; }
.tfm-social-whatsapp { background: #25D366; }
.tfm-footer-title { color: #fff; font-size: 0.92rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.tfm-footer-links li { margin-bottom: 10px; }
.tfm-footer-links a { font-size: 0.86rem; color: #AFA88E; }
.tfm-footer-links a:hover { color: var(--tfm-orange); }
.tfm-footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.86rem; color: #AFA88E; }
.tfm-footer-contact i { color: var(--tfm-orange); margin-top: 3px; }
.tfm-footer-contact li .fa-whatsapp { color: #25D366; }
.tfm-footer-contact li .fa-facebook-f { color: #1877F2; }
.tfm-footer-contact li .fa-tiktok { color: #010101; filter: drop-shadow(1px 0 0 #EE1D52) drop-shadow(-1px 0 0 #69C9D0); }
.tfm-footer-contact li .fa-youtube { color: #FF0000; }
.tfm-footer-contact a { color: #AFA88E; }
.tfm-footer-contact a:hover { color: var(--tfm-orange); }
.tfm-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.tfm-footer-bottom-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: #96907A; }
.tfm-footer-bottom-links { display: flex; gap: 18px; }
.tfm-footer-bottom-links a { color: #96907A; }
.tfm-footer-bottom-links a:hover { color: var(--tfm-orange); }

/* ---------- Page hero (Shop / Contact) ---------- */
.tfm-page-hero { background: linear-gradient(135deg, var(--tfm-navy) 0%, var(--tfm-green-dark) 55%, var(--tfm-green) 100%); color: #fff; padding: 56px 0 46px; }
.tfm-page-hero .tfm-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tfm-page-hero-title { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 14px 0 12px; width: 100%; }
.tfm-page-hero-subtitle { color: #EEE8D5; max-width: 620px; margin: 0 auto; font-size: 0.98rem; width: 100%; }
.tfm-page-hero-breadcrumb { margin-top: 20px; font-size: 0.82rem; color: #E3DCC6; display: flex; align-items: center; justify-content: center; gap: 6px; }
.tfm-page-hero-breadcrumb a { color: #fff; font-weight: 600; }
.tfm-page-hero-breadcrumb i { font-size: 0.65rem; }

/* ---------- Shop filters ---------- */
.tfm-filter-btn { padding: 9px 16px; border-radius: var(--tfm-radius-full); border: 1.5px solid var(--tfm-gray-medium); background: #fff; color: var(--tfm-text-light); font-weight: 600; font-size: 0.82rem; transition: var(--tfm-transition); }
.tfm-filter-btn:hover { border-color: var(--tfm-green); color: var(--tfm-green); }
.tfm-filter-btn.active { background: var(--tfm-green); border-color: var(--tfm-green); color: var(--tfm-navy); }
.tfm-shop-empty { text-align: center; padding: 40px 20px; color: var(--tfm-text-muted); }

/* ---------- Lipa Mdogo page ---------- */
.tfm-lipa-hero { background: linear-gradient(135deg, var(--tfm-navy) 0%, var(--tfm-green-dark) 55%, var(--tfm-green) 100%); color: #fff; padding: 56px 0 60px; text-align: center; }
.tfm-lipa-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.tfm-lipa-hero p { color: #EEE8D5; max-width: 560px; margin: 0 auto 22px; font-size: 0.95rem; }
.tfm-lipa-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tfm-lipa-badges span { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); padding: 9px 16px; border-radius: var(--tfm-radius-full); font-size: 0.8rem; font-weight: 600; }
.tfm-lipa-badges i { color: var(--tfm-orange); }

.tfm-lipa-section { padding-top: 0; margin-top: -32px; }
.tfm-lipa-narrow { max-width: 640px; }
.tfm-lipa-card { background: #fff; border-radius: var(--tfm-radius-lg); box-shadow: var(--tfm-shadow-md); padding: 22px; margin-bottom: 18px; }
.tfm-lipa-terms-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tfm-lipa-terms-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--tfm-text-light); line-height: 1.5; }
.tfm-lipa-terms-list li i { color: var(--tfm-green); margin-top: 3px; flex-shrink: 0; }

.tfm-lipa-product-card { padding: 18px; }
.tfm-lipa-eyebrow { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--tfm-orange-dark); margin-bottom: 10px; }
.tfm-lipa-product-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tfm-lipa-product-row img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--tfm-radius-md); flex-shrink: 0; }
.tfm-lipa-product-row h3 { font-size: 1rem; margin-bottom: 6px; }
.tfm-lipa-cash-price { display: inline-block; background: var(--tfm-orange-light); color: var(--tfm-orange-dark); font-weight: 700; font-size: 0.8rem; padding: 4px 10px; border-radius: var(--tfm-radius-full); }

.tfm-lipa-plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tfm-lipa-plan-item { background: var(--tfm-gray-light); border-radius: var(--tfm-radius-md); padding: 12px 14px; }
.tfm-lipa-plan-item span { display: block; font-size: 0.72rem; color: var(--tfm-text-muted); margin-bottom: 4px; }
.tfm-lipa-plan-item strong { display: block; font-size: 0.98rem; color: var(--tfm-text); font-weight: 800; }
.tfm-lipa-plan-highlight { background: var(--tfm-orange-light); grid-column: 1 / -1; }
.tfm-lipa-plan-highlight span { color: var(--tfm-orange-dark); }
.tfm-lipa-plan-highlight strong { color: var(--tfm-orange-dark); font-size: 1.15rem; }
.tfm-lipa-plan-note { font-size: 0.8rem; color: var(--tfm-text-muted); margin-top: 14px; text-align: center; }

.tfm-lipa-summary-card { background: linear-gradient(135deg, var(--tfm-green-dark), var(--tfm-green)); color: #fff; }
.tfm-lipa-summary-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.tfm-lipa-summary-top span { font-size: 0.8rem; color: #E3DCC6; }
.tfm-lipa-summary-top strong { font-size: 1.5rem; font-weight: 800; }
.tfm-lipa-summary-top strong small { font-size: 0.7rem; font-weight: 500; color: #E3DCC6; }
.tfm-lipa-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tfm-lipa-summary-item { background: rgba(255,255,255,0.1); border-radius: var(--tfm-radius-md); padding: 12px; }
.tfm-lipa-summary-item span { display: block; font-size: 0.7rem; color: #E3DCC6; margin-bottom: 4px; }
.tfm-lipa-summary-item strong { font-size: 0.95rem; font-weight: 700; }
.tfm-lipa-note { margin-top: 16px; font-size: 0.78rem; color: #EEE8D5; display: flex; align-items: center; gap: 8px; }

.tfm-lipa-form-header { text-align: left; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--tfm-green); }
.tfm-lipa-form-header h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tfm-lipa-form-header p { font-size: 0.84rem; color: var(--tfm-text-light); }
.tfm-lipa-form-note { text-align: center; font-size: 0.78rem; color: var(--tfm-text-muted); margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ---------- Forms (shared: Lipa Mdogo + Contact) ---------- */
.tfm-form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tfm-form-group { margin-bottom: 16px; }
.tfm-form-group label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 7px; color: var(--tfm-text); }
.tfm-required { color: var(--tfm-orange); }
.tfm-form-group input, .tfm-form-group select, .tfm-form-group textarea {
    width: 100%; padding: 13px 14px; border: 1.5px solid var(--tfm-gray-medium); border-radius: var(--tfm-radius-sm);
    font-family: inherit; font-size: 16px; color: var(--tfm-text); background: #fff; transition: var(--tfm-transition); min-height: 48px;
}
.tfm-form-group input:focus, .tfm-form-group select:focus, .tfm-form-group textarea:focus { outline: none; border-color: var(--tfm-green); box-shadow: 0 0 0 3px rgba(184,150,12,0.15); }
.tfm-form-group textarea { resize: vertical; min-height: 90px; }
.tfm-form-hint { display: block; font-size: 0.76rem; font-weight: 400; color: var(--tfm-text-muted); margin-top: 6px; line-height: 1.4; }
.tfm-input-error { border-color: #d9534f !important; box-shadow: 0 0 0 3px rgba(217,83,79,0.12) !important; }

/* ---------- Contact page ---------- */
.tfm-contact-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.tfm-contact-form-wrapper h2 { font-size: 1.4rem; margin-bottom: 8px; }
.tfm-contact-form-desc { color: var(--tfm-text-light); font-size: 0.9rem; margin-bottom: 24px; }
.tfm-contact-form-note { font-size: 0.78rem; color: var(--tfm-text-muted); margin-top: 12px; display: flex; align-items: center; gap: 6px; justify-content: center; }
.tfm-form-status { margin-top: 12px; font-size: 0.88rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.tfm-status-success { color: var(--tfm-green); }
.tfm-status-error { color: #d9534f; }

.tfm-contact-info-card { background: #fff; border: 1px solid var(--tfm-gray); border-radius: var(--tfm-radius-lg); padding: 24px; box-shadow: var(--tfm-shadow-sm); margin-bottom: 20px; }
.tfm-contact-info-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.tfm-contact-info-item { display: flex; gap: 14px; margin-bottom: 18px; }
.tfm-contact-info-item:last-child { margin-bottom: 0; }
.tfm-contact-info-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--tfm-green-light); color: var(--tfm-green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tfm-contact-info-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.tfm-contact-info-item p, .tfm-contact-info-item small { font-size: 0.85rem; color: var(--tfm-text-light); }
.tfm-contact-cta-card { background: linear-gradient(135deg, var(--tfm-green-dark), var(--tfm-green)); color: #fff; text-align: center; }
.tfm-contact-cta-card h3 { color: #fff; }
.tfm-contact-cta-card p { color: #EEE8D5; font-size: 0.86rem; margin-bottom: 16px; }

/* ---------- Product image / quick view trigger ---------- */
.tfm-img-wrap { position: relative; display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #eef1ee 25%, #f7f9f7 37%, #eef1ee 63%); background-size: 400% 100%; animation: tfm-shimmer 1.4s ease infinite; }
.tfm-img-wrap.tfm-img-loaded { animation: none; background: none; }
.tfm-img-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; }
.tfm-img-wrap.tfm-img-loaded img { opacity: 1; }
@keyframes tfm-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.tfm-badge-gallery { position: absolute; top: 10px; right: 10px; background: rgba(15,42,26,0.65); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 4px 9px; border-radius: var(--tfm-radius-full); display: flex; align-items: center; gap: 5px; }
.tfm-quick-view-hint { position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, rgba(15,42,26,0.75), transparent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 24px 12px 10px; text-align: center; opacity: 0; transform: translateY(6px); transition: var(--tfm-transition); pointer-events: none; }
.tfm-product-card:hover .tfm-quick-view-hint { opacity: 1; transform: translateY(0); }
.tfm-product-name.tfm-quick-view-trigger { cursor: pointer; background: none; border: none; text-align: left; padding: 0; font-family: inherit; }
.tfm-product-name.tfm-quick-view-trigger:hover { color: var(--tfm-green); }

/* ---------- Trust stats strip ---------- */
.tfm-stats-strip { background: var(--tfm-navy); padding: 26px 0; }
.tfm-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; text-align: center; }
.tfm-stat strong { display: block; color: var(--tfm-orange); font-family: var(--tfm-font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.tfm-stat strong i { font-size: 1.3rem; }
.tfm-stat span { color: #E3DCC6; font-size: 0.76rem; font-weight: 600; }

/* ---------- Shop toolbar (search + filters, sticky) ---------- */
/* ---------- Shop result bar (compact, products stay dominant) ---------- */
.tfm-shop-resultbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; margin-bottom: 14px; border-bottom: 1px solid var(--tfm-gray); }
.tfm-shop-result-count { font-size: 0.86rem; color: var(--tfm-text-light); }
.tfm-shop-result-count strong { color: var(--tfm-navy); font-weight: 800; }
.tfm-shop-filter-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--tfm-radius-full); border: 1.5px solid var(--tfm-gray-medium); background: #fff; color: var(--tfm-text); font-weight: 700; font-size: 0.84rem; position: relative; }
.tfm-shop-filter-toggle:hover, .tfm-shop-filter-toggle.active { border-color: var(--tfm-green); color: var(--tfm-green); }
.tfm-shop-filter-badge { background: var(--tfm-orange); color: var(--tfm-navy); font-size: 0.68rem; font-weight: 800; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-left: 2px; }

.tfm-shop-filters-panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease; margin-bottom: 0; }
.tfm-shop-filters-panel.active { max-height: 400px; opacity: 1; margin-bottom: 24px; }
.tfm-shop-search { position: relative; margin-bottom: 14px; margin-top: 14px; }
.tfm-shop-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tfm-text-muted); }
.tfm-shop-search input { width: 100%; padding: 13px 16px 13px 42px; border: 1.5px solid var(--tfm-gray-medium); border-radius: var(--tfm-radius-full); font-size: 16px; font-family: inherit; min-height: 48px; }
.tfm-shop-search input:focus { outline: none; border-color: var(--tfm-green); box-shadow: 0 0 0 3px rgba(184,150,12,0.15); }
.tfm-shop-filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Quick View modal ---------- */
.tfm-modal-overlay { position: fixed; inset: 0; background: rgba(15,42,26,0.6); backdrop-filter: blur(2px); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.tfm-modal-overlay.active { opacity: 1; visibility: visible; }
.tfm-modal { background: #fff; border-radius: var(--tfm-radius-lg); max-width: 780px; width: 100%; max-height: 88vh; overflow-y: auto; position: relative; transform: translateY(16px); transition: transform 0.25s ease; }
.tfm-modal-overlay.active .tfm-modal { transform: translateY(0); }
.tfm-modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(15,42,26,0.06); border: none; font-size: 1.4rem; line-height: 1; color: var(--tfm-text); z-index: 2; }
.tfm-modal-close:hover { background: var(--tfm-gray); }
.tfm-modal-body { display: flex; flex-direction: column; }
.tfm-modal-gallery { position: relative; background: var(--tfm-gray-light); }
.tfm-modal-gallery-stage { aspect-ratio: 4 / 3; }
.tfm-modal-gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.tfm-modal-gallery-nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; pointer-events: none; }
.tfm-modal-gallery-nav button { pointer-events: all; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; color: var(--tfm-navy); box-shadow: var(--tfm-shadow-sm); }
.tfm-modal-gallery-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.tfm-modal-gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.6); border: none; padding: 0; }
.tfm-modal-gallery-dot.active { background: #fff; width: 20px; border-radius: 4px; }
.tfm-modal-info { padding: 22px; }
.tfm-modal-info h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.tfm-qv-price-main { font-size: 1.4rem; font-weight: 800; color: var(--tfm-navy); margin-bottom: 10px; }
.tfm-qv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tfm-qv-chip { background: var(--tfm-green-light); color: var(--tfm-green-dark); font-size: 0.76rem; font-weight: 700; padding: 6px 12px; border-radius: var(--tfm-radius-full); }
.tfm-qv-description { font-size: 0.86rem; color: var(--tfm-text-light); line-height: 1.7; margin-bottom: 18px; }

/* ---------- Mobile bottom nav ---------- */
.tfm-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 997; background: #fff; border-top: 1px solid var(--tfm-gray); box-shadow: 0 -4px 20px rgba(15,42,26,0.08); padding-bottom: env(safe-area-inset-bottom, 0); }
.tfm-bottom-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; font-size: 0.66rem; font-weight: 700; color: var(--tfm-text-muted); }
.tfm-bottom-nav-item i { font-size: 1.15rem; }
.tfm-bottom-nav-item.active { color: var(--tfm-green); }
.tfm-bottom-nav-whatsapp { color: #25D366; }

/* ---------- CEO message section ---------- */
.tfm-ceo-section { background: var(--tfm-navy); position: relative; overflow: hidden; }
.tfm-ceo-card { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.tfm-ceo-quote-mark { font-family: Georgia, 'Times New Roman', serif; font-size: 4.5rem; line-height: 1; color: var(--tfm-orange); font-weight: 700; margin-bottom: 8px; }
.tfm-ceo-quote { font-family: var(--tfm-font-heading); font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.55; color: #fff; margin-bottom: 30px; }
.tfm-ceo-person { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.tfm-ceo-photo { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--tfm-orange); }
.tfm-ceo-person-info { display: flex; flex-direction: column; gap: 2px; }
.tfm-ceo-name { font-family: var(--tfm-font-heading); font-weight: 700; color: #fff; font-size: 1rem; display: inline-flex; align-items: center; gap: 6px; }
.tfm-ceo-role { color: #B8AE8C; font-size: 0.85rem; }
.tfm-ceo-section .tfm-testimonial-stars { color: var(--tfm-orange); margin-top: 2px; }

/* ---------- Testimonial carousel ---------- */
.tfm-testimonial-carousel { position: relative; max-width: 640px; margin: 0 auto; }
.tfm-testimonial-track { position: relative; aspect-ratio: 4 / 5; border-radius: var(--tfm-radius-lg); overflow: hidden; box-shadow: var(--tfm-shadow-md); background: var(--tfm-gray-light); }
.tfm-testimonial-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s ease; }
.tfm-testimonial-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.tfm-testimonial-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tfm-testimonial-prev { left: -14px; }
.tfm-testimonial-next { right: -14px; }
.tfm-testimonial-dots { position: absolute; bottom: 14px; }

/* ---------- Testimonial quote cards (mirrors WhatsApp review screenshots) ---------- */
.tfm-testimonial-carousel--cards { padding-bottom: 46px; }
.tfm-testimonial-carousel--cards .tfm-testimonial-dots { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; }
.tfm-testimonial-carousel--cards .tfm-hero-carousel-dot { background: var(--tfm-gray-medium); }
.tfm-testimonial-carousel--cards .tfm-hero-carousel-dot.active { background: var(--tfm-green); }
.tfm-testimonial-carousel--cards .tfm-testimonial-prev,
.tfm-testimonial-carousel--cards .tfm-testimonial-next { top: 40%; }
.tfm-testimonial-track--cards { aspect-ratio: auto; overflow: visible; background: transparent; box-shadow: none; border-radius: 0; }
.tfm-testimonial-track--cards .tfm-testimonial-slide { position: absolute; inset: 0; z-index: 0; }
.tfm-testimonial-track--cards .tfm-testimonial-slide.active { position: relative; z-index: 1; }
.tfm-testimonial-quote-card {
    background: var(--tfm-white);
    border-radius: var(--tfm-radius-lg);
    box-shadow: var(--tfm-shadow-md);
    padding: 40px 32px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tfm-testimonial-quote-mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--tfm-green);
    font-weight: 700;
    margin-bottom: 6px;
}
.tfm-testimonial-quote-text { font-size: 1.05rem; color: var(--tfm-text); line-height: 1.65; max-width: 480px; margin: 0 auto 24px; }
.tfm-testimonial-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tfm-testimonial-track--cards .tfm-testimonial-avatar {
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--tfm-green-light);
}
.tfm-testimonial-person-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.tfm-testimonial-name { font-family: var(--tfm-font-heading); font-weight: 700; color: var(--tfm-navy); font-size: 0.98rem; display: inline-flex; align-items: center; gap: 6px; }
.tfm-testimonial-verified { color: var(--tfm-green); font-size: 0.85rem; }
.tfm-testimonial-role { color: var(--tfm-text-muted); font-size: 0.82rem; }
.tfm-testimonial-stars { color: var(--tfm-orange); font-size: 0.8rem; letter-spacing: 2px; margin-top: 2px; }

/* ---------- Recent deliveries carousel ---------- */
.tfm-recent-deliveries { margin-top: 36px; }
.tfm-recent-deliveries-label { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--tfm-text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.tfm-recent-deliveries-label i { color: var(--tfm-orange); }

.tfm-deliveries-carousel { position: relative; max-width: 920px; margin: 0 auto; }
.tfm-deliveries-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.tfm-deliveries-track::-webkit-scrollbar { display: none; height: 0; }
.tfm-deliveries-slide { flex: 0 0 calc(33.333% - 10px); scroll-snap-align: start; scroll-snap-stop: always; }
.tfm-deliveries-slide img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: contain; display: block;
    border-radius: var(--tfm-radius-md); box-shadow: var(--tfm-shadow-sm);
    background: var(--tfm-gray-light);
}
.tfm-deliveries-prev { left: -18px; }
.tfm-deliveries-next { right: -18px; }
.tfm-deliveries-carousel .tfm-hero-carousel-arrow { opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.tfm-deliveries-carousel:hover .tfm-hero-carousel-arrow,
.tfm-deliveries-carousel:focus-within .tfm-hero-carousel-arrow { opacity: 1; visibility: visible; }
.tfm-deliveries-dots { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 16px; }
.tfm-deliveries-dots .tfm-hero-carousel-dot { background: var(--tfm-gray-medium); }
.tfm-deliveries-dots .tfm-hero-carousel-dot.active { background: var(--tfm-green); }

@media (max-width: 991px) {
    .tfm-deliveries-slide { flex-basis: calc(50% - 7px); }
}

@media (max-width: 767px) {
    .tfm-deliveries-slide { flex-basis: 78%; }
    .tfm-deliveries-carousel .tfm-hero-carousel-arrow { display: none; }
    .tfm-deliveries-prev { left: 6px; }
    .tfm-deliveries-next { right: 6px; }
}

@media (max-width: 767px) {
    .tfm-video-carousel .tfm-hero-carousel-arrow { display: none; }
}

@media (max-width: 767px) {
    .tfm-testimonial-quote-card { padding: 32px 20px 24px; }
    .tfm-testimonial-quote-text { font-size: 0.96rem; }
}

/* ---------- Terms & Conditions ---------- */
.tfm-terms-wrapper { max-width: 420px; margin: 0 auto; }
.tfm-terms-image-trigger { position: relative; display: block; width: 100%; border: none; padding: 0; border-radius: var(--tfm-radius-lg); overflow: hidden; box-shadow: var(--tfm-shadow-md); cursor: pointer; }
.tfm-terms-image-trigger img { width: 100%; height: auto; display: block; }
.tfm-terms-zoom-hint { position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, rgba(20,18,16,0.85), transparent); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 20px 12px 10px; text-align: center; }
.tfm-lightbox-overlay { position: fixed; inset: 0; background: rgba(20,18,16,0.85); z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.tfm-lightbox-overlay.active { opacity: 1; visibility: visible; }
.tfm-lightbox-overlay img { max-width: 100%; max-height: 90vh; border-radius: var(--tfm-radius-md); box-shadow: var(--tfm-shadow-lg); }
.tfm-lightbox-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 1.6rem; line-height: 1; }
.tfm-lightbox-close:hover { background: rgba(255,255,255,0.28); }

/* ---------- Showcase Video ---------- */
.tfm-video-carousel { position: relative; max-width: 380px; margin: 0 auto; }
.tfm-video-wrapper { position: relative; max-width: 380px; max-height: 640px; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: var(--tfm-radius-lg); overflow: hidden; box-shadow: var(--tfm-shadow-md); background: #000; }
.tfm-showcase-video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }

/* ---------- Video carousel (multiple showcase clips, fixed-height stage) ---------- */
.tfm-video-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease; z-index: 0; }
.tfm-video-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.tfm-video-carousel .tfm-hero-carousel-arrow { opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.tfm-video-carousel:hover .tfm-hero-carousel-arrow,
.tfm-video-carousel:focus-within .tfm-hero-carousel-arrow { opacity: 1; visibility: visible; }
.tfm-video-carousel-prev { left: 12px; }
.tfm-video-carousel-next { right: 12px; }
.tfm-video-carousel-dots { position: static; display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.tfm-video-carousel-dots .tfm-hero-carousel-dot { background: var(--tfm-gray-medium); }
.tfm-video-carousel-dots .tfm-hero-carousel-dot.active { background: var(--tfm-green); width: 22px; }

/* ============================================
   RESPONSIVE (additions)
   ============================================ */
@media (max-width: 767px) {
    .tfm-bottom-nav { display: flex; }
    .tfm-whatsapp-float { display: none; }
    .tfm-body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
    .tfm-shop-resultbar { padding: 10px 0; }
    .tfm-modal-gallery-stage { aspect-ratio: 1 / 1; }

    /* Quick View becomes a bottom sheet on mobile - easier to reach with a thumb */
    .tfm-modal-overlay { align-items: flex-end; padding: 0; }
    .tfm-modal { max-width: none; width: 100%; max-height: 85vh; border-radius: var(--tfm-radius-lg) var(--tfm-radius-lg) 0 0; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom, 0px); }
    .tfm-modal-overlay.active .tfm-modal { transform: translateY(0); }
    .tfm-modal::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 4px; background: var(--tfm-gray-medium); z-index: 2; }
    .tfm-modal-close { top: 20px; }
    .tfm-modal-info { padding-top: 26px; }

    /* Larger, thumb-friendly tap targets throughout */
    .tfm-filter-btn, .tfm-shop-filter-toggle { min-height: 44px; }
    .tfm-plan-tab { min-height: 52px; }
}

@media (max-width: 420px) {
    .tfm-modal { max-height: 90vh; }
}

@media (min-width: 640px) {
    .tfm-stats-grid { grid-template-columns: repeat(4, 1fr); }
    .tfm-modal-body { flex-direction: row; }
    .tfm-modal-gallery { width: 45%; flex-shrink: 0; }
    .tfm-modal-gallery-stage { aspect-ratio: auto; height: 100%; }
    .tfm-modal-info { width: 55%; }
}

@media (max-width: 991px) {
    .tfm-mobile-menu-backdrop {
        position: fixed; inset: 0; background: rgba(20,18,16,0.55); backdrop-filter: blur(2px);
        z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
    }
    .tfm-mobile-menu-backdrop.active { opacity: 1; visibility: visible; }
    .tfm-nav-menu {
        position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
        background: #171512;
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        padding: 100px 20px 24px; overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.25); border-left: 1px solid rgba(255,255,255,0.08);
        transition: right 0.35s ease; z-index: 1000; gap: 2px;
    }
    .tfm-nav-menu.active { right: 0; }
    .tfm-nav-link { display: block; padding: 14px 16px; color: var(--tfm-orange) !important; border-radius: var(--tfm-radius-sm); position: relative; z-index: 1; font-weight: 600; background: transparent; }
    .tfm-nav-link:hover { color: var(--tfm-orange) !important; background: rgba(255,255,255,0.12); }
    .tfm-nav-link.active { color: var(--tfm-navy) !important; background: var(--tfm-green); font-weight: 700; box-shadow: 0 4px 14px rgba(184,150,12,0.4); }
    .tfm-mobile-toggle { display: flex; }
    .tfm-nav-cta { display: none; }
    .tfm-nav-item { position: relative; z-index: 1; }
    .tfm-topbar-item span { display: none; }
    .tfm-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .tfm-container { padding: 0 16px; }
    .tfm-topbar-inner { justify-content: flex-end; }
    .tfm-topbar-item { display: none; }
    .tfm-hero { min-height: 420px; }
    .tfm-hero-container { padding-top: 36px; padding-bottom: 36px; text-align: center; }
    .tfm-hero-panel { max-width: none; padding: 22px; margin: 0 auto; }
    .tfm-hero-tagline { margin-left: auto; margin-right: auto; }
    .tfm-hero-actions, .tfm-hero-perks { justify-content: center; }
    .tfm-hero-actions .tfm-btn { flex: 1; }
    .tfm-hero-carousel-arrow { width: 32px; height: 32px; font-size: 0.75rem; }
    .tfm-testimonial-prev { left: 8px; }
    .tfm-testimonial-next { right: 8px; }
    .tfm-section { padding: 48px 0; }
    .tfm-category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tfm-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tfm-product-name { font-size: 0.84rem; min-height: 2.3em; }
    .tfm-features-grid { grid-template-columns: 1fr; }
    .tfm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .tfm-lipa-summary-grid { grid-template-columns: 1fr; }
    .tfm-lipa-product-row { flex-direction: row; }
    .tfm-cta-buttons .tfm-btn { width: 100%; }
    .tfm-form-row { grid-template-columns: 1fr; }
}

@media (min-width: 640px) {
    .tfm-form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .tfm-hero { min-height: 600px; }
    .tfm-hero-container { padding-top: 90px; padding-bottom: 90px; }
    .tfm-category-grid { grid-template-columns: repeat(4, 1fr); }
    .tfm-product-grid { grid-template-columns: repeat(3, 1fr); }
    .tfm-features-grid { grid-template-columns: repeat(4, 1fr); }
    .tfm-contact-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 1024px) {
    .tfm-product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 420px) {
    .tfm-category-grid { grid-template-columns: repeat(2, 1fr); }
    .tfm-product-grid { grid-template-columns: repeat(2, 1fr); }
    .tfm-product-actions .tfm-btn { font-size: 0.76rem; padding: 9px 10px; }
}

/* ============================================================
   DUAL SOCIAL LINK DROPDOWN
   ============================================================ */
.tfm-social-multi {
    position: relative;
    display: inline-flex;
}
.tfm-social-multi-trigger {
    border: none;
    cursor: pointer;
    padding: 0;
    background: transparent;
    line-height: 1;
}
.tfm-social-multi-dropdown {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--tfm-navy, #1a2540);
    border-radius: var(--tfm-radius-sm, 6px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
    min-width: 170px;
    z-index: 200;
    overflow: hidden;
    white-space: nowrap;
}
.tfm-social-multi-dropdown a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}
.tfm-social-multi-dropdown a:hover {
    background: rgba(255,255,255,0.12);
}
.tfm-social-multi.open .tfm-social-multi-dropdown {
    display: block;
}

/* ============================================================
   CEO / SALES MANAGER PHONE LINE
   ============================================================ */
.tfm-ceo-phone {
    display: block;
    font-size: 0.9rem;
    margin-top: 4px;
    color: var(--tfm-green, #2e7d32);
}
.tfm-ceo-phone a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
.tfm-ceo-phone a:hover { text-decoration: underline; }

/* ============================================================
   TEAM CAROUSEL (CEO + Sales Manager combined)
   ============================================================ */
.tfm-team-carousel { position: relative; }
.tfm-team-carousel-track { position: relative; overflow: hidden; }
.tfm-team-carousel-slide { display: none; animation: tfmFadeIn 0.4s ease; }
.tfm-team-carousel-slide.active { display: block; }
@keyframes tfmFadeIn { from { opacity: 0; } to { opacity: 1; } }
.tfm-team-carousel-dots { margin-top: 24px; }

/* ============================================================
   FOOTER CONTACT LABEL (for CEO / Sales Manager lines)
   ============================================================ */
.tfm-footer-contact-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}

/* ============================================================
   CONTACT PAGE: person name + secondary WA button
   ============================================================ */
.tfm-contact-person-name {
    font-weight: 600;
    margin-bottom: 2px;
}
.tfm-contact-wa-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.88rem;
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
}
.tfm-contact-wa-secondary:hover { text-decoration: underline; }
.tfm-contact-social-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}
.tfm-contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--tfm-green, #2e7d32);
    text-decoration: none;
    font-weight: 500;
}
.tfm-contact-social-link:hover { text-decoration: underline; }

/* Brand icon colours — applied wherever the icon appears as a standalone inline icon */
.fa-facebook-f  { color: #1877F2; }
.fa-tiktok      { color: #010101; filter: drop-shadow(1px 0 0 #EE1D52) drop-shadow(-1px 0 0 #69C9D0); }
.fa-youtube     { color: #FF0000; }
.fa-whatsapp    { color: #25D366; }

/* Exceptions: icons inside coloured pill buttons or round icon badges stay white */
.tfm-btn .fa-facebook-f,
.tfm-btn .fa-tiktok,
.tfm-btn .fa-youtube,
.tfm-btn .fa-whatsapp,
.tfm-social-icon .fa-facebook-f,
.tfm-social-icon .fa-tiktok,
.tfm-social-icon .fa-youtube,
.tfm-social-icon .fa-whatsapp,
.tfm-contact-info-icon .fa-whatsapp,
.tfm-social-multi-trigger .fa-facebook-f,
.tfm-social-multi-trigger .fa-tiktok,
.tfm-social-multi-trigger .fa-youtube,
.tfm-social-multi-trigger .fa-whatsapp { color: #fff; filter: none; }

/* ============================================
   PAYMENT & DELIVERY INFORMATION CARD
   Matches the Timiza Agro Machinery gold/navy theme.
   ============================================ */

.tfm-payment-info-card {
    border: 2px solid var(--tfm-orange);
    position: relative;
    overflow: hidden;
}

.tfm-payment-info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tfm-orange-dark), var(--tfm-orange), var(--tfm-green));
}

.tfm-payment-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tfm-gray);
}

.tfm-payment-info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--tfm-orange), var(--tfm-orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--tfm-navy);
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(240, 185, 11, 0.35);
}

.tfm-payment-info-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--tfm-navy);
    margin: 0;
    line-height: 1.25;
}

.tfm-payment-info-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.tfm-payment-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--tfm-radius-md);
    background: var(--tfm-gray-light);
    transition: var(--tfm-transition);
}

.tfm-payment-info-highlight {
    background: var(--tfm-orange-light);
    border-left: 3px solid var(--tfm-orange);
}

.tfm-payment-info-emoji {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.tfm-payment-info-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tfm-payment-info-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tfm-text);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.tfm-payment-info-highlight strong {
    color: var(--tfm-orange-dark);
}

.tfm-payment-info-item span {
    display: block;
    font-size: 0.92rem;
    color: var(--tfm-text-light);
    line-height: 1.45;
}

.tfm-payment-info-highlight span {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--tfm-navy);
}

.tfm-payment-info-footer {
    margin: 0;
    padding: 12px 14px;
    background: var(--tfm-navy);
    border-radius: var(--tfm-radius-md);
    text-align: center;
    font-size: 0.88rem;
    color: #E3DCC6;
}

.tfm-payment-info-footer strong {
    color: var(--tfm-orange);
}

@media (max-width: 480px) {
    .tfm-payment-info-item {
        padding: 10px 12px;
    }
    .tfm-payment-info-title {
        font-size: 0.92rem;
    }
}
