@media (min-width: 768px) {
  .RO-categories .container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 386px; /* غيّر هذا الرقم لو تبي ارتفاع مختلف */
  }

  /* الصورة الرئيسية - يسار */
  .RO-categories .container > div:last-child {
    flex: 0 0 533px;
    width: 533px;
    height: 100%;
  }

  /* بانر الخصم 20% - المنتصف */
  .RO-categories .container > a[href*="c595638515"] {
    flex: 0 0 311px;
    width: 311px;
    height: 100%;
  }

  /* عمود الساعات + المحافظ - يمين */
  .RO-categories .container > div.grid-cols-2 {
    flex: 0 0 423px;
    width: 423px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* صورة الساعات الفاخرة (فوق) */
  .RO-categories .container > div.grid-cols-2 > a[href*="c591020385"] {
    flex: 0 0 184px;
    height: 184px;
  }

  /* صورة محافظ راقية (تحت) */
  .RO-categories .container > div.grid-cols-2 > a[href*="c1830047155"] {
    flex: 0 0 184px;
    height: 184px;
  }
}
@media (max-width: 767px) {
  .grid.grid-cols-2.lg\:grid-cols-3 {
    grid-template-rows: auto 100px!important;
  }

  .grid.grid-cols-2.lg\:grid-cols-3 > .col-span-2.row-start-2 {
    height: 130px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 4px;
    overflow: hidden;
  }

  .grid.grid-cols-2.lg\:grid-cols-3 > .col-span-2.row-start-2 > div {
    padding: 0 !important;
    margin: 0 !important;
  }

  .grid.grid-cols-2.lg\:grid-cols-3 > .col-span-2.row-start-2 h1,
  .grid.grid-cols-2.lg\:grid-cols-3 > .col-span-2.row-start-2 h3 {
    margin: 0 !important;
  }
}
@media (max-width: 1023px) {
  img.image.w-full.h-auto.object-cover.rounded-lg {
    height: 280px !important; /* غيّر الرقم حسب الحجم اللي تبيه */
    width: 100% !important;
    object-fit: cover !important;
  }
}
@media (max-width: 767px) {
  /* تصغير البانر (الطول) */
  .grid.lg\:grid-cols-5 > div.lg\:col-span-2 {
    height: 220px !important;
  }

  .grid.lg\:grid-cols-5 > div.lg\:col-span-2 .w-full.justify-start.flex.flex-col {
    padding: 12px !important;
    gap: 10px !important;
  }

  /* تصغير النصوص جوه البانر عشان تناسب المساحة الأصغر */
  .grid.lg\:grid-cols-5 > div.lg\:col-span-2 h3 {
    font-size: 14px !important;
  }

  .grid.lg\:grid-cols-5 > div.lg\:col-span-2 h4 {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  .grid.lg\:grid-cols-5 > div.lg\:col-span-2 a {
    font-size: 12px !important;
    padding: 4px 12px !important;
  }

  .grid.lg\:grid-cols-5 > div.lg\:col-span-2 .s-count-down-item-value {
    font-size: 12px !important;
  }

  .grid.lg\:grid-cols-5 > div.lg\:col-span-2 .s-count-down-item-label {
    font-size: 8px !important;
  }

  /* تصغير كروت المنتجات عشان تتناسب مع نص الشاشة */
  .s-products-slider-card {
    width: 140px !important;
  }
}@media (max-width: 1023px) {
  article.grid.grid-cols-1.lg\:grid-cols-8 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* الصورتين - كل وحدة تاخذ عمود */
  article.grid.grid-cols-1.lg\:grid-cols-8 > div.lg\:col-span-3 {
    grid-column: span 1 / span 1 !important;
    height: 180px !important; /* عدّل الرقم حسب الطول اللي تبيه */
  }

  /* قسم النص + السلايدر تحتهم ياخذ عرض كامل بالصف التالي */
  article.grid.grid-cols-1.lg\:grid-cols-8 > div.lg\:col-span-2 {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 767px) {

  div.relative.w-full.swiper-slide {
    min-height: 0 !important;
    height: auto !important;
  }

  div.relative.w-full.swiper-slide > div.relative.z-10 {
    min-height: 0 !important;
    height: auto !important;
  }

  div.relative.w-full.swiper-slide > div.absolute.inset-0 {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  div.relative.w-full.swiper-slide > div.absolute.inset-0 picture {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  div.relative.w-full.swiper-slide > div.absolute.inset-0 picture img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    display: block !important;
  }
}
@media (max-width: 767px) {

  div.relative.w-full.swiper-slide {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  div.relative.w-full.swiper-slide > div.absolute.inset-0 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .swiper-wrapper,
  .swiper,
  .s-slider-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
@media (max-width: 767px) {
  section.RO_testimonials {
    margin-top: -60px !important;
  }
}