/* ================================================================== 
STRUCTURE & RESPONSIBILITIES
==================================================================== */
/*
{- hero section 
  - hero swiper buttons
  - hero swiper
  - hero section breakpoints 
}
*/

/* 
{- suggestion section 
  - suggestion big screen 
    - suggestion col for all screen 
  - suggestion swiper css 
    - suggestion swiper 
      - suggestion swiper 
  - suggestion section breakpoints 
}
*/

/*
{- product section
  - product section breakpoints 
}
*/

/* 
{- deals section 
  - deals section breakpoints 
}
*/

/* 
{
- trending section
}
*/

/* ==================================================================== */


/* hero section start */

.hero-section {
  background-color: white;
  padding: 0 2rem;
  height: auto;
}

.hero-section-flex {
  border-radius: 1rem;
  max-width: 100%;
}

.hero-swiper{
  height: 44rem;
  max-width: 1200px;
  border-radius: 1rem;
}
.hero-slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  width: 100%;
  background-color: #F5F7FA;
  padding-right: 2rem;
  padding-left: 4rem;
  height: 44rem;
  border-radius: 1rem;
  max-width: 1200px;
  position: relative;
}

.hero-content {
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}


.hero-deals {
  font-size: 1.7rem;
  color: #9594B5;
  white-space: nowrap;
}

.hero-title {
  font-size: 4.3rem;
  font-weight: 500;
  color: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  white-space: nowrap;
}

.hero-title span {
  font-family: "Platypi", serif;
}


.hero-buttons {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 1.5rem;
  margin-top: 3rem;
}

.hero-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border-radius: 0.5rem;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.hero-button span {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-img {
  width: fit-content;
  height: fit-content;
}

.hero-img img {
  width: 650px;
  height: auto;
}

/* hero swiper buttons start */
.hero-swiper-buttons {
  justify-content: center;
  padding: 0 2rem;
  display: none;
}

.hero-swiper-buttons-flex {
  width: 100%;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-swiper-custom-pagination {
  bottom: -2rem;
  pointer-events: none;
}

.hero-swiper-bullet {
  width: 3rem;
  height: 0.3rem;
  pointer-events: auto;
  border-radius: 0.5rem;
}

/* hero swiper buttons end */
@media(max-width: 1110px) {
  .hero-img img{
    width: clamp(500px, calc(650 / 1200 * 100vw), 650px);
  }
}

@media(max-width: 1110px) {
  .hero-content{
    position: absolute;
    top: 50%;
    left: 4rem;
    transform: translateY(-50%);
    z-index: 2;
  }
  .hero-img{
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1;
  }
}
@media(max-width: 550px){
  .hero-slide{
    overflow: hidden;
  }
}
@media(max-width: 530px) {
  .hero-content{
    left: 2rem;
  }
  .hero-title{
    font-size: 3rem;
  }
  .hero-img{
    right: 2rem;
  }
}
@media(max-width: 500px) {
  .hero-swiper{
    height: 30rem;
  }
  .hero-slide{
    height: 30rem;
  }
  .hero-img img{
    width: clamp(250px, calc(300 / 500 * 100vw), 300px);
  }
}
/* hero section end */







/* suggestion section start */
.suggestion-section {
  margin-top: 5rem;
}


/* suggestion big screen start */
.suggestion-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}


/* suggestion col for all screen start */
.suggestion-col {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border-radius: 1rem;
  position: relative;
  transition: transform 0.2s ease-in-out;
}

.suggestion-col1 {
  background-color: #F1F8F1;
}

.suggestion-col2 {
  background-color: #EDEFFF;
}

.suggestion-col3 {
  background-color: #F3F3F3;
}

.suggestion-col4 {
  background-color: #EDEDF5;
}

@media(pointer: fine) {
  .suggestion-col:hover {
    transform: scale(1.02);
  }
}

@media(pointer: coarse) {
  .suggestion-col:active {
    transform: scale(1.02);
  }
}

.suggestion-content {
  color: black;
  height: fit-content;
  display: flex;
  flex-direction: column;
  padding: 5rem 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.suggestion-title {
  font-size: 1.3rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  background-color: white;
  border-radius: 0.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.suggestion-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suggestion-img {
  width: 100%;
  height: auto;
}

/* suggestion col for all screen end */

/* suggestion big screen end */


/* suggestion swiper start */
.suggestion-swiper-section {
  display: none;
}

.suggestionSwiper {
  border-radius: 1rem;
  height: fit-content;
}

.suggestion-swiper-slide {
  border-radius: 1rem;
  height: fit-content;
}

/* suggestion swiper buttons start */
.suggestion-swiper-buttons {
  padding: 2rem;
}


.suggestion-swiper-custom-pagination {
  bottom: -3rem;
  display: none;
}

.suggestion-swiper-bullet {
  width: 1rem;
  height: 1rem;
  min-width: 0.85rem;
  min-height: 0.85rem;
}

/* suggestion swiper buttons end */

/* suggestion swiper end */


/* suggestion section breakpoints start */
@media(max-width: 1165px) {
  .suggestion-section-grid {
    grid-template-columns: repeat(2, 1fr);
    display: none;
  }

  .suggestion-swiper-section {
    display: flex;
  }

  .suggestion-col {
    width: 100%;
    height: fit-content;
  }

  .suggestion-img {
    width: 100%;
    height: auto;
  }
}

/* suggestion section breakpoints end */

/* suggestion section end */













/* product section start */
.product-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 5rem;
}

.product-section-flex {
  width: 100%;
  gap: 2rem;
}

.product-section-flex .product-title {
  font-size: 2.5rem;
  font-weight: 500;
}

.product-grid {
  display: grid;
  gap: 2rem;
  row-gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}


/* product section breakpoints start */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* product section breakpoints end */

/* product section end */














/* deals section start */

.deals-section {
  margin-top: 10rem;
}

.deals-section-flex {
  border-radius: 2rem;
  position: relative;
  gap: 2rem;
}


.deals-title {
  font-size: 2.5rem;
  font-weight: 500;
}


.deals-container {
  background-color: #F5F7FA;
  width: 100%;
  height: 44rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
}

.deals-time {
  font-size: 2rem;
}

.deals-name {
  font-size: 3rem;
  font-weight: 500;
}

.deals-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background-color: white;
  padding: 2rem;
  width: 100%;
  max-width: 30rem;
}

.deals-space-for-time {
  font-size: 1.8rem;
}

.deals-day,
.deals-hour,
.deals-minute {
  font-size: 1.7rem;
  font-weight: 500;
  width: 3.8rem;
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255);
  border-radius: 0.5rem;
}

.deals-discount {
  font-size: 1.7rem;
  font-weight: 500;
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  color: white;
  padding: 0.7rem 2rem;
  border-top-left-radius: 1rem;
}

.deals-button {
  margin-top: 1.5rem;
}

.deals-button a {
  background-color: black;
  color: white;
  font-size: 1.4rem;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
}

/* deals section breakpoints start */
@media(max-width: 450px) {
  .deals-container {
    height: 40rem;
  }

  .deals-discount {
    font-size: 1.5rem;
  }

  .deals-button {
    margin-top: 2rem;
  }
}

/* deals section breakpoints end */
/* deals section end */




/* shopByBrand section start */
.shopByBrand {
  margin-top: 10rem;
}

.shopByBrand-flex {
  gap: 2rem;
}

.shopByBrand-title {
  font-size: 2.3rem;
  font-weight: 500;
}

.shopByBrand-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(0, 0, 0, .2);
  border-left: 1px solid rgba(0, 0, 0, .2);
}

.shopByBrand-item {
  min-height: 23rem;
  max-width: 3orem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: white;
  border-right: 1px solid rgba(0, 0, 0, .2);
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  -webkit-tap-highlight-color: transparent;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  transition: all 0.5s ease;
}

@media(pointer: fine) {
  .shopByBrand-item:hover {
    background-color: rgba(69, 68, 68, 0.1);
    opacity: 0.8;
  }
}

@media(pointer: coarse) {
  .shopByBrand-item:active {
    background-color: rgba(69, 68, 68, 0.1);
    opacity: 0.8;
  }
}

.shopByBrand-item:nth-child(1) {
  grid-row: span 2;
}

.shopByBrand-item:nth-child(2) {
  grid-column: span 2;
}
.shopByBrand-item span{
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 1.8rem;
  font-weight: 500;
}


.shopByBrand-item:nth-child(6) {
  grid-column: span 2;
}

@media(max-width: 1050px) {
  .shopByBrand-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .shopByBrand-item:nth-child(2) {
    grid-column: span 1;
  }

  .shopByBrand-item:nth-child(3) {
    grid-column: span 2;
  }

  .shopByBrand-item:nth-child(4) {
    grid-column: span 2;
  }
    .shopByBrand-item:nth-child(5) {
    grid-row: span 2;
  }
}

@media(max-width: 750px) {
  .shopByBrand-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shopByBrand-item:nth-child(2) {
    grid-column: span 1;
  }

  .shopByBrand-item:nth-child(3) {
    grid-column: span 1;
  }

  .shopByBrand-item:nth-child(4) {
    grid-column: span 2;
  }
    .shopByBrand-item:nth-child(5) {
    grid-row: span 1;
  }
   .shopByBrand-item:nth-child(6) {
    grid-column: span 1;
  }
}



@media(max-width: 550px) {
  .shopByBrand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shopByBrand-item:nth-child(2) {
    grid-column: span 1;
  }

  .shopByBrand-item:nth-child(3) {
    grid-column: span 1;
  }

  .shopByBrand-item:nth-child(4) {
    grid-column: span 2;
  }
    .shopByBrand-item:nth-child(5) {
    grid-row: span 1;
  }
   .shopByBrand-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 2;
  }
}

/* shopByBrand section end */


/* trending section start */
.trending{
  margin-top: 7rem;
}
/* trending section end */