

:root{
  --brand:#2fbf71;
  --brand2:#ffb703;
  --dark:#0f172a;
  --muted:#64748b;
  --soft:#f6f8fb;
  --radius:18px;
  --new:#ffffff;
}

/* =================================================
   GLOBAL
================================================= */
html{ scroll-behavior:smooth; direction:rtl; }

body{
  margin:0;
  direction:rtl;
  text-align:right;
  color:var(--dark);
  font-family:'Cairo', sans-serif;
  line-height:1.8;
}

/* inherit font everywhere */
button,
input,
textarea,
select{
  font-family:inherit;
  font-weight:400;
}

/* Headings */
h1,h2,h3,h4,h5,h6{
  font-family:'Cairo', sans-serif;
  font-weight:800;
  line-height:1.35;
}

/* Helpers */
.muted{ color:var(--muted); }
.divider{
  width:100%;
  height:1px;
  background:rgba(15,23,42,.08);
}

/* =================================================
   TOPBAR
================================================= */
.topbar{
  background:linear-gradient(90deg, rgba(47,191,113,.12), rgba(255,183,3,.12));
  border-bottom:1px solid rgba(15,23,42,.06);
  font-size:.92rem;
  font-weight:500;
}
.topbar a{
  color:inherit;
  text-decoration:none;
}
.topbar a:hover{
  color:var(--brand);
}

/* =================================================
   NAVBAR (RTL FIXED)
================================================= */
.navbar{
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,.86);
  border-bottom:1px solid rgba(15,23,42,.06);
}

.navbar-nav{
  margin-right:auto;
  margin-left:0;
}

.brand-badge{
  width:42px;
  height:42px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:var(--dark);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,183,3,.40), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(47,191,113,.40), transparent 55%),
    #fff;
  border:1px solid rgba(15,23,42,.08);
}

.nav-link{
  color:rgba(15,23,42,.78);
  font-weight:600;
}
.nav-link:hover,
.nav-link.active{
  color:var(--brand)!important;
}

/* =================================================
   BUTTONS
================================================= */
.btn{
  font-family:'Cairo', sans-serif;
  font-weight:600;
}

.btn i{
  margin-left:.4rem;
  margin-right:0;
}

.btn-brand{
  --bs-btn-bg:var(--brand);
  --bs-btn-border-color:var(--brand);
  --bs-btn-hover-bg:#26a862;
  --bs-btn-hover-border-color:#26a862;
 
  border-radius:999px;
  padding:.72rem 1.05rem;
  box-shadow:0 12px 30px rgba(47,191,113,.18);
}

.btn-soft{
  border-radius:999px;
  padding:.72rem 1.05rem;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
}

/* =================================================
   SECTIONS
================================================= */
section{
  padding:80px 0;
}

.section-title{
  text-align:center;
}

.section-title .kicker{
  color:var(--brand);
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.82rem;
}

.section-title h2{
  font-weight:800;
}

.soft-bg{
  background:var(--soft);
}


/* =================================================
   HERO
================================================= */
/* =================================================
   HERO
================================================= */
.hero{
  padding:30px 0 80px;
  background:
    radial-gradient(circle at 10% 20%, rgba(47,191,113,.18), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(255,183,3,.18), transparent 40%),
    #fff;
}

/* الكارد */
.hero-card{
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  box-shadow:0 30px 70px rgba(2,6,23,.08);
  overflow:hidden;
}

/* =================================================
   HERO IMAGE (FINAL – PERFECT FIT)
================================================= */
.hero-media{
  width:100%;
  aspect-ratio: 4 / 3;          /* 🔥 التناسق المثالي */
  max-height:280px;             /* يمنع الطول الزائد */
  overflow:hidden;
  background:#f1f5f9;
}










/* =================================================
   CARDS
================================================= */
.mini-card,
.product,
.testimonial,
.cat-tile,
.deal{
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  text-align:right;
  padding: 10px;
}

.mini-card{
  box-shadow:0 20px 55px rgba(2,6,23,.06);
  transition:.18s ease;
}
.mini-card:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 80px rgba(2,6,23,.10);
}

.icon-pill{
  width:48px;
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(47,191,113,.12);
  border:1px solid rgba(47,191,113,.18);
  color:var(--brand);
  font-size:1.25rem;
}

/* =================================================
   PRODUCTS
================================================= */
.product{
  overflow:hidden;
  transition:.18s ease;
}
.product:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 80px rgba(2,6,23,.10);
}
.product .photo{
  height:200px;
  background:#f1f5f9;
  background-size:cover;
  background-position:center;
}
.price{
  font-weight:900;
  color:var(--brand);
}
.rating i{
  color:var(--brand2);
}

/* =================================================
   TESTIMONIALS
================================================= */
.avatar{
  width:46px;
  height:46px;
  border-radius:14px;
  background:rgba(47,191,113,.12);
  border:1px solid rgba(47,191,113,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:var(--brand);
}

/* =================================================
   SWIPER ARROWS RTL
================================================= */
.swiper-button-next::after,
.swiper-button-prev::after{
  transform:rotate(180deg);
}

/* =================================================
   FOOTER
================================================= */
footer{
  background:#0b1225;
  color:rgba(255,255,255,.84);
  padding:60px 0 25px;
  text-align:right;
}
footer a{
  color:rgba(255,255,255,.84);
  text-decoration:none;
}
footer a:hover{
  color:#fff;
}
.footer-card{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  padding:18px;
}

