.index .bg-home section:nth-of-type(7) .grid {
    gap: 10px;
    grid-template-columns: 5.5fr 6.2fr 6.2fr !important;
    grid-template-rows: auto auto;
    grid-auto-flow: dense;
}

/* عمود 1 - يمتد على صفين */
.index .bg-home section:nth-of-type(7) .grid a:nth-child(1) {
    height: auto !important;
    aspect-ratio: 144 / 169;
    grid-column: 1 / 2;
    grid-row: 1 / 3 !important;
}

/* عمود 2 - صف 1 */
.index .bg-home section:nth-of-type(7) .grid a:nth-child(2) {
    height: auto !important;
    aspect-ratio: 360 / 181;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

/* عمود 3 - صف 1 */
.index .bg-home section:nth-of-type(7) .grid a:nth-child(3) {
    height: auto !important;
    aspect-ratio: 360 / 181;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

/* عمودين 2+3 - صف 2 */
.index .bg-home section:nth-of-type(7) .grid a:nth-child(4) {
    height: auto !important;
    aspect-ratio: 720 / 181;
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}


    .brand-sec .brand--div a img {
        height: auto !important;
        object-fit: contain;
    }

    .brand-sec .brand--div a img {
        height: auto;
    }
.brand-sec .brand--div a {
   
    justify-content: center !important;}

.index .bg-home section:nth-of-type(8) .grid a:nth-child(1)

 {
    height: auto !important;
    aspect-ratio: 189 / 221;
    grid-row-start: 1 !important;
    grid-row-end: 3 !important;
}

.index .bg-home section:nth-of-type(8) .grid a:nth-child(2) ,

.index .bg-home section:nth-of-type(8) .grid a:nth-child(3){
    height: auto !important;
    aspect-ratio: 213 /107;
   
}

.index .bg-home section:nth-of-type(8) .grid a:nth-child(4) {
    height: auto !important;
    aspect-ratio: 720/187;
    grid-column: span 2 / span 3;
}
.index .bg-home section:nth-of-type(8) .grid {
    gap: 10px;
    grid-template-columns: 5.65fr 6.2fr !important;
}


.s-product-card-entry .s-product-card-price,
.s-product-card-entry .s-product-card-sale-price h4,
.s-product-card-entry .s-product-card-starting-price h4
{
  color: red !important;
  font-size: 21px !important;
}





.s-product-card-content-footer .s-button-element  {
    color: #fff;
    font-weight: 600 !important ;
}


    .two-row .banner-entry:first-child {
       
        grid-row: unset !important;
    }
.index .bg-home .s-block--list-items .items.items-3
 {
    grid-template-columns: 1fr 1fr 1fr !important;
}

.index .bg-home  section.s-block.s-block--list-items .items.items-2

 {
    grid-template-columns: 1fr 1fr !important;
}


.index .bg-home section:nth-of-type(1) .grid

 {
   margin-top: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.index .bg-home section:nth-of-type(2) .grid

 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.index .bg-home section:nth-of-type(1) .grid a.banner-entry.square-photos
 {
    aspect-ratio: 1000 / 359;
    height: auto;
}
.index .bg-home section:nth-of-type(2) .grid a.banner-entry.square-photos
 {
    aspect-ratio: 1;
    height: auto;
}

.index :is(section.s-block.s-block--photos-slider, section.s-block.s-block--categories, header.store-header, .s-block) {
    max-width: 1250px;
    margin: 25px auto;
    width: 100%;
}
.brand-sec .brand--div a h3{
  display: none;
}
.brand-sec .brand--div a{
  border: 1px solid #aaa;
  border-radius: 7px;
      padding: 5px !important;
}

@media(min-width:768px){
.index .bg-home section:nth-of-type(2) ,
  .index .bg-home section:nth-of-type(8){
  display: none !important;
}
.index .bg-home section:nth-of-type(4) .swiper-slide.slide-catg

 {
    width: 16.6% !important;
}
  
}



@media(max-width:768px){
.index .bg-home section:nth-of-type(1) , 
  .index .bg-home section:nth-of-type(7){
  display: none !important;
}
  .index .bg-home section:nth-of-type(4) .s-slider-swiper-wrapper
 {
    transition: none !important;
    transform: none !important;
    flex-wrap: wrap !important;
}
.index .bg-home section:nth-of-type(4) .swiper-slide.slide-catg

 {
    width: 33% !important;
}
  
}