
body {
  overflow-x: hidden;
  width: 100%;
}

h4 {
  font-size: 1.125rem;
  font-weight: 400;
  text-align: center;
}



/*======================================================================================================*/
/* slider  */
#slider {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

#slider .list {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#slider .list .item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(5px);
  z-index: 1;
  transition: opacity 0.7s ease-in-out, filter 0.7s ease-in-out;
}

#slider .list .item.active {
  filter: blur(0);
  opacity: 1;
  z-index: 10;
}

#slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#slider .list .item .content {
  width: 40%;
  /* max-width: 80%; */
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
  position: absolute;
  left: 15%;
  top: 50%;
  transform: translate(-15%, -50%);
  z-index: 1;
  line-height: 1;
}

.banner-title, .banner-text {
  text-align: center;
}

#slider .list .item .content h1 {
  font-size: var(--title-BannerSize);
  font-weight: 500;
  color: var(--title-BannerColor);
}

#slider .list .item .content p {
  font-size: var(--text-BannerSize);
  color: var(--text-BannerColor);
  font-weight: 400;
  word-spacing: 2px;
}

#slider .list .item .content a {
  width: fit-content;
  display: block;
  background: var(--button-BannerBackground);
  color: var(--button-BannerColor);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 0.875rem;
  border-radius: 5rem;
  border: 2px solid var(--button-BannerBackground);
  padding: 0.75rem 4rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

#slider .list .item .content a:hover {
  background-color: transparent;
  color: var(--button-BannerBackground);
}

@keyframes showContent {
  to{
      transform: translateY(0);
      filter: blur(0);
      opacity: 1;
  }
}
#slider .list .item.active h1,
#slider .list .item.active p,
#slider .list .item.active a {
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s .7s ease-in-out 1 forwards;
}
#slider .list .item.active p {
  animation-delay: 1s;
}
#slider .list .item.active a {
  animation-duration: 1.3s;
}


/* ! next-prev buttons css */
.arrows div {
  width: 3.5rem;
  height: 3.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
  z-index: 10;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

#prev {
  left: -5rem;
}

#next {
  right: -5rem;
}

#slider:hover #prev {
  left: 2.5rem;
}

#slider:hover #next {
  right: 2.5rem;
}

#prev svg, #next svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: var(--navigation-ButtonsBackground);
  stroke: var(--navigation-ButtonsBackground);
}

#prev svg {
  margin-right: 3px;
}

#next svg {
  margin-left: 3px;
}

#prev:hover svg, #next:hover svg {
  stroke: #ffffff;
  fill: #ffffff;
}

#prev:hover, #next:hover {
  background-color: var(--navigation-ButtonsBackground);
}

.responsive-arrows-M {
  display: none;
}
/*======================================================================================================*/


/*! category section */
#category-container {
  width: 100%;
  margin: 4rem auto;
  padding: 0 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
  font-weight: 400;
}

#category-container h3 {
  font-size: var(--title-CategorieSize);
  font-weight: 400;
  color: var(--title-CategorieColor);
  line-height: 1.2;
  text-align: center;
}

#category-container h4 {
  font-size: var(--text-CategorieSize);
  color: var(--text-CategorieColor);
}

#category-items {
  width: auto;
  height: max-content;
  margin-top: 1rem;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: stretch;
}

.layout-4 {
  grid-template-areas:
    "items-1 items-2 items-4"
    "items-1 items-3 items-4";
}

.layout-4 div:first-child,
.layout-4 div:last-child {
  width: 360px;
  height: 600px;
}

.layout-4 div:nth-child(2),
.layout-4 div:nth-child(3) {
  width: 360px;
  height: 292px;
}

.layout-3 {
  grid-template-areas:
    "items-1 items-2 items-3"
    "items-1 items-2 items-3";
}

.layout-3 div, .layout-2 div, .layout-1 div {
  width: 360px;
  height: 600px;
}

.layout-2 {
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-areas:
    "items-1 items-2"
    "items-1 items-2";
}

.layout-1 {
  grid-template-columns: repeat(1, 1fr) !important;
  grid-template-areas:
    "items-1"
    "items-1";
}

#category-items.layout-hidden {
  display: none;
}

#category-item-1 {
  grid-area: items-1;
}

#category-item-2 {
  grid-area: items-2;
}

#category-item-3 {
  grid-area: items-3;
}

#category-item-4 {
  grid-area: items-4;
}

#category-items img:hover {
  transform: scale(1.1);
}

#category-item-1 img, #category-item-2 img, #category-item-3 img, #category-item-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in;
}

#category-item-1, #category-item-2, #category-item-3, #category-item-4 {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
}

.category-button {
  display: inline-block;
  width: max-content;
  min-width: 50%;
  max-width: 90%;
  /* white-space: nowrap; */
  overflow: hidden;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  border: none;
  border-radius: 5rem;
  background-color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  color: var(--title-color);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.category-button:hover {
  background-color: var(--additional-Color);
  color: var(--white-text);
}

/* ! trending section */
#trending-container {
  width: 100%;
  height: auto;
  /* max-height: max-content; */
  padding: 2rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
  color: var(--title-color);
  font-weight: 400;
  background-color: var(--background-Popular);
  overflow: hidden;
}

#trending-container h3 {
  font-size: var(--title-PopularSize);
  font-weight: 400;
  color: var(--title-PopularColor);
  line-height: 1.2;
  text-align: center;
}

#trending-container h4 {
  font-size: var(--text-PopularSize);
  color: var(--text-PopularColor);
}

.lazy-slider .slick-track {
  display: flex !important;
}

#trending-container .lazy-slider {
  width: 90%;
  margin: 0 auto;
  overflow-x: hidden;
  visibility: hidden;
  opacity: 0;
}

#trending-slider .slider-item {
  overflow: hidden;
  border-radius: 0.75rem;
}

#trending-slider .slider-image {
  /* width: 100%; */
  height: 385px;
  position: relative;
  margin: 1rem;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1);
}

#trending-slider .slider-image .new {
  width: auto;
  height: auto;
  padding: 0 10px;
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #00b46a;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25em 0.5em;
  border-radius: 0.5rem;
  text-transform: uppercase;

  text-align: center;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .2);
  z-index: 5;
}

#trending-slider .slider-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  display: block;
  transition: all 0.8s ease;
}

.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  opacity: 0;
  transition: all 0.3s ease;
  transform: scale(1);
  cursor: pointer;
}

.image-hover-effect:hover .hover-image {
  opacity: 1;
  transform: scale(1.1);
}

.image-hover-effect:hover .main-image {
  opacity: 0;
}

.trending-icons {
  position: absolute;
  top: 1rem;
  right: -1rem;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  z-index: 30;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

#add-to-wishlist {
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

#add-to-wishlist label {
  width: 50%;
  height: 50%;
  cursor: pointer;
}

.trending-icons svg {
  width: 100%;
  height: 100%;
}

#add-to-wishlist input:checked + svg .heart-path {
  fill: var(--title-color);
  stroke: var(--title-color);
}

.image-hover-effect:hover .trending-icons {
  right: 1rem;
  opacity: 1;
}

.trending-button {
  width: max-content;
  position: absolute;
  bottom: -1rem;
  left: 1rem;
  right: 1rem;
  z-index: 30;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 20px;
  margin: auto;
  border: none;
  border-radius: 5rem;
  background-color: #ffffff;
  opacity: 0;
  transition: all 0.3s ease;
}

.trending-button a {
  color: var(--title-color);
  text-decoration: none;
  font-size: 0.875rem;
}

.trending-button:hover {
  background-color: var(--additional-Color);
}

.trending-button:hover a {
  color: #f5f5f5;
}

.image-hover-effect:hover .trending-button {
  bottom: 1rem;
  opacity: 1;
}

.trending-product-infos {
  position: relative;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: var(--title-color);
  margin: 1rem;
  padding-left: 1rem;
}

.trending-product-infos .product-name a {
  text-decoration: none;
  color: inherit;
  text-transform: capitalize;
  font-size: 1rem;
}

.trending-product-infos .product-price {
  font-size: 0.875rem;
}

.slick-arrow {
  width: 3.5rem;
  height: 3.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  text-align: center;
  display: flex !important;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
  z-index: 10;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.slick-prev {
  left: -5rem;
}

.slick-next {
  right: -5rem;
}

#trending-slider:hover .slick-prev {
  left: 2.5rem;
}

#trending-slider:hover .slick-next {
  right: 2.5rem;
}

.slick-prev svg, .slick-next svg {
  width: 0.75rem;
  height: 0.75rem;
}

.slick-prev svg {
  margin-right: 3px;
}

.slick-next svg {
  margin-left: 3px;
}

.slick-prev:hover svg, .slick-next:hover svg {
  stroke: #ffffff;
  fill: #ffffff;
}

.slick-prev:hover, .slick-next:hover {
  background-color: var(--title-color);
  color: #ffffff;
}

.hidden {
  display: none;
}



/* ! collection section */
#collection-container {
  width: 100%;
  height: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
  padding-bottom: 2rem;
}

#collection-container h3 {
  width: 100%;
  margin-top: 3rem;
  font-size: var(--title-CollectionSize);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: var(--title-CollectionColor);
  padding: 0 6rem;
}

#collection-container h4 {
  width: 100%;
  font-size: var(--text-CollectionSize);
  color: var(--text-CollectionColor);
  padding: 0 6rem;
}

#collection-items {
  width: 100%;
  height: auto;
  display: flex;
  column-gap: 2rem;
  justify-content: center;
  position: relative;
}

.collection-card {
  width: 470px;
  height: 670px;
  position: relative;
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.collection-card:hover img {
  transform: scale(1.1);
}

.collection-image img {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.75rem;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.collection-image {
  height: 100%;
  display: flex;
}

.collection-title {
  width: 100%;
  height: 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 1.25rem;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.75rem;
  overflow: hidden;
  font-weight: 400;
  white-space: nowrap;
}

.collection-title-sm {
  padding: 0.5rem 1rem;
  text-align: center;
  align-items: center;
  border-radius: 0.75rem;
  /* row-gap: 0.5rem; */
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.collection-title p {
  font-size: 2rem;
  cursor: text;
  line-height: 1.1;
  color: var(--title-color);
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.collection-title.scroll-on-hover:hover p {
  animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


.collection-title a {
  width: max-content;
  position: relative;
  font-size: 1rem;
  cursor: pointer;
  color: var(--title-color);
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
}

.collection-title a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: black;
  transition: width 0.3s ease-out, left 0.3s ease-out;
}

.collection-card:hover .collection-title a::before {
  left: 0;
  width: 100%;
}

.collection-title a:visited {
  color: var(--title-color);
}


/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */


/*
   ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
   ┃ Description: Responsive design          ┃
   ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
*/

@media (min-width: 1921px){
  #slider {
    height: 60vh;
    padding: 0 20%;
  }

  #trending-slider {
    max-width: 1500px;
  }

  #trending-container .lazy-slider {
    width: 68%;
  }

  .collection-card {
    width: 517px;
    height: 737px;
  }
}
/*======================================================================================================*/



@media (max-width: 1700px){
  #trending-container .lazy-slider {
    width: 100%;
  }

  #trending-slider .slider-image {
    height: 370px;
  }

  #trending-container {
    /* max-height: 585px; */
  }
}
/*======================================================================================================*/



@media (max-width: 1440px){
  #slider .list .item .content {
    row-gap: 1.5rem;
  }

  #slider .list .item .content h1 {
    font-size: 3.5rem;
  }

  #slider .list .item .content p {
    font-size: 1rem;
  }

  .layout-4 div:first-child,
  .layout-4 div:last-child {
    width: 324px;
    height: 540px;
  }

  .layout-4 div:nth-child(2),
  .layout-4 div:nth-child(3) {
    width: 324px;
    height: 262px;
  }

  .layout-3 div, .layout-2 div, .layout-1 div {
    width: 324px;
    height: 540px;
  }

  .collection-card {
    width: 423px;
    height: 603px;
  }

  #trending-container .lazy-slider {
    width: 90%;
  }

  #trending-slider .slider-image {
    height: 345px;
  }

  #trending-container {
    /* max-height: 560px; */
  }
}
/*======================================================================================================*/




@media (max-width: 1366px){
  #trending-slider .slider-image {
    height: 320px;
  }

  .collection-card {
    width: 380px;
    height: 542px;
  }

  #trending-container {
    /* max-height: 535px; */
  }
}
/*======================================================================================================*/



@media (max-width: 1280px){
  .layout-4 div:first-child,
  .layout-4 div:last-child {
    width: 291px;
    height: 490px;
  }

  .layout-4 div:nth-child(2),
  .layout-4 div:nth-child(3) {
    width: 291px;
    height: 237px;
  }

  .layout-3 div, .layout-2 div, .layout-1 div {
    width: 291px;
    height: 490px;
  }

  #trending-slider .slider-image {
    height: 304px;
  }

  .collection-card {
    width: 342px;
    height: 487px;
  }

  #trending-container {
    /* max-height: 519px; */
  }
}
/*======================================================================================================*/



@media (max-width: 1024px){
  #slider .list .item .content h1 {
    font-size: 3rem;
  }

  #slider .list .item .content {
    width: 50%;
    row-gap: 1.25rem;
    left: 14%;
    transform: translate(-14%, -50%);
  }

  #slider .list .item .content a {
    font-size: 0.875rem;
  }

  /* arrows */
  .responsive-arrows-L {
    display: none;
  }

  .responsive-arrows-M {
    display: inline;
  }

  #next .responsive-arrows-M path {
    transform: translateX(50%);
  }

  #prev .responsive-arrows-M path {
    transform: translateX(-50%);
  }

  .arrows {
    width: 100%;
    padding: 0 10%;
    position: absolute;
    left: 0;
    bottom: 5%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
  }

  .arrows div {
    width: 3.5rem;
    height: 1.5rem;
    position: relative;
    top: 0;
    transform: translateX(0);
    border: none;
    border-radius: 0;
    background-color: transparent;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: none;
    /* z-index: 10; */
    box-shadow: none;
    outline: none;
  }

  #prev {
    left: 0;
  }

  #next {
    right: 0;
  }

  #slider:hover #prev {
    left: initial;
  }

  #slider:hover #next {
    right: initial;
  }

  #prev svg, #next svg {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  #prev:hover svg, #next:hover svg {
    stroke: initial;
    fill: initial;
  }

  #prev:hover, #next:hover {
    background-color: initial;
    color: initial;
  }

  .layout-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    grid-template-areas:
    " items-1 items-3 "
    " items-1 items-4 "
    " items-2 items-4 ";
  }

  .layout-4 div:first-child,
  .layout-4 div:last-child {
    width: 208px;
    height: 352px;
  }

  .layout-4 div:nth-child(2),
  .layout-4 div:nth-child(3) {
    width: 208px;
    height: 170px;
  }

  .layout-3 div, .layout-2 div, .layout-1 div {
    width: 208px;
    height: 352px;
  }

  #slider .list .item .content {
    left: 11%;
  }

  #trending-container {
    /* max-height: 475px; */
    padding: 2rem 4rem;
  }

  #category-container, #collection-container h3, #collection-container h4 {
    padding: 0 4rem;
  }

  #trending-container .lazy-slider {
    width: 100%;
  }

  #trending-slider .slider-image {
    height: 260px;
  }

  .collection-card {
    width: 273px;
    height: 389px;
  }

  .collection-title p {
    font-size: 1.75rem;
  }
}
/*======================================================================================================*/



@media (max-width: 995px) {
  #slider {
    height: 70vh;
  }

  #slider .list .item .content {
    width: 50%;
  }

  #slider .list .item .content h1 {
    font-size: 2.75rem;
  }

  #slider .list .item .content {
    width: 60%;
    left: 13%;
    top: 45%;
  }

  #category-container h3, #trending-container h3, #collection-container h3 {
    font-size: 2rem;
  }

  #trending-container {
    max-height: none;
  }

  #trending-slider {
    display: none;
  }

  .swiper {
    width: 80%;
    height: auto;
    display: block;
    padding: 1.5rem 0;
  }

  .swiper-slide {
    width: 228px;
    height: auto;
    /* height: 15rem; */
    background-position: center;
    background-size: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .swiper-3d .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(153, 153, 153, .3), rgba(0, 0, 0, 0));
  }

  .swiper-3d .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(153, 153, 153, .3), rgba(0, 0, 0, 0));
  }

  .swiper-slide .trending-product-infos {
    width: auto;
    text-align: center;
    padding-left: 0;
    margin: 0.875rem;
    align-items: center;
    font-weight: 400;
  }

  .swiper-slide > a:first-child {
    width: 100%;
    height: 305px;
    display: inline-block;
    border-radius: 1rem;
  }

  .swiper-slide a img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 1rem;
  }


  .trending-product-infos .product-name a {
    font-weight: 500;
  }

  .trending-product-infos .product-price {
    font-size: 0.875rem;
  }

  #collection-items {
    column-gap : 1rem;
  }

}
/*======================================================================================================*/



@media (max-width: 912px) {
  .collection-card {
    width: 231px;
    height: 350px;
  }
}
/*======================================================================================================*/



@media (max-width: 800px) {
  #slider .list .item .content h1 {
    font-size: 3rem;
  }

  #slider .list .item .content p {
    font-size: 1.2rem;
  }

  #category-container {
    margin: 2rem auto;
  }
}
/*======================================================================================================*/



@media (max-width: 768px){
  #slider .list .item .content h1 {
    font-size: 2.5rem;
  }

  #slider .list .item .content p {
    font-size: 1rem;
  }

  #slider .list .item .content a {
    padding: 0.5rem 3rem;
  }

  .swiper {
    width: 100%;
  }

  .swiper-slide {
    width: 200px;
  }

  .swiper-slide > a:first-child {
    height: 267px;
  }

  .collection-card {
    width: 342px;
    height: 487px;
  }

  #collection-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
  }

}
/*======================================================================================================*/



@media (max-width: 720px){
  #category-container h4, #trending-container h4, #collection-container h4 {
    font-size: 1rem;
  }

  #category-container {
    padding: 2rem;
    margin: auto;
  }

  #trending-container {
    padding: 2rem 2rem;
  }

  #collection-container h3, #collection-container h4 {
    padding: 0 2rem;
  }

  .layout-3 div, .layout-2 div, .layout-1 div {
    width: 187px;
    height: 316px;
  }
}
/*======================================================================================================*/



@media (max-width: 600px){
  #slider .list .item .content h1 {
  font-size: 2.125rem;
  }

  .swiper-slide {
    width: 170px;
  }

  .swiper-slide > a:first-child {
    height: 230px;
  }

  .layout-3 {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}
/*======================================================================================================*/



@media (max-width: 550px){
  #slider .list .item .content {
    left: 11%;
  }



  .layout-4 div:first-child,
  .layout-4 div:last-child {
    width: 187px;
    height: 316px;
  }

  .layout-4 div:nth-child(2),
  .layout-4 div:nth-child(3) {
    width: 187px;
    height: 153px;
  }
}
/*======================================================================================================*/



@media (max-width: 430px){
  #slider {
    height: 60vh;
  }

  #slider .list .item .content h1 {
    font-size: 1.75rem;
  }

  #slider .list .item .content p {
    font-size: 1rem;
  }

  #slider .list .item .content a {
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    color: var(--text-color);
    background-color: transparent;
    border: 0;
  }

  .layout-4 div:first-child,
  .layout-4 div:last-child {
    width: 168px;
    height: 284px;
  }

  .layout-4 div:nth-child(2),
  .layout-4 div:nth-child(3) {
    width: 168px;
    height: 137px;
  }

  #slider .list .item .content a {
    padding: 6px 32px;
  }

  .layout-3 div, .layout-2 div, .layout-1 div {
    width: 151px;
    height: 255px;
  }

  .category-button {
    font-size: 0.75rem;
    font-weight: 500;
  }

  #trending-container {
    padding: 2rem 2rem;
  }

  #category-container {
    padding: 2rem;
  }

  #collection-container h3, #collection-container h4 {
    padding: 0 2rem;
  }

}
/*======================================================================================================*/



@media (max-width: 415px) {
  /* #slider .list .item .content h1 {
    font-size: 1.25rem;
  } */

  /* #slider .list .item .content p {
    font-size: 0.75rem;
  } */

  /* .layout-4 div:first-child,
  .layout-4 div:last-child {
    width: 168px;
    height: 100%;
  }

  .layout-4 div:nth-child(2),
  .layout-4 div:nth-child(3) {
    width: 168px;
    height: 100%;
  } */
}
/*======================================================================================================*/



@media (max-width: 385px) {
  #slider .list .item .content h1 {
    font-size: 1.5rem;
  }

  #slider .list .item .content p {
    font-size: 0.875rem;
  }

  #slider .list .item .content a {
    padding: 6px 26px;
  }

  #category-container h3, #trending-container h3, #collection-container h3 {
    font-size: 1.875rem;
  }

  .category-button {
    font-size: 0.875rem;
  }

  #category-items {
    grid-gap: 0.625rem;
  }

  #category-container, #trending-container {
    padding: 2rem 1.5rem;
  }

   #collection-container h3, #collection-container h4 {
    padding: 0 1.5rem;
  }
}
/*======================================================================================================*/



@media (max-width: 360px) {
  #category-container h3, #trending-container h3, #collection-container h3 {
    font-size: 1.5rem;
  }

  .layout-4 div:first-child,
  .layout-4 div:last-child {
    width: 151px;
    height: 255px;
  }

  .layout-4 div:nth-child(2),
  .layout-4 div:nth-child(3) {
    width: 151px;
    height: 123px;
  }

  .layout-3 div, .layout-2 div, .layout-1 div {
    width: 135px;
    height: 229px;
  }

  .collection-card {
    width: 307px;
    height: 438px;
  }
}
/*======================================================================================================*/



@media (max-width: 330px) {
  #slider .list .item .content h1 {
    font-size: 1.25rem;
  }

  #slider .list .item .content p {
    font-size: 0.75rem;
  }

  #category-container h4, #trending-container h4, #collection-container h4 {
    font-size: 0.875rem;
  }

  #category-container h3, #trending-container h3, #collection-container h3 {
    font-size: 1.25rem;
  }

  .category-button {
    font-size: 0.75rem;
  }

  .layout-4 div:first-child,
  .layout-4 div:last-child {
    width: 135px;
    height: 229px;
  }

  .layout-4 div:nth-child(2),
  .layout-4 div:nth-child(3) {
    width: 135px;
    height: 110px;
  }

  #category-container {
    padding: 2rem 0.5rem;
  }

  .collection-card {
    width: 276px;
    height: 394px;
  }
}
/*======================================================================================================*/
