@import "../../../styles/varibale.scss";

.categoryContainer {
  display: flex !important;
  flex-direction: column;
  border-radius: 20px;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  background: #ffffff;
   box-shadow: 0px 0px 50px rgb(0 0 0 / 10%);
  // margin-left: 1.5em;
  // position: absolute;
  // top: 5;
  // left: 0;
}

.carousel {
  overflow-y: scroll;
  height: 34.5rem !important;
  background: #ffffff;
  // box-shadow: 0px 0px 50px rgb(0 0 0 / 10%);
  border-radius: 10px;
  margin-top: -10px;


}

.innerCarousel {
  // overflow-y: scroll;
  // scrollbar-color: tranasparent;
  // scrollbar-width: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: $white;
  margin-top:0.5rem ;
  margin-bottom: 0.5rem;
  background: #ffffff;
  // box-shadow: 0px 0px 50px rgb(0 0 0 / 10%);
}

.carousel::-webkit-scrollbar {
  height: 5px;
  width: 0px;
  background: #fff3;
  -webkit-border-radius: 1ex;
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--accent);
  -webkit-border-radius: 1ex;
}

.carousel::-webkit-scrollbar-corner {
  background: #fff3;
}

.categoryCard {
  cursor: pointer;
  display: flex !important;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;

  // border-radius: 8px;

  // background: linear-gradient(white, white) padding-box, linear-gradient(118.81deg, rgba(41, 28, 97, 0.8) 5.94%, rgba(243, 70, 95, 0.8) 83.02%) border-box;
  // border-bottom: 0.7px solid #ECECEC;
  border-bottom-width: 1.4px;
  border-bottom-color: #ECECEC !important;
  border-style: solid;
  border-color: transparent;
  // border-radius: 6px;
  padding: 0.15em 0.5em;
  // max-height: 2.5rem;
  // height: 2.55rem;

  margin-bottom: 0.5em;
  &:last-child{
    border-bottom: 0;
  border-bottom-width: 0;
  }
}

.categoryText {
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  color: $primaryColor;
  padding-left: 0.5em;
}

.imageDisplay {
  object-fit: contain;
  height: 35px;
  width: auto;
}

.iconRightDisplay {
  color: #3C3C3C;
  width: 2.5em;
  height: 2.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.4px solid #3C3C3C;
  font-size: 12px;
  font-weight: 900;
  bottom: 0;
  opacity: 0.5;
  margin-top: 0.5em;
  cursor: pointer;
  position: relative;
  background: $white;
}

.iconRightDisplay:hover {
  opacity: 1;
}

.iconLeftDisplay {
  color:#3C3C3C ;
  width: 2.5em;
  height: 2.5em;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  border-radius: 50%;
  border: 1.4px solid #3C3C3C;
  top: -4px;
  z-index: 9;
  opacity: 0.5;
  margin-bottom: 0.5em;
  cursor: pointer;
  position: relative;
  background: $white;
}

.iconLeftDisplay:hover {
  opacity: 1;
}

.sliderMain {
  width: 100%;
}

.sliderMain {
  :global(.slick-list) {
    max-width: 100% !important;
  }
}

.sliderMain>div>div>div>div>div {
  margin: 0.25em 0;
}

.sliderMain>div>div>div>div>div>div {
  width: auto;
}

.sliderMain>div>div {
  margin: 0.25em 0;
}

.sliderMain>div>div::before {
  color: $primaryColor !important;
}

.sliderMain>div button::before {
  color: $primaryColor;
  opacity: 1;
}


.sliderMain>div>div {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1098.29px) {
  .categoryContainer {
    max-width: 10em;
  }
}

@media (max-width: 880px) {
  .categoryContainer {
    max-width: 8em;
  }
}

@media (max-width: 800px) {
  .categoryContainer {
    max-width: 6em;
  }
}


@media (min-width: 768px) {
  .categoryContainer {
    // height: 650px;
  }
}

.modalStyles {

  // :global(.ant-modal-close):hover {
  //   background-color:white;
  // }

  :global(.ant-modal-close-x) {
    margin-right: 1em;
    margin-top: 0.25em;
    font-size: 2em;
  }


}

@media (min-width:1440px){
  .carousel{
    height:39rem ;
  }
}

@media (min-width:1600px){
  .carousel{
    height:38rem ;
  }
}
@media (min-width:1800px){
  .carousel{
    height:43rem ;
  }
}
@media (min-width:1900px){
  .carousel{
    height:46.25rem ;
  }
  .categoryText{
    font-size: 14px;
  }
}
@media (min-width:1921px){
  .carousel{
    height:48.25rem ;
  }
}
