#slider_nn_mobile, .emenpe-test-one{
  display: none !important;
}

.categories .card-wrapper .card.size-small {
  width: 100%;
}

.swiper-card-category{
  height: 270px !important;
  width: 100% !important; 
  max-width: 270px;
  border-radius: 20px;

  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center;
}

.swiper .swaper-link {
  padding: 15px 20px 10px 20px;
}

.swiper-slide {
  width: auto;
}

#swiper-button-prev {
  background-image: url("https://stg-richscouk-staging.kinsta.cloud/wp-content/themes/richs.com-wordpress-theme/assets/dist/images-reskin/red-arrow-icon.svg") !important;
}

#swiper-button-next {
  background-image: url("https://stg-richscouk-staging.kinsta.cloud/wp-content/themes/richs.com-wordpress-theme/assets/dist/images-reskin/red-right-arrow.svg") !important;
}
  
#swiper-button-prev,
#swiper-button-next{
  background-repeat: no-repeat;
  background-position: center;
  position: static;
}

.arrow-custom{
  width: 36px;
  height: 36px;
  border-radius: 50px;
  font-size: 24px;
  cursor: pointer;
  background: #BA0C2F1A;
    margin: -5px;
}

#swiper-button-next:after, #swiper-button-prev:after{
  font-size: 0px !important;
}

.card-small-desing-two .btn.icon-btn.button-1,
.swiper .swaper-link{
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 900 !important;
  font-size: 22px !important;
  line-height: 25px !important;
  background: transparent !important;
  letter-spacing: 0px !important;
  color: #FFFFFF !important;
  text-transform: uppercase !important;
}

.card {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    padding: 10px;
    height: 370px;
    margin-right: 30px;
    position: relative;
    overflow: hidden;
}

.block.product-category-grid-two {
  margin-top: 2.5em;
}
.product-category-grid-two .categories { /* =========================================== */
  display: -webkit-box;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap:15px;
  /*margin-right: 30px;*/
  margin-bottom: 30px;
}


.card-small-desing-two{
  height: 270px !important;
  border-radius: 20px;
  padding: 0px !important;
}

.card-small-desing-two .btn.icon-btn.button-1,
.swiper .swaper-link{
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 900 !important;
  font-size: 22px !important;
  line-height: 25px !important;
  background: transparent !important;
  letter-spacing: 0px !important;
  color: #FFFFFF !important;
  text-transform: uppercase !important;
}

.card-small-desing-two .card-content *:hover{
  background: transparent !important;
  box-shadow: none !important;
}

.card-small-desing-two .card-content{
  margin: auto 19px 0px 0px !important;
}
.product-category-grid-two .categories .card-wrapper {
  width: calc(33% - 20px);
  /*width: calc(26% - 30px);*/
  /*margin-right: 30px;
  margin-bottom: 30px;*/
}
.image_button{
  display: none;
}

@media (max-width: 768px) {
  .product-category-grid-two .categories {
    margin-right: 0;
    gap:8px;
    margin-bottom: 60px !important;
  }
  .container.padding-size{
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: 98% !important;
  }
  .product-category-grid-two .categories .card-wrapper {
  width: calc(47% - 0px);
  /*width: calc(26% - 30px);*/
  /*margin-right: 30px;
  margin-bottom: 30px;*/
  }
  .product-category-grid-two .categories .card-wrapper:last-child:nth-child(odd) {
    width: 100% !important;
  }
  .card-small-desing-two {
    height: 188px !important;
  }
  .card-small-desing-two .btn.icon-btn.button-1  {
    font-size: 16px !important;
    padding-left: 10px !important;
    display: flex;
    width: 100%;
    justify-content: space-between;
     
  }
  .padding-size-title{
    padding: 0 32% 0 10px;
  }
  .block.product-category-grid-two {
    margin-top: 4.5em;
  }
  .card-small-desing-two .card-content {
    margin: auto 0px 0px 0px !important;
  }
  .image_button{
    width:24px;
    height: 24px; 
    vertical-align:middle;
    display: block;
  }
  .title-card-p{
    padding-top: 3px;
  }
  a.btn{
    padding-bottom: 4px !important;
  }
}
