.product-detail-container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff5722;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.product-header h1 {
    font-size: 2.5rem;
    color: #ff5722;
}

.back-button {
    padding: 10px 20px;
    font-size: 1.5rem;
    color: #fff;
    background-color: #ff5722;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #e64a19;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-image img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    background-color: #e0e0e0;
    /* Fallback background color */
}

.product-image-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.carousel-wrapper {
    display: flex;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: #666;
}

.carousel-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease-in-out;
}

.carousel-button {
    position: absolute;
    top: 40%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 1;
    transform: translateY(-50%);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}


.product-description {
    max-width: auto;
    margin: 0 auto;
}

.product-description h2 {
    font-size: 3rem;
    color: #ff5722;
    margin-bottom: 15px;
    text-align: justify;
}

.product-description ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 2rem;
    line-height: 1.6;
    color: #666;
}

.product-description ul li {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .product-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .product-description {
        margin: 0;
    }
}



.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

.nav-link:hover {
    background-color: #555;
}

.dropdown-menu1 {
    display:none;   
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style:none ;
    border: 1px solid #ccc;
    max-height: 500px;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    z-index: 1000;
    font-size: large;
    width: 500px;
}

.dropdown-menu1::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.dropdown-item {
    padding: 15px;
}

.dropdown-item a {
    display: block;
    padding: 0px;
    color: black;
    text-decoration: none;
}

.dropdown-item:hover a:hover {
    background-color: #fd562a;
    color: white;
}

.dropdown-item:hover {
    background-color: #fd562a;
    color: white;
}

.nav-item:hover .dropdown-menu1 {
    display: block;
}