/*************               البنرات                  ***************/

html body section.section-hero{
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
}

html body section.section-hero > div.absolute {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  width: 100% !important;
}

html body section.section-hero picture {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

html body section.section-hero picture img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

html body section.section-hero .bg-primary,
html body section.section-hero .theme-container {
  display: none !important;
}


/*************               البنرات                  ***************/



.section-gallery .grid{
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
.section-gallery .grid .media-wrap{
    aspect-ratio: auto !important;
}
@media(max-width:768px){
  .section-gallery .grid{
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
}
}



.\[\&\[data-items-count\=\'3\'\]\>\*\:first-child\]\:row-span-2[data-items-count="3"]>:first-child {
    grid-row: span 1/span 1 !important;
    grid-column: span 1/span 1 !important;
}


/**** ابل باي *****/
/* خلي الفورم flex عشان خاصية order تشتغل */
#product-form {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
}

/* نلغي مسافات space-y القديمة عشان ما تتلخبطش بعد إعادة الترتيب */
#product-form > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* الترتيب: الباقي (order:0) ← ابل باي ← تمارا ← تابي ← المشاركة */
#apple_pay_quick_checkout_widget { order: 1; }
tamara-widget.tamara-product-widget { order: 2; }
.tabby-product-widget { order: 3; }
#product-form > .border-t { order: 4; }





@media (min-width: 992px) { .my-cloned-language-shipping { display: none !important; } }