/*
Theme Name: Mika Charcoal Export SEO
Theme URI: https://mika-charcoal.com
Author: Mika International XNK Co., Ltd
Description: Ultra-fast, SEO-engineered B2B Wholesale & Export WordPress Theme for Mika Charcoal. Built for Sawdust Briquette Charcoal, Hardwood, Softwood, Binchotan White Charcoal, and Coconut Shisha Briquettes with multilingual (EN/ZH/JA/KO/AR RTL) support.
Version: 1.0.0
Text Domain: mika-charcoal
*/

:root {
  --obsidian: #0d1015;
  --obsidian-2: #151a22;
  --obsidian-3: #1e2430;
  --ember: #ea580c;
  --ember-bright: #f97316;
  --ember-deep: #c2410c;
  --gold: #f59e0b;
  --ash-bg: #f6f5f1;
  --surface: #ffffff;
  --text: #111827;
  --text-muted: #4b5563;
  --border: #e5e7eb;
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(13, 16, 21, 0.08);
  --shadow-lg: 0 22px 50px rgba(13, 16, 21, 0.16);
  --max-w: 1260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Arabic', sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
h1, h2, h3, h4 { font-family: 'Montserrat', 'Inter', sans-serif; line-height: 1.22; margin: 0 0 0.65em; color: var(--obsidian); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 22px; }
.section { padding: 78px 0; }
.section-ash { background: var(--ash-bg); }
.section-dark { background: var(--obsidian); color: #f3f4f6; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #ffffff; }
.section-dark p { color: #d1d5db; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--ember);
  display: inline-block;
}
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { font-size: 16px; color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--ember), var(--ember-bright)); color: #fff; box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(234, 88, 12, 0.4); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.34); color: #fff; background: rgba(255,255,255,0.06); }
.btn-outline-light:hover { border-color: var(--ember-bright); background: rgba(249,115,22,0.16); color: #fff; }
.btn-outline-dark { border-color: #d1d5db; color: var(--obsidian); background: #fff; }
.btn-outline-dark:hover { border-color: var(--ember); color: var(--ember); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-whatsapp { background: #16a34a; color: #fff; }
.btn-whatsapp:hover { background: #15803d; color: #fff; }

/* Top Utility Bar */
.top-bar {
  background: #080a0d;
  color: #d1d5db;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border-dark);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.top-contacts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-contacts a { display: inline-flex; align-items: center; gap: 6px; color: #e5e7eb; }
.top-contacts a:hover { color: var(--ember-bright); }
.channel-pills { display: inline-flex; gap: 6px; align-items: center; }
.channel-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff !important;
}
.pill-wa { background: #16a34a; }
.pill-viber { background: #7360f2; }
.pill-zalo { background: #0068ff; }

/* Language Switcher */
.lang-switcher { display: inline-flex; align-items: center; gap: 4px; }
.lang-btn {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px solid transparent;
}
.lang-btn:hover { color: #fff; border-color: rgba(255,255,255,0.22); }
.lang-btn.active { background: var(--ember); color: #fff; }

/* Main Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(13, 16, 21, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 76px;
}
.brand-logo img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: #e5e7eb; font-size: 14px; font-weight: 600; position: relative; padding: 6px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--ember-bright); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 18px; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  background: var(--obsidian);
  color: #fff;
  padding: 74px 0 82px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  filter: saturate(1.15) contrast(1.06);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,16,21,0.95) 28%, rgba(13,16,21,0.72) 68%, rgba(13,16,21,0.88) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 42px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.3vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero-sub { font-size: 17px; color: #d1d5db; max-width: 620px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat-box strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 22px; color: var(--ember-bright); }
.stat-box span { font-size: 12px; color: #9ca3af; font-weight: 500; }

/* Flagship Sawdust Spotlight Card inside Hero */
.hero-flagship-card {
  background: rgba(21, 26, 34, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.36);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.flagship-img-wrap { position: relative; height: 220px; overflow: hidden; }
.flagship-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.flagship-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ember);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.flagship-body { padding: 20px 22px 22px; }
.flagship-body h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.flagship-price { color: #fbbf24; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.mini-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mini-spec { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 8px; padding: 8px 10px; }
.mini-spec small { display: block; font-size: 11px; color: #9ca3af; }
.mini-spec strong { font-size: 13.5px; color: #fff; }

/* Trust Strip */
.trust-strip { background: #141820; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); padding: 18px 0; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: #cbd5e1; font-size: 13px; font-weight: 600; }
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember-bright); flex-shrink: 0; }

/* Category Filter Tabs */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--obsidian);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--ember); color: var(--ember); }
.filter-btn.active { background: var(--obsidian); border-color: var(--obsidian); color: #fff; }
.filter-btn.priority-tab { border-color: var(--ember); }
.filter-btn.priority-tab.active { background: var(--ember); border-color: var(--ember); color: #fff; }

/* Product Grid & Cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(234,88,12,0.42); }
.product-card.is-priority { border: 2px solid rgba(234, 88, 12, 0.55); }
.card-media { position: relative; height: 220px; overflow: hidden; background: var(--obsidian-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .card-media img { transform: scale(1.05); }
.card-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.badge { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-priority { background: var(--ember); color: #fff; }
.badge-sku { background: rgba(13,16,21,0.82); color: #f3f4f6; backdrop-filter: blur(4px); }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 11.5px; font-weight: 700; color: var(--ember); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.card-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card-title a:hover { color: var(--ember); }
.card-excerpt { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: var(--ash-bg);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 12.5px;
}
.card-specs span { color: var(--text-muted); display: block; font-size: 11px; }
.card-specs strong { color: var(--obsidian); font-size: 13px; }
.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  margin-top: auto;
  margin-bottom: 14px;
}
.card-price-row small { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.card-price-val { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; color: var(--ember-deep); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Master Comparison Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.mika-table { width: 100%; border-collapse: collapse; min-width: 880px; font-size: 13.5px; }
.mika-table th {
  background: var(--obsidian);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.mika-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.mika-table tr:hover td { background: #fffbf7; }
.mika-table tr.row-flagship td { background: #fff7ed; font-weight: 600; }

/* Burning Test Showcase */
.burn-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.burn-tab {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: var(--obsidian-2);
  color: #d1d5db;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.burn-tab.active { background: var(--ember); border-color: var(--ember); color: #fff; }
.burn-panel { display: none; }
.burn-panel.active { display: block; }
.burn-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.burn-step {
  background: var(--obsidian-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.burn-step img { width: 100%; height: 145px; object-fit: cover; }
.burn-step-body { padding: 14px; }
.burn-time-pill {
  display: inline-block;
  background: rgba(249,115,22,0.18);
  color: #fb923c;
  font-weight: 800;
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.burn-step-body h4 { font-size: 14.5px; margin-bottom: 6px; color: #fff; }
.burn-step-body p { font-size: 12.5px; color: #9ca3af; margin: 0; }

/* Packaging & Export Grid */
.oem-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.feature-card h4 { font-size: 16px; margin-bottom: 8px; color: var(--obsidian); }
.feature-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cert-badge {
  background: var(--obsidian);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border-left: 3px solid var(--ember-bright);
}

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 12px; color: var(--ember); font-weight: 700; margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; margin-bottom: 10px; }
.blog-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; }
.blog-card .read-more { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--ember); }

/* FAQ Accordion */
.faq-list { max-width: 920px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--obsidian);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-a { display: none; padding: 0 22px 18px; color: var(--text-muted); font-size: 14.5px; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--ember); }
.faq-icon { font-size: 20px; font-weight: 400; transition: transform 0.2s ease; }

/* RFQ Form & Volume Estimator */
.rfq-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  background: var(--obsidian-2);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 36px;
  color: #fff;
}
.rfq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rfq-field { display: flex; flex-direction: column; gap: 6px; }
.rfq-field.full { grid-column: span 2; }
.rfq-field label { font-size: 12.5px; font-weight: 700; color: #e5e7eb; }
.rfq-field input, .rfq-field select, .rfq-field textarea {
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.rfq-field select option { background: var(--obsidian); color: #fff; }
.rfq-field input:focus, .rfq-field select:focus, .rfq-field textarea:focus { outline: none; border-color: var(--ember-bright); }
.estimator-banner {
  grid-column: span 2;
  background: rgba(234, 88, 12, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.4);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #fed7aa;
}
.rfq-feedback { grid-column: span 2; font-size: 14px; font-weight: 600; }

/* Single Product Page */
.product-hero { background: var(--ash-bg); padding: 42px 0 56px; border-bottom: 1px solid var(--border); }
.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--ember); }
.single-prod-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.prod-gallery-main { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--obsidian); }
.prod-gallery-main img { width: 100%; height: 420px; object-fit: cover; }
.kpi-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 22px; }
.kpi-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; text-align: center; }
.kpi-card small { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.kpi-card strong { font-size: 15px; color: var(--obsidian); }
.prod-tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.prod-tab-btn {
  padding: 12px 18px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}
.prod-tab-btn.active { color: var(--ember); border-bottom-color: var(--ember); }
.prod-tab-panel { display: none; }
.prod-tab-panel.active { display: block; }

/* Footer */
.site-footer { background: #090b0f; color: #cbd5e1; padding: 64px 0 26px; border-top: 1px solid var(--border-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--border-dark); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13.5px; }
.footer-links a:hover { color: var(--ember-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 12.5px; color: #9ca3af; }

/* Floating Direct Contact Buttons — Compact Circular Icons Only */
.floating-contacts {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.float-icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-icon-btn svg { width: 23px; height: 23px; fill: currentColor; }
.float-icon-btn:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4); color: #fff; }
.float-icon-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  background: var(--obsidian);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.float-icon-btn:hover::before { opacity: 1; transform: translateX(0); }
html[dir="rtl"] .float-icon-btn::before { right: auto; left: 60px; transform: translateX(-6px); }
html[dir="rtl"] .float-icon-btn:hover::before { transform: translateX(0); }
.float-wa { background: #16a34a; }
.float-call { background: #0284c7; }
.float-rfq { background: linear-gradient(135deg, var(--ember), var(--ember-bright)); }

/* Compact Top Bar Icon Buttons */
.top-icon-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  transition: transform 0.18s ease;
}
.top-icon-link:hover { transform: scale(1.1); }
.top-icon-link svg { width: 15px; height: 15px; fill: currentColor; }

/* Long-Form Editorial Article Styling */
.article-prose { font-size: 16.5px; line-height: 1.82; color: #1f2937; }
.article-prose h2 { font-size: clamp(22px, 2.5vw, 28px); margin: 38px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ash-bg); color: var(--obsidian); }
.article-prose h3 { font-size: 19px; margin: 26px 0 10px; color: var(--ember-deep); }
.article-prose ul, .article-prose ol { margin: 0 0 18px 22px; padding: 0; }
.article-prose li { margin-bottom: 8px; }
.article-prose figure { margin: 28px 0; background: var(--ash-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.article-prose figure img { width: 100%; max-height: 430px; object-fit: cover; }
.article-prose figcaption { padding: 11px 16px; font-size: 13px; color: var(--text-muted); font-style: italic; border-top: 1px solid var(--border); }
.article-prose .article-callout {
  background: #fff7ed;
  border-left: 4px solid var(--ember);
  padding: 18px 20px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  font-size: 15px;
  color: #7c2d12;
}
html[dir="rtl"] .article-prose .article-callout { border-left: 0; border-right: 4px solid var(--ember); border-radius: 10px 0 0 10px; }
.article-prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.article-prose th { background: var(--obsidian); color: #fff; padding: 12px 14px; text-align: left; font-weight: 700; }
.article-prose td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.article-prose tr:nth-child(even) td { background: #fafaf9; }
.article-key-box {
  background: var(--obsidian);
  color: #e5e7eb;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 28px;
  border-top: 4px solid var(--ember);
}
.article-key-box h4 { color: #fff; margin-bottom: 10px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.8px; }
.article-key-box ul { margin: 0 0 0 18px; font-size: 14.5px; }
.article-key-box li { margin-bottom: 6px; }
.related-articles { margin-top: 52px; padding-top: 38px; border-top: 1px solid var(--border); }

/* Quote Modal */
.mika-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 10, 14, 0.78);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mika-modal.open { display: flex; }
.mika-modal-box {
  background: var(--obsidian-2);
  color: #fff;
  border: 1px solid rgba(249,115,22,0.35);
  border-radius: 16px;
  max-width: 660px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
}
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: 0; color: #9ca3af; font-size: 26px; cursor: pointer; }

/* Arabic RTL Adjustments */
html[dir="rtl"] .mika-table th, html[dir="rtl"] .faq-q { text-align: right; }
html[dir="rtl"] .floating-contacts { right: auto; left: 18px; }
html[dir="rtl"] .cert-badge { border-left: 0; border-right: 3px solid var(--ember-bright); }
html[dir="rtl"] .modal-close { right: auto; left: 18px; }

/* Print / PDF Spec Sheet */
@media print {
  .top-bar, .site-header, .floating-contacts, .site-footer, .btn, .mika-modal { display: none !important; }
  .prod-tab-panel { display: block !important; page-break-inside: avoid; margin-bottom: 20px; }
  body { color: #000; background: #fff; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .oem-grid, .rfq-box, .single-prod-grid { grid-template-columns: 1fr; }
  .product-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .burn-timeline { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--obsidian); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-dark); }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .hero-stats, .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .blog-grid, .feature-cards, .rfq-form, .burn-timeline, .footer-grid { grid-template-columns: 1fr; }
  .rfq-field.full, .estimator-banner, .rfq-feedback { grid-column: span 1; }
}
