.product-detail-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-detail-image {
    flex: 1 1 350px;
    text-align: center;
}

.product-detail-image img {
    max-width: 100%;
    border-radius: 10px;
}

.product-detail-info {
    flex: 1 1 400px;
}

.product-detail-info h1 {
    margin-top: 0;
    color: #1e5128;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.product-actions {
    margin-top: 20px;
}

.product-actions input[type=number] {
    width: 70px;
    padding: 6px;
    font-size: 16px;
    margin-right: 10px;
}

.product-actions button {
    padding: 10px 16px;
    background-color: #1e5128;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.back-link-wrapper {
    text-align: center;
    margin-top: 20px;
}

.back-link {
    color: #1e5128;
    font-weight: bold;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

 .form-container {
     max-width: 600px;
     margin: 50px auto;
     background: #f4fff4;
     padding: 30px;
     border-radius: 12px;
     box-shadow: 0 0 12px rgba(0,0,0,0.1);
 }

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-container label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.form-container img {
    max-width: 100%;
    max-height: 250px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
}

.form-container button {
    background-color: #2e8b57;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
}

.form-container button:hover {
    background-color: #256d45;
}

.form-container a {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: #333;
    text-decoration: underline;
}
