*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
:root {
  --colorPrimary: #59ab6e;
  --colorSecondry: #69bb7e;
  --colorLight: #e9eef5;
  --colorDark: #212934;
  --textColor: #212529;
  --textColorLight: #cfd6e1;
  --textMuted: #bcbcbc;
  --textWarning: #ede861;
  --borderLight: #ced4da;
  --borderDark: #2d343f;
  --mainWhite: #fff;
  --mainBlack: #000;
  --bannerColor: #efefef;
}

html {
  font-size: 62.5%;
}
body {
  font-size: 1.4rem;
  color: var(--textColor);
}
p {
  font-weight: lighter;
}
@media screen and (min-width: 768px) {
  body {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 1024px) {
  body {
    font-size: 1.6rem;
  }
}

/* ========== scroll bar ================== */
body ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
/* Track */
body ::-webkit-scrollbar-track {
  background: #ebebeb;
  border-radius: 20px;
}

/* Handle */
body ::-webkit-scrollbar-thumb {
  background: #b8b8b8;
  border-radius: 20px;
}
/* ========== scroll bar ================== */

/* ========================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.block {
  padding: 0 2rem;
}

/* ================== btn ============================= */

.btn {
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 3px;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--colorPrimary);
  color: var(--mainWhite);
  border: 1px solid var(--colorPrimary);
}
.btn-secondry {
  border: 1px solid var(--colorPrimary);
  background-color: var(--mainWhite);
  color: var(--colorPrimary);
}

/* ================== navbar ============================= */
.navbar {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.navbar__menu {
  flex: 1;
}
.menu__list {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}
.menu__list.active {
  position: relative;
  max-height: 20rem;
  transition: all 0.4s ease;
}
.navbar__menu a {
  display: block;
  text-decoration: none;
  padding: 1rem;
  color: var(--textColor);
}
.menu__list > li {
  padding: 1rem 0;
}
.navbar__menu a.shop-name {
  display: inline-block;
  font-size: 4rem;
  font-weight: bold;
  color: var(--colorPrimary);
}
.fa-bars,
.fa-search,
.shopping-cart-icon {
  cursor: pointer;
}
.navbar__menu .menu__last-item {
  display: flex;
  align-items: center;
}
.search-box {
  display: flex;
  flex: 1;
  border: 1px solid var(--borderLight);
  border-radius: 5px;
  overflow: hidden;
}
.menu__last-item i {
  padding: 1rem;
}
.search-box input {
  padding: 1rem;
  flex: 1;
  border: none;
  outline: none;
  border-radius: 5px;
}
.shopping-cart-icon {
  position: relative;
}
.quantity-cart {
  position: absolute;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -0.2rem;
  right: 0rem;
  font-weight: bold;
  background-color: var(--colorLight);
  border-radius: 100%;
  display: none;
}
.quantity-cart.active {
  display: flex;
}
.search-box i {
  background-color: #e9ecef;
}
.hamberger-menu {
  align-self: flex-start;
  margin-top: 2.7rem;
}

@media screen and (min-width: 768px) {
  .navbar__menu {
    display: flex;
    align-items: center;
    flex: 1;
  }
  .navbar__menu .menu__list {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-height: max-content;
  }
  .navbar__menu .menu__list ul {
    display: flex;
    justify-content: space-evenly;
    flex: 1;
  }
  .navbar__menu .search-box {
    border: none;
  }
  .navbar__menu .search-box input {
    display: none;
  }
  .search-box i {
    background-color: var(--mainWhite);
  }
  .hamberger-menu {
    display: none;
  }
}

/* ========================search madal====================== */
.search-modal,
.search-modal-back-dray {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--mainWhite);
  z-index: -10;
  opacity: 0;
}
.search-modal {
  position: fixed;
}
.search-modal-back-dray {
  position: absolute;
  display: none;
}
.search-modal .search-modal__item {
  max-width: 900px;
  padding: 0 2rem;
  margin: 5rem auto;
  transform: translateY(-50vh);
}
.search-modal .search-box {
  font-size: 2.5rem;
}
.search-modal .fa-close {
  padding: 1rem;
  margin-bottom: 2rem;
  cursor: pointer;
  font-size: 1.8rem;
}
.search-modal .fa-search {
  padding: 1rem;
  background-color: var(--colorPrimary);
  border: 1px solid var(--colorPrimary);
  color: var(--mainWhite);
}

@media screen and (min-width: 768px) {
  .search-modal.active {
    z-index: 20;
    opacity: 1;
    animation: search-modalAnimation 0.5s ease;
  }
  .search-modal.active .search-modal__item {
    transform: translateY(0);
    transition: all 0.4s ease;
  }
  .search-modal.active .search-modal-back-dray {
    display: block;
  }
}

@keyframes search-modalAnimation {
  0% {
    background-color: var(--mainBlack);
    opacity: 0.5;
  }
  50% {
    background-color: var(--mainBlack);
    opacity: 0.7;
  }
  80% {
    background-color: var(--mainWhite);
    opacity: 1;
  }
  100% {
    background-color: var(--mainWhite);
    opacity: 1;
  }
}

/* -------------------------- shopping cart modal------------------------------------------------- */

.modal-cart {
  position: fixed;
  width: 280px;
  margin: 0 auto;
  background-color: white;
  z-index: 15;
  left: 50%;
  top: 0;
  transform: translate(-50%, -250vh);
  box-shadow: 0 0 14px 0px var(--borderLight);
  padding: 4rem 0.5rem 1rem 0.5rem;
  transition: 0.3s;
}
.modal-cart > .modal__item > span {
  position: absolute;
  right: 0;
  top: 0;
}
.modal-cart .fa-close {
  padding: 1.5rem 2rem;
}
.modal-cart .fa-close:hover {
  cursor: pointer;
}
.modal-cart.active {
  transform: translate(-50%, 15vh);
  transition: 0.3s;
}

.modal-cart-inner {
  max-height: 350px;
  overflow-y: auto;
  padding: 0 1.5rem;
}

.empty-cart {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal-cart.full .empty-cart {
  display: none;
}
.empty-cart img {
  max-width: 200px;
  margin: 3rem 0;
}
.empty-cart p {
  color: var(--colorPrimary);
  font-size: 2.2rem;
  font-weight: bold;
}

.shopping-cart-product {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0.3rem;
}
.shopping-cart-product img {
  width: 30%;
}
.shopping-cart-product {
  position: relative;
  border-bottom: 1px solid var(--borderLight);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}
.shopping-cart-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;

  align-items: flex-start;
  padding: 0 0.5rem 0 2rem;
  flex: 1;
}
.shopping-cart-quantity {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.shopping-cart-details > :last-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.shopping-cart-product .details-icon a {
  text-decoration: none;
  color: var(--mainBlack);
}
.shopping-cart-product .details-icon i {
  padding: 0.5rem;
  opacity: 0.4;
}
.shopping-cart-product .details-icon i:hover {
  cursor: pointer;
  opacity: 1;
}
.shopping-cart-product .fa-trash-o:hover {
  color: red;
}
.shopping-cart-product .fa-pencil:hover {
  color: var(--colorPrimary);
}
.shopping-cart-details > :first-child > * {
  margin: 0.5rem 0;
}
.shopping-cart-quantity .btn {
  padding: 0;
  font-size: 0.8rem;
}
.shopping-cart-quantity .btn i {
  padding: 0.6rem 0.7rem;
}
.shopping-cart-quantity span {
  background-color: var(--colorDark);
  color: var(--mainWhite);
  padding: 0.1rem 0.6rem;
  border-radius: 3px;
  font-weight: normal;
  margin: 0 0.3rem;
}
.modal-btn {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 1rem 0.5rem;
}
.modal-btn > div > div {
  display: flex;
  align-items: center;
}
.modal-btn .btn {
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
}
.modal-cart-back-dray {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 10;
}
.modal-cart-back-dray.active {
  display: block;
}

@media screen and (min-width: 375px) {
  .modal-cart {
    width: 320px;
  }
}
@media screen and (min-width: 425px) {
  .modal-cart {
    width: 380px;
  }
}
@media screen and (min-width: 650px) {
  .modal-cart {
    width: 550px;
  }
  .modal-btn .btn {
    padding: 1rem 1.5rem;
  }
  .shopping-cart-details {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .shopping-cart-details > :last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
  }
  .shopping-cart-details .details-icon {
    order: 2;
    display: flex;
  }
  .shopping-cart-product .details-icon i {
    margin-top: 0.7rem;
  }
  .shopping-cart-details > :first-child > * {
    margin: 1rem 0;
  }
}

/* ============= hero banner ============================== */
.hero-banner {
  background-color: var(--bannerColor);
  display: flex;
  position: relative;
}
.hero-banner > div {
  display: flex;
}
.hero-banner .swiper {
  position: initial;
}
.hero-banner .swiper-slide {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hero-banner img {
  width: 100%;
}
.hero-banner__text {
  padding-bottom: 5rem;
  line-height: 1.3;
}
.hero-banner__text h2,
.hero-banner__text h3,
.hero-banner__text p {
  letter-spacing: 0.03rem;
  opacity: 0.9;
}
.hero-banner__text h2 {
  font-weight: lighter;
  color: var(--colorPrimary);
}
.hero-banner__text h3,
.hero-banner__text p {
  padding-left: 0.5rem;
}

.hero-banner .swiper-button-next,
.hero-banner .swiper-rtl .swiper-button-prev {
  right: 5px;
}
.hero-banner .swiper-button-prev,
.hero-banner .swiper-rtl .swiper-button-next {
  left: 5px;
}
.hero-banner .swiper-button-next,
.hero-banner .swiper-button-prev {
  color: var(--colorSecondry);
  opacity: 0.5;
}
.hero-banner .swiper-button-next:hover,
.hero-banner .swiper-button-prev:hover {
  color: var(--colorPrimary);
  opacity: 1;
}
.hero-banner .swiper .swiper-pagination {
  padding: 1rem 0;
}
.hero-banner .swiper-pagination-bullet {
  background-color: var(--colorSecondry);
  opacity: 0.5;
  width: 35px;
  height: 3px;
  border-radius: 0;
}
.hero-banner .swiper .swiper-pagination-bullet-active {
  background-color: var(--colorPrimary);
  opacity: 1;
}
.hero-banner .swiper {
  max-width: 300px;
  margin: 0 4rem;
}
@media screen and (min-width: 375px) {
  .hero-banner .swiper {
    max-width: 365px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 425px) {
  .hero-banner .swiper {
    max-width: 415px;
  }
}
@media screen and (min-width: 540px) {
  .hero-banner .swiper {
    max-width: 530px;
  }
}
@media screen and (min-width: 650px) {
  .hero-banner .swiper {
    max-width: 640px;
  }
}
@media screen and (min-width: 768px) {
  .hero-banner .swiper {
    max-width: 758px;
  }
  .hero-banner .swiper-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .hero-banner img {
    order: 2;
  }
  .hero-banner .swiper-slide > div,
  .hero-banner .swiper-slide > img {
    width: 50%;
    padding: 3rem;
  }

  .hero-banner__text {
    width: 50%;
  }
  .hero-banner .swiper .swiper-pagination {
    padding: 2rem 0;
  }
}
@media screen and (min-width: 820px) {
  .hero-banner .swiper {
    max-width: 810px;
  }
}
@media screen and (min-width: 920px) {
  .hero-banner .swiper {
    max-width: 910px;
  }
}
@media screen and (min-width: 1024px) {
  .hero-banner .swiper {
    max-width: 1140px;
  }
}
@media screen and (min-width: 1250px) {
  .hero-banner .swiper-button-next,
  .hero-banner .swiper-rtl .swiper-button-prev {
    right: 50px;
  }
  .hero-banner .swiper-button-prev,
  .hero-banner .swiper-rtl .swiper-button-next {
    left: 50px;
  }
}
/* ---------------------categories----------featured product----------------------- */
.categories,
.featured {
  min-height: 100vh;
}
.categories-inner,
.featured-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5rem 0;
}
.header-categories,
.header-featured {
  text-align: center;
  margin: 2.5rem;
  margin-bottom: 4rem;
}
.header-categories h2,
.header-featured h2 {
  font-weight: lighter;
  letter-spacing: 0.12rem;
  margin-bottom: 1rem;
}
.header-categories p,
.header-featured p {
  max-width: 500px;
}
.body-categories,
.body-featured {
  width: 100%;
  margin-top: 4rem;
}
.body-categories,
.body-categories .product-categories,
.body-featured {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.body-categories > :nth-child(2),
.body-featured > :nth-child(2) {
  margin: 6rem 0;
}
.product-categories,
.featured-product {
  width: 300px;
}
.body-categories img {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 50%;
  object-fit: cover;
}
.body-categories h2 {
  margin: 1.5rem 0;
}

/* featured product------------------ */
.featured {
  background-color: var(--colorLight);
}
.body-featured img {
  width: 100%;
  object-fit: cover;
}
.featured-product {
  border: 1px solid #ddd;
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--mainWhite);
}
.details-featured {
  padding: 0 1rem;
}
.details-featured > div {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
}
.details-featured .review-featured {
  margin: 1.5rem 0;
  display: inline-block;
  color: var(--textMuted);
}
.details-featured .price {
  color: var(--textMuted);
}
@media screen and (min-width: 375px) {
  .product-categories,
  .featured-product {
    width: 360px;
  }
}
@media screen and (min-width: 425px) {
  .product-categories,
  .featured-product {
    width: 380px;
  }
}
@media screen and (min-width: 768px) {
  .body-categories,
  .body-featured {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
  .categories-inner,
  .featured-inner {
    margin: 5rem 0;
  }
  .body-categories > :nth-child(2),
  .body-featured > :nth-child(2) {
    margin: 0 6rem;
  }
  .product-categories,
  .featured-product {
    max-width: 300px;
  }
  .details-featured {
    min-height: 200px;
    max-height: 250px;
  }
}
/* ----------------------- footer ------------------------------------- */

.main-footer {
  background-color: var(--colorDark);
  color: var(--textColorLight);
  padding: 10rem 0;
  min-height: 50vh;
}
.main-footer a {
  text-decoration: none;
  color: var(--textColorLight);
  width: max-content;
  transition: 0.3s;
}
.main-footer .footer-link a {
  padding: 0.3rem 0;
  width: max-content;
}
.footer-link a:hover {
  color: var(--colorSecondry);
}
.footer-contact,
.footer-products,
.footer-further {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}
.footer-contact h2,
.footer-products h2,
.footer-further h2 {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--borderDark);
}
.footer-contact h2 {
  color: var(--colorPrimary);
}
.footer-contact i {
  margin-right: 0.5rem;
}
.footer-contact > :nth-child(2):hover,
.footer-contact a:hover i {
  color: var(--textColorLight);
}
.footer-social {
  border-top: 1px solid var(--borderDark);
}
.footer-icon {
  display: flex;
  margin-top: 2rem;
  font-size: 1.6rem;
}
.footer-icon a {
  width: 35px;
  height: 35px;
  border: 1px solid var(--borderDark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
  overflow: hidden;
}
.footer-email {
  margin-top: 2rem;
}
.footer-icon a:hover {
  background-color: var(--textColorLight);
}
.footer-icon a:hover i {
  color: var(--colorDark);
}
.footer-email > div {
  max-width: 350px;
  border: 1px solid var(--borderDark);
  display: flex;
  border-radius: 5px;
  overflow: hidden;
}
.footer-email > div * {
  padding: 1rem;
}
.footer-email input {
  flex: 1;
  background-color: var(--colorDark);
  color: var(--textColorLight);
  outline: none;
  border: 0;
}
.footer-email span {
  background-color: var(--colorPrimary);
  color: var(--textColorLight);
}
@media screen and (min-width: 768px) {
  .footer-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-link > div {
    width: 30%;
  }
  .footer-social {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ----------------------------------- About.html --------------------------------------------- */
/* ----------------------------------- About.html  -------------------------------------------- */
/* ----------------------------------- About.html  -------------------------------------------- */
/* ----------------- about hero banner------------- */
.about-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--colorPrimary);
  color: var(--mainWhite);
  min-height: 90vh;
}
@media screen and (min-width: 768px) {
  .about-hero {
    min-height: 60vh;
  }
  .about-hero .about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .about-hero img {
    width: 40%;
  }
}
/* ---------------------- our services ------- our brands----------------------- */
/* ----our services------- */
.services,
.brands {
  margin: 7rem 0;
}
.header-services,
.header-brands {
  text-align: center;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header-services p,
.header-brands p {
  max-width: 500px;
}
.body-services {
  justify-content: center;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  grid-gap: 2rem 2.5rem;
  padding-top: 2.5rem;
}
.body-services > div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 2px 11px 0px #ccc;
  transition: 0.4s;
}
.body-services i {
  color: var(--colorPrimary);
  font-size: 6rem;
  margin-bottom: 1rem;
}
.body-services .fa-truck {
  transform: rotateY(180deg);
}
.body-services p {
  font-size: 1.9rem;
  font-weight: bold;
  transition: 0.5s;
}
.body-services > div:hover {
  background-color: var(--colorPrimary);
}
.body-services > div:hover i,
.body-services > div:hover p {
  color: var(--mainWhite);
}
/* ------our brands----------------- */

.our-brands {
  background-color: var(--colorLight);
}
.brands {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.body-brands {
  position: relative;
  width: 300px;
  margin-top: 2.5rem;
}
.our-brands .swiper {
  max-width: 70%;
  position: initial;
}
.our-brands .swiper-slide {
  display: flex;
  justify-content: center;
}
.our-brands img {
  width: 30px;
  margin: 0 1rem;
  filter: grayscale(0.9);
  opacity: 0.5;
  transition: 0.4s;
}
.our-brands img:hover {
  filter: grayscale(0);
  cursor: pointer;
  opacity: 1;
}

.our-brands .swiper-button-next::after,
.our-brands .swiper-button-prev::after {
  color: var(--borderLight);
  font-size: 1.5rem;
  font-weight: bold;
}

@media screen and (min-width: 425px) {
  .body-brands {
    width: 400px;
  }
}
@media screen and (min-width: 550px) {
  .body-brands {
    width: 500px;
  }
  .our-brands img {
    width: 10%;
  }
}
@media screen and (min-width: 768px) {
  .body-services > div {
    min-height: 180px;
  }
  .body-brands {
    width: 700px;
  }
  .our-brands img {
    width: 15%;
    margin: 0 1.5rem;
  }
}
@media screen and (min-width: 850px) {
  .body-brands {
    width: 830px;
  }
}
@media screen and (min-width: 1024px) {
  .our-brands img {
    width: 17%;
    margin: 0 2rem;
  }
}
/* ----------------------------------- contact.html --------------------------------------------- */
/* ----------------------------------- contact.html  -------------------------------------------- */
/* ----------------------------------- contact.html  -------------------------------------------- */
/* ----------------- contact ------------- */
.contact-us {
  background: linear-gradient(
    0deg,
    var(--mainWhite) 74%,
    var(--colorLight) 30%
  );
  box-shadow: inset 0px 50px 50px -50px rgba(0, 0, 0, 0.23);
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  min-height: 100vh;
}
.header-contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}
.body-contact,
.body-contact__input {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.body-contact label {
  width: max-content;
  margin-bottom: 0.5rem;
}

.body-contact input,
.body-contact textarea {
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  outline: 0;
  border: 1px solid var(--borderLight);
}
.body-contact textarea {
  resize: none;
}
.body-contact > :last-child {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 1rem;
}
.body-contact .btn {
  cursor: pointer;
}

@media screen and (min-width: 650px) {
  .contact-us {
    background: linear-gradient(
      0deg,
      var(--mainWhite) 71%,
      var(--colorLight) 30%
    );
  }
  .body-contact > :first-child {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .body-contact__input {
    width: 49%;
  }
}
@media screen and (min-width: 920px) {
  .body-contact {
    width: 850px;
  }
}

/* --------------------------- shop ----------------------------- */
.shop {
  box-shadow: inset 0px 50px 50px -50px rgba(0, 0, 0, 0.23);
}
.products-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 7rem 2rem;
}
/* --- categories-filter---- */

.categories-filter {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.categories-filter .fa-angle-down {
  font-size: 2rem;
  transition: 0.3s;
}

.fa-angle-down.active {
  transform: rotate(180deg);
  transition: 0.3s;
}
.categories-filter > * {
  width: 100%;
}
.gender-categories,
.sale-categories,
.type-categories {
  margin-bottom: 0.7rem;
  background-color: #eeeeee3b;
  padding: 0.5rem;
}
.categories-filter h2 {
  margin-bottom: 1.5rem;
}

.header-categories-filter {
  display: flex;
  cursor: pointer;
}
.header-categories-filter h3 {
  flex: 1;
}
.body-categories-filter p {
  padding: 0.3rem 0.4rem;
}
.body-categories-filter p.active {
  color: var(--colorPrimary);
}

.body-categories-filter {
  max-height: 0;
  overflow: hidden;
  transition: 0.2s;
  text-transform: capitalize;
  cursor: pointer;
}

.body-categories-filter.active {
  padding-top: 0.7rem;
  max-height: 300px;
  transition: 0.4s;
}
.body-categories-filter > *:hover {
  color: var(--colorPrimary);
  background-color: #eeeeee75;
}

/* --- product filter---- */
.product-filter {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.filtered {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.filtered > div {
  flex-grow: 1;
  width: 100%;
}
.filtered span {
  font-weight: bold;
  margin-right: 0.7rem;
}
.filtered span:hover {
  color: var(--colorPrimary);
  cursor: pointer;
}
.filtered .gender.active {
  color: var(--colorPrimary);
}

.filtered select {
  margin-top: 1rem;
  width: 100%;
  padding: 1rem 0.5rem;
  outline: 0;
  border: 1px solid var(--borderLight);
  appearance: none;
  cursor: pointer;
  text-transform: uppercase;
}
/* --- product card------ */
.product-card {
  flex-grow: 1;
}
.card {
  position: relative;
  min-height: 200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, auto));
  justify-content: center;
  grid-gap: 5rem 2rem;
  padding: 3rem 0;
}

.product {
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 5px 0px var(--borderLight);
}
.product-img {
  height: 350px;
  position: relative;
  overflow: hidden;
}
.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--borderLight);
}
.details-product {
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
}
.details-product > :nth-child(1) {
  padding: 1rem 0;
}
.details-product > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.details-product .stars-box {
  margin-bottom: 0.5rem;
}
.fa-star {
  color: var(--textMuted);
}
.fa-star.active {
  color: gold;
}
.layer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.23);
  padding: 1rem;
  z-index: -1;
  opacity: 0;
  transition: 0.5s;
}
.layer button {
  margin: 0.5rem;
}
.product-img:hover .layer {
  z-index: 1;
  opacity: 1;
}
.layer button:hover {
  cursor: pointer;
}

.not-found-product {
  position: absolute;
  width: 100%;
  max-width: 450px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.not-found-product > div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  border: 1px solid #ccc;
  padding: 2rem;
  border-radius: 5px;
}
.not-found-product i {
  color: #ff9800;
  font-size: 1.6rem;
}
.not-found-product p {
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 768px) {
  .product-filter {
    padding-top: 0;
  }
  .filtered {
    flex-direction: row;
    justify-content: space-between;
  }
  .filtered select {
    margin-top: 0;
  }

  .filtered > div {
    width: auto;
  }
  .filtered .select-box {
    display: flex;
    gap: 1rem;
    flex-grow: 2;
  }
}
@media screen and (min-width: 920px) {
  .products-page {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .categories-filter {
    padding-right: 2rem;
  }
  .categories-filter > div {
    width: 200px;
  }
}
/* ------------------------------- shop single ----------------------------- */
/* ------------------------------- shop single ----------------------------- */
/* ------------------------------- shop single ----------------------------- */

.shop-single {
  background-color: var(--colorLight);
  box-shadow: inset 0px 50px 50px -50px rgba(0, 0, 0, 0.23);
}
.shop-single-inner {
  margin: 10rem auto;
}
.shop-single-images {
  width: 100%;
  overflow: hidden;
}
.shop-single-img {
  display: flex;
  width: 900%;
  overflow: hidden;
}
.shop-single-img img {
  width: 11.1111111%;
  top: 0;
  left: 0;
  border: 1px solid var(--borderLight);
}

.shop-single-images input {
  display: none;
}
.shop-single-nav-slider {
  width: 100%;
  position: relative;
}

.shop-single-nav-slider-inner img {
  width: 100%;
}

#slide1:checked ~ .img-slide1 {
  margin-left: 0%;
}
#slide2:checked ~ .img-slide1 {
  margin-left: -11.1111111%;
}
#slide3:checked ~ .img-slide1 {
  margin-left: -22.2222222%;
}
#slide4:checked ~ .img-slide1 {
  margin-left: -33.3333333%;
}
#slide5:checked ~ .img-slide1 {
  margin-left: -44.4444444%;
}
#slide6:checked ~ .img-slide1 {
  margin-left: -55.5555555%;
}
#slide7:checked ~ .img-slide1 {
  margin-left: -66.6666666%;
}
#slide8:checked ~ .img-slide1 {
  margin-left: -77.7777777%;
}
#slide9:checked ~ .img-slide1 {
  margin-left: -88.8888888%;
}

.shop-single-nav-slider-inner {
  width: 70%;
  overflow: hidden;
  margin: 0 auto;
  padding: 2rem 0;
}
.shop-single-nav-slider-inner > div {
  width: 300%;
  display: flex;
  align-items: center;
}
.nav-slider-img {
  width: 33.3333%;
  display: flex;
}
.shop-single-nav-slider-inner .label-slide {
  display: inline-block;
  width: 100%;
  height: 100%;
  margin: 0 1rem;
}
.shop-single-nav-slider-inner .label-nav-slide {
  position: absolute;
  display: inline-block;
  width: 25px;
  height: 25px;
  opacity: 0.5;
}
.shop-single-nav-slider-inner .label-slide:hover,
.shop-single-nav-slider-inner .label-nav-slide:hover {
  cursor: pointer;
}

#nav-slide1:checked ~ .nav-slider-img-1 {
  margin-left: 0%;
  transition: 0.3s;
}
#nav-slide2:checked ~ .nav-slider-img-1 {
  margin-left: -33.33%;
  transition: 0.3s;
}
#nav-slide3:checked ~ .nav-slider-img-1 {
  margin-left: -66.66%;
  transition: 0.3s;
}

#nav-slide1:checked ~ .label-nav2 {
  background: url("../assets/image/chevron-right.svg") 100% 100% no-repeat;
  right: 0;
}
#nav-slide2:checked ~ .label-nav3 {
  background: url("../assets/image/chevron-right.svg") 100% 100% no-repeat;
  right: 0;
}
#nav-slide3:checked ~ .label-nav1 {
  background: url("../assets/image/chevron-right.svg") 100% 100% no-repeat;
  right: 0;
}
#nav-slide1:checked ~ .label-nav3 {
  background: url("../assets/image/chevron-left.svg") 100% 100% no-repeat;
  left: -10px;
}
#nav-slide2:checked ~ .label-nav1 {
  background: url("../assets/image/chevron-left.svg") 100% 100% no-repeat;
  left: -10px;
}
#nav-slide3:checked ~ .label-nav2 {
  background: url("../assets/image/chevron-left.svg") 100% 100% no-repeat;
  left: -10px;
}

.shop-single-description {
  background-color: var(--mainWhite);
  border: 1px solid var(--borderLight);
}
.shop-single-description > div {
  padding: 2rem 1.5rem;
}
.shop-single-description h1 {
  margin-bottom: 2rem;
}
.shop-single-description p {
  margin: 0.5rem 0 1.5rem 0;
}
.shop-single-description .product-brand-name {
  display: flex;
  align-items: baseline;
}
.shop-single-description .product-brand-name p {
  color: var(--textMuted);
}
.shop-single-description .rating :last-child {
  padding-right: 0.5rem;
}
.shop-single-description h3 {
  padding-right: 0.5rem;
}
.shop-single-description ul {
  margin: 0.5rem 0 2rem 0.5rem;
}
.shop-single-description .description {
  margin-left: 0.5rem;
}

.shop-single-description .color-size-quantity {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.shop-single-description .size,
.shop-single-description .size > div,
.shop-single-description .quantity,
.shop-single-description .color,
.shop-single-description .color > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 1rem 1.5rem 1rem 0;
}
.shop-single-description .size *,
.shop-single-description .quantity > *,
.shop-single-description .color * {
  font-weight: bold;
  margin: 0.5rem 0.3rem;
}
.shop-single-description .quantity .btn {
  padding: 0;
  font-size: 0.8rem;
}
.shop-single-description .quantity .btn i {
  padding: 1rem 1.5rem;
}

.shop-single-description input {
  display: none;
}
.shop-single-description label:hover {
  cursor: pointer;
}
.color input:checked + label {
  color: var(--colorPrimary);
  background-color: var(--mainWhite);
}

.size input:checked + label {
  color: var(--colorPrimary);
  background-color: var(--mainWhite);
}

.shop-single-description .quantity span {
  background-color: var(--colorDark);
  color: var(--mainWhite);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: normal;
}
.shop-single-description .add-buy {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}
.shop-single-description a {
  width: 100%;
}
.shop-single-description .add-buy button {
  width: 98%;
  font-weight: bold;
}
p.error {
  text-align: center;
  color: red;
  margin: 0.5rem 0 0 0;
}

@media screen and (min-width: 768px) {
  .shop-single-inner {
    max-width: 600px;
  }
}
@media screen and (min-width: 920px) {
  .shop-single-inner {
    max-width: 100%;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 30fr 70fr;
    grid-gap: 1.5rem;
  }
  .shop-single-nav-slider-inner .label-nav-slide {
    width: 15px;
    height: 15px;
  }

  #nav-slide1:checked ~ .label-nav3 {
    left: -5px;
  }
  #nav-slide2:checked ~ .label-nav1 {
    left: -5px;
  }
  #nav-slide3:checked ~ .label-nav2 {
    left: -5px;
  }
}

/* ------------------related----------------------------------------- */
.related-products {
  display: none;
}
.related-products.active {
  display: block;
}
.related-products-inner {
  width: 100%;
  margin: 10rem 0;
}
.related-products-inner h1 {
  margin-bottom: 4rem;
}
.related-slider {
  width: 100%;
  display: flex;
  padding-bottom: 2rem;
  overflow: auto;
  scroll-behavior: smooth;
}

.related-products-inner .product {
  margin: 0 2rem;
  background-color: var(--mainWhite);
  min-width: 260px;
}

.related-products-inner input {
  display: none;
}

.related-slider .more-product {
  position: relative;
  background-color: var(--colorPrimary);
  min-height: 550px;
}
.related-slider .more-product p {
  position: absolute;
  width: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  color: var(--mainWhite);
}
.related-slider .more-product img {
  width: 100%;
  object-fit: contain;
}

.related-slider.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px);
  justify-content: center;
  grid-gap: 2rem;
  overflow: initial;
}

.related-slider.active .product {
  margin: 0;
}
.related-slider.active .more-product img {
  transform: rotate(180deg);
}

@media screen and (min-width: 375px) {
  .related-products-inner .product {
    min-width: 290px;
  }
}
@media screen and (min-width: 425px) {
  .related-products-inner .product.active {
    max-width: 300px;
  }
}
@media screen and (min-width: 768px) {
  .related-slider.active {
    grid-template-columns: repeat(3, minmax(200px, 300px));
    justify-content: space-between;
  }
}

/* -----------------------------   buy  ---------------------------------- */
/* -----------------------------   buy  ---------------------------------- */
/* -----------------------------   buy  ---------------------------------- */
.buy {
  box-shadow: inset 0px 50px 50px -50px rgba(0, 0, 0, 0.23);
}
.buy-details {
  margin-top: 2rem;
  display: none;
}
.buy-inner{
  padding-top: 10rem;
}
.buy-inner h2 {
  display: none;
}
.buy-inner h2.active,
.buy-details.active {
  display: block;
}
.go-shop-link {
  text-decoration: none;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  font-size: 2.1rem;
  color: #5aad6e;
  transition: 0.3s;
  width: max-content;
  margin: 7rem auto;
  padding: 2rem;
}
.go-shop-link:hover {
  font-weight: 600;
}
.buy-promo-code {
  padding: 1.5rem;
  background-color: var(--colorLight);
}
.promo-code-header {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.promo-code-header h3 {
  flex: 1;
}
.promo-code-header .fa-chevron-down {
  font-size: 1.2rem;
}
.promo-code-body {
  height: 0;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: 0.3s;
}
.promo-code-body.active {
  height: 50px;
  overflow: hidden;
  margin-top: 1rem;
  transition: 0.3s;
}
.promo-code-header .promo-title:hover,
.promo-code-header .fa-chevron-down:hover {
  cursor: pointer;
}
.promo-code-header .fa-chevron-down {
  transition: 0.3s;
}
.promo-code-header .fa-chevron-down.active {
  transform: rotate(180deg);
  transition: 0.3s;
}
.promo-code-body input {
  flex: 1;
  padding: 1.5rem 0.5rem;
  outline: none;
  border: 1.5px solid var(--mainWhite);
}
.promo-code-body span {
  padding: 1.5rem 1rem;
  background-color: var(--colorPrimary);
  border: 1px solid var(--colorPrimary);
  margin-left: 0.5rem;
  color: var(--mainWhite);
}

.buy-price {
  margin: 2rem 1rem;
}
.buy-price > * {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.buy-price > :last-child {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--borderLight);
  font-weight: bold;
}
.buy-details-btn {
  margin-top: 2rem;
}
.buy-details-btn button {
  border: none;
  width: 100%;
  padding: 2rem 0;
  font-weight: bold;
}
.buy-details-btn .checkout {
  margin-bottom: 1rem;
  background-color: var(--colorPrimary);
  color: var(--mainWhite);
}

@media screen and (min-width: 375px) {
  .promo-code-body input {
    padding: 1.5rem 1rem;
  }
  .promo-code-body span {
    padding: 1.5rem 2rem;
  }
}
@media screen and (min-width: 650px) {
  .promo-code-body span {
    padding: 1.5rem 3rem;
  }
  .buy .shopping-cart-product {
    border: 1px solid var(--borderLight);
    padding: 1rem;
  }
}
@media screen and (min-width: 768px) {
  .buy-inner {
    position: relative;
    display: flex;
  }

  .buy-inner > h2 {
    position: absolute;
  }
  .buy-product {
    margin: 3rem 2rem 0 0;
  }
  .buy-details {
    margin-top: 5rem;
  }
  .promo-code-body span {
    padding: 1.5rem 1rem;
  }
  .promo-code-body input {
    padding: 1.5rem 0.5rem;
  }
}
/* --------------------------- modal edit ------------------------------------- */

.modal-edit {
  position: fixed;
  width: 280px;
  margin: 0 auto;
  background-color: white;
  z-index: -1;
  opacity: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px 0px var(--borderLight);
  padding: 4rem 0.5rem 1rem 0.5rem;
  transition: 0.5s;
}
.modal-edit.active {
  opacity: 1;
  z-index: 15;
  transition: 0.3s;
}

.modal-edit > .modal__item > span {
  position: absolute;
  right: 0;
  top: 0;
}
.modal-edit .fa-close {
  padding: 1.5rem 2rem;
}
.modal-edit .fa-close:hover {
  cursor: pointer;
}
.modal-edit-inner {
  max-height: 300px;
  overflow-y: auto;
  padding: 0 1.5rem;
}
.modal-edit-btn {
  display: flex;
  justify-content: space-around;
  margin: 1rem 0.5rem;
  flex-direction: column;
}
.modal-edit-btn button {
  margin-top: 0.5rem;
}
.modal-edit-back-dray {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 10;
}
.modal-edit-back-dray.active {
  display: block;
}
.modal-edit input {
  display: none;
}
.modal-edit .size,
.modal-edit .size > div,
.modal-edit .color,
.modal-edit .color > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 1rem 1.5rem 1rem 0;
}
.modal-edit .size *,
.modal-edit .color * {
  font-weight: bold;
  margin: 0.5rem 0.3rem;
}

@media screen and (min-width: 375px) {
  .modal-edit {
    width: 320px;
  }
}
@media screen and (min-width: 425px) {
  .modal-edit {
    width: 380px;
  }
}
@media screen and (min-width: 650px) {
  .modal-edit {
    width: 500px;
  }
}
