* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #222;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.moi {
  display: flex;
  gap: 280px;
  justify-content: space-around;
  align-items: center;
}

.hamburger {
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
}

.ham {
  height: 4px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.logo {
  font-weight: bold;
  font-size: 1.4rem;
}

nav ul {
  display: flex;
  gap: 20px;
}

.icon {
  margin-left: 30px;
}

.icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icons i {
  margin-left: 15px;
  cursor: pointer;
}

.search {
  display: flex;
  justify-content: center;
  gap: 50px;
  align-items: center;

}

.search-input {
  height: 43px;
  width: 230px;
  border: 2px solid black;
  border-radius: 8px;
  padding: 0 0 0 10px;

}

.search input {
  border: none;
  outline: none;
  background: transparent;
  line-height: 40px;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.884), rgba(0, 0, 0, 0.685), rgba(0, 0, 0, 0.514)), url('image/allison-heine-t6LsNfJ9t84-unsplash.jpg') center/cover no-repeat;
  height: auto;
  padding: 0 0 10vh 0;
  color: #fff;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-text {
  height: 70vh;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 280px;
}

.hero h1 {
  font-size: 5.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.5em;
}

.hero button {
  margin-top: 15px;
  padding: 10px 25px;
  border: none;
  background: #ff007f;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.story {
  display: flex;
  flex-wrap: wrap;

}

.story-left,
.story-right {
  flex: 1;
  min-height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.story-left {
  background-image: linear-gradient(rgba(0, 0, 0, 0.877), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url('image/nina-hill-pKXPJWksvUg-unsplash.jpg');
  height: 120vh;
  color: white;
  display: flex;
  align-items: flex-start;
  padding: 70px;
  font-size: 1.2rem;
}

.story-right {
  background-image: linear-gradient(rgba(0, 0, 0, 0.877), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url('image/emmanuel-black-MUvnLV-k-y8-unsplash.jpg');
  height: 120vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 70px;
}

.order-now {
  background: transparent;
  color: #fff;
  padding: 10px 15px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.products {
  padding: 50px 20px;
  text-align: left;
}

.product-text {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
}

.products h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card1 {
  background: linear-gradient(rgba(0, 0, 0, 0.753), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/Cocoa_Crush_NAIJA_Royal_Lace_Bone_Straight_Wig_-_Naija_Beauty_Hair_3654_1024x1024@2x.webp);
}

.card2 {
  background: linear-gradient(rgba(0, 0, 0, 0.747), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/1717492913795076097nFPtqmO5hHG8df6x_1200x_471f2937-8a48-4c93-9777-2c6477ff4f21_1024x1024@2x.webp);
}

.card3 {
  background: linear-gradient(rgba(0, 0, 0, 0.747), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/deep.webp);
}

.card4 {
  background: linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/water.webp);
}

.card5 {
  background: linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/kinky3.webp);
}

.card6 {
  background: linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/hd2.webp);
}

.card7 {
  background: linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/closure3.webp);
}

.card8 {
  background: linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/bob3.webp);
}

.card9 {
  background: linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.452)), url(product/pixie5.jpg);
}

.product-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  color: white;
  background-size: cover;
  background-position: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}


.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.product-card p {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pcbtn {
  background: #ff007f;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  align-self: flex-start;
}


.status {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.in-stock {
  background: limegreen;
}

.out-stock {
  background: red;
}

.new {
  background: gold;
}

/* pop up area */
.product-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.product-modal {
  background: #fff;
  width: 90%;
  max-width: 850px;
  display: flex;
  gap: 20px;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.product-images img {
  width: 300px;
  border-radius: 6px;
}

.thumbnails {
  margin-top: 10px;
}

.thumbnails img {
  width: 60px;
  margin-right: 5px;
  cursor: pointer;
  border-radius: 4px;
}

.product-info {
  flex: 1;
  text-align: center;
}

.product-info h2 {
  font-size: 1.8em;
  margin-bottom: 5px;
  text-align: left;
}

.product-info h3 {
  font-size: 2em;
  color: #e91e63;
  margin-bottom: 15px;
  text-align: left;
}

.colors label {
  margin-right: 15px;
}

.product-info label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.product-info input[type="number"] {
  width: 60px;
  padding: 5px;
  margin-top: 5px;
}

.product-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.product-actions button {
  width: 190px;
  height: 46px;
  /* margin-right: 10px; */
  border: none;
  font-weight: 600;
  cursor: pointer;
  border-radius: 25px;
  word-spacing: 3px;
}

.buy-now {
  background-color: #000;
  color: #fff;
}

.add-cart {
  background-color: #f06292;
  color: #fff;
}

/* the-end */


.whatsapp {
  background: linear-gradient(rgba(0, 0, 0, 0.637), rgba(0, 0, 0, 0.39), rgba(0, 0, 0, 0.192)), url('image/mariia-shalabaieva-4VhDqJy69vQ-unsplash.jpg') center/cover no-repeat;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.whatsapp button {
  background: black;
  color: white;
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: .4s;
}

.whatsapp button:hover {
  padding: 8px 18px;
  background: white;
  border: 2px solid black;
  color: black;
}

footer {
  background: #ff69b4;
  color: white;
  padding: 25px;
  text-align: center;
  font-weight: bold;
}

@media screen and (max-width:1288px) {
  .hero h1 {
    font-size: 4.3rem;
    margin-bottom: 10px;
  }
}

@media screen and (max-width:1100px) {
  .hero h1 {
    font-size: 3.6rem;
    margin-bottom: 10px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .moi {
    margin-bottom: 30px;
  }

  nav ul {
    /* flex-direction: column; */
    gap: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .search {
    margin-bottom: 30px;

  }

  .hero-text {
    flex-direction: column;
    gap: 60px;
  }

  .hero-text1 {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 1.6rem;
  }

  .story {
    flex-direction: column;
  }

  .product-modal {
    flex-direction: column;
    width: 95%;
    padding: 15px;
  }

  .product-images img {
    width: 100%;
  }

  .thumbnails img {
    width: 50px;
  }

  .product-info input[type="number"] {
    width: 100%;
  }

  .product-actions {
    display: flex;
    flex-direction: column;
  }

  .product-actions button {
    margin-bottom: 10px;
    width: 100%;
  }

  .close-btn {
    top: 5px;
    right: 10px;
  }

  body.modal-open {
    overflow: hidden;
  }

  #productModal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media screen and (max-width:660px) {
  .heeader {
    position: fixed;
    z-index: 30;
  }

  .hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
  }

  .ham {
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding-top: 60px;
    z-index: 1000;
  }

  .side-menu ul {
    list-style: none;
    padding: 0;

  }

  .side-menu ul li {
    padding: 15px 20px;
    margin-left: 40px;
  }

  .side-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }


  .side-menu.active {
    right: 0;
  }

}

@media (max-width: 425px) {
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hero-text {
    gap: 90px;
  }
}