.categories-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.categories-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.categories-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-inline: 10px;
}

.categories-subtitle {
  font-size: 12.5px;
  color: #666;
  font-weight: 500;
}

.categories-main-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}


.categories-section-nav-buttons-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.categories-section-nav-button {
  border: none;
  color: #444;
  font-size: 15px;
  background-color: whitesmoke;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  border-radius: 5px;
  box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  border: solid white .5px;
  transition: 0.3s ease;
}

.categories-section-nav-button:hover {
  background-color: rgb(251, 251, 251);
}

.categories-section-nav-button img {
  height: 17px;
  width: 17px;
  object-fit: contain;
  filter: invert(0.2);
}


.categories-body {
  display: flex;
  gap: 20px;
  overflow: hidden;
  overflow-x: scroll;
  scrollbar-width: none;
  padding: 10px 10px 15px 10px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  background-color: rgb(253, 253, 253);
}

.category-card:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.category-card:hover img {
  box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
}

.category-card:hover .category-card-text {
  color: #333;
}

.category-card-image {
  width: 90px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  mix-blend-mode: multiply;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
  transition: 0.2s ease;
}

.category-card-text {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  transition: 0.3s ease;
}




/* HEADPHONE BANNER */


.headphone-banner-container {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  flex-direction: row-reverse;
  position: relative;
  padding: 25px;
  margin-top: 90px;
  height: 460px;
  background-color: #c6d0f522;
  border-radius: 30px;
}

.headphone-banner-image-container {
  width: 100%;
  height: 100%;
  pointer-events: none;
  padding-right: 80px;
  margin-top: -100px;
  position: relative;
  z-index: -1;
}

.headphone-banner-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(110%);
}



.headphone-banner-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 90px;
  border-radius: 0px;
  flex: 1;
  gap: 5px;
}


.headphone-banner-text-header {
  font-size: 13px;
  font-weight: 500;
  color: #a16979;
}

.headphone-banner-text-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 32px;
  color: #444;
  font-weight: 700;
  margin-bottom: 30px;
}



.device-specs-container {
  display: flex;
  gap: 15px;
  align-items: center;
}


.spec {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  gap: 2px;
  background-color: rgba(255, 255, 255, 0.664);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
  cursor: default;
  transition: 0.3s ease;
}

.spec:hover {
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.92);
}

.spec-header {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.spec-footer {
  font-size: 10px;
  color: #888;
  font-weight: 500;
}



.headphone-banner-text-footer {
  display: flex;
  align-items: center;
}

.headphone-banner-button {
  font-size: 13px;
  color: whitesmoke;
  padding: 12px 25px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  background-color: #3577ED;
  box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.2);
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;

}

.headphone-banner-button:hover {
  background-color: #2861c2;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
}






/* PRODUCT GRID */

.product-grid-container {
  padding: 30px 5px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  margin-block: 10px;
}

.product-grid-container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.product-grid-container-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-grid-container-title {
  font-size: 13px;
  font-weight: 500;
  color: #9c9c9c;
}

.product-grid-container-body {
  font-size: 15px;
  font-weight: 700;
  color: #333;
}


.product-grid-buttons-container {
  display: flex;
  gap: 10px;
  align-items: center;
}


.product-grid-button {
  padding: 7px 15px;
  color: white;
  border: none;
  background-color: white;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.product-grid-button:hover {
  background-color: whitesmoke;
}

.product-grid-button img {
  height: 17px;
  width: 17px;
  object-fit: contain;
}



.product-grid {
  width: 100%;
  display: grid;
  gap: 50px 20px;
  justify-content: space-between;
}


.product-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  max-width: 250px;
  /* box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
  padding: 10px 10px 15px 10px;
  border-radius: 30px; */
}

.product-card:hover .product-card-image {
  transform: scale(105%);
}


.discount-value {
  position: absolute;
  top: 10px;
  right: -10px;
  z-index: 10;
  padding: 4px 10px;
  background-color: #4473D5;
  background: linear-gradient(to right, #4473D5, rgb(66, 73, 196));
  color: white;
  font-size: 10px;
  border-radius: 30px;
  font-weight: 500;
}

.product-card-image-container {
  height: auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F6F7FB;
  /* background-color: #F7F7F7; */
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
}

.product-card-image {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: 0.3s ease;
}

.product-card-footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-inline: 5px;
}

.product-card-name {
  font-size: 13px;
  color: #333;
  text-transform: capitalize;
}

.product-card-meta,
.product-card-price {
  display: flex;
  align-items: center;
  gap: 20px;
}


.final-price-container,
.original-price-container {
  display: flex;
  align-items: center;
  gap: 2px;
}


.final-price,
.final-price-container .currency {
  font-size: 16px;
  color: #555;
  font-weight: 700;
}


.original-price,
.original-price-container .currency {
  font-size: 16px;
  color: #b4b4b4;
  font-weight: 500;
}

.original-price {
  text-decoration: line-through;
}


.color-options {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  justify-content: flex-end;
}

.color-option {
  height: 20px;
  width: 20px;
  background-color: #F6F7FB;
  border-radius: 50%;
  outline: solid rgba(220, 220, 220, 0) 1.5px;
  border: solid rgba(154, 154, 154, 0.333) 1px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.3s ease;
}

.color-option:hover {
  transform: scale(110%);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.color-option.current {
  outline: solid #9b9ea9 1.5px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  border: solid rgb(255, 255, 255) 1.5px;
}


.view-all-products-button-container {
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.view-all-products-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid rgb(235, 235, 235) 1px;
  background-color: #F6F7FB;
  color: rgb(45, 45, 45);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  border-radius: 5px;
  padding: 12px 25px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.view-all-products-button:hover {
  background-color: #fbfcff;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
}







@media (max-width: 768px) {

  header {
    padding: 12px 2px 12px 20px;
  }

  .main-content {
    padding: 25px 20px;
  }

  nav {
    display: none !important;
  }

  .hero-banner {
    flex-direction: column-reverse;
    align-items: center;
    max-height: none;
    min-height: fit-content;
    gap: 0px;
    padding-bottom: 40px;
  }


  .hero-image {
    height: auto;
    width: 100%;
    max-width: 250px;
    object-fit: cover;
  }


  .hero-text {
    padding-inline: 20px;
    text-align: center;
    align-items: center;
  }



  .categories-section {
    padding-inline: 10px;
  }



  .categories-section {
    padding-inline: 0px;
    margin-inline: 0px;
  }

  .categories-body {
    margin-right: -20px;
    margin-left: -20px;
    padding-left: 20px;
  }

  .categories-title {
    padding-inline: 0px;
  }


  .headphone-banner-container {
    justify-content: center;
    padding: 10px;
    padding-top: 0px;
    height: auto;
    flex-direction: column;
    border-radius: 30px;
    gap: 20px;
  }

  .headphone-banner-image-container {
    width: 100%;
    height: 180px;
    padding: 0px;
    margin-top: -40px;
  }

  .headphone-banner-image {
    width: 100%;
    height: 100%;
  }

  .headphone-banner-text-container {
    margin: 0px;
    inset: 20px;
    height: auto;
    padding-inline: 20px;
    align-items: center;
    text-align: center;
    border-radius: 30px;
  }


  .headphone-banner-button {
    padding-inline: 30px;
    border-radius: 30px;
  }







  .product-grid-container {
    padding-inline: 0px;
  }

  .product-grid {
    gap: 40px 10px;
  }

  .product-card {
    width: 135px;
    gap: 10px;
  }


  .discount-value {
    right: -10px;
    font-size: 9px;
    padding: 4px 8px;
  }

  .original-price-container {
    display: none;
  }

  .product-card-footer {
    padding-inline: 5px;
    flex: 1;
    justify-content: space-between;
  }

  .product-card-name {
    font-size: 12px;
    color: #666;
  }

  .color-option {
    height: 15px;
    width: 15px;
  }
}



@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: auto auto;
  }
}


@media (min-width: 860.1px) and (max-width: 1170px) {
  .product-grid {
    grid-template-columns: auto auto auto;
  }
}


@media (min-width: 1170px) {
  .product-grid {
    grid-template-columns: auto auto auto auto;
  }
}