* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background-color: black;
  font-family: "Exo", sans-serif;
  font-style: italic;
  overflow-x: hidden;
}

a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* MAIN */

/* BESTSELLERS */

main .bestsellers {
  position: relative;
  width: 100%;
  display: flex;
}

/* CONTENT */

main .bestsellers .contentBx p {
  font-family: "Exo";
  font-style: normal;
  font-weight: 700;
  color: #c6c6c6;
  opacity: 0.7;
}

/* --------------------------------------START-SWIPER----------------------------------------- */
.swiper {
  margin-left: auto;
  margin-right: auto;
}

.swiper-button-prev,
.swiper-button-next {
  color: white !important;
  opacity: 0.7;
  font-style: normal;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
}

.swiper-button-prev {
  left: 0;
  font-size: 30px;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: white !important;
}
/* --------------------------------------END-SWIPER------------------------------------------- */

/* BOX PATTERN */

main .box {
  position: relative;
  border-radius: 20px;
  transition: 0.3s;
  transition-delay: 0.1s;
}

main .box:hover {
  transform: scale(1.1);
}

main .box .imgBx {
  width: 100%;
  height: 100%;
}

main .box .imgBx img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0px 10px 6px rgba(0, 0, 0, 0.8);
  object-fit: cover;
}

main .box .contentBx {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  background: url(../../IMG/Customers/products/wood_background.jpeg);
  background-repeat: no-repeat;
  border-radius: 20px;
  width: auto;
}

main .box .contentBx .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: "Exo";
  font-style: normal;
  font-weight: 800;
  text-align: center;
  color: #d9d9d9;
}

main .box .contentBx .content p {
  opacity: 1;
  padding: 0;
  color: #d9d9d9;
  text-shadow: 0px 2px 2px black;
}

main .box .contentBx .content h2 {
  text-align: center;
  color: #d9d9d9;
  text-shadow: 0px 2px 2px black;
}

main .box .contentBx .content a {
  color: #d9d9d9;
  text-decoration: none;
}

.box .contentBx .content a:hover {
  text-decoration: underline;
}

/* PRODUCTS */

main .bestsellers .productBx {
  position: relative;
}

main .bestsellers .productBx .header {
  font-family: "Exo";
  font-style: normal;
  font-weight: 700;
  color: #c6c6c6;
  opacity: 0.7;
}

main .bestsellers .productBx .header .background-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #c6c6c6;
  opacity: 0.3;
}

main .bestsellers .productBx .main-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* BESTSELLERS PRODUCTS */

/* ALL PRODUCTS */

main .all-products {
  width: 100%;
  display: flex;
}

/* CONTENTBX */

main .all-products .productBx .navigation-bx {
  position: fixed;
  visibility: hidden;
  z-index: -1;
}

main .all-products .contentBx .main-list-item {
  list-style: none;
}

main .all-products .contentBx ul {
  display: inline-block;
}

main .all-products .contentBx ul a {
  font-family: "Exo";
  font-style: normal;
  font-weight: 700;
  text-decoration-line: none;
  color: #c6c6c6;
  transition: 0.2s;
  opacity: 0.7;
}

main .all-products .contentBx ul a:hover {
  opacity: 1;
}

main .all-products .contentBx ul a:hover li {
  text-decoration: underline;
}

/* PRODUCTS */

main .all-products .productBx .header {
  font-family: "Exo";
  font-style: normal;
  font-weight: 700;
  color: #c6c6c6;
}

main .all-products .productBx .header ul a {
  font-family: "Exo";
  font-style: normal;
  font-weight: 700;
  text-decoration: none;
  color: #c6c6c6;
  transition: 0.2s;
  opacity: 0.7;
  display: inline-block;
}

main .all-products .productBx .header ul a:hover {
  opacity: 1;
}

main .all-products .productBx .header ul a:hover li {
  text-decoration: underline;
}

main .all-products .productBx .main-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

main .all-products .productBx .main-container {
  justify-content: center;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* ALL */

main .all-products .productBx section {
  position: relative;
}

main .all-products .productBx section .show-more-button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .all-products .productBx section .show-more-button button {
  background-color: inherit;
  color: #c6c6c6;
  font-family: "Exo", sans-serif;
  font-style: italic;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.25s;
}

main .all-products .productBx section .show-more-button button:hover {
  opacity: 1;
  transform: scale(1.1);
}

main .all-products .productBx section .main-container .box {
  display: none;
}

main .all-products .productBx section .main-container.active {
  height: auto;
}
main .all-products .productBx section .main-container.active .box {
  display: block;
}

main .all-products .productBx .main-container .box .contentBx {
  /* here set parameters for all-prodcuts box */
  position: absolute;
  left: 0;
  right: 0;
  width: auto;
}

/* SCROLL MARKER - FIXED HEADER PROBLEM */
main .productBx .scroll-here {
  position: absolute;
}

/* STAR */
main .star {
  position: sticky;
  background-color: #c6c6c6;
  transform: translate(50%, -50%);
}

main .star .top-left-corner {
  position: absolute;
  background-color: black;
}

main .star .bottom-left-corner {
  position: absolute;
  background-color: black;
  color: black;
}

main .star .top-right-corner {
  position: absolute;
  background-color: black;
}

main .star .bottom-right-corner {
  position: absolute;
  background-color: black;
}

@media (min-width: 1026px) {
  main .bestsellers {
    margin-top: 4.3vw;
    border-bottom: 1px solid #c6c6c6;
  }

  main .bestsellers .productBx {
    width: 80%;
    border-left: 1px solid #c6c6c6;
  }

  main .bestsellers .contentBx p {
    font-size: 1.5vw;
    line-height: 1.9vw;
    padding: 5vw 2.2vw 0 2.2vw;
  }

  /* --------------------------------------START-SWIPER----------------------------------------- */
  .swiper {
    width: 90%;
    height: 23vw;
  }

  .swiper-button-prev,
  .swiper-button-next {
    margin-top: -4vw !important;
  }

  /* BOX PATTERN */

  main .swiper .box {
    height: 12vw;
    width: 12vw;
    margin: 3vw 3vw 10vw 3vw;
  }

  main .swiper .box .contentBx {
    /* here set parameters for all-prodcuts box */
    top: 80%;
    height: 6vw !important;
  }

  main .swiper .box .contentBx .content {
    font-size: 0.6vw;
  }

  main .swiper .box .contentBx .content p {
    font-size: 0.75vw;
  }

  main .swiper .box .contentBx .content p a {
    text-decoration: underline;
    text-decoration-thickness: 0.075vw;
    text-underline-offset: 0.3vw;
  }
  /* --------------------------------------END-SWIPER------------------------------------------- */

  /* BOX PATTERN */

  main .box {
    height: 20vw;
    width: 20vw;
    margin: 0 3vw 8vw 3vw;
  }

  main .box .contentBx {
    top: 80%;
    height: 9vw !important;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.3s;
    transition-delay: 0.05s;
    visibility: hidden;
  }

  main .box:hover .contentBx {
    transform: scaleY(1);
    visibility: visible;
  }

  main .all-products .box .contentBx .content {
    font-size: 1vw;
  }

  main .all-products .box .contentBx .content p {
    font-size: 1vw;
    margin-top: 0.25vw;
    margin-bottom: 0.75vw;
  }

  main .all-products .box .contentBx .content p a {
    text-decoration: underline;
    text-decoration-thickness: 0.1vw;
    text-underline-offset: 0.4vw;
  }

  /* CONTENTBX */
  main .all-products .contentBx {
    top: 4.3vw;
    height: fit-content;
    position: sticky;
    width: 20%;
  }

  /* PRODUCTS */

  main .all-products .productBx {
    width: 80%;
    border-left: 1px solid #c6c6c6;
    padding-bottom: 4vw;
  }

  main .bestsellers .productBx .header {
    font-size: 1.5vw;
    line-height: 1.9vw;
    margin: 2vw 4vw;
  }

  main .bestsellers .productBx .header .background-caption {
    margin-left: 0.5vw;
    font-size: 19vw;
    text-shadow: 3vw 2vw rgba(198, 198, 198, 0.6);
  }

  /* CONTENTBX */

  main .all-products .contentBx .main-list-item#first-item {
    padding: 0vw 1vw 0.5vw 2vw;
  }

  main .all-products .contentBx .main-list-item {
    padding: 2vw 1vw 0.5vw 2vw;
  }

  main .all-products .contentBx ul {
    padding-left: 4.5vw;
  }

  main .all-products .contentBx ul a {
    font-size: 1.2vw;
    line-height: 2.5vw;
  }

  /* PRODUCTS */

  main .all-products .productBx .header {
    font-size: 1.5vw;
    line-height: 1.9vw;
    margin: 8vw 4vw 2vw 4vw;
  }

  main .all-products .productBx .header ul {
    padding: 0.5vw 4vw;
  }

  main .all-products .productBx .header ul a {
    font-size: 1.5vw;
    line-height: 1.9vw;
  }

  /* ALL */

  main .all-products .productBx section .show-more-button button {
    border: 0.15vw solid #c6c6c6;
    border-radius: 1vw;

    padding: 0.8vw 3vw;
    font-size: 1.5vw;
  }
  main .all-products .productBx section .main-container {
    height: 30vw;
  }
  main .all-products .productBx section .main-container .box:nth-child(1),
  main .all-products .productBx section .main-container .box:nth-child(2),
  main .all-products .productBx section .main-container .box:nth-child(3) {
    display: block;
  }

  main .all-products .productBx .main-container .box .contentBx {
    /* here set parameters for all-prodcuts box */
    top: 80%;
    height: 7.5vw;
    min-height: 0;
  }

  /* SCROLL MARKER - FIXED HEADER PROBLEM */
  main .productBx .scroll-here {
    bottom: -7vw;
    width: 1vw;
    height: 4.5vw;
  }

  main .all-products .category-idk2 {
    padding-bottom: 8vw;
  }

  /* STAR */
  main .star {
    left: 17.55vw;
    height: 2.5vw;
    width: 2.5vw;
  }

  main .star .top-left-corner {
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    border-bottom-right-radius: 80%;
  }

  main .star .bottom-left-corner {
    bottom: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    border-top-right-radius: 80%;
  }

  main .star .top-right-corner {
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    border-bottom-left-radius: 80%;
  }

  main .star .bottom-right-corner {
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    border-top-left-radius: 80%;
  }
}

@media (max-width: 1025px) {
  /* BESTSELLERS */
  main .bestsellers .productBx {
    width: 100vw;
  }

  main .bestsellers .contentBx {
    position: fixed;
    visibility: hidden;
  }

  main .bestsellers {
    margin-top: 60px;
    border-bottom: 1px solid #c6c6c6;
  }

  main .bestsellers .productBx .header {
    font-size: calc(20px + 0.5vw);
    line-height: 24px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: calc(3vw + 5px);
  }

  /* ALL-PRODUCTS */

  main .all-products .productBx .main-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100vw;
    padding-bottom: 30px;
  }

  main .all-products .productBx .header {
    font-size: calc(20px + 0.5vw);
    line-height: calc(24px + 0.5vw);
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: calc(3vw + 5px);
  }

  main .all-products .productBx .header ul {
    font-size: calc(15px + 0.5vw);
    line-height: calc(20px + 0.5vw);
    margin-top: 10px;
    margin-bottom: 15px;
    margin-left: calc(3vw + 5px);
  }

  /* CONTENTBX */

  main .all-products .contentBx {
    position: fixed;
    visibility: hidden;
  }

  /* NAVIGATION-BX */

  main .all-products .productBx .navigation-bx {
    position: sticky;
    top: 60px;
    z-index: 2;
    visibility: visible;
    background-color: black;
  }

  main .all-products .productBx .navigation-bx .caption {
    position: relative;
    color: #c6c6c6;
    padding-bottom: 11px;
    padding-left: 20px;
    padding-top: 10px;
  }

  main .all-products .productBx .navigation-bx .caption h2 {
    cursor: pointer;
    width: min-content;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  main .all-products .productBx .navigation-bx .caption img {
    position: absolute;
    left: 145px;
    top: 21px;
    width: 18px;
    height: 12px;
    transition: 0.15s;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  main .all-products .productBx .navigation-bx ul {
    position: absolute;
    padding-left: 30px;
    list-style: none;
    transform: scaleY(0);
    transform-origin: top;
    padding-bottom: 20px;
    padding-top: 5px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100vw;
  }

  main .all-products .productBx .navigation-bx ul li {
    padding: 4px;
    padding-left: 15px;
    font-size: 18px;
    width: fit-content;
  }

  main .all-products .productBx .navigation-bx ul h2 {
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 5px;
  }

  main .all-products .productBx .navigation-bx ul h2 a {
    font-size: 22px;
    font-weight: bold;
  }

  main .all-products .productBx .navigation-bx ul a {
    color: #c6c6c6;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
  }

  main .all-products .productBx .navigation-bx ul a:hover {
    text-decoration: underline;
  }

  main .all-products .productBx .navigation-bx.active {
    background: rgba(34, 34, 34, 0.95);
    transition: 0.15s;
  }

  main .all-products .productBx .navigation-bx.active ul {
    background: rgba(34, 34, 34, 0.95);
    box-shadow: 0px 12px 6px rgba(0, 0, 0, 0.9);
  }

  main .all-products .productBx .navigation-bx.active .caption img {
    transform: rotateX(180deg);
  }

  main .all-products .productBx .navigation-bx.active ul {
    transform: scaleY(1);
    transition: 0.15s;
  }

  /* --------------------------------------START-SWIPER----------------------------------------- */
  .swiper-slide {
    display: flex !important;
    justify-content: center !important;
  }

  .swiper {
    width: 100%;
    height: 270px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    visibility: hidden !important;
  }

  /* BOX PATTERN */

  .swiper .box {
    margin: 10px 0vw 10px 0vw;
  }

  /* --------------------------------------END-SWIPER------------------------------------------- */

  /* SCROLL MARKER - FIXED HEADER PROBLEM */
  main .productBx .scroll-here {
    bottom: 59px;
    width: 1vw;
    height: 40px;
  }

  main .productBx .scroll-here#all {
    bottom: -30px;
    width: 1vw;
    height: 40px;
  }

  main .bestsellers .productBx .header .background-caption {
    margin-bottom: 12vw;
    margin-left: 2vw;
    font-size: 23.2vw;
    text-shadow: 3vw 2vw rgba(198, 198, 198, 0.6);
  }

  /* BOX PATTERN */

  main .all-products .productBx {
    padding-bottom: 40px;
  }

  main .all-products .productBx section .show-more-button button {
    border: 2px solid #c6c6c6;
    border-radius: 15px;

    padding: 10px 30px;
    font-size: 16px;
  }

  main .all-products .productBx section .main-container {
    height: 270px;
  }

  main .box {
    margin: 10px 4vw 90px 4vw;
    height: 158px;
    width: 158px;
    z-index: 1;
  }

  main .box .contentBx {
    position: absolute;
    top: 60%;
    height: 120px;
    transition: 0.3s;
    transition-delay: 0.1s;
    visibility: visible;
    transform: scaleY(1);
  }

  main .box .contentBx .content {
    font-size: 8px;
  }

  main .box .contentBx .content p {
    font-size: 11px;
    margin-top: 4px;
    margin-bottom: 10px;
  }

  main .box .contentBx .content p a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
}

@media (min-width: 0px) and (max-width: 376px) {
  main .all-products .productBx section .main-container .box:nth-child(1) {
    display: block;
  }
}

@media (min-width: 377px) and (max-width: 624px) {
  main .all-products .productBx section .main-container .box:nth-child(1),
  main .all-products .productBx section .main-container .box:nth-child(2) {
    display: block;
  }
}

@media (min-width: 625px) and (max-width: 932px) {
  main .all-products .productBx section .main-container .box:nth-child(1),
  main .all-products .productBx section .main-container .box:nth-child(2),
  main .all-products .productBx section .main-container .box:nth-child(3) {
    display: block;
  }
}

@media (min-width: 933px) and (max-width: 1025px) {
  main .all-products .productBx section .main-container .box:nth-child(1),
  main .all-products .productBx section .main-container .box:nth-child(2),
  main .all-products .productBx section .main-container .box:nth-child(3),
  main .all-products .productBx section .main-container .box:nth-child(4) {
    display: block;
  }
}
