@font-face {
  font-family: "Montserrat";
  src: url(../../fonts/Montserrat-Regular.woff2);
}

body {
  font-family: "Montserrat";
  /* display: none; */
  width: 100%;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Scanner loading animation */
.scanner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top: 5px solid pink;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  top: 0;
  left: 0;
  z-index: 1000;
  position: fixed;
  width: 100%;
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  width: 100%;
  padding: 20px;

  box-shadow: 1px 1px 1px #29282815;
}


.mira_logo {
  width: 60px;
}

.header div:first-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.shop-dropdown {
  /* position: ab; */
  padding: 25px 10px;
  position: absolute;
  top: -90px;
  width: 100%;
  background-color: #fff;
  z-index: 10;
}

.shop-dropdown.active {
  top: 90%;
}

.shop-dropdown ul {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.shop-dropdown ul li {
  list-style-type: none;
}

.shop-dropdown ul li a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
}

/* Search Container */
.search-container {
  position: relative;
  display: inline-block;
}

/* Search Icon */
.search-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: 40px;
  /* Adjust based on your layout */
  right: 0;
  width: 300px;
  /* Adjust width as needed */
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 10;
  display: none;
  /* Hidden by default */
}

/* Search Input */
.search-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}


nav ul {
  display: flex;
  gap: 20px;
}

nav li {
  list-style-type: none;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
}

nav li:first-child {
  text-transform: capitalize;
}

nav li:first-child a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

nav li:first-child a img {
  width: 20px;
  font-weight: bold;
}

nav a {
  text-decoration: none;
  color: #000;
}

.header img {
  width: 50px;
}

.icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.icons a {
  text-decoration: none;
}

.icons img {
  width: 29px;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: px;
  /* background-color: red; */
  color: black;
  padding: 0px 6px;
  /* color: rgb(0, 0, 0); */
  margin-top: 6px;
  font-size: 14px;
  margin-left: 7px;
  font-weight: bold;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  /* display: none;  */
}

.icons img:last-child {
  display: none;
}

main {
  margin-top: 100px;
}

/* 
  main section{
    display: flex;
    flex-direction: row;
    height: 100vh;
  } */

aside {
  display: flex;
  flex-direction: row;
  width: 100%;
}

aside img {
  width: 50%;
}

aside div {
  width: 50%;
  justify-content: center;
  height: auto;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
}

aside div ::selection {
  background-color: #000;
  color: #fff;
}

.grey-bg {
  background-color: #f5f5f5;
}

.grey-bg ::selection {
  background-color: #bb8dd6;
  color: #fff;
}

aside div h1 {
  font-size: 45px;
  font-weight: bold;
  text-transform: uppercase;
}

aside div p {
  font-size: 17px;
}

footer {
  margin-top: 20px;
  color: #000;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

footer h2 {
  text-transform: uppercase;
  font-size: 17px;
}

.introducing-community {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: #000;
}

.introducing-community div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.introducing-community div:first-child h2 {
  text-transform: uppercase;
  font-size: 17px;
}

.introducing-community div:first-child p {
  font-size: 15px;
}

.introducing-community div:nth-child(2) {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.introducing-community div:nth-child(2) input {
  outline: none;
  border: none;
  font-family: inherit;
  color: #000;
  border-bottom: 2.5pt solid #000;
  font-size: 16px;
}

.introducing-community div:nth-child(2) button {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: inherit;
  background-color: #000;
  color: #fff;
  padding: 8px 20px;
  border: none;
  gap: 5px;
  font-size: 16px;
}

.handles-and-copyright {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.socials {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.socials i {
  color: #000;
  font-size: 25px;
}

.arrow-right {
  width: 20px;
}

footer h2:nth-child(2) {
  font-weight: normal;
}

.copyright {
  text-transform: uppercase;
  font-size: 14px;
}

@media screen and (max-width:1000px) {
  body {
    position: relative;
  }

  .header {
    position: relative;
    padding: 7px 12px;
  }

  nav {
    position: fixed;
    box-shadow: 2px 2px 2px #2b2a2aa9;
    width: 300px;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: #fff;
    height: 100%;
    transition: transform 0.7s ease-in-out;
    transform: translateX(-400px);
    left: -50%;
  }

  nav.active-ham {
    left: 0;
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    gap: 30px;
    background-color: #fff;
    padding-top: 9%;
  }

  nav ul li {
    padding: 0 15px;
  }

  nav li:first-child a {
    justify-content: space-between;
  }

  .icons img:last-child {
    display: block;
  }

  .row {
    flex-direction: column;
  }

  aside div {
    width: 100%;
    justify-content: normal;
    gap: 5px;
  }

  aside img {
    width: 100%;
  }

  aside div h1 {
    font-size: 20px;

  }

  aside.column {
    flex-direction: column-reverse;
  }

  section {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .introducing-community {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .introducing-community div:nth-child(2) {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .introducing-community div:nth-child(2) input {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  .header {
    padding: 10px;
  }

  .cart-count {
    margin-left: 6.5px;
  }

  nav {
    width: 75%;
    height: 100%;
    transition: transform 0.7s ease-in-out;
    transform: translateX(-400px);
  }

  .icons {
    gap: 0px;
  }
  .icons {
    gap: 5px;
  }

  .icons img {
    width: 20px;
  }
}