/* KeyForrest: halal-friendly view (badges only exist when <html class="kf-hf">) */
:root { --kf-hf: #0f7a4f; --kf-hf-soft: #eaf6f0; --kf-hf-ink: #12352a; }

.kf-hf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 8px 16px; background: var(--kf-hf); color: #fff; font-size: 13px; line-height: 1.4; text-align: center; position: relative; z-index: 400; }
.kf-hf-bar-link { color: #fff !important; text-decoration: underline; font-weight: 600; }
.kf-hf-bar button.kf-hf-bar-btn { background: transparent !important; border: 1px solid rgba(255,255,255,.6) !important; color: #fff !important; border-radius: 4px; padding: 0 10px !important; font-size: 12px !important; font-weight: 400; text-transform: none; min-height: 0 !important; height: auto; line-height: 1.8 !important; box-shadow: none; cursor: pointer; }
.kf-hf-bar button.kf-hf-bar-btn.is-current { background: #fff !important; color: var(--kf-hf) !important; font-weight: 700; cursor: default; }
.kf-hf-lang-switch { display: inline-flex; gap: 4px; }

.kf-hf-badge { margin: 12px 0 16px; padding: 12px 14px; border: 1px solid var(--kf-hf); border-radius: 8px; background: var(--kf-hf-soft); color: var(--kf-hf-ink); }
.kf-hf-badge-title { display: block; color: var(--kf-hf); margin-bottom: 6px; }
.kf-hf-badge ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
.kf-hf-badge li { margin: 0; }
.kf-hf-badge li::before { content: "✓ "; color: var(--kf-hf); font-weight: 700; }

.kf-hf-notice { margin: 0 0 20px; padding: 12px 16px; border-inline-start: 4px solid var(--kf-hf); background: var(--kf-hf-soft); color: var(--kf-hf-ink); border-radius: 4px; font-size: 14px; }
.kf-hf-notice a { color: var(--kf-hf); font-weight: 600; text-decoration: underline; }

/* Landing pages */
.kf-hf-landing { max-width: 1140px; margin: 0 auto; color: var(--kf-hf-ink); }
.kf-hf-landing[dir="rtl"] { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", Arial, sans-serif; }
.kf-hf-hero { text-align: center; padding: 48px 16px 40px; background: linear-gradient(160deg, var(--kf-hf-soft), #fff); border-radius: 12px; margin-bottom: 40px; }
.kf-hf-mark { display: inline-block; font-size: 36px; color: var(--kf-hf); margin-bottom: 8px; }
.kf-hf-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; color: var(--kf-hf-ink); }
.kf-hf-hero p { font-size: 18px; max-width: 640px; margin: 0 auto 24px; }
.kf-hf-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.kf-hf-btn { display: inline-block; padding: 12px 24px; border-radius: 6px; background: var(--kf-hf); color: #fff !important; font-weight: 600; text-decoration: none; }
.kf-hf-btn:hover { opacity: .9; }
.kf-hf-btn-wa { background: #25d366; color: #0b3d22 !important; }
.kf-hf-why h2, .kf-hf-products h2 { text-align: center; margin: 0 0 24px; }
.kf-hf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 48px; }
.kf-hf-card { padding: 20px; border: 1px solid #dfeee7; border-radius: 10px; background: #fff; }
.kf-hf-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--kf-hf); }
.kf-hf-card p { margin: 0; font-size: 15px; }
.kf-hf-note { font-size: 13px; color: #5b6b65; text-align: center; margin: 32px 0 8px; }
.kf-hf-note a { color: var(--kf-hf); }
.kf-hf-ar .woocommerce-product-details__short-description[dir="rtl"], .kf-hf-ar-desc { text-align: right; }
.kf-hf-hero { position: relative; }
.kf-hf-lang { position: absolute; top: 14px; inset-inline-end: 16px; font-size: 14px; font-weight: 600; color: var(--kf-hf) !important; text-decoration: underline; }
.kf-hf-menu > a { color: var(--kf-hf) !important; font-weight: 700; }
.kf-hf-menu > a.kf-hf-menu-on { color: #b3261e !important; }
