#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;*/
  /* Figma has a 96px gap between this section and "our brands" below it
     (products section bottom 1490 vs brands section top 1586) — was 30px. */
  margin-bottom: 96px;
  /* Bootstrap's .container caps this at ~1116px of usable width at this
     breakpoint, 20px short of the 1136px three 368px cards + two 15px
     gaps need to fit in a row — so the 3rd card was wrapping to its own
     row. Widen explicitly to match Figma's 1136px content width. */
  width: 1136px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


.card-small-desing-two{
  /* Figma's "our products" grid (node 8940:14998) uses 368x368 square
     cards, not this component's original 270px-tall rectangle. */
  height: 368px !important;
  width: 368px !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{
  /* Figma's card text sits 24px in from the left and bottom edges (node
     8940:15014 etc: left:24px, card bottom - text bottom = 368-319-25=24px)
     — was flush against the left/bottom (0/0), which is why the title
     looked jammed into the corner. */
  margin: auto 19px 24px 24px !important;
}

.card-small-desing-two .card-content .title{
  /* Figma's card title is 22px/25px line-height, not the 36px this <h2>
     was inheriting with no explicit override. */
  font-size: 22px !important;
  line-height: 25px !important;
  font-weight: 900 !important;
  margin-bottom: 0 !important;
}
.product-category-grid-two .categories .card-wrapper {
  /* Matches the 368px square card above (was a percentage-based width
     that no longer applies now that the card itself is a fixed 368px
     square per Figma). */
  width: 368px;
}
.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;
  }
}
