:root {
  --green: oklch(52% 0.15 145);
  --green-dark: oklch(45% 0.14 145);
  --green-darker: oklch(38% 0.15 145);
  --green-soft-bg: oklch(96% 0.03 145);
  --green-mid: oklch(56% 0.16 145);
  --green-mid2: oklch(46% 0.15 148);
  --green-form2-a: oklch(52% 0.15 145);
  --green-form2-b: oklch(45% 0.14 150);
  --trust-bg: oklch(96% 0.025 145);
  --ink: oklch(22% 0.01 95);
  --bg: oklch(98% 0.006 95);
  --card-soft: oklch(97% 0.006 95);
  --border: oklch(90% 0.01 95);
  --border-light: oklch(88% 0.01 95);
  --border-faint: oklch(85% 0.01 95);
  --muted: oklch(45% 0.01 95);
  --muted-2: oklch(50% 0.01 95);
  --muted-3: oklch(40% 0.01 95);
  --muted-4: oklch(55% 0.01 95);
  --dark-bg: oklch(20% 0.015 95);
  --dark-bg-2: oklch(24% 0.02 95);
  --dark-bg-3: oklch(16% 0.015 95);
  --red: oklch(55% 0.2 25);
  --red-2: oklch(70% 0.22 25);
  --discount-bg: oklch(94% 0.08 25);
  --discount-text: oklch(45% 0.16 25);
  --header-bg: oklch(99% 0.003 95 / 0.92);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Tajawal', sans-serif;
  color: var(--ink);
  width: 100%;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

html[lang="fr"] body { font-family: 'Poppins', sans-serif; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green-darker); }
input, select, button { font-family: inherit; }
::placeholder { font-family: inherit; }

.font-cairo { font-family: 'Cairo', sans-serif; }

img { max-width: 100%; display: block; }

@keyframes shimmer-sweep { 0% { transform: translateX(-120%); } 100% { transform: translateX(220%); } }
.shimmer-btn { position: relative; overflow: hidden; }
.shimmer-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shimmer-sweep 1.5s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 12px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-bars { display: flex; gap: 3px; align-items: flex-end; }
.logo-bars span { width: 5px; background: var(--green); border-radius: 2px; }
.logo-bars span:nth-child(1) { height: 14px; }
.logo-bars span:nth-child(2) { height: 20px; }
.logo-bars span:nth-child(3) { height: 16px; }
.logo-text { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.5px; }
.logo-text .accent { color: var(--green); }
.header-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1.5px solid var(--border-light); border-radius: 999px; overflow: hidden; }
.lang-btn { padding: 6px 14px; border: none; font-weight: 800; font-size: 13px; cursor: pointer; background: white; color: oklch(30% 0.01 95); }
.lang-btn.active { background: var(--green); color: white; }
.btn-order-now { background: var(--green); color: white; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.btn-order-now:hover { color: white; }

/* ---------- Product panel ---------- */
.product-panel-section { max-width: 1100px; margin: 32px auto 0; padding: 0 24px; }
.product-panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 44px; align-items: start; }
.gallery-col, .form-col { min-width: 0; }
.gallery-wrap { min-width: 0; overflow: hidden; border-radius: 24px; }
.gallery-main { position: relative; width: 100%; height: 460px; border-radius: 24px; overflow: hidden; background: var(--card-soft); }
.gallery-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.gallery-slot.active { display: block; }
.thumb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; margin-top: 10px; margin-bottom: 60px; }
.thumb { width: 100%; height: 60px; object-fit: cover; cursor: pointer; border-radius: 8px; border: 1.5px solid var(--border-light); }
.thumb.active { border: 2px solid var(--green); }

.faq-block h3 { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 18px; margin: 0 0 12px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.faq-list summary { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.faq-list p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted-3); line-height: 1.7; }
.faq-desktop { margin-top: 22px; }
.faq-mobile { display: none; max-width: 800px; margin: 60px auto 0; padding: 0 24px; }
.faq-mobile h3 { font-size: 24px; margin: 0 0 18px; text-align: center; }
.faq-mobile .faq-list summary { font-size: 15px; }
.faq-mobile .faq-list p { font-size: 14px; }
.faq-mobile .faq-list details { padding: 16px 20px; }
@media (max-width: 759px) {
  .faq-desktop { display: none; }
  .faq-mobile { display: block; }
}

.badge { display: inline-flex; border: 1.5px solid var(--green); color: var(--green-dark); padding: 6px 18px; border-radius: 999px; font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.title { font-family: 'Cairo', sans-serif; font-weight: 900; font-size: clamp(22px, 5vw, 30px); line-height: 1.3; margin: 0 0 14px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.price-main { font-family: 'Cairo', sans-serif; font-size: 32px; font-weight: 900; color: var(--green-dark); }
.price-currency { font-size: 16px; }
.price-was { font-size: 17px; color: oklch(60% 0.01 95); text-decoration: line-through; }
.price-discount-badge { background: var(--discount-bg); color: var(--discount-text); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.subtitle { font-size: 13px; color: var(--muted-2); margin: 0 0 22px; }

.option-group { margin-bottom: 20px; }
.option-label { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-btn { min-width: 52px; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; border: 1.5px solid var(--border-faint); background: white; color: var(--ink); }
.pill-btn.active { border: 1.5px solid var(--green); background: var(--green-soft-bg); }

.swatch-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.swatch { width: 38px; height: 38px; border-radius: 50%; cursor: pointer; border: 1.5px solid var(--border-faint); box-shadow: 0 0 0 2px white inset; }
.swatch.active { border: 3px solid var(--green); }
.color-label { font-size: 13px; color: var(--muted-3); margin-top: 8px; }

.offer-row { display: flex; gap: 10px; flex-wrap: wrap; }
.offer-btn { padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 13.5px; cursor: pointer; border: 1.5px solid var(--border-faint); background: white; color: var(--ink); text-align: center; line-height: 1.5; }
.offer-btn.active { border: 2px solid var(--green); background: var(--green-soft-bg); }
.offer-btn .offer-price { font-size: 12px; font-weight: 600; opacity: 0.75; }

.order-form { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.order-form input, .order-form select { padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--border-light); font-size: 15px; width: 100%; }
.order-form input.field-error, .order-form select.field-error { border: 1.5px solid var(--red); }
.form-error { color: var(--red); font-size: 13px; font-weight: 700; }

.shipping-block { display: flex; flex-direction: column; gap: 12px; }
.method-row { display: flex; gap: 10px; flex-wrap: wrap; }
.method-btn { flex: 1; min-width: 140px; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 13.5px; cursor: pointer; border: 1.5px solid var(--border-faint); background: white; color: var(--ink); }
.method-btn.active { border: 2px solid var(--green); background: var(--green-soft-bg); }
.method-unavailable { flex: 1; min-width: 140px; padding: 10px 14px; border-radius: 10px; font-size: 12px; color: var(--muted-4); border: 1.5px dashed var(--border-faint); text-align: center; }
.price-breakdown { background: var(--card-soft); border-radius: 12px; padding: 14px 18px; font-size: 13.5px; }
.pb-row { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted-3); }
.pb-row:last-child { margin-bottom: 0; }
.pb-row span:last-child { font-weight: 600; }
.total-row { display: flex; align-items: center; justify-content: space-between; background: var(--card-soft); border-radius: 12px; padding: 14px 18px; font-weight: 700; }
.total-row .total-amount { font-family: 'Cairo', sans-serif; font-size: 20px; }
.submit-btn { margin-top: 4px; background: linear-gradient(135deg, var(--green-mid), var(--green-mid2)); color: white; border: none; padding: 19px; border-radius: 12px; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px oklch(45% 0.15 145 / 0.35); width: 100%; }

/* ---------- Trust bar ---------- */
.trust-bar-section { max-width: 1200px; margin: 56px auto 0; padding: 0 24px; }
.trust-bar { background: var(--trust-bg); border-radius: 20px; padding: 24px 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { font-size: 26px; }
.trust-item span:last-child { font-weight: 700; font-size: 15px; }

/* ---------- Sectors ---------- */
.sectors-section { max-width: 1200px; margin: 80px auto 0; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 34px; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sector-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: white; }
.sector-card img { width: 100%; height: 220px; object-fit: cover; }
.sector-body { padding: 14px 20px 18px; }
.sector-body h3 { font-family: 'Cairo', sans-serif; font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.sector-body p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ---------- Quality ---------- */
.quality-section { max-width: 1200px; margin: 90px auto 0; padding: 0 24px; }
.quality-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; align-items: center; background: var(--dark-bg); border-radius: 28px; padding: 50px; color: white; }
.quality-grid h2 { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 32px; margin: 0 0 20px; }
.quality-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quality-list li { display: flex; align-items: flex-start; gap: 12px; }
.quality-list .check { background: var(--green); border-radius: 50%; width: 26px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.quality-list li span:last-child { font-size: 16px; line-height: 1.7; }
.quality-img { width: 100%; height: 340px; object-fit: cover; border-radius: 20px; }

/* ---------- Form 2 ---------- */
.form2-section { max-width: 1200px; margin: 90px auto 0; padding: 0 24px; }
.form2-card { background: linear-gradient(135deg, var(--green-form2-a), var(--green-form2-b)); border-radius: 28px; padding: 50px; text-align: center; color: white; }
.form2-card h2 { font-family: 'Cairo', sans-serif; font-weight: 900; font-size: 32px; margin: 0 0 12px; }
.form2-card > p { font-size: 16px; margin: 0 0 30px; opacity: 0.92; }
.form2-options { max-width: 520px; margin: 0 auto 22px; text-align: right; }
html[lang="fr"] .form2-options { text-align: left; }
.form2-options .option-group { margin-bottom: 16px; }
.form2-options .pill-btn { min-width: 50px; padding: 9px 14px; border: 1.5px solid transparent; }
.form2-options .pill-btn.active { border: 3px solid var(--dark-bg); background: white; }
.form2-options .swatch { width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,0.6); }
.form2-options .swatch.active { border: 3px solid white; }
.form2-options .color-label { display: inline; margin: 0; font-size: 13px; opacity: 0.9; }
.form2-options .offer-btn { padding: 9px 14px; border: 1.5px solid transparent; background: white; font-size: 13px; line-height: 1.4; }
.form2-options .offer-btn.active { border: 3px solid var(--dark-bg); }
.form2-options .offer-btn .offer-price { font-size: 11px; }

.form2-form { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.form2-form .name-phone-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form2-form input, .form2-form select { padding: 14px 18px; border-radius: 12px; border: none; font-size: 15px; width: 100%; }
.form2-form .name-phone-row input { flex: 1; min-width: 150px; }
.form2-form input.field-error, .form2-form select.field-error { border: 1.5px solid var(--red-2); }
.form2-error { color: white; background: var(--red); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
.form2-shipping-block { text-align: right; }
html[lang="fr"] .form2-shipping-block { text-align: left; }
.form2-shipping-block .method-btn { background: white; color: var(--ink); border: 1.5px solid transparent; }
.form2-shipping-block .method-btn.active { border: 3px solid var(--dark-bg); }
.form2-shipping-block .method-unavailable { color: white; opacity: 0.85; border: 1.5px dashed rgba(255,255,255,0.6); }
.form2-breakdown { background: white; border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: var(--ink); }
.form2-total-row { display: flex; align-items: center; justify-content: space-between; background: white; border-radius: 12px; padding: 14px 18px; font-weight: 700; color: var(--ink); }
.form2-submit { background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3)); color: white; border: none; padding: 19px; border-radius: 12px; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,0.3); width: 100%; }

/* ---------- Why us ---------- */
.why-section { max-width: 1200px; margin: 100px auto 0; padding: 0 24px; }
.why-section > h2 { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 34px; margin: 0 0 44px; text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why-item { text-align: center; padding: 10px; }
.why-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--trust-bg); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 14px; }
.why-item h4 { font-family: 'Cairo', sans-serif; font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.why-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer { max-width: 1200px; margin: 70px auto 0; padding: 36px 24px 110px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-logo-bars { display: flex; gap: 3px; align-items: flex-end; }
.footer-logo-bars span { width: 4px; background: var(--green); border-radius: 2px; }
.footer-logo-bars span:nth-child(1) { height: 11px; }
.footer-logo-bars span:nth-child(2) { height: 16px; }
.footer-logo-bars span:nth-child(3) { height: 13px; }
.footer-logo-row { display: flex; align-items: center; gap: 8px; }
.footer-logo-text { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 16px; }
.footer-copy { font-size: 13px; color: var(--muted-4); margin: 6px 0 0; }

/* ---------- Floating CTA ---------- */
.fab-btn {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60;
  background: var(--green); color: white; padding: 18px 48px; border-radius: 999px;
  font-weight: 800; font-size: 19px; box-shadow: 0 10px 26px oklch(20% 0.05 145 / 0.35);
  white-space: nowrap; display: none;
}
.fab-btn.visible { display: flex; }
.fab-btn:hover { color: white; }

/* ---------- Order confirmation modal ---------- */
.order-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.order-modal-overlay.visible { display: flex; }
.order-modal {
  background: white; border-radius: 20px; padding: 36px 30px; max-width: 420px; width: 100%;
  text-align: center;
}
.order-modal .modal-icon { font-size: 44px; margin-bottom: 12px; }
.order-modal h3 { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 20px; margin: 0 0 10px; }
.order-modal p { font-size: 14px; color: var(--muted-3); line-height: 1.7; margin: 0 0 22px; }
.order-modal button { background: var(--green); color: white; border: none; padding: 12px 28px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; }
