section:nth-child(1 of .s-block--square-photos){ 
    max-width: 900px !important;
    margin: auto;
}


.grid.two-row:has(> .banner-entry) {
  display: grid !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
}

.grid.two-row > .banner-entry {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  height: auto !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 8px;
  overflow: hidden;
}

.grid.two-row:has(> .banner-entry:nth-child(2):last-child) > .banner-entry {
  aspect-ratio: 16 / 9;
}
.grid.two-row:has(> .banner-entry:nth-child(3)) > .banner-entry {background-size: contain !important;background-position: bottom !important;}

@media (max-width: 640px) {
  .grid.two-row:has(> .banner-entry) {
    grid-auto-flow: row !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .grid.two-row > .banner-entry:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    aspect-ratio: 16 / 9;
  }
}

.banner-entry,
.banner--fixed img {
  background-color: transparent !important;
}
@media(min-width:992px){
  section:nth-child(2 of .s-block--square-photos) .banner-entry.square-photos {
    height: 330px;
    background-size: contain!important;
  }
  section:nth-child(1 of .s-block--square-photos) {
    margin-bottom: 5rem !important;
}
}

.s-product-card .s-product-card-content-footer .s-button-btn {
    height: 2.25rem;
    border-radius: 16px;
    border: none !important;
    color: #fff !important;
    background-color: #0b3a5c !important; /* fallback */
    background-image: linear-gradient(90deg, #1a6fb0 0%, #0b3a5c 100%) !important;
    transition: filter .3s ease, transform .3s ease;
}

.s-product-card .s-product-card-content-footer .s-button-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.s-product-card .s-product-card-content-footer .s-button-btn .s-button-text,
.s-product-card .s-product-card-content-footer .s-button-btn i {
    color: #fff !important;
}

.s-block__title {
    justify-content: center !important;
}
.s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0 !important;
}
.s-products-carousel__title,
.s-block__title h2{
   font-size: 32px !important;
   font-weight: 900 !Important
}

@media (width <= 767px) {
    .store-footer:not(.store-footer--sheet)>.store-footer__inner, .store-footer:not(.store-footer--sheet)>.store-footer__bottom {
        display: flex !important;
    }
}

.store-footer__inner{
  background:#DADADA !important
}
.store-footer,
.store-footer__bottom {
    background: #07364e !important;
}
span.text-sm.copyright-text.text-gray-700{
  color:#fff !important
}
/* ===== خلفية القسم ===== */
.s-block--bundle-questions {
  background: #f4f7fa !important;
}

/* ===== صندوق السؤال ===== */
.s-block--bundle-questions details,
.s-block--bundle-questions [class*="item"] {
  background: #fff !important;
  border: 1px solid #0b3a5c1f !important;
  border-radius: 14px !important;
  box-shadow: inset -6px 0 0 #0b3a5c, 0 4px 14px rgba(11, 58, 92, 0.06) !important;
  transition: all 0.3s ease !important;
}

/* ===== تأثير الماوس ===== */
.s-block--bundle-questions details:hover,
.s-block--bundle-questions [class*="item"]:hover {
  transform: translateY(-2px) !important;
  border-color: #0b3a5c55 !important;
  box-shadow: inset -6px 0 0 #0b3a5c, 0 8px 22px rgba(11, 58, 92, 0.13) !important;
}


.s-block--bundle-questions summary,
.s-block--bundle-questions button {
  color: #0b3a5c !important;
  font-weight: 800 !important;
  font-size: 17px !important;
}


/* ===== نص الإجابة ===== */
.s-block--bundle-questions p {
  color: #3d5566 !important;
  line-height: 1.9 !important;
}
/* ===== القائمة الرئيسية ===== */
.main-menu > li > a {
  color: #0b3a5c !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  transition: color 0.25s ease !important;
}

.main-menu > li > a:hover {
  color: #07364e !important;
}

/* ===== القائمة المنسدلة ===== */
.main-menu li ul {
  background: #fff !important;
  border-radius: 14px !important;
  border: 1px solid #0b3a5c1f !important;
  box-shadow: 0 12px 30px rgba(11, 58, 92, 0.15) !important;
  padding: 8px !important;
}

.main-menu li ul a {
  color: #0b3a5c !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
}

.main-menu li ul a:hover {
  background: #0b3a5c !important;
  color: #fff !important;
}
/* ===== خلفية آراء العملاء ===== */
.s-block--custom-testimonials {
  background: #f4f7fa !important;
}