* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  

  }
  
  nav {
    background-color: rgb(250, 242, 242);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: fixed;
    width: 100%;
    z-index: 999;
  }
  
  nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  
  }
  
  
  nav ul img {
    max-width: 160px;
    margin-top: 0px;
    display: block;
  }
  
  nav li:not(:first-child) {
    height: 50px;
  }
  
  nav a {
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: red;
    font-weight: bold;
    font-size: 22px;
  
  }
  
  nav a:hover {
    background-color: rgb(202, 199, 199);
  
  }
  
  nav a.active {
    background-color: rgb(87, 34, 34);
  
  }

  nav li:first-child {
    margin-right: auto;
  
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(163, 167, 164, 0.205);
    backdrop-filter: blur(25px);
    box-shadow: -10px 0 10px black rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
  }
  .k-img{
    max-width: 100%;
    height: auto;
    padding-top: 8px;
  
  }
  .k-img:hover{transform: scale(1.05);
    transition: transformation 0.4s ease-in-out;
  }
  
  .sidebar li {
    width: 100%;
  
  }
  
  .sidebar a {
    width: 100%;
  }
  
  @media(max-width: 800px) {
    .hideonmobile {
      display: none;
    }
  }
  
  @media(max-width: 400px) {
    .sidebar {
      width: 100%;
      background-color: black;
    }
  }

  /* General Styles */


.main-container {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  padding-top: 122px;

}

/* Page Title */
.page-title {
  font-size: 32px;
  color: #e63946;
  text-align: center;
  margin-bottom: 20px;
}

/* Flip Box for Main Product */
.flip-box {
  width: 100%;
  max-width: 400px;
  height: 400px;
  margin: 0px 0px;
  perspective: 1000px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.flip-box-front {
  background-color: #fcfbfb;
}

.flip-box-back {
  background-color: #1c1c1c;
  transform: rotateY(180deg);
  color: #fcfbfb;
}


.main-product-image {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-note {
  font-size: 16px;
  color: #fff;
}

/* Products Container */
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0px;
  padding-top: 30px;

}

/* Product Flip Cards */
.product-card {
  width: 100%;
  max-width: 100%;
  height: 300px;
  perspective: 1000px;
  padding: 20px;
}

.product-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.product-card:hover .product-inner {
  transform: rotateY(180deg);
}

.product-front,
.product-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.product-front {
  background-color: #f1ecec;
  color: #fff;
}

.product-back {
  background-color: #fcf6f6;
  color: #111010;
  transform: rotateY(180deg);
}

.product-image {
  width: 100%;
  max-width: 85%;
  border-radius: 8px;
  margin-bottom: 5px;
  height: 85%;
}
#timer{ color: #e63946;
  font-size: 45px;

}

.product-note {
  font-size: 18px;
  color:black;
}

/* Navigation Buttons */
.pagination-buttons {
  text-align: center;
  margin-top: 20px;
}

.nav-button {
  background-color: #e63946;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  margin: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.nav-button:hover {
  background-color: #b71c1c;
}


/* Responsive Design */
@media screen and (max-width: 600px) {
  .products-container {
      flex: repeat(auto-fit, minmax(150px, 1fr));
      gap: 46px;
      padding-right: 30px;
  }

  .flip-box {
      margin-bottom: 30px;
  }

  .product-card {
      max-width: 100%;
      height: 350px;
      flex-direction: column;

  }
  
}
footer{
  align-items: center;
  justify-content: center;
  background-color: #b71c1c;
  color: #f1ecec;
  padding: 20px;
  font-size: 15px;
}



  