:root {
  --espresso: #23140d;
  --roast: #4a2c20;
  --crema: #c88a4b;
  --crema-dark: #a66d33;
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #241e1a;
  --muted: #665c54;
  --border: #e8dfd5;
  --amazon: #ff9900;
  --amazon-hover: #e68a00;
  --noon: #feee00;
  --noon-hover: #ebd900;
  --success: #1b7a46;
  --danger: #b83227;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(35, 20, 13, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
}

a { color: var(--roast); text-decoration: none; transition: 0.2s ease; }
a:hover { color: var(--crema-dark); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.site-header {
  background: var(--espresso);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
}
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--crema), #e0a96d);
  display: grid;
  place-items: center;
  color: var(--espresso);
  font-size: 1.2rem;
}
.brand span small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #d8c6b6;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: #f3eae2;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(200, 138, 75, 0.2);
  color: #ffd3a1;
}

.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Affiliate Notice Bar */
.disclosure-bar {
  background: #f2e8dc;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--muted);
  padding: 8px 0;
  text-align: center;
}
.disclosure-bar a { text-decoration: underline; font-weight: 700; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #23140d 0%, #3f2418 65%, #5c3624 100%);
  color: #fff;
  padding: 54px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(200, 138, 75, 0.22);
  border: 1px solid rgba(200, 138, 75, 0.5);
  color: #ffd7aa;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 2.3rem;
  line-height: 1.35;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero p {
  color: #e5d8cc;
  font-size: 1.06rem;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--crema); color: var(--espresso); }
.btn-primary:hover { background: #da9c5c; color: var(--espresso); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.45); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Finder Widget */
.finder-card {
  background: var(--surface);
  color: var(--text);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}
.finder-card h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--espresso);
}
.finder-card .sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.finder-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  background: #f8f2ea;
  border-right: 4px solid var(--crema);
  display: none;
}
.finder-result.show { display: block; }
.finder-result h3 { font-size: 1rem; color: var(--espresso); margin-bottom: 4px; }
.finder-result p { font-size: 0.88rem; color: var(--muted); margin-bottom: 10px; }

/* Sections & Grids */
.section { padding: 48px 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header h2 {
  font-size: 1.65rem;
  color: var(--espresso);
  font-weight: 800;
}
.section-header p { color: var(--muted); font-size: 0.96rem; margin-top: 4px; }

.silo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.silo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.silo-card:hover {
  border-color: var(--crema);
  transform: translateY(-3px);
}
.silo-emoji { font-size: 1.8rem; }
.silo-card h3 { font-size: 1.08rem; color: var(--espresso); }
.silo-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.article-card:hover { border-color: var(--crema); }
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f5eadc;
  color: var(--roast);
  margin-bottom: 10px;
}
.article-card h3 { font-size: 1.15rem; line-height: 1.5; color: var(--espresso); margin-bottom: 8px; }
.article-card p { font-size: 0.92rem; color: var(--muted); }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--crema-dark);
}

/* Article Layout */
.article-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}
.breadcrumbs {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.article-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.article-header h1 {
  font-size: 1.95rem;
  line-height: 1.4;
  color: var(--espresso);
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.verdict-box {
  background: #fdf6ec;
  border: 1px solid #eccfa9;
  border-right: 5px solid var(--crema);
  padding: 16px 18px;
  border-radius: 10px;
  margin-top: 14px;
}
.verdict-box strong { color: var(--espresso); }

.article-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.article-body h2 {
  font-size: 1.45rem;
  color: var(--espresso);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0e6da;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.18rem;
  color: var(--roast);
  margin: 22px 0 10px;
}
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol {
  padding-right: 22px;
  margin-bottom: 16px;
}
.article-body li { margin-bottom: 8px; }

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  margin: 18px 0 26px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  font-size: 0.93rem;
}
th {
  background: var(--espresso);
  color: #fff;
  text-align: right;
  padding: 13px 14px;
  font-weight: 700;
}
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:nth-child(even) td { background: #fcfaf7; }

/* Product Card inside Article */
.product-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 0;
  background: #fffdfb;
}
.product-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.product-box-header h3 { margin: 0; font-size: 1.25rem; color: var(--espresso); }
.price-pill {
  background: #f3e8da;
  color: var(--espresso);
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.pros, .cons {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
}
.pros { background: #f0f9f4; border: 1px solid #ccebd9; }
.cons { background: #fdf2f2; border: 1px solid #f4d0ce; }
.pros h4 { color: var(--success); margin-bottom: 8px; font-size: 0.96rem; }
.cons h4 { color: var(--danger); margin-bottom: 8px; font-size: 0.96rem; }
.pros ul, .cons ul { margin: 0; padding-right: 18px; }

.who-for {
  background: #f7f3ee;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.93rem;
  margin-bottom: 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-amazon {
  background: var(--amazon);
  color: #111;
  font-weight: 800;
}
.btn-amazon:hover { background: var(--amazon-hover); color: #111; }
.btn-noon {
  background: var(--noon);
  color: #111;
  font-weight: 800;
  border: 1px solid #e5d700;
}
.btn-noon:hover { background: var(--noon-hover); color: #111; }

/* Cross-selling Box */
.cross-sell {
  background: linear-gradient(135deg, #2b1911, #46291c);
  color: #fff;
  padding: 24px;
  border-radius: var(--radius);
  margin: 28px 0;
}
.cross-sell h2, .cross-sell h3 { color: #ffd6a5; border: none; margin-top: 0; }
.cross-sell p { color: #e8ddd3; }
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.acc-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 14px;
  border-radius: 10px;
}
.acc-item strong { display: block; color: #fff; margin-bottom: 4px; }
.acc-item span { display: block; font-size: 0.86rem; color: #dfd2c6; margin-bottom: 10px; }
.acc-item a {
  display: inline-block;
  background: var(--crema);
  color: var(--espresso);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 800;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fcfaf7;
}
.faq-item h3 { margin: 0 0 6px; font-size: 1.04rem; color: var(--espresso); }
.faq-item p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* Related Links */
.related-box {
  margin-top: 32px;
  padding: 20px;
  background: #f6efe7;
  border-radius: var(--radius);
}
.related-box h3 { margin-top: 0; margin-bottom: 10px; color: var(--espresso); }
.related-box ul { margin: 0; }

/* Footer */
.site-footer {
  background: var(--espresso);
  color: #d9ccc0;
  padding: 44px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer h3 { color: #fff; margin-bottom: 12px; font-size: 1.05rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 0.9rem; }
.site-footer a { color: #d9ccc0; }
.site-footer a:hover { color: var(--crema); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 820px) {
  .hero-grid, .pros-cons, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .article-header h1 { font-size: 1.55rem; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    background: var(--espresso);
    flex-direction: column;
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
}
