/* ================================================================== 
STRUCTURE & RESPONSIBILITIES
==================================================================== */

/*
{- dropdown start - dropdown end
  - dropdown button start - dropdown button end
  - dropdown menu start - dropdown menu end
    - secondary dropdown menu start - secondary dropdown menu end
    - dropdown open action start - dropdown open action end
}
*/

/*
{- header start - header end
  - header logo start - header logo end
  - navbar start - navbar end
  - header actions start - header actions end
    - header actions containers start - header actions containers end
    - sidebar buttons start - sidebar buttons end
      - sidebar actions btn svg stroke width start - sidebar actions btn svg stroke width end
    - sidebar start - sidebar end
    - search form start - search form end

    - cart sidebar start - cart sidebar end
      - cart-sidebar-item image start - cart-sidebar-item image end
      - cart item content start - cart item content end
      - cart item detete button start - cart item detete button end
      - cart counter start - cart counter end
      - cart bottom header start - cart bottom header end

    - wishlist sidebar start - wishlist sidebar end
      - wishlist-sidebar-item image start - wishlist-sidebar-item image end
      - wishlist item content start - wishlist item content end
      - wishlist item detete button start - wishlist item detete button end
      - wishlist bottom header start - wishlist bottom header end

    - user sidebar start - user sidebar end
      - user sidebar profile image and name title start - user sidebar profile image and name title end
      - user sidebar item grid start - user sidebar item grid end
    
    - menu sidebar start - menu sidebar end
      -

  - header media breakpoints start - header media breakpoints end
}
*/



/* 
{
- product card start - product card end
}
*/


/* 
{
- trending section start - trending section end
}
*/


/*
{- footer start - footer end
  - footer main row1 start - footer main row1 end
    - footer column start - footer column end
  - footer main row2 start - footer main row2 end
  - footer sub start - footer sub end
  - footer breakpoints start - footer breakpoints end
}
*/
/* ==================================================================== */



/* global css start */
:root {
  --scroll-bar-color: #888 #ffffff;
  --bg-color: white;
}


/* button and link start */
a,
button,
.custom-btn-remove-bg {
  -webkit-tap-highlight-color: transparent;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

@media(pointer: fine) {

  .opacity-none-a a:hover,
  .opacity-none-b a:hover,
  .opacity-none:hover {
    opacity: 1;
  }

  .opacity-a1s a:hover,
  .opacity-a1:hover {
    opacity: 0.8;
  }

  .opacity-b1s button:hover,
  .opacity-b1:hover {
    opacity: 0.8;
  }
}

@media(pointer: coarse) {

  .opacity-none-a a:active,
  .opacity-none-b a:active,
  .opacity-none:active {
    opacity: 1;
  }

  .opacity-a1s a:active,
  .opacity-a1:active {
    opacity: 0.8;
  }

  .opacity-b1s button:active,
  .opacity-b1:active {
    opacity: 0.8;
  }
}

/* underline hover start */
.underline-hover,
.underline-hover-parents-a a,
.underline-hover-parents-b button {
  position: relative;
}

.underline-hover::after,
.underline-hover-parents-a a::after,
.underline-hover-parents-b button::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #000;
  transition: width 0.3s ease;
}

@media(pointer: fine) {
  .underline-hover-parent:hover .underline-hover::after,
  .underline-hover:hover::after,
  .underline-hover-parents-a a:hover::after,
  .underline-hover-parents-b button:hover::after {
    opacity: 0.8;
    width: 100%;
  }
}

@media(pointer: coarse) {
  .underline-hover-parent:active .underline-hover::after,
  .underline-hover:active::after,
  .underline-hover-parents-a a:active::after,
  .underline-hover-parents-b button:active::after {
    opacity: 0.8;
  }
}

/* underline hover end */

/* primary button hover start */
@media(pointer: fine) {
    .primary-button:hover {
        background-color: rgb(44, 42, 42);
    }
}

@media(pointer: coarse) {
    .primary-button.active {
        background-color: rgb(44, 42, 42);
    }
}
/* primary button end */


/* button and link end */

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  border: none;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}


html {
  font-size: 62.5%;
}


body {
  background-color: white;
}


@media (max-width: 600px) {
  * {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  *::-webkit-scrollbar {
    display: none;
  }
}


/* common layout css */
.layout {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
}


.layout-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
}


@media(max-width: 768px) {
  .layout {
    padding: 2rem;
  }
}






/* dropdown css */

/* dropdown start */
.dropdown {
  position: relative;
  display: inline-block;
}


/* dropdown button start */
.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: black;
}


.dropdown-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
}


.dropdown-btn span svg {
  width: 1.8rem;
}


.arrow {
  transition: transform 0.4s ease;
}

/* dropdown button end */

/* dropdown menu start */
.dropdown-menu {
  position: absolute;
  top: 4rem;
  left: -4rem;
  background: white;
  box-shadow: none;
  filter: drop-shadow(0 0 1px rgba(127, 133, 146, 0.5));
  border-radius: 0.8rem;
  display: grid;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  grid-template-columns: repeat(3, 1fr);
  width: max-content;
  gap: 3rem;
  column-gap: 3rem;
  padding: 2rem 1.5rem;
  transition: top 0.2s ease, opacity 0.2s ease;
  user-select: none;
}


.dropdown-col,
.dropdown-subItems-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.dropdown-subItems-group {
  gap: 2.5rem;
}


.dropdown-col-title {
  font-weight: 500;
  font-size: 1.7rem;
  padding: 0 1.4rem;
}


.dropdown-menu a {
  padding: 0 1.4rem;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 400;
  color: #2c2a2a;
  color: rgb(31, 31, 31);
  font-family: "Inter", sans-serif;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}


/* secondary dropdown menu start */
.dropdown-menu-min-width {
  min-width: 19em;
  width: fit-content;
  padding: 2rem;
  gap: 0;
}

.dropdown-subItems-group-min-width {
  width: 100%;
  gap: 2rem;
}

.dropdown-menu-min-width a {
  padding: 0;
  width: max-content;
  width: 17rem;
  font-size: 1.4rem;
}

.dropdown-menu-min-width a span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-menu-min-width a span svg {
  width: 20px;
}

/* secondary dropdown menu end */


.dropdown-overlay {
  width: 100%;
  height: 4rem;
  position: absolute;
  top: 1rem;
  display: none;
}


/* dropdown open action start */
.dropdown-menu.open {
  max-height: 1000px;
  opacity: 1;
  pointer-events: auto;
  top: 3.5rem;
  user-select: auto;
}


.dropdown-overlay.open {
  display: block;
}


.arrow.open {
  transform: rotate(180deg);
}


/* dropdown open action end */

/* dropdown menu end */


/* dropdown end */




/* header start */
.header {
  height: 9rem;
  background-color: white;
  position: sticky;
  z-index: 1000;
  top: 0;
  left: 0;
}

.header.active {
  box-shadow: 0 0 2.5px rgb(0, 0, 0, 0.2);
}

@media(max-width: 768px) {
  .header {
    padding: 0 1.5rem;
  }
}

.header-flex {
  flex-direction: row;
  justify-content: space-between;
}


/* header logo start */
.logo-menu {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.logo {
  font-size: 2.6rem;
  color: black;
  font-weight: 600;
}

/* header logo end */

/* navbar start */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex: 1;
}


.navbar-btn {
  background-color: transparent;
  color: black;
  font-size: 1.5rem;
}

/* navbar dropdown btn */

.navbar-link-btn {
  padding: 1rem 0;
}


/* navbar end */





/* header actions start */
.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}


/* header actions containers start */
.sidebar-containers {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-sidebar-container {
  display: none;
}

.search-bar-container {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

/* header actions containers end */

/* sidebar buttons start */
.sidebar-btn,
.search-btn {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-btn svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media(pointer: fine) {

  .sidebar-btn:hover svg,
  .search-btn:hover {
    transform: scale(1.1);
  }

}

@media(pointer: coarse) {

  .sidebar-btn:active svg,
  .search-btn:active {
    transform: scale(1.08) translateZ(20px);
  }

}


.cart-wishlist-btn-item-count {
  background-color: rgb(255, 157, 0);
  width: 14px;
  height: 14px;
  font-size: 0.8rem;
  position: absolute;
  top: -1px;
  right: -1px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  user-select: none;
}

.search-btn {
  display: none;
}


/* sidebar actions btn svg stroke width start */
.menu-btn {
  stroke-width: 1.2px;
}

.search-btn {
  stroke-width: 1px;
}

.wishlist-btn svg {
  stroke-width: 0px;
}

.cart-btn svg {
  stroke-width: 0.9px;
}

.user-btn svg {
  stroke-width: 1.1px;
}

/* search-form button svg */
.search-form button svg {
  stroke-width: 1px;
}

/* sidebar actions btn svg stroke width end */

/* sidebar buttons end */















/* sidebar start */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(101%);
  width: 50rem;
  height: 100dvh;
  background-color: white;
  z-index: 11;
  transition: transform 0.3s ease;
}

.user-sidebar {
  width: 40rem;
}

.menu-sidebar {
  left: 0;
  transform: translateX(-101%);
  width: 40rem;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(101%);
  background-color: rgba(0, 0, 0, 0.20);
  width: 100%;
  height: 100%;
  z-index: 10;
}

.sidebar-overlay.open {
  transform: translateX(0);
}

.sidebar-header {
  position: sticky;
  top: 0;
  right: auto;
  left: 0;
  width: 100%;
  height: 7.2rem;
  border-bottom: 1px solid #d5d5d5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.7rem;
  background-color: white;
  z-index: 3;
}

.sidebar-header-title {
  font-size: 1.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.sidebar-header-col button {
  display: flex;
  align-items: center;
  background-color: transparent;
}

@media(pointer: fine) {

  .sidebar-header-col button:hover,
  .searchbar-close-btn:hover {
    color: rgb(255, 64, 64);
  }
}

@media(pointer: coarse) {

  .sidebar-header-col button:active,
  .searchbar-close-btn:active {
    color: rgb(255, 64, 64);
  }
}

/* sidebar end */





/* search form start */


.search-sidebar {
  width: 21rem;
  height: fit-content;
}

.searchbar-overlay {
  display: none;
}

.search-form {
  border: 1px solid #d5d5d5;
  width: 100%;
  height: 3.8rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-color: white;
}



.search-form input {
  font-size: 1.25rem;
  height: 100%;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  padding: 1rem;
  padding-right: 4rem;
  z-index: 2;
  background-color: transparent;
}

.search-form input:focus-within {
  border: 1px solid #000000;
}

.search-form button {
  background-color: transparent;
  display: flex;
  align-items: center;
  position: absolute;
  right: 1rem;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
}

/* search form end */






/* cart sidebar start */

.cart-item-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: scroll;
  height: 100%;
  max-height: calc(100vh - 20.4rem);
}

.cart-item {
  display: flex;
  gap: 1.4rem;
  padding: 1rem;
  position: relative;
}

/* cart item image start */
.cart-item-img {
  height: 12rem;
  background-color: rgb(240, 243, 245);
  border-radius: 0.7rem;
  position: relative;
}


.cart-item-img img {
  height: 100%;
  width: auto;
  border-radius: 0.7rem;
}

/* cart item image end */




/* cart item content start */
.cart-item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  color: black;
}

.cart-item-name {
  font-size: 1.4rem;
  color: black;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 1.6rem;
  font-weight: 500;
}

/* cart item content end */

/* cart item delete button start */
.cart-item-delete {
  position: absolute;
  bottom: 2.3rem;
  right: 1.75rem;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media(pointer: fine) {
  .cart-item-delete:hover {
    color: rgb(255, 64, 64);
  }
}

@media(pointer: coarse) {
  .cart-item-delete:active {
    color: rgb(255, 64, 64);
  }
}

/* cart item delete button end */


/* cart counter start */
.cart-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  height: 3.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.cart-counter button {
  background-color: transparent;
  border: none;
  padding: 0rem 1rem;
  height: 100%;
  font-size: 1.2rem;
}

@media(pointer: fine) {
  .cart-counter button:hover {
    background-color: #eff0f5;
  }
}

@media(pointer: coarse) {
  .cart-counter button:active {
    background-color: #eff0f5;
  }
}

.cart-counter .count-input {
  width: 3rem;
  height: 100%;
  text-align: center;
  border: none;
  outline: none;
  font-size: 1.2rem;
}


.count-input::-webkit-outer-spin-button,
.count-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide arrows in Firefox */
.count-input[type="number"] {
  -moz-appearance: textfield;
}

/* cart counter end */


/* cart bottom header start */
.cart-bottom-header {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  padding: 2rem 1rem;
}

.cart-item-total-price {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.cart-item-total-price span {
  font-size: 1.5rem;
}

.cart-item-view-checkout-buttons {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.cart-item-view-checkout-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 1.3rem 2rem;
  border-radius: 0.5rem;
  width: 100%;
  background-color: #def2f2ec;
  color: black;
}


.cart-item-view-checkout-buttons .cart-item-checkout {
  background-color: black;
  color: white;
}

/* cart bottom header end */

/* cart sidebar end */








/* wishlist sidebar start */

.wishlist-item-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: scroll;
  max-height: calc(100vh - 16.4rem);
}

.wishlist-item {
  display: flex;
  gap: 1.4rem;
  padding: 1rem;
  position: relative;
}

/* wishlist item image start */
.wishlist-item-img {
  height: 12rem;
  background-color: rgb(240, 243, 245);
  border-radius: 0.7rem;
  position: relative;
}


.wishlist-item-img img {
  height: 100%;
  width: auto;
  border-radius: 0.7rem;
}

/* wishlist item image end */




/* wishlist item content start */
.wishlist-item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  color: black;
}

.wishlist-item-name {
  font-size: 1.4rem;
  color: black;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-item-price {
  font-size: 1.6rem;
  font-weight: 500;
}

/* wishlist item content end */

/* wishlist item delete button start */
.wishlist-item-delete {
  position: absolute;
  bottom: 2.3rem;
  right: 1.75rem;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media(pointer: fine) {
  .wishlist-item-delete:hover {
    color: rgb(255, 64, 64);
  }
}

@media(pointer: coarse) {
  .wishlist-item-delete:active {
    color: rgb(255, 64, 64);
  }
}

/* wishlist item delete button end */



/* wishlist bottom header start */
.wishlist-bottom-header {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 1rem;
}

.wishlist-item-total-price {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.wishlist-item-total-price span {
  font-size: 1.5rem;
}

.wishlist-item-view-checkout-buttons {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.wishlist-item-view-checkout-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 1.3rem 2rem;
  border-radius: 0.5rem;
  width: 100%;
  background-color: rgb(241, 238, 238);
  color: black;
}


.wishlist-item-view-checkout-buttons .cart-item-checkout {
  background-color: black;
  color: white;
}

/* wishlist bottom header end */

/* wishlist sidebar end */



/* user sidebar start */
.user-sidebar-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem;
  overflow-y: scroll;
  max-height: calc(100vh - 7rem);
}

/* user sidebar profile image and name title start */
.user-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-sidebar-img {
  background-color: #FEEEF0;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-sidebar-img svg {
  width: 2.2rem;
  height: 2.2rem;
  color: #F55266;
}

.user-sidebar-name-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.user-sidebar-name {
  font-size: 1.7rem;
  font-weight: 500;
}

.user-sidebar-address {
  font-size: 1.4rem;
  color: rgb(71, 69, 69);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.user-sidebar-address span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-sidebar-address span svg {
  width: 2.4rem;
  height: 2.4rem;
  color: rgb(92, 59, 239);
}

/* user sidebar profile image and name title end */

/* user sidebar item grid start */
.user-sidebar-item-grid {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.user-sidebar-item-con {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.user-sidebar-item-title {
  font-size: 1.7rem;
  font-weight: 500;
}

.user-sidebar-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.user-sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 1.5rem;
  color: rgb(65, 62, 62);
}

.user-sidebar-item span {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* user sidebar item grid end */
/* user sidebar end */




/* menu sidebar start */
.menu-sidebar {
    height: 100%;
    overflow-y: scroll;
}

/* menu sidebar grid start */
.menu-sidebar-grid {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 3rem; */
    flex-direction: column;
    padding: 1rem 1.7rem;
    position: relative;
}

.menu-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}
.menu-dropdown:nth-child(1){
    margin-top: 0;
}
.menu-dropdown:nth-child(2){
    margin-bottom: 1rem;
}
.menu-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.8rem;
    border-radius: 0.6rem;
    background-color: transparent;
    color: black;
}

.menu-dropdown-btn span {
    font-size: 1.55rem;
    display: flex;
    align-items: center;
    gap: 1rem 1.2rem;
}

.menu-dropdown-btn span svg {
    width: 2rem;
}



.menu-dropdown-category-btn {
    background-color: rgb(242, 244, 251);
    padding: 1rem 1.8rem;
}

.menu-dropdown-btn .menu-dropdown-category-svg svg {
    width: 2.5rem;
}


.menu-dropdown-menu {
    border: 1px solid #e4e4e4;
    border-radius: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.menu-dropdown-menu-flex {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 3rem;
}

.menu-dropdown-menu-items,
.menu-dropdown-menu-item-links {
    display: flex;
    flex-direction: column;
    gap: 2.3rem;
}

.menu-dropdown-menu-item-links {
    gap: 3rem;
}

.menu-dropdown-menu-item-title {
    font-size: 1.65rem;
    font-weight: 500;
}

.menu-dropdown-menu-item-links a {
    font-size: 1.5rem;
    color: rgb(41, 40, 40);
    font-family: 'Inter', sans-serif;
}

.menu-dropdown-menu.open {
    transform: translateX(0);
    max-height: 1000rem;
    overflow: auto;
    opacity: 1;
    transition: all 0.3s ease;
}

.menu-dropdown-btn .arrow svg.open {
    transform: rotate(180deg);
}

/* menu sidebar grid end */
/* menu sidebar end */

/* header actions end */







/* header media breakpoints start */
@media(max-width: 1100px) {
  .navbar {
    gap: clamp(4.9rem, calc(50 / 1100 * 100vw), 5rem);
  }
}

@media(max-width: 1080px) {
  .navbar {
    gap: 3rem;
  }
}

@media(max-width: 1000px) {
  .navbar {
    display: none;
  }

  .menu-sidebar-container {
    display: flex;
  }

  .search-bar-container {
    margin-right: 0;
  }

  .search-sidebar {
    display: none;
    position: fixed;
    top: 9rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 30rem;
    z-index: 5;
    transition: all 0.3s ease;
  }

  .search-sidebar.open {
    display: flex;
  }

  .search-form {
    border: 1px solid #ffffff;
  }

  .searchbar-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(0, 0, 0, 0.5);
    z-index: 4;
    display: none;
    transition: all 0.3s ease;
  }

  .searchbar-overlay.open {
    display: block;
  }

  .searchbar-close-btn {
    position: fixed;
    top: 8.6rem;
    left: 70%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    z-index: 5;
    color: white;
  }

  .search-btn {
    display: flex;
  }
}

@media(max-width: 850px) {
  .searchbar-close-btn {
    left: 90%;
  }
}

@media(max-width: 768px) {
  .menu-btn {
    stroke-width: 1.9px;
  }

  .search-btn {
    stroke-width: 1.9px;
  }

  .wishlist-btn svg {
    stroke-width: 0.69px;
  }

  .cart-btn svg {
    stroke-width: 1.66px;
  }

  .user-btn svg {
    stroke-width: 2px;
  }

  /* search-form button svg */
  .search-form button svg {
    stroke-width: 1.5px;
  }


}


@media(max-width: 550px) {
  .sidebar {
    width: 40rem;
  }
}

@media(max-width: 450px) {
  .sidebar {
    width: 30rem;
  }

  .sidebar {
    width: 100%;
  }

  .menu-sidebar {
    width: 33rem;
  }

  .cart-item-grid {
    gap: 0.5rem;
  }

  .wishlist-item-grid {
    gap: 0.5rem;
  }
}

@media(max-width: 420px) {
  .searchbar-close-btn {
    left: 50%;
    top: 3rem;
  }
}


/* header media breakpoints end */

/* header end */









/* product card start */
.product-card {
  background: #fff;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out;
  height: fit-content;
  color: black;
  position: relative;
}


.product-image {
  width: 100%;
  background-color: #F5F7FA;
  padding: 3rem;
  /* border-radius: 0.5rem; */
}

.product-image img {
  width: 100%;
  height: auto;
  /* border-radius: 0.5rem; */
}

.product-info {
  padding: 1rem 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.product-name {
  font-size: 1.4rem;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 500;

}


.product-cart-wishlist-add-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
  gap: 1rem;
  transform: translateX(-15px);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease-in-out;
}

.product-cart-add-btn,
.product-wishlist-add-btn {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.product-wishlist-add-btn {
  margin-left: 0.25rem;
}

@media(pointer: fine) {

  .product-card:hover .product-cart-wishlist-add-btn {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .product-cart-add-btn svg:hover,
  .product-wishlist-add-btn svg:hover {
    transform: scale(1.1);
  }
}

@media(max-width: 900px) {
  .product-cart-wishlist-add-btn {
    display: none;
  }
}


/* product card end */










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

.trending-flex {
  gap: 2rem;
}

.trending-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

.trending-title-sub {
  text-align: center;
  font-size: 1.3rem;
  color: rgb(118, 114, 114);
}

.trending-item-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;
}


/* trending item start */
.trending-item-div {
  position: relative;
}


.trending-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.2s ease-in-out;
  position: relative;
}

.trending-item-img {
  width: 100%;
  min-height: 28rem;
  background-color: #F5F7FA;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  border-radius: 0.5rem;
}

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


.trending-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: #090909;
}

.trending-item-title {
  font-size: 1.4rem;
  text-transform: uppercase;
}

.trending-item-price {
  font-size: 1.5rem;
  font-weight: 500;
}


.trending-cart-wishlist-add-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
  gap: 1rem;
  transform: translateX(-15px);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease-in-out;
}

.trending-cart-add-btn,
.trending-wishlist-add-btn {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.trending-wishlist-add-btn {
  margin-left: 0.25rem;
}

@media(pointer: fine) {
  .trending-item:hover .trending-cart-wishlist-add-btn {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .trending-cart-add-btn svg:hover,
  .trending-wishlist-add-btn svg:hover {
    transform: scale(1.1);
  }
}

@media(max-width: 900px) {}

/* trending item end */

/* trending section breakpoints start */
@media(max-width: 1000px) {
  .trending-item-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    width: 100%;
    user-select: none;
  }

  .trending-item-container::-webkit-scrollbar {
    display: none;
  }

  .trending-item {
    flex-shrink: 0;
    min-width: 26rem;
    -webkit-user-drag: none;
  }
}

@media(max-width: 900px) {
  .trending-cart-wishlist-add-btn {
    display: none;
  }
}

/* trending section breakpoints end */

/* trending section end */









/* footer start */

.footer {
  flex-direction: column;
  height: fit-content;
  padding: 0;
  margin-top: 5rem;
}

.footer-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-top: 1px solid #E6E6E6;
}


.footer-main-flex {
  width: 100%;
  gap: 1rem;
}


/* footer main row1 start */
.footer-main-row1 {
  width: 100%;
  height: fit-content;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 5rem;
  padding-bottom: 6rem;
}

/* footer column start */
.footer-main-col-links,
.footer-main-col {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
}

.footer-main-col {
  height: 100%;
}

.footer-subscribe-form form {
  width: 100%;
}

.footer-main-col-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: black;
}

.footer-main-col-link {
  width: fit-content;
  font-size: 1.5rem;
  color: rgb(78, 77, 77);
  position: relative;
}


.footer-subscribe-form {
  display: flex;
  align-items: center;
}

.footer-form {
  border-radius: 0.5rem;
  width: 25rem;
  height: 4rem;
  display: flex;
  align-items: center;
  position: relative;
}

.footer-form input {
  width: 100%;
  height: 100%;
  padding: 1rem 1.5rem;
  padding-right: 4rem;
  border: 1px solid #E6E6E6;
  border-radius: 0.5rem;
}

.footer-form input:focus {
  border: 1px solid #000000;
}

.footer-form button {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(73, 69, 69);
  cursor: pointer;
}

.footer-form button svg {
  width: 2rem;
}

/* footer column end */
/* footer main row1 end */


/* footer main row2 start */
.footer-main-row2 {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}


@media(pointer: fine) {
  .footer-main-row2 a:hover {
    opacity: 0.8;
  }
}

@media(pointer: coarse) {
  .footer-main-row2 a:active {
    opacity: 0.8;
  }
}

/* footer main row2 end */


/* footer sub start */
.footer-sub {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid #E6E6E6;
}

.footer-sub-flex {
  flex-direction: row;
  justify-content: space-between;
}


.footer-sub-col1 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.5rem;
}

.footer-reserved-mes {
  color: #413535;
}

.footer-sub-col1-slice {
  font-size: 1.8rem;
  color: #413535;
}

.footer-sub-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.footer-sub-links a {
  color: #413535;
}

.footer-sub-col2 {
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* footer sub end */


/* footer breakpoints start */
@media(max-width: 950px) {
  .footer-main-row1 {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .footer-main-col {
    min-width: 0;
  }

  .footer-main-col-form {
    grid-column: span 3;
  }

  .footer-subscribe-form {
    width: 100%;
  }

  .footer-form {
    width: 100%;
  }

  .footer-form input {
    width: 100%;
  }

  .footer-main-row2 {
    justify-content: center;
  }

  .footer-sub-flex {
    flex-direction: column-reverse;
    gap: 3rem;
  }

  .footer-sub-col2 {
    margin-top: 2rem;
  }
}

@media(max-width: 768px) {
  .footer {
    padding: 0;
  }

  .footer-main {
    padding: 1.5rem;
  }

  .footer-sub-col2 {
    margin-top: 2.5rem;
  }

  .footer-sub {
    padding: 1.5rem;
  }
}

@media(max-width: 700px) {
  .footer-main-row1 {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 5rem;
  }

  .footer-subscribe-form {
    width: 100%;
  }

  .footer-form {
    width: 100%;
  }


  .footer-sub-flex {
    flex-direction: column-reverse;
    gap: 3rem;
  }


  .footer-sub-col1 {
    flex-direction: column-reverse;
    gap: 3rem;
  }

  .footer-sub-col1-slice {
    display: none;
  }

  .footer-sub-col2 {
    margin-top: 2rem;
  }
}

@media(max-width: 550px) {
  .footer-main-row1 {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 5rem;
  }

  .footer-main-col-form {
    grid-column: span 1;
  }

  .footer-form {
    width: 100%;
  }
}

/* footer breakpoints end */

/* footer end */