@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --bg-main: #f4f7f4;
  --bg-card: #ffffff;
  --primary-dark: #072e1b;
  --primary: #14532d;
  --primary-light: #16a34a;
  --accent-green: #4ade80;
  --cta-green: #52d681;
  --cta-green-hover: #3ec46d;
  --gold: #facc15;
  --danger: #dc2626;
  --blue-badge: #0b3b60;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border-color: #cbd5e1;
  --footer-navy: #050a1f;
  --shadow-sm: 0 2px 8px rgba(7, 46, 27, 0.06);
  --shadow-md: 0 6px 20px rgba(7, 46, 27, 0.1);
  --shadow-lg: 0 12px 32px rgba(7, 46, 27, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  line-height: 1.5;
  padding-bottom: 72px;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px;
}

/* =====================================================
   TOP BAR & STICKY HEADER (Clean Mobile Layout)
   ===================================================== */
.announcement-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 6px 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.navbar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.brand-text h1 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
}

.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 99px;
  background: #16a34a;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* 3 Equal Product Tabs */
.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
}

.product-tab-btn {
  border: none;
  background: transparent;
  padding: 7px 4px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.78rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.product-tab-btn.active {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 2px 6px rgba(7, 46, 27, 0.2);
}

.product-tab-btn .tab-badge {
  background: var(--gold);
  color: #000;
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 99px;
  font-weight: 900;
}

/* =====================================================
   MAIN GRID (Stacked on Mobile, 2 Columns on Desktop)
   ===================================================== */
.desktop-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 12px 0 20px;
}

@media (min-width: 960px) {
  .desktop-two-col {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
    padding: 20px 0 32px;
  }
  .checkout-section {
    position: sticky;
    top: 105px;
  }
}

/* =====================================================
   1. HERO POSTER CARD (1.png Style)
   ===================================================== */
.poster-hero-card {
  background: linear-gradient(180deg, #e8f8ed 0%, #c6eed3 58%, #0a3620 100%);
  border-radius: 18px;
  padding: 16px 12px 18px;
  border: 2px solid #86efac;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.poster-headline-box h2 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #062817;
  line-height: 1.35;
  margin-bottom: 8px;
}

.poster-headline-box h2 .highlight-yellow {
  background: var(--gold);
  padding: 0 8px;
  border-radius: 6px;
  display: inline-block;
}

.poster-product-pill {
  display: inline-block;
  background: var(--primary-dark);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 4px 20px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 1.5px solid var(--gold);
}

.poster-subheadline {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.45;
  max-width: 500px;
  margin: 0 auto 12px;
}

/* Product Image Gallery */
.hero-gallery-wrap {
  margin-bottom: 12px;
}

.main-product-stage {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1.5px solid rgba(20, 83, 45, 0.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 8px;
}

.main-product-stage img {
  max-height: 195px;
  max-width: 100%;
  object-fit: contain;
}

.stage-badge-bio {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 2px 9px;
  border-radius: 99px;
}

.stage-caption {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.gallery-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: #fff;
  padding: 2px;
  cursor: pointer;
  object-fit: contain;
}

.gallery-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* 3 Icon Highlights (Always 3 Neat Columns like 1.png) */
.hero-highlights-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.hero-highlight-item {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
}

.hero-highlight-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 4px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 2px solid #86efac;
}

.hero-highlight-item h4 {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.2;
}

.hero-highlight-item p {
  display: none;
}

/* 4th Card: Beneficial Bacteria & Microbial Activity (Below 3 Cards, Above Order Button) */
.hero-microbial-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 12px;
  border: 1.5px solid #86efac;
  text-align: right;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.hero-microbial-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border: 2px solid #86efac;
}

.hero-microbial-text h4 {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 2px;
}

.hero-microbial-text p {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
  margin: 0;
}

.hero-order-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 9px 28px;
  border-radius: 999px;
  border: 2px solid #bbf7d0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* =====================================================
   2. DIRECT COD ORDER FORM (2.png Exact Style)
   ===================================================== */
.cod-card-outer {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 12px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid #cbd5e1;
}

.cod-header-block {
  margin-bottom: 12px;
}

.cod-product-title {
  font-size: 1.18rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
}

.cod-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cod-current-price {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--blue-badge);
}

.cod-old-price {
  font-size: 1rem;
  color: #64748b;
  text-decoration: line-through;
  font-weight: 700;
}

.cod-discount-badge {
  background: var(--blue-badge);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 999px;
}

/* Size Selector Pills */
.size-selector-block {
  margin-bottom: 14px;
}

.size-selector-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.size-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.size-pill-btn {
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px 4px 6px;
  cursor: pointer;
  text-align: center;
  position: relative;
}

.size-pill-btn.active {
  border-color: var(--blue-badge);
  background: #eff6ff;
  box-shadow: 0 2px 8px rgba(11, 59, 96, 0.12);
}

.size-pill-btn .popular-ribbon {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #16a34a;
  color: #fff;
  font-size: 0.56rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  white-space: nowrap;
}

.size-pill-name {
  display: block;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.size-pill-price {
  display: block;
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--blue-badge);
}

/* Framed Box matching 2.png */
.cod-framed-box {
  border: 2px solid #0f172a;
  border-radius: 14px;
  padding: 18px 10px 14px;
  position: relative;
  margin-top: 10px;
  background: #fff;
}

.cod-frame-legend {
  position: absolute;
  top: -13px;
  right: 12px;
  background: #fff;
  padding: 0 6px;
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--blue-badge);
  display: flex;
  align-items: center;
  gap: 4px;
}

.cod-frame-subtitle {
  font-size: 0.8rem;
  color: var(--blue-badge);
  font-weight: 700;
  margin-bottom: 10px;
}

.cod-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 3px;
}

.form-group label .req {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 9px 8px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
}

.form-control::placeholder {
  color: #94a3b8;
  font-size: 0.78rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-badge);
}

.form-control.input-error {
  border-color: #f87171;
  background: #fffafa;
}

.field-error-msg {
  color: var(--danger);
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 2px;
  display: none;
}

.field-error-msg.visible {
  display: block;
}

/* Delivery Options */
.delivery-type-group {
  margin: 8px 0 10px;
}

.delivery-group-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1e293b;
  display: block;
  margin-bottom: 4px;
}

.delivery-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.delivery-option-card {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.delivery-option-card.active {
  border-color: #16a34a;
  background: #f0fdf4;
}

.delivery-option-title {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f172a;
}

.delivery-option-badge {
  font-size: 0.68rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 99px;
  background: #dcfce7;
  color: #15803d;
}

.delivery-option-card[data-delivery="home"] .delivery-option-badge {
  background: #fef3c7;
  color: #b45309;
}

/* Order Summary */
.cod-summary-box {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.cod-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--blue-badge);
  margin-bottom: 4px;
}

.cod-summary-sub {
  font-size: 0.72rem;
  color: #16a34a;
}

.cod-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.84rem;
}

.cod-summary-row .label {
  font-weight: 800;
  color: var(--blue-badge);
}

.cod-summary-row .val {
  font-weight: 700;
  color: #475569;
  font-size: 0.8rem;
}

.cod-summary-row.total-row {
  border-bottom: none;
  font-size: 0.98rem;
  padding-top: 8px;
}

.cod-summary-row.total-row .val {
  font-weight: 900;
  color: #0f172a;
  font-size: 1rem;
}

/* Submit & Quantity Row */
.cod-submit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.btn-order-submit {
  flex: 1;
  background: var(--cta-green);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(82, 214, 129, 0.4);
}

.qty-control-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 6px 8px;
  border-radius: 10px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-badge);
  background: #fff;
  color: var(--blue-badge);
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  font-weight: 900;
  font-size: 0.92rem;
  min-width: 16px;
  text-align: center;
}

/* =====================================================
   3. WHY SECTION (Clean 2x2 Grid like 1.png)
   ===================================================== */
.why-section {
  background: linear-gradient(180deg, #062817 0%, #0d4427 100%);
  color: #fff;
  padding: 24px 0;
}

.section-brush-title {
  text-align: center;
  margin-bottom: 16px;
}

.brush-pill {
  display: inline-block;
  background: var(--gold);
  color: #062817;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 4px 22px;
  border-radius: 8px;
}

.why-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px) {
  .why-grid-layout {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
  }
}

.why-cards-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.why-white-card {
  background: #fff;
  color: var(--text-dark);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.why-white-card h3 {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.25;
}

.why-white-card p {
  display: none;
}

@media (min-width: 768px) {
  .why-white-card {
    padding: 14px;
  }
  .why-white-card h3 {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }
  .why-white-card p {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
  }
}

.why-roots-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  border-radius: 14px;
  padding: 12px;
}

.roots-visual-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #23180f;
  border: 2.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.roots-yellow-banner {
  background: var(--gold);
  color: #0f172a;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

/* =====================================================
   4. SUITABLE CROPS SECTION (3x3 Grid on Mobile)
   ===================================================== */
.crops-section {
  padding: 24px 0;
  background: #fff;
}

.section-header-center {
  text-align: center;
  margin-bottom: 14px;
}

.section-header-center h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.section-header-center p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.crops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 900px) {
  .crops-grid {
    grid-template-columns: repeat(9, 1fr);
  }
}

.crop-item-card {
  background: var(--primary-dark);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  border: 2px solid var(--primary-dark);
  box-shadow: 0 4px 10px rgba(6, 40, 23, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.crop-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(6, 40, 23, 0.2);
}

.crop-emoji-box {
  background: #f0fdf4;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.crop-emoji-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.crop-item-card:hover .crop-emoji-box img {
  transform: scale(1.08);
}

.crop-name-bar {
  padding: 6px 4px;
  font-weight: 900;
  font-size: 0.8rem;
}

/* =====================================================
   5. PROBLEMS VS SOLUTIONS (Organized Before/After)
   ===================================================== */
.comparison-section {
  padding: 24px 0;
  background: #f8fafc;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
}

@media (min-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
  }
}

.panel-header-center {
  text-align: center;
  margin-bottom: 12px;
}

.problems-panel {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  border-radius: 14px;
  padding: 14px 10px;
}

.panel-badge-red {
  background: #b91c1c;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  padding: 4px 18px;
  border-radius: 8px;
  display: inline-block;
}

.prob-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.prob-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 8px;
  border: 1px solid #fecdd3;
  text-align: center;
}

.prob-icon-x {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-weight: 900;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.prob-card h4 {
  font-size: 0.8rem;
  font-weight: 900;
  color: #881337;
}

.prob-card p {
  display: none;
}

.comparison-arrow {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.solutions-panel {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 14px 10px;
}

.panel-badge-green {
  background: var(--primary-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  padding: 4px 18px;
  border-radius: 8px;
  display: inline-block;
}

.sol-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.sol-card {
  background: var(--primary-dark);
  color: #fff;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.sol-icon-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #062817;
  font-weight: 900;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-card h4 {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.25;
}

.sol-card p {
  display: none;
}

/* =====================================================
   6. ENGINEER SUPPORT SECTION (1.png Style)
   ===================================================== */
.engineer-section {
  padding: 24px 0;
  background: linear-gradient(135deg, #fefce8 0%, #f0fdf4 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.engineer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

@media (min-width: 900px) {
  .engineer-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.engineer-text {
  text-align: center;
}

.engineer-text h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
}

.engineer-highlight {
  display: inline-block;
  background: var(--gold);
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.engineer-text p {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.engineer-4boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.eng-box {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}

.eng-box-icon {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.eng-box h4 {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--primary-dark);
}

/* =====================================================
   7. IMPORTANT WARNINGS ("مهم جداً" 2x2 Grid)
   ===================================================== */
.warnings-section {
  padding: 20px 0;
  background: #fff;
}

.important-red-pill {
  background: #b91c1c;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  padding: 3px 20px;
  border-radius: 8px;
  display: inline-block;
}

.warnings-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

@media (min-width: 900px) {
  .warnings-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.warning-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  font-weight: 800;
  font-size: 0.74rem;
  line-height: 1.3;
}

.warning-chip.ok {
  border-color: #86efac;
  background: #f0fdf4;
}

.warning-chip.no {
  border-color: #fecaca;
  background: #fef2f2;
}

/* =====================================================
   8. BOTTOM POSTER PRICING & WHATSAPP BANNER (1.png)
   ===================================================== */
.bottom-poster-cta {
  background: linear-gradient(180deg, #062817 0%, #0b3b24 100%);
  color: #fff;
  padding: 22px 0 18px;
  border-top: 3px solid var(--gold);
}

.bottom-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px) {
  .bottom-cta-grid {
    grid-template-columns: 1.1fr 0.9fr 1fr;
    align-items: center;
  }
}

.bottom-price-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 14px;
}

.bottom-price-showcase img {
  width: 84px;
  height: 96px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.bottom-price-text .prod-tag {
  background: var(--gold);
  color: #062817;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 6px;
  display: inline-block;
}

.bottom-price-text .old-p {
  display: block;
  font-size: 0.92rem;
  color: #fca5a5;
  text-decoration: line-through;
  font-weight: 800;
}

.bottom-price-text .new-p {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}

.size-sub-pill {
  display: inline-block;
  margin-top: 4px;
  background: var(--gold);
  color: #062817;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 6px;
}

.bottom-delivery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.deliv-info-row {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deliv-label {
  font-size: 0.7rem;
  color: #cbd5e1;
}

.deliv-info-row strong {
  color: var(--gold);
  font-size: 0.92rem;
}

.deliv-icon {
  font-size: 1.3rem;
}

.bottom-whatsapp-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid #4ade80;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.bottom-whatsapp-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
}

.bottom-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 99px;
  margin: 6px auto;
  max-width: 240px;
  border: 1.5px solid #bbf7d0;
}

.wa-helper-text {
  font-size: 0.76rem;
  color: #dcfce7;
  font-weight: 700;
  margin-bottom: 6px;
}

.wa-yellow-tag {
  background: var(--gold);
  color: #062817;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-block;
}

.roots-slogan-bar {
  text-align: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  font-weight: 900;
  color: #bbf7d0;
}

/* =====================================================
   9. FOOTER (2.png Style)
   ===================================================== */
.site-footer {
  background: var(--footer-navy);
  color: #fff;
  padding: 24px 0;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .site-footer {
    text-align: right;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

.footer-about-text {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid #fff;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.footer-phones {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 800;
  font-size: 0.85rem;
  direction: ltr;
}

@media (min-width: 900px) {
  .footer-phones {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
}

/* =====================================================
   STICKY MOBILE BOTTOM BAR
   ===================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 8px 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 120;
  border-top: 2px solid var(--primary);
}

@media (min-width: 960px) {
  .mobile-sticky-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

.mobile-bar-price-box {
  display: flex;
  flex-direction: column;
}

.mobile-bar-price-box .m-name {
  font-size: 0.7rem;
  font-weight: 800;
  color: #475569;
}

.mobile-bar-price-box .m-price {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.1;
}

.mobile-bar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}

.btn-mobile-order {
  flex: 1;
  max-width: 190px;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 9px 12px;
  border-radius: 999px;
  text-align: center;
}

.btn-mobile-wa,
.btn-mobile-call {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.btn-mobile-wa {
  background: #dcfce7;
  border: 1.5px solid #86efac;
}

.btn-mobile-call {
  background: #fef9c3;
  border: 1.5px solid #fde047;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 14px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  padding: 20px 16px;
  text-align: center;
}

.modal-check-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.modal-order-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  text-align: right;
  font-size: 0.82rem;
  margin: 12px 0;
}

.modal-actions-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-modal-close {
  padding: 9px 16px;
  border-radius: 99px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}


/* =====================================================
   FREE HOME DELIVERY BANNER (inside COD form)
   ===================================================== */
.free-delivery-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #16a34a;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 4px 0 10px;
}

.fdb-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.fdb-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fdb-text strong {
  font-size: 0.86rem;
  font-weight: 900;
  color: #15803d;
}

.fdb-text span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
}

.fdb-badge {
  background: #16a34a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

/* =====================================================
   USAGE PHASES (Vertical timeline on mobile)
   ===================================================== */
.phases-section {
  padding: 24px 0;
  background: #fff;
}

.phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  position: relative;
}

.phase-step-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 12px;
}

.phase-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--gold);
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phase-step-card h4 {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.phase-step-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

@media (min-width: 900px) {
  .phases-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .phase-step-card {
    flex-direction: column;
    padding: 14px;
  }
}
