/* product detail buy form whatapps  */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-detail {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

/* Product Images Section */
.product-images {
    flex: 1;
    margin-right: 30px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    width: 100%;
    object-fit: cover;
    height: 497px;
}

.carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.carousel-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.carousel-buttons button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Product Information Section */
.product-info {
    flex: 2;
}

.product-info h1 {
    font-size: 30px;
    color: #333;
    margin-bottom: 0px;
    font-weight: bold;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 20px;
}

.description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.specifications {
    margin-bottom: 20px;
}

.specifications h3 {
    font-size: 18px;
    color: #333;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: -7px;
}

.specifications ul {
    list-style-type: none;
    padding: 0;
}

.specifications li {
    font-size: 13px;
    color: #666;
    margin-bottom: 0px;
}

/* Add to Cart Section */
.add-to-cart {
    background-color: darkorange;
    color: white;
    padding: 5px 10px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    /* width: 100%; */
    border-radius: 20px;
}

.whatapps {
    background-color: darkorange;
    color: white;
    padding: 5px 10px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    /* width: 100%; */
    border-radius: 20px;
}

.whatsapplink {
    color: white;
}


.add-to-cart:hover {
    background-color: #218838;
}

/* Reviews Section */
.reviews {
    margin-top: 30px;
}

.review-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
}

.review-item .review-text {
    font-size: 1rem;
    color: #333;
}

.review-item .review-text span {
    font-weight: bold;
    color: #007bff;
}

.review-item .review-rating {
    color: #ff9900;
}

/* Buy Form Section */
.buy-form {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.buy-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.buy-form label {
    display: block;
    margin-bottom: 0px;
    font-size: 1rem;
}

.buy-form input,
.buy-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    bottom: 7px;
}

.buy-form button {
    background-color: #007bff;
    color: white;
    padding: 5px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
}

.buy-form button:hover {
    background-color: #0056b3;
}

.nice-select.qun {
    width: 100%;
    background-color: white;
}


/* Price Detail and off Price */
.mrp-label {
    font-size: 1.2rem;
    color: #888;
    margin-right: 10px;
}

.product-price {
    font-size: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.2rem;
    margin-right: 10px;
}

.discounted-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: darkorange;
    margin-right: 10px;
}

.discount-info {
    font-size: 1rem;
    color: #007bff;
    font-weight: bold;
}

.tax-info {
    font-size: 0.9rem;
    color: #555;
    margin-top: -10px;
    margin-bottom: 15px;
}


/* popup form detail */
/* Basic styling for the form popup */
.form-popup-bg {
    position: fixed;
    /* Make it fixed */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(94, 110, 141, 0.9);
    /* Semi-transparent background */
    opacity: 0;
    /* Initially hidden */
    pointer-events: none;
    /* Prevent interactions when hidden */
    transition: opacity 0.3s ease-in-out;
    /* Smooth transition */
    z-index: 10000;
    /* Ensure it's above other content */
}

/* This class makes the form visible */
.form-popup-bg.is-visible {
    opacity: 1;
    /* Fully visible */
    pointer-events: auto;
    /* Enable interactions when visible */
}

/* Style for the form container */
.form-container {
    background-color: darkorange;
    /* Dark background for the form */
    color: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 100px auto;
    /* Centered horizontally and vertically */
    position: relative;
}

/* Close button styles */
.close-button {
    background: none;
    color: #fff;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    border: solid 1px #fff;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    line-height: 38px;
    border-radius: 0px 10px 0px 0px;
}

/* Style for the form inputs */
.form-group {
    margin-bottom: 0px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    position: relative;
    bottom: 10px;
}

button[type="submit"] {
    background-color: #e37544;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #d0673b;
}


/* header */
/* header nav bar */
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0px;
    text-align: center;
    margin-left: 50px;
    font-size: 20px;

}