body.b1 {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    width: 100%;
}

div .product-details > * {
    padding: 20px; /* This adds 10px of padding to each child element inside the div */
}

.product-details {
    flex: 35%;
    padding-left: 20px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
}

h1 .nume {
    font-size: 20px;
    margin-top: 0;
}
.size-selection select {
    font-size: 16px;
    padding: 12px 15px;
    width: 250px;
    min-width: 200px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.size-selection select:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 8px rgba(74, 124, 89, 0.2);
}

.size-selection select:hover {
    border-color: #4a7c59;
}
.category {
    font-size: 20px;
}

.price {
    font-size: 30px;
    color: #333;
    margin: 10px 0;
}

.color-selection,
.size-selection {
    margin: 20px 0;
}

.size-selection {
    margin: 10px 0;
    /* Style as needed */
}

.size-selection form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adjust the gap between options */
    padding: 20px;
    background: linear-gradient(145deg, #f8fdf9 0%, #f0f8f0 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(74, 124, 89, 0.1);
    border: 1px solid rgba(74, 124, 89, 0.1);
}

.quantity-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
    padding: 15px;
    background: linear-gradient(145deg, #f0f8f0 0%, #e8f5e8 100%);
    border-radius: 10px;
    border: 1px solid rgba(74, 124, 89, 0.2);
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.05);
}

.quantity-container label {
    font-size: 16px;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 5px;
}

.quantity-container input[type="number"] {
    font-size: 16px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    width: 150px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.quantity-container input[type="number"]:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 8px rgba(74, 124, 89, 0.2);
    background-color: #fafafa;
}

.quantity-container input[type="number"]:hover {
    border-color: #4a7c59;
}

.size-selection input[type="radio"] {
    display: none; /* Hide the default radio button */
}

.size-selection label {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* Style as needed */
}
/* Define the default and selected styles */
.radio-label {
    display: inline-block;
    margin-right: 15px;
    cursor: pointer;
}

.radio-label.selected {
    color: red; /* Change this to the desired color */
}

.form-button {
    margin-top: 20px;
    display: block;
    background: linear-gradient(135deg, #4a7c59 0%, #6b8e23 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.3);
}

.form-button:hover {
    background: linear-gradient(135deg, #3d6b4a 0%, #5a7a1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.4);
}

.form-button:active {
    transform: translateY(0);
}

.product-container {
    padding: 20px;
    padding-top: 2%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: auto;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
}

.row {
    display: flex;
    justify-content: space-between;
}

.row img {
    width: 100%; /* adjust the spacing between images */
    margin-top: 5px;
    margin-bottom: 5px;
    height: auto;
    object-fit: cover;
}

/* Ensure you handle smaller screens */
@media (max-width: 768px) {
    /* Stack the product container vertically on small screens */
    .product-container {
        flex-direction: column;
        padding: 10px; /* Adjust padding for smaller screens */
    }

    /* Ensure the image gallery takes full width */
    .image-gallery {
        width: 100%;
        margin-bottom: 20px; /* Space below image gallery */
    }

    /* Ensure product details take full width */
    .product-details {
        width: 100%;
        padding-left: 0;
        text-align: left; /* Align text to the left */
    }

    /* Size selection stacks vertically and aligns to the left */
    .size-selection form{
        display: block; /* Stack items vertically */
        margin: 0; /* Remove margin */
        padding: 0; /* Remove padding */
    }

    .size-selection form {
        display: block;
        gap: 15px; /* Adjust the gap between options */
    }

    .quantity-container {
        margin: 15px 0;
        padding: 12px;
    }

    .quantity-container input[type="number"] {
        width: 100%;
        max-width: 250px;
        padding: 15px 12px;
    }

    /* Mobile styles for select dropdown */
    .size-selection select {
        width: 100% !important;
        max-width: 350px;
        min-width: unset;
        font-size: 16px;
        padding: 15px 12px;
        margin: 10px 0;
    }

    .size-selection label {
        display: block; /* Ensure each label takes up the full width */
        margin-bottom: 10px; /* Space between radio buttons */
        padding: 10px;
        border: 1px solid #ccc;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-align: left; /* Align text to the left */
    }

    .size-selection input[type="radio"] {
        display: none; /* Hide default radio button */
    }

    .size-selection input[type="radio"]:checked + label {
        background-color: #ddd; /* Highlight selected radio button */
    }

    /* Adjust add-to-cart button margin */
    .add-to-cart {
        margin-left: 0;
        margin-top: 20px; /* Add space above the button */
    }
}




.size-selection input[type="radio"]:checked + label {
    background-color: #ddd; /* Highlight color for selected size */
    /* Add more styles for selected state */
}