body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.product-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* .image-slider { *
    flex: 1 1 100%;
    max-width: 600px;
    position: relative;
    margin-right: 30px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}*/

.image-slider {
    flex: 1 1 100%;
    width: 100%; /* Ensures the slider scales with the parent */
    max-width: 100%; /* Allows the slider to be responsive */
    position: relative;
    margin-right: 2%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    display: flex; /* Allows for sliding effect */
    align-items: center; /* Centers images within the container */
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .image-slider {
        margin-right: 1%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .image-slider {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.product-details {
    flex: 1 1 100%;
    max-width: 600px;
    padding: 0 20px;
    box-sizing: border-box;
}

.product-title {
    font-size: 2vw;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.8vw;
    color: #e74c3c;
    margin-bottom: 20px;
}

.product-description {
    font-size: 1.2vw;
    margin-bottom: 20px;
}

.product-specs {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.product-specs h3 {
    margin-bottom: 10px;
}

.product-specs ul {
    list-style-type: none;
    padding: 0;
}

.product-specs ul li {
    margin-bottom: 8px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .image-slider, .product-details {
        flex: 1 1 100%;
        margin-right: 0;
    }
    
    .product-title, .product-price, .product-description {
        font-size: 5vw;
    }
}

/*for fluid and Responsive layout* and product details*/ 
.product-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 10px;
  }
  .product-info-item {
    flex: 1 1 300px;
    margin: 10px;
  }
  @media (max-width: 600px) {
    .product-info-item {
      flex: 1 1 100%;
    }
  }
  













/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.product-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-slider {
    width: 400px;
    position: relative;
    margin-right: 30px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.product-details {
    max-width: 400px;
}

.product-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 20px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.product-description {
    font-size: 16px;
    margin-bottom: 20px;
}

.product-specs {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.product-specs h3 {
    margin-bottom: 10px;
}

.product-specs ul {
    list-style-type: none;
    padding: 0;
}

.product-specs ul li {
    margin-bottom: 8px;
}*/
