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

/*
{- header start - header end
  - header logo start - header logo end
  - navbar start - navbar end
  - menu sidebar start - menu sidebar end
  - header media breakpoints start - header media breakpoints end
}
*/


/*
{- footer start
}
*/
/* ==================================================================== */



/* 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;
  }
}





/* 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: flex-end;
  gap: 5rem;
  flex: 1;
}


.navbar-btn {
  background-color: transparent;
  color: black;
  font-size: 1.5rem;
}
@media(pointer: fine){
  .navbar-btn:hover{
    color: rgb(211, 9, 9);
  }
}

/* navbar dropdown btn */

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


.navbar-social{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-left: 3rem;
}
.navabr-social-item{
  display: flex;
  align-items: center;
  justify-content: center;
}
.navabr-social-item a{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 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: 10rem;
  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: 10rem;
  padding: 1rem 1.5rem;
  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 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;
  flex-direction: column;
  padding: 1rem 1.7rem;
  position: relative;
}

.menu-dropdown {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.menu-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.8rem;
  padding: 1.5rem 0;
  border-radius: 0.6rem;
  background-color: transparent;
  color: black;
}

.menu-dropdown-btn span {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem 1.2rem;
}
/* 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-item{
    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;
  }
}
@media(max-width: 333px){
  .menu-sidebar{
    width: 100%;
  }
}

/* header media breakpoints end */

/* header end */





/* footer start */
.footer{
  border-top: 1px solid #dbdbdb;
  width: 100%;
  height: 2px;
  margin-top: 10rem;
  height: fit-content;
  flex-direction: column;
  padding: 0;
}
.footer-row1{
  padding: 7rem 0;
  border-bottom: 1px solid #dbdbdb;
  width: 100%;
  padding: 7rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-row1-flex{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10rem;
  gap: clamp(2rem, calc(100 / 1200 * 100vw), 10rem);
}
.footer-row1-column{
  height: 10rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.footer-row1-column-name{
  font-size: 2rem;
  font-weight: 500;
  width: fit-content;
  position: relative;
}
.footer-row1-col-name-underline{
  width: 50%;
  height: 1px;
  background-color: black;
  position: absolute;
  bottom: -0.3rem;
  left: 0;
}
.footer-row1-column-details{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-details-row{
  font-size: 1.3rem;
  color: #65728f;
}
.footer-email-address-title{
  color: black;
  font-size: 1.4rem;
}
.footer-row-1-column-details-social-meida{
  display: flex;
  align-items: center;
  gap: 1rem;
}


.footer-row2{
  height: 10rem;
  padding: 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-row2-flex{
  width: 100%;
  align-items: flex-start;
  font-size: 1.4rem;
  color: #413535;
  line-height: 3rem;
}
@media(max-width: 900px) {
  .footer-row1{
    padding: clamp(2rem, calc(70 / 900 * 100vw), 7rem) 2rem;
  }
  .footer-row1-flex{
    grid-template-columns: 1fr;
    gap: 5rem;
    padding: 2rem clamp(1rem, calc(70 / 900 * 100vw), 7rem);
  }
  .footer-row2-flex{
    padding: 2rem clamp(1rem, calc(70 / 900 * 100vw), 7rem);
  }
}
/* footer end */








