/* Add custom CSS styles below */ 

:root {
    --main-color: #771328;
    --secondary-color: #586664;
    --white-color:#fff;
    --sup-color: #FF6D1F;
    --black-color: black;
    --linear-color: linear-gradient(180deg, rgba(195,166,134,0.9304096638655462) 6%, rgba(195,166,134,1) 17%, rgba(177,148,115,1) 74%);
    
}
body {
    background-color: var(--white-color) !important;
}
section:not(:nth-of-type(1)) {
  margin-top: 150px !important;
  margin-bottom: 150px !important;
}
section:nth-of-type(7){
   margin-top: 0px !important;
  margin-bottom: 50px !important;
}
section:nth-of-type(8){
   margin-top: 0px !important;
}
@media (max-width: 768px) {
  section:not(:nth-of-type(1)):not(:nth-of-type(8)) {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
  }
}

/*** الاقسام ****/
@media(max-width:768px){
  section:nth-of-type(2) .grid{
  grid-template-columns: repeat(3,minmax(0,1fr));
}
   section:nth-of-type(2) .grid a{
    height: 100px !important;
  }
}
/*** الهيدر ****/

.s-block__title{
  display: flex;
  justify-content: center;
}

.s-block__title h2{
  font-size: 36px;
  font-weight: 700;
  color: #771328;
  position: relative;
}
.right-side h2::before,
.right-side h2::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url('https://i.ibb.co/ZRDK3p4Y/Group-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0px 20px;
}

@media(max-width:576px){
  .s-block__title h2{
  font-size: 19px;
  font-weight: 700;
}
  .right-side h2::before,
.right-side h2::after {
  width: 20px;
  height: 20px;
  margin: 0px 10px;
}
}
/*** الهيدر ****/

/** titles style ***/
a.s-slider-block__display-all {
    background: var(--main-color);
    color: var(--white-color);
    padding: 7px 15px;
    border-radius: 50px !important;
    transition: all 0.3s ease-in-out;
}
.s-slider-block__display-all:hover {
    background: var(--main-color);
}

.s-products-slider-wrapper .s-slider-nav-arrow {
    background-color: var(--main-color);
        opacity: 1;
}

.s-products-slider-wrapper .s-slider-nav-arrow svg {
    fill: var(--white-color);
}


/**** المنتجات ***/

.s-product-card-entry {
    box-shadow: rgba(0, 0, 0, 0.30) 0px 1px 4px;
}
.s-product-card-entry * {
    justify-content: center;
    text-align: center;
}
.s-products-slider-card.swiper-slide {
    padding-block: 7px;
}
.s-product-card-content-sub *{
  color: #991b1b !important;
}
button.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline {
  cursor: pointer;
  position: relative;
  padding: 10px 24px;
  font-size: 18px;
  color: rgb(120, 19, 39);
  border: 2px solid rgb(120, 19, 39);
  border-radius: 34px;
  background-color: transparent;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  overflow: hidden;
}

button.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: rgb(120, 19, 39);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

button.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline:hover::before {
  scale: 6;
}

button.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline:hover {
  color: #fff;
  scale: 1.1;
  border: 2px solid #781327;
  box-shadow: 0 0px 20px rgba(193, 163, 98,0.4);
}

button.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline:active {
  scale: 1;
}
.s-product-card-image {
    background-color: transparent;
}
.s-product-card-image-contain {
    object-fit: cover !important;
}


.s-products-slider-card.swiper-slide {
    transition: transform 0.3s ease ;  
}

.s-products-slider-card.swiper-slide:hover {

    transform: translateY(-7px);  
}

.s-products-slider-card.swiper-slide {
    padding-top: 20px;
}




/**** المنتجات ***/



/*** مميزات استثنائية  ***/

section:nth-of-type(5) .grid{
  grid-template-columns: repeat(4,minmax(0,1fr));
}
section:nth-of-type(5) .grid .banner-entry:first-child {
    grid-column: span 1/span 1;
    grid-row: span 1/span 1;
}



@media(max-width:768px){
  section:nth-of-type(5) .grid{
  grid-template-columns: repeat(2,minmax(0,1fr));
}
  section:nth-of-type(5) .grid a{
    height: 100px !important;
  }
}
/*** مميزات استثنائية  ***/



/*** منصة متكاملة  ***/
section:nth-of-type(6) .banner-entry {
  position: relative;
  display: block;
}

section:nth-of-type(6) .banner-store-badges {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 10;
}

section:nth-of-type(6) .banner-store-badges a {
  display: block;
  line-height: 0;
}

section:nth-of-type(6) .banner-store-badges img {
  height: 36px;
  width: auto;
  display: block;
}

section:nth-of-type(6) .banner-store-badges img:hover{
  transform: scale(1.03);
}
section:nth-of-type(6) .grid a{
  height: 700px;
}
section:nth-of-type(6) .grid a .lazy__bg{
    background-size: cover !important;
}

@media(max-width:768px){
  section:nth-of-type(6) .banner-store-badges {
    top: 78%;
    left: 50%;
   
}
  section:nth-of-type(6) .grid a .lazy__bg{
    background-size: contain !important;
}
 section:nth-of-type(6) .grid a{
  height: 400px;
}
}
/*** منصة متكاملة  ***/


/*** شركة معتمدة لضمان الثقة ***/
section:nth-of-type(14) .grid{
  grid-template-columns: repeat(4,minmax(0,1fr));
}
 section:nth-of-type(14) .grid a{
  height: 100px;
}

@media(max-width:768px){
  section:nth-of-type(14) .grid{
  grid-template-columns: repeat(4,minmax(0,1fr));
}
}
/*** شركة معتمدة لضمان الثقة ***/

/*********** الفروع  ************/

section:nth-of-type(15) .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-template-areas: 
    "elryad    jadaa  car car"
    "eldammam  elmadyna car car"
    "elqaseem  . car car"
  ;
}

section:nth-of-type(15) .grid a:nth-of-type(1) { grid-area: elryad; }
section:nth-of-type(15) .grid a:nth-of-type(2) { grid-area: jadaa; }
section:nth-of-type(15) .grid a:nth-of-type(3) { grid-area: eldammam; }
section:nth-of-type(15) .grid a:nth-of-type(4) { grid-area: elmadyna; }
section:nth-of-type(15) .grid a:nth-of-type(5) { grid-area: elqaseem; }
section:nth-of-type(15) .grid a:nth-of-type(6) { grid-area: car; }

section:nth-of-type(15) .grid a{
  height: 90px !important;
    padding: 10px;
    box-shadow: 3px 4px 10px #00000021;
}
section:nth-of-type(15) .grid a .lazy__bg{
  background-size: 95% !important;
}
section:nth-of-type(15) .grid a:last-of-type{
  height: 400px !important;
   padding: 0px;
    box-shadow: unset !important;
}


@media(max-width:768px){
  section:nth-of-type(15) .grid a{
  height: 40px !important;
}
section:nth-of-type(15) .grid a:last-of-type{
  height: 150px !important;
}

}
/*********** الفروع  ************/


/*** مميزات استثنائية  ***/

section:nth-of-type(16) .grid{
  grid-template-columns: repeat(4,minmax(0,1fr));
}
section:nth-of-type(16) .grid .banner-entry:first-child {
    grid-column: span 1/span 1;
    grid-row: span 1/span 1;
}



@media(max-width:768px){
  section:nth-of-type(16) .grid{
  grid-template-columns: repeat(2,minmax(0,1fr));
}
  section:nth-of-type(16) .grid a{
    height: 100px !important;
  }
}
/*** مميزات استثنائية  ***/




/*** الفوتر ****/
.store-footer__inner {
background: #fff !important;
  color: #771328 !important;
}
.store-footer{
  background: #771328 !important;
}

.copyright-text *{
  color: #fff !important;
}
@media (max-width: 992px) {
    .store-footer__inner * {
        justify-content: center;
        text-align: center;
    }
}

section a{
  background-color: transparent !important;
}
.banner--fixed img, .banner-entry {
    background-color: transparent !important;
}
/*** الفوتر ****/