@import '../assets/fonts/sf-ui/index.css';
@import '../assets/fonts/montserrat/index.css';

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); */
}

a {
  cursor: pointer;
}

ul {
  list-style: none;
}

.pink {
  background-color: #FFE2E2;
}

.blue {
  background-color: #BAD7DF;
}

.green {
  background-color: #F6F6F6;
}

.gray {
  background-color: #BCBCBC;
}

.grow {
  transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(1.1);
}

.swiper {
  width: 100%;
  min-height: 400px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.discover-slides {
  overflow: hidden;
}

#splide2 .splide__slide {
  transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(0.95);
}

#splide2 .is-active,
.swiper-slide-dublicate-active,
.swiper-slide-active {
  transform: scale(1.1) !important;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#splide2 .splide__track {
  padding-top: 28px;
}


.wrapper {
  --padding: 1rem;

  padding-left: var(--padding);
  padding-right: var(--padding);
}

.header {
  padding-top: 2rem;
  padding-bottom: 0.1rem;
  max-height: 26.5px;
}

.navbar .navbar__img,
.navbar li {
  cursor: pointer;
  user-select: none;
}

.navbar__search {
  transform: rotate(90deg);
}

.intro__img {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  height: 215px;
}

.intro__img--overlay {
  top: 0;
  left: 0;
  width: calc(100% - 2rem);
  height: 100%;
  margin-left: 1rem;
  user-select: none;
}

.intro__lower {
  position: absolute;
  height: 30%;
  bottom: 0.9rem;
  left: 1rem;
  padding: 0.8rem;
  padding-left: 1rem;
}

.intro__text {
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.4rem;
  max-width: 78%;
}

.dots {
  position: absolute;
  max-width: 40%;
  display: flex;
  gap: 0.3rem;
  bottom: 0.7rem;
  left: 1rem;
  z-index: 2020;
}

.dot {
  outline: none;
  background-color: #fff;
  border-radius: 13rem;
  /* border: 1px solid #fff; */
  border: none;
  height: 0.3rem;
  width: 0.7rem;
  cursor: pointer;
}

.dot.is-active {
  width: 1.2rem;
  transition: all 0.9s ease-in-out;
}

.heading-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6rem;
  max-width: 72%;
}

.splide {
  user-select: none;
}

.slider {
  font-family: 'SF UI', sans-serif;
}

.slider button {
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  outline: none;
  border: none;
}

.slider button.active {
  color: rgb(240, 240, 240);
  background-color: #474141;
  border-radius: 0.6rem;
  padding: 0.4rem 0.5rem;
  font-weight: 700;
}

.slider-wrapper {
  padding: 2rem;
}

/* oil */

.card {
  margin-left: 1rem;
  margin-right: 1rem;
  background-color: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.13);
  margin-bottom: 2rem;
  /* width: 60%; */
  /* height: 300px; */
}

.item__wrapper {
  max-width: 100%;
  background-color: rgb(228, 0, 0);
  border-radius: 1.2rem;
  position: relative;
  width: 100%;
  height: 760px;
}

.card__img {
  width: 100%;
  height: 9rem;
  position: relative;
}

.card__img::after {
  z-index: 100;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.card__content {
  padding: 1rem;
}

.card__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  /* line-height: 1.6rem; */
}

.card__desc {
  font-size: 0.7rem;
  color:#C8BECC;
}

.card__heart {
  width: 0.6rem;
  height: 0.6rem;
  background-color: rgb(214, 214, 214);
  border-radius: 0.5rem;
  padding: 0.5rem;
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
}

.card__price {
  position: relative;
  align-self: flex-start;
  margin-bottom: -32px;
  bottom: 1.7rem;
  border-radius: 0.5rem;
  outline: none;
  padding: 0.4rem 0.6rem;
  background-color: rgb(44, 43, 43);
  color: rgb(218, 212, 212);
  font-weight: 500;
  font-size: 0.5rem;
}

.item__text {
  font-weight: 400;
  padding: 0.5rem;
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
}

.item p {
  margin-top: 0.2rem;
  margin-left: 0.3rem;
}

.item--wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.item--wrapper img {
  width: 1.6rem;
  padding-top: 1.2rem;
}

.card__colors > * {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
}

.recommend__cards {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  grid-gap: 0.5rem;
  margin-top: 2rem;
}

.recommend__cards .card {
  margin-inline: 0;
  width: 96%;
}

.recommend h2 {
  font-size: 1rem;
}

