/* Add custom CSS styles below */ 
/* إخفاء البلوك: <div class="flex text-[#f11e1e] flex-grow shrink-0"> */
.flex.text-\[\#f11e1e\].flex-grow.shrink-0 {
  display: none !important;
}





/* عنوان نمط سلة مطابق للبنية المرسلة */
.abdoreview .home-block-title {
  margin-top: 6px;
  margin-bottom: 8px;
}

.abdoreview .home-block-title .text-store-text-primary {
  color: var(--store-text-primary, #111);
}

.abdoreview .home-block-title .text-store-text-secondary {
  color: var(--store-text-secondary, #555);
}

.abdoreview .home-block-title .anime-item {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease-2, ease), transform .4s var(--ease-2, ease);
}

.abdoreview .home-block-title.is-visible .anime-item {
  opacity: 1;
  transform: translateY(0);
}

.abdoreview .home-block-title .enhanced-title-border.home-block-line {
  display: inline-block;
  width: 72px;
  height: 3px;
  background: var(--color-primary, #b3af81);
  border-radius: 3px;
  margin-top: 10px;
  opacity: .9;
}

/* ضبط الأحجام كما هو بنمطك */
.abdoreview .home-block-title p.mt-2.text-3xl {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.25;
}

.abdoreview .home-block-title p.mt-2.text-lg {
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.8;
}









/* Abdoreview Masonry - Final CSS */
/* السيكشن */
.abdoreview {
  position: relative;
  z-index: 1; /* ضمان الظهور فوق خلفيات لاحقة إن وجدت */
}

/* حاوية Masonry */
.abdoreview .abdo-masonry {
  position: relative;
  width: 100%;
  margin-top: 18px;
  padding-bottom: 24px; /* مساحة داخلية سفلية لمنع الالتصاق بالفوتر */
}

/* بطاقة المراجعة (ديسكتوب/تابلت) */
.abdoreview .abdo-card {
  position: absolute;            /* يدار عبر JS */
  width: calc(25% - 18px);
  background: var(--bg-secondary, #fff);
  border: 1px solid var(--product-border-color, #eee);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, opacity .35s ease, top .2s ease, left .2s ease;
  opacity: 0;
}

/* إظهار بعد الجاهزية */
.abdoreview .abdo-masonry.is-ready .abdo-card {
  opacity: 1;
}

/* تحويم */
.abdoreview .abdo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,.1);
}

/* محتوى */
.abdoreview .abdo-card .abdo-head {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.abdoreview .abdo-card .abdo-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--product-border-color, #eee);
  flex: 0 0 56px;
}

.abdoreview .abdo-card .abdo-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--store-text-primary, #111);
  line-height: 1.2;
}

.abdoreview .abdo-card .abdo-meta {
  font-size: 12px;
  color: var(--store-text-secondary, #555);
  margin-top: 2px;
}

.abdoreview .abdo-card .abdo-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--store-text-primary, #111);
  margin: 0;
}

.abdoreview .abdo-card .abdo-rating {
  margin-top: 8px;
  color: #f59e0b;
  font-size: 14px;
}

/* حجز مساحة قبل الفوتر دائمًا */
.abdoreview,
.abdoreview .abdo-masonry {
  margin-bottom: 32px;
}

/* تابلت: 3 أعمدة افتراضيًا */
@media (max-width: 1279px) {
  .abdoreview .abdo-card {
    width: calc(33.333% - 16px);
  }
}

/* تابلت ضيق: عمودان */
@media (max-width: 1023px) {
  .abdoreview .abdo-card {
    width: calc(50% - 14px);
  }
}

/* موبايل: تعطيل التموضع المطلق كليًا + ارتفاع تلقائي */
@media (max-width: 639px) {
  .abdoreview .abdo-masonry {
    display: block;
    height: auto !important;     /* منع الطول الصفري */
    padding-bottom: 32px;         /* مساحة إضافية سفلية */
  }
  .abdoreview .abdo-card {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 0 14px !important;  /* مسافة بين البطاقات */
    opacity: 1;                   /* إظهار مباشر على الجوال */
  }
}

/* أنيميشن دخول متدرّج */
.abdoreview .abdo-masonry.is-ready .abdo-card:nth-child(2n) { transition-delay: .05s; }
.abdoreview .abdo-masonry.is-ready .abdo-card:nth-child(3n) { transition-delay: .10s; }
.abdoreview .abdo-masonry.is-ready .abdo-card:nth-child(4n) { transition-delay: .15s; }