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

/* إعدادات الخط الجديد */
body {
  font-family: 'Cairo', 'Inter', 'Tahoma', sans-serif;
}

/* للعناوين والإنجليزية */
h1,
h2,
h3,
h4,
h5,
.brand,
.nav-links a,
.btn,
.kicker,
.readout-label {
  font-family: 'Cairo', 'Inter', sans-serif;
}

/* النصوص الطويلة */
p,
.lead,
.prod-body p,
.about-lede,
.why-item p {
  font-family: 'Cairo', 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.8;
}

/* الأرقام والإحصائيات */
.stat-num,
.bento-num,
.readout-value,
.prod-idx,
.fn {
  font-family: 'Inter', 'Cairo', monospace;
  font-weight: 700;
}

/* تحسين القراءة للعربي */
.hero h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.why-head h2 {
  font-weight: 800;
}

.products-head-text h2 {
  font-weight: 800;
}

.cta-inner h2 {
  font-weight: 800;
}

.bento-quote .quote-text {
  font-weight: 500;
  line-height: 1.9;
}

/* تعديل بسيط للهيدر */
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
}

.btn {
  font-weight: 600;
}

.live-tag {
  font-family: 'Inter', 'Cairo', monospace;
  font-weight: 500;
}

.filter-chip {
  font-family: 'Cairo', 'Inter', sans-serif;
  font-weight: 600;
}

/* ============================================================
   style-ar.css — Arabic / RTL Overrides for Piedo
   Load this file ONLY on Arabic pages (dir="rtl")
   ============================================================ */

/* ---- Font Family Override ---- */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.nav-links a,
.btn,
.kicker,
.readout-label,
.filter-chip,
.pg-sidebar-label,
.mobile-menu nav a,
.cat-tile h4,
.value-card h4,
.vm-card h3,
.related-card .rc-body h4 {
  font-family: 'Cairo', 'Inter', 'Tahoma', sans-serif !important;
}

.stat-num,
.bento-num,
.readout-value,
.prod-idx,
.fn,
.pg-cat-count,
.pd-spec-item .label,
.c-quick-lbl,
.c-panel-title,
.chart-head {
  font-family: 'Inter', 'Cairo', monospace !important;
}

/* ---- Text Alignment ---- */
.hero .lead,
.about-lede,
.why-head,
.why-head p,
.products-head-text,
.pg-body,
.pd-info,
.pd-extra,
.foot-brand p,
.foot-col,
.c-info-card,
.c-promise-cell,
.intro-copy,
.vm-card,
.value-card,
.gallery-head,
.pd-spec-item,
.c-field label {
  text-align: right;
}

.hero h1,
.hero-actions,
.cta-inner,
.cta-actions,
.pg-cat-item,
.pg-sidebar-reset {
  text-align: right;
}



/* ---- Hero ---- */
.hero h1 {
  text-align: center;
}

.hero .lead {
  text-align: center;
}

.hero-actions {
  justify-content: center;
}

/* ---- Readout Bar (numbers stay LTR) ---- */
.readout-value {
  direction: rtl;
  display: inline-block;
}

/* ---- About - Bento ---- */
.bento-photo .cap {
  left: auto;
  right: 18px;
}

.bento-feat .fn {
  flex-shrink: 0;
}

/* ---- Products ---- */
.products-head-link svg,
.prod-link svg,
.intro-link svg,
.related-link svg,
.pg-link svg,
.pd-slide-arrow svg,
.sc-arrow svg,
.btn svg {
  transform: rotate(180deg);
}

.products-head-link:hover svg,
.prod:hover .prod-link svg,
.intro-link:hover svg,
.related-link:hover svg,
.pg-card:hover .pg-link svg,
.btn:hover svg {
  transform: rotate(180deg) translateX(4px);
}

.prod-idx {
  left: auto;
  right: 16px;
}

.prod-tag {
  left: auto;
  right: 16px;
}

/* ---- Why Choose Us ---- */
.why-ico {
  flex-shrink: 0;
}

/* ---- Stats ---- */
.stat-num {
  direction: ltr;
  display: inline-block;
}

/* ---- CTA ---- */
.cta-tag {
  direction: ltr;
  right: auto;
  left: 24px;
}

/* ---- Footer ---- */
.social-links {
  justify-content: flex-start;
}

/* ---- WhatsApp FAB ---- */
.whatsapp-btn {
  right: auto;
  left: 20px;
}

.whatsapp-btn:hover {
  padding-left: 0;
  padding-right: 18px;
  justify-content: flex-start;
}

/* ---- Kicker ---- */
.kicker .idx {
  flex-shrink: 0;
}

/* ---- Mobile Menu ---- */
.mobile-menu nav a .n {
  font-family: 'Inter', 'Cairo', monospace;
}

/* ---- Products Page ---- */
.products-hero .lead,
.products-hero-inner {
  text-align: right;
}

.pg-tag {
  left: auto;
  right: 14px;
}

.pg-specs {
  justify-content: flex-start;
}

.pg-foot {
  flex-direction: row-reverse;
}

.pg-cat-item:hover {
  transform: translateX(-2px);
}

.pg-cat-ico {
  flex-shrink: 0;
}

.pg-cat-count {
  flex-shrink: 0;
}

/* ---- Product Details ---- */
.pd-info .pd-category {
  float: right;
}

.pd-extra ul {
  margin: 0 18px 20px 0;
}

/* ---- Contact Page ---- */
.c-field select {
  background-position: left 14px center;
  padding-right: 15px;
  padding-left: 40px;
}

.c-panel-title {
  margin-left: 0;
  margin-right: 6px;
}

.c-panel-rec {
  margin-left: 0;
  margin-right: auto;
}

.c-map-btn {
  margin-left: 0;
  margin-right: auto;
}

.c-map-btn svg {
  transform: rotate(180deg);
}

.c-corner-tl {
  left: auto;
  right: 14px;
  border-left: none;
  border-right: 2px solid var(--hr);
}

.c-corner-tr {
  right: auto;
  left: 14px;
  border-right: none;
  border-left: 2px solid var(--hr);
}

.c-corner-bl {
  left: auto;
  right: 14px;
  border-left: none;
  border-right: 2px solid var(--hr);
}

.c-corner-br {
  right: auto;
  left: 14px;
  border-right: none;
  border-left: 2px solid var(--hr);
}

.c-wa-ico {
  flex-shrink: 0;
}

.c-quick-pill {
  text-align: right;
}

/* ---- About Page ---- */
.about-hero-inner,
.about-hero .lead,
.intro-copy {
  text-align: right;
}

.vm-card {
  border-left: none;
  border-right: 4px solid var(--hr);
}

.vm-card.c-spo2 {
  border-right-color: var(--spo2);
}

.vm-card.c-nibp {
  border-right-color: var(--nibp);
}

.value-mono {
  right: auto;
  left: 20px;
}

.g-cap {
  left: auto;
  right: 14px;
}

.about-right-side .cap {
  left: auto;
  right: 18px;
}

/* ---- Mega Filter ---- */
.filter-search input {
  text-align: right;
}

.pg-results strong {
  direction: ltr;
  display: inline-block;
}

/* ---- Responsive fixes ---- */
@media (min-width: 760px) {
  .readout-cell {
    border-left: none;
    border-right: 1px solid var(--line);
  }

  .readout-cell:first-child {
    border-right: none;
  }

  .c-promise-cell {
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, .08);
  }

  .c-promise-cell:first-child {
    border-right: none;
  }
}

@media (min-width: 640px) {
  .p-readout-cell {
    border-left: none;
    border-right: 1px solid var(--line);
  }

  .p-readout-cell:first-child {
    border-right: none;
  }
}

@media (max-width: 991px) {
  .about-right-side .cap {
    left: auto;
    right: 18px;
  }
}

/* ---- Keep these LTR ---- */
.live-tag,
.readout-trace,
.readout-grid,
.showcase-viewport,
.showcase-track,
.journey-track,
.c-promise-trace,
.c-hero-ecg,
.pd-slider-track {
  direction: rtl;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--hr), var(--hr-dim));
  border-radius: 50px;
  border: 2px solid #f3f7f8;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--hr), var(--hr-dim));
}

@keyframes pulseLoop {


  from {
    transform: translateX(0);
  }


  to {
    transform: translateX(50%);
  }


}

.about::before {
  right: -160px;
}

.sc-arrow svg {
  transform: rotate(360deg);
}

@keyframes journeyMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(50%);
  }
}

@keyframes partnerMove{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(50%);
    }
}