 
    /* openings مثل offers بالضبط على الدِسكتوب */
.openings-card{
  border-radius:12px;
  overflow:hidden;
  height:300px;
  display:block;
}
.openings-card img{
  width:100%; height:100%;
  object-fit:cover; display:block;
}
@media (min-width:1200px){ .openings-card{ height:320px; } }
    
    .ad,
.ad--between-sections,
.adsbygoogle {
  margin: 8px auto !important;
  padding: 0 !important;
  line-height: 0 !important;
  display: block !important;
}
    /* إصلاح عرض "أحدث العروض" على الموبايل فقط */
.sec-1-mob .offers{
  display: grid;
  grid-template-columns: 1fr;   /* كرت واحد بعرض الشاشة */
  gap: 12px;
}

.sec-1-mob .offer-card{
  height: 220px;                /* ارتفاع معقول على الشاشات الصغيرة */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 400px){
  .sec-1-mob .offer-card{ height: 260px; }
}

.sec-1-mob .offer-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;            /* تمنع تمدد/تشوّه الصورة */
  display: block;
}

.sec-1-mob .offer-overlay{
  position: absolute;
  inset: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;    /* العنوان يجي تحت */
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

.sec-1-mob .offer-text{
  margin: 6px 0 0;
  font-size: 1rem;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;        /* ما يزيد عن سطرين */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
    
        .last-mall-mob {
            display: none;
        }
        .sec-1-mob {
            display: none;
        }
      @media screen and (max-width: 768px) {
  .last-mall { display: none; }
  .mall-sec-web { display: none; }
  .last-mall-mob  { display: block; }
  .sec-1 { display: none; }
  .sec-1-mob { display: block; }
}
        /* امنع ظهور الإعلانات داخل هذه الأقسام */
header ins.adsbygoogle,
.hero ins.adsbygoogle,
.home-tabs ins.adsbygoogle,
nav ins.adsbygoogle {
  display: none !important;
}

/* قلل الفراغات حول أي إعلان تلقائي */
ins.adsbygoogle, .adsbygoogle, .adsbygoogle div {
  margin: 5px 0 !important;
  padding: 0 !important;
  display: block !important;
}
/* سكشن مدمج: أقل حشوات وخطوط أصغر على الموبايل */
.hero-compact { background: #fff; }
.hero-compact h2 { margin: 0; }

/* شعارات المتاجر مصغّرة ومتّسقة */
.store-badge img {
  height: 38px; width: auto; display: block;
}

/* شبكة الأرقام: 3 أعمدة على الموبايل والديسكتوب */
.stats-compact {
  display: grid; gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  background: #f7f7f7; border-radius: 10px; padding: 8px;
}
.stats-compact .stat {
  text-align: center; background: #fff; border-radius: 8px; padding: 8px 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.stat-key { font-size: 12px; color: #333; line-height: 1; }
.stat-sub { font-size: 11px; color: #888; margin-top: 2px; line-height: 1; }
.stat-val { font-size: 20px; font-weight: 800; margin-top: 6px; }

/* أيقونات السوشال مصغّرة */
.social-compact img {
  width: 32px; height: 32px; display: block; border-radius: 50%;
}

/* تضبيط مسافات عامة */
.hero-compact .gap-2 { gap: 6px !important; }

/* شاشات md وأكبر: مساحة أوسع لكن ما نكبر الارتفاع كثير */
@media (min-width: 768px) {
  .hero-compact { padding-top: 16px; padding-bottom: 16px; }
  .store-badge img { height: 44px; }
  .stat-val { font-size: 22px; }
}

/* تصغير إضافي على الشاشات الصغيرة جداً */
@media (max-width: 400px) {
  .store-badge img { height: 34px; }
  .stat-val { font-size: 18px; }
}
/* ========== SEC-1 COMPACT ==========
   يقلّل الارتفاع العام ويضبط البطاقات على الموبايل
*/
.sec-compact { --card-radius: 10px; }
.sec-compact .fs-7{font-size:.875rem}
.sec-compact .blogs { display: grid; gap: 8px; }
.sec-compact .blog-item{
  display:flex; gap:8px; align-items:center; padding:6px;
  background:#fff; border-radius:var(--card-radius);
  box-shadow:0 1px 3px rgba(0,0,0,.06);
}
.sec-compact .blog-thumb{
  width:104px; height:70px; border-radius:8px; overflow:hidden; flex-shrink:0;
}
.sec-compact .blog-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.sec-compact .blog-meta{ min-width:0; }
.sec-compact .blog-title{
  font-size:.95rem; line-height:1.25; margin:0 0 4px; color:#111;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.sec-compact .blog-time{ font-size:.8rem; color:#888; }

/* عروض — بطاقة مدمجة */
.sec-compact .offers{ display:grid; gap:10px; }
.sec-compact .offer-card{
  position:relative; border-radius:var(--card-radius); overflow:hidden; height:220px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.sec-compact .offer-card img{ width:100%; height:100%; object-fit:cover; display:block; }
.sec-compact .offer-overlay{
  position:absolute; inset:0; padding:8px; display:flex; flex-direction:column; justify-content:space-between;
  background:linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.55));
}
.sec-compact .offer-text{
  color:#fff; margin:0; font-weight:500; font-size:1rem;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

 

/* شاشات أكبر */
@media (min-width: 768px){
  .sec-compact .offer-card{ height:280px; }
  .sec-compact .blog-thumb{ width:120px; height:78px; }
}

/* ديسكتوب عريض */
@media (min-width: 1200px){
  .sec-compact .offer-card{ height:320px; }
}
/* خلفية السكشن كانت div بارتفاع 250px – حوّلناها ::before مرنة */
.last-mall {
  position: relative;
}
.last-mall::before {
  content:"";
  position:absolute; left:0; right:0;
  height:140px;                 /* بدل 250px */
  top:56px;                     /* بدل mt-60px */
  background:#f8f9fa;           /* bg-light */
  z-index:-1;
}

/* ارتفاعات مرنة بدل h-520px/h-250px */
.last-mall__hero   { height: clamp(260px, 40vw, 440px); }
.last-mall__tile   { height: clamp(120px, 24vw, 200px); }

/* تقليل الفواصل */
.last-mall .row    { margin-top: 1rem !important; } /* كان mt-5 */
.last-mall hr      { margin: .75rem 0 !important; }
.last-mall .btn-text { padding: 0; }

/* سكشن الموبايل: كرت السلايدر بارتفاع معقول */
.last-mall__slide  { height: 300px; border-radius: 12px; }
@media (max-width: 420px){
  .last-mall__slide { height: 260px; }
}

/* فراغ بين السكشنين (حل نهائي) */
.mobile__section + .last-mall,
.mobile__section + .last-mall-mob {
  margin-top: .5rem !important;
}
.mobile__section { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* منع أي فراغات “شبحية” من إعلانات أدسنس */
.ad-block{ width:100%; min-height:120px; }
.ad-block .adsbygoogle{ display:block !important; width:100% !important; min-height:120px; }
 ins.adsbygoogle { margin:8px 0 !important; padding:0 !important; line-height:0 !important; display:block !important; }
/* صورة بارتفاع مرن – تمنع الانفجار */
.card-thumb{ aspect-ratio: 4/3; width:100%; overflow:hidden; border-radius:12px; }
@media (min-width:768px){ .card-thumb{ aspect-ratio: 16/9; } }
.card-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* قص العنوان لسطرين */
.clamp-2{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* شدّ المسافات */
.last-mojm3at-mob, .last-shops-mob, .last-mall-mob{ margin-top:12px !important; }
.owl-item{ padding:0 4px; }
.owl-stage-outer{ padding:0 !important; }

/* تعطيل أي ارتفاعات قديمة */
.h-520px, .h-400px, .h-250px, .h-180px{ height:auto !important; }
.hero-text {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* يعرض سطرين فقط */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.2em; /* ارتفاع السطرين */
}

.hero-text.expanded {
  -webkit-line-clamp: unset;
  max-height: none;
}

.read-more-btn {
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 5px;
  display: inline-block;
}
  .last-mall-mob {
            display: none;
        }
        .sec-1-mob {
            display: none;
        }
        @media screen  and (max-width: 600px) {
            .last-mall {
                display: none;
            }
            .mall-sec-web {
                display: none;
            }
            .last-mall-mob  {
                display: block;
            }
            .sec-1{
                display: none;
            }
            .sec-1-mob {
                display: block;
            }
            

        }
        /* امنع ظهور الإعلانات داخل هذه الأقسام */
header ins.adsbygoogle,
.hero ins.adsbygoogle,
.home-tabs ins.adsbygoogle,
nav ins.adsbygoogle {
  display: none !important;
}

/* قلل الفراغات حول أي إعلان تلقائي */
ins.adsbygoogle, .adsbygoogle, .adsbygoogle div {
  margin: 5px 0 !important;
  padding: 0 !important;
  display: block !important;
}
/* سكشن مدمج: أقل حشوات وخطوط أصغر على الموبايل */
.hero-compact { background: #fff; }
.hero-compact h2 { margin: 0; }

/* شعارات المتاجر مصغّرة ومتّسقة */
.store-badge img {
  height: 38px; width: auto; display: block;
}

/* شبكة الأرقام: 3 أعمدة على الموبايل والديسكتوب */
.stats-compact {
  display: grid; gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  background: #f7f7f7; border-radius: 10px; padding: 8px;
}
.stats-compact .stat {
  text-align: center; background: #fff; border-radius: 8px; padding: 8px 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.stat-key { font-size: 12px; color: #333; line-height: 1; }
.stat-sub { font-size: 11px; color: #888; margin-top: 2px; line-height: 1; }
.stat-val { font-size: 20px; font-weight: 800; margin-top: 6px; }

/* أيقونات السوشال مصغّرة */
.social-compact img {
  width: 32px; height: 32px; display: block; border-radius: 50%;
}

/* تضبيط مسافات عامة */
.hero-compact .gap-2 { gap: 6px !important; }

/* شاشات md وأكبر: مساحة أوسع لكن ما نكبر الارتفاع كثير */
@media (min-width: 768px) {
  .hero-compact { padding-top: 16px; padding-bottom: 16px; }
  .store-badge img { height: 44px; }
  .stat-val { font-size: 22px; }
}

/* تصغير إضافي على الشاشات الصغيرة جداً */
@media (max-width: 400px) {
  .store-badge img { height: 34px; }
  .stat-val { font-size: 18px; }
}
/* ========== SEC-1 COMPACT ==========
   يقلّل الارتفاع العام ويضبط البطاقات على الموبايل
*/
 
 .sec-compact .fs-7 { font-size: .875rem; }
.sec-compact .blogs { display: grid; gap: 8px; }
.sec-compact .blog-item{
  display:flex; gap:8px; align-items:center; padding:6px;
  background:#fff; border-radius:var(--card-radius);
  box-shadow:0 1px 3px rgba(0,0,0,.06);
}
.sec-compact .blog-thumb{
  width:104px; height:70px; border-radius:8px; overflow:hidden; flex-shrink:0;
}
.sec-compact .blog-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.sec-compact .blog-meta{ min-width:0; }
.sec-compact .blog-title{
  font-size:.95rem; line-height:1.25; margin:0 0 4px; color:#111;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.sec-compact .blog-time{ font-size:.8rem; color:#888; }

/* عروض — بطاقة مدمجة */
.sec-compact .offers{ display:grid; gap:10px; }
.sec-compact .offer-card{
  position:relative; border-radius:var(--card-radius); overflow:hidden; height:220px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.sec-compact .offer-card img{ width:100%; height:100%; object-fit:cover; display:block; }
.sec-compact .offer-overlay{
  position:absolute; inset:0; padding:8px; display:flex; flex-direction:column; justify-content:space-between;
  background:linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.55));
}
.sec-compact .offer-text{
  color:#fff; margin:0; font-weight:500; font-size:1rem;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

 

/* شاشات أكبر */
@media (min-width: 768px){
  .sec-compact .offer-card{ height:280px; }
  .sec-compact .blog-thumb{ width:120px; height:78px; }
}

/* ديسكتوب عريض */
@media (min-width: 1200px){
  .sec-compact .offer-card{ height:320px; }
}
/* خلفية السكشن كانت div بارتفاع 250px – حوّلناها ::before مرنة */
.last-mall {
  position: relative;
}
.last-mall::before {
  content:"";
  position:absolute; left:0; right:0;
  height:140px;                 /* بدل 250px */
  top:56px;                     /* بدل mt-60px */
  background:#f8f9fa;           /* bg-light */
  z-index:-1;
}

/* ارتفاعات مرنة بدل h-520px/h-250px */
.last-mall__hero   { height: clamp(260px, 40vw, 440px); }
.last-mall__tile   { height: clamp(120px, 24vw, 200px); }

/* تقليل الفواصل */
.last-mall .row    { margin-top: 1rem !important; } /* كان mt-5 */
.last-mall hr      { margin: .75rem 0 !important; }
.last-mall .btn-text { padding: 0; }

/* سكشن الموبايل: كرت السلايدر بارتفاع معقول */
.last-mall__slide  { height: 300px; border-radius: 12px; }
@media (max-width: 420px){
  .last-mall__slide { height: 260px; }
}

/* فراغ بين السكشنين (حل نهائي) */
.mobile__section + .last-mall,
.mobile__section + .last-mall-mob {
  margin-top: .5rem !important;
}
.mobile__section { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* منع أي فراغات “شبحية” من إعلانات أدسنس */
.ad-block{ width:100%; min-height:120px; }
.ad-block .adsbygoogle{ display:block !important; width:100% !important; min-height:120px; }
 ins.adsbygoogle { margin:8px 0 !important; padding:0 !important; line-height:0 !important; display:block !important; }
/* صورة بارتفاع مرن – تمنع الانفجار */
.card-thumb{ aspect-ratio: 4/3; width:100%; overflow:hidden; border-radius:12px; }
@media (min-width:768px){ .card-thumb{ aspect-ratio: 16/9; } }
.card-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* قص العنوان لسطرين */
.clamp-2{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* شدّ المسافات */
.last-mojm3at-mob, .last-shops-mob, .last-mall-mob{ margin-top:12px !important; }
.owl-item{ padding:0 4px; }
.owl-stage-outer{ padding:0 !important; }

/* تعطيل أي ارتفاعات قديمة */
.h-520px, .h-400px, .h-250px, .h-180px{ height:auto !important; }


/* ديسكتوب: نسبة 16:9 */
.offer-card--desk{
  aspect-ratio: 16/9;
  border-radius: 12px;
}
.offer-card--desk img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.offer-overlay--desk{
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

/* موبايل: نسبة 4:5 تمنع الطول الزايد */
.offer-card--mob{
  aspect-ratio: 4/5;           /* بديل عن height ثابت */
  border-radius: 12px;
}
@media (min-width:400px){ .offer-card--mob{ aspect-ratio: 3/4; } }
.offer-card--mob img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.offer-overlay--mob{
  position:absolute; inset:0; padding:10px;
  display:flex; flex-direction:column; justify-content:flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}
   /* ديسكتوب: نسبة 16:9 */
.offer-card--desk{
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  position: relative; /* مهم */
}
.offer-card--desk img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.offer-overlay--desk{
  position:absolute; inset:0; padding:10px;
  display:flex; flex-direction:column; justify-content:flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
  z-index: 2;
}

/* موبايل: نسبة 4:5 تمنع الطول الزايد */
.offer-card--mob{
  aspect-ratio: 4/5;           /* بديل عن height ثابت */
  border-radius: 12px;
  overflow: hidden;
  position: relative;          /* هذا كان ناقص */
  display: block;
}
@media (min-width:400px){ .offer-card--mob{ aspect-ratio: 3/4; } }

.offer-card--mob img{
  width:100%; height:100%; object-fit:cover; display:block;
}

.offer-overlay--mob{
  position:absolute; inset:0; padding:10px;
  display:flex; flex-direction:column; justify-content:flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
  z-index: 2;                  /* يخلي الزر فوق الصورة */
}

/* منع أي عنصر يغطي الكرت داخل السلايدر */
#offers-carousel .owl-stage-outer,
#offers-carousel .owl-stage,
#offers-carousel .owl-item { position: relative; z-index: 1; }


/* ==== FIX: تعارض الموبايل ==== */

/* لو لسه في بطاقات باسم offer-card داخل sec-1-mob، الغِ ارتفاعها القديم */
.sec-1-mob .offer-card{ height:auto !important; }

/* بطاقة الموبايل الجديدة بنِسَب ثابتة */
.sec-1-mob .offer-card--mob{
  aspect-ratio: 4/5 !important;
  overflow: hidden;
  position: relative;
  display: block;
}
@media (min-width:400px){
  .sec-1-mob .offer-card--mob{ aspect-ratio: 3/4 !important; }
}
.sec-1-mob .offer-card--mob img{
  width:100%; height:100%; display:block; object-fit:cover;
}

/* منع أي عنصر من السلايدر يغطي البطاقة أو يغيّر أبعادها */
#offers-carousel .owl-stage-outer,
#offers-carousel .owl-stage,
#offers-carousel .owl-item{ position:relative; z-index:1; }

/* كرت السلايدر نفسه */
#offers-carousel .item{ border-radius:12px; overflow:hidden; }
/* اسمح بالسحب أفقياً وما تخلي الروابط توقفه */
#owl .owl-item { touch-action: pan-y; }        /* لا تمنع السحب */
#owl .item { pointer-events: none; }           /* العنصر نفسه ما ياخذ كلكات */
#owl .item a { pointer-events: auto; }         /* الروابط فقط هي اللي تتكلك */

