.upper-content {
  display: flex;
  padding: 20px;
}
.mySlides {
  width: 100%;
  
  
  max-height: 150vh;
}

.sidebar {
  width: 25%;
  background-color: #f5f5f5;
  padding: 10px;
  border-right: 1px solid #ddd;
}

.sidebar-header {
  background-color: #8CC63F;
  color: white;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}


/* Slideshow container */
.slideshow-container {
  
  position: relative;
  margin: auto;
  border-radius: 40px;
  
}

/* Hide the images by default */
.mySlides {
  display: none;
  width: 100%;
  margin: 20px 0;
  background-color: #717171;
  border-color: #007BFF;
}
.mySlides img {
    height: 60%;
    width: 100%;
  }

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text{
  display:none;
}
/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color:#e0e1e0;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}


.product-container{

  display: grid;
  gap: 20px;
  padding: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Ensure responsive columns */
  }
  


/* Each product will take equal space */
.product-container.product-card {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 20px;
  text-align: center;
  border: 1px solid #ccc;
  box-sizing: border-box; /* Includes padding and borders in the element's width */
  display: flex;
  align-items: center;
  justify-content: center;
}



.product img {
  width: 300px;
  height: auto;

  margin-right: 70px;
}

.skin-btn {
  position: relative;
  left: 350px;
 top: 20px;

    padding: 12px 20px;
    background-color:rgb(206, 188, 186); 
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
}

.skin-btn:hover {
  background-color:rgb(236, 192, 199); 
    
}

.skin-concern-container {
  position: relative;
  top: 30px;
 
  gap: 5px;
  max-width: 800px; /* Optional: Keeps grid from stretching too wide */
  margin: auto; /* Centers the grid */
}

.skin-concern-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 800px;
  margin: auto;
}

.skin-concern-button{
  background-color:rgb(206, 188, 186); 
  height: 90px;
  width: 180px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.skin-concern-button:hover {
  background-color:rgb(236, 192, 199); 
}

.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  margin: 20px auto;
  max-width: 500px;
}

.search-form input[type="text"] {
  flex: 1;
  padding: 10px 15px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-form input[type="text"]:focus {
  border-color: #4CAF50;
}

.search-form button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-form button:hover {
  background-color: #45a049;
}

@media (max-width: 480px) {
/*.upper-content{
  display: none;
} */
.product-container .product-card{
  display:grid;
  grid-template-columns:repeat(2,1fr)
}

.skin-concern-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
 
 
}



.slideshow-container {
  transition: opacity 0.3s ease-in-out;
}

.main-nav.active + .slideshow-container {
  display: none; /* Hides the slideshow when menu is active */
}


#other-skincare-range{
  font-size: 30px;
}

.skin-concern-button{
  width: 150px;
  height: 70px;
}

.skin-btn {
  position: relative;
  left: 20px;
 top: 20px;
}


}