body {
    /* font-family: Arial, sans-serif; */
    margin: 0;
    padding: 0;
    /* background-color: #f9f9f9; */
}
@media screen and (max-width: 900px) {
    html, body{padding-bottom: 70px;}
}
.product-page {
    display: flex;
    max-width: 1200px;
    /* height: 630px; */
    margin: 10px auto;
    padding: 20px;
    background-color: #fff;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
    gap: 20px;
}

.product-image img {
    width: 300px;
    height: auto;
    border-radius: 5px;
}

.product-details {
    flex: 1;
}

.product-details h1 {
    font-size: 24px;
    margin: 0 0 10px;
    color: #333;
}

.price-section {
    font-size: 20px;
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.sale-price {
    color: #D32F2F;
    font-weight: bold;
}

.quantity-section {
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 5px;
}

.quantity-button {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 18px;
    color: #333;
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 16px;
}

.add-to-cart {
    background-color: #014222;
    color: white;
    padding: 10px 20px;
    border: none;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.add-to-cart:hover {
    background-color: #45a049;
}

.price-details {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.product-description {
    font-size: 1
}

.back {
    align-items: center;
    max-width: 1200px;
    display: flex;
    width: 100%; /* Make sure it spans the full width */
    margin: 0 auto; /* Center the container horizontally */
    padding: 15px 15px; /* Padding for better spacing */

    justify-content: space-between;
}

.back-btn {
    background-color: #014222;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: #014222;
}

/* Small devices (phones) */
@media (max-width: 600px) {
    .product-page {
        flex-direction: column; /* Stack elements vertically */
        padding: 10px;
    }

    .product-image img {
        width: 80%; /* Ensure image takes full width */
    }

    .product-details {
        min-width: auto; /* Remove min-width to allow flexibility */
        padding: 0;
    }

    .price-section {
        font-size: 18px; /* Make the price section smaller */
    }

    .quantity-section {
        gap: 10px; /* Add some space between quantity inputs */
    }

    .add-to-cart {
        width: 100%; /* Make the button take full width */
        text-align: center;
        font-size: 15px;
        padding:5px;
        margin-left: 0; /* Remove margin */
    }

    .product-description {
        font-size: 14px; /* Reduce font size for small screens */
    }
}

/* Medium devices (tablets) */
@media (max-width: 768px) {
    .product-page {
        padding: 15px;
    }

    .product-details h1 {
        font-size: 22px;
    }

    .price-section {
        font-size: 18px;
    }

    .add-to-cart {
        width: auto; /* Button returns to its default size */
        margin-top: 10px;
    }
}

/* Large devices (desktops) */
@media (min-width: 1200px) {
    .product-page {
        max-width: 1200px;
        padding: 20px;
    }

    .product-image img {
        width: 300px; /* Fixed image size for large screens */
    }

    .product-details {
        flex: 1;
    }
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.toast {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
  }

/* added by neha on 26-11-25 for out of stock  */
.product-image-wrapper {
    position: relative;
    width: 100%;
}

.out-of-stock-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: red;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 4px;
    z-index: 10;
}

