.elementor-1178 .elementor-element.elementor-element-b23c899{--display:flex;}/* Start custom CSS for html, class: .elementor-element-9047133 *//* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5; /* A light background to make the form pop */
    color: #333;
    margin: 0;
}

/* Main Form Container */
.product-form {
    background: #ffffff;
    max-width: 900px;
    margin: 2em auto;
    padding: 2em;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Main Title */
h1 {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 2.2rem;
}

/* Form Section Wrapper */
.form-section {
    margin-bottom: 2em;
}

/* Use fieldset for semantic grouping of inputs */
fieldset.form-section {
    border: none;
    padding: 0;
    margin: 0 0 2em 0;
}

/* Section Title Styling (e.g., Kuju, LED-Valgustus) */
legend.section-title,
.section-title-heading { /* A class for non-legend titles */
    font-size: 1.25rem;
    margin-bottom: 1em;
    font-weight: 600;
    padding: 0; /* Reset default legend padding */
    width: 100%;
    display: block;
}

.required {
    color: #d9534f; /* A standard red for required fields */
}

/* Image Selection Grid for 'Kuju' */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5em;
}

.wck-imageselect {
    cursor: pointer;
}

.image-container {
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s, transform 0.2s;
}

.image-container:hover {
    transform: translateY(-5px);
    border-color: #080072;
}

.image-container img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(1, 1, 1, 0.7);
    color: #ffffff;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5em;
    transition: background-color 0.3s;
}

input[type="radio"][name="wck[kuju]"] {
    display: none; /* Hide the radio button */
}

input[type="radio"]:checked + .image-container {
    border-color: #28a745; /* Green border for selected item */
}

input[type="radio"]:checked + .image-container .caption {
    background: rgba(40, 167, 69, 0.8); /* Green caption for selected */
}


/* Styling for Radio and Checkbox Groups ('LED', 'Lisad') */
.options-group {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
}

input[type="radio"],
input[type="checkbox"]{
    width: 18px;
    height: 18px;
    accent-color: #080072;
}


/* Two-Column Layout for Height and Width */
.dimension-columns {
    display: flex;
    flex-wrap: wrap; /* Allows columns to stack on smaller screens */
    gap: 2em; /* Creates space between the columns */
}

.dimension-columns .dimension-group {
    flex: 1; /* Each column will grow to take available space */
    min-width: 280px; /* A good minimum before the columns wrap */
    display: flex;
}

/* Side-by-side Label and Input Layout */
.dimension-input-wrapper {
    display: flex;
    align-items: center; /* Vertically aligns the label and input */
    width: 100%;
    gap: 1em; /* Space between the label and the input box */
}

.dimension-input-wrapper .label-cell {
    flex-shrink: 0; /* Prevents the label from shrinking if the screen is narrow */
    font-weight: 500;
}

.dimension-input-wrapper .value-cell {
    flex-grow: 1; /* Allows the input box to fill the remaining space */
}

/* General Input Field Styles */
input[type="number"] {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #9ABEEF;
    border-radius: 6px;
    background-color: #f7fafc;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box; /* Important for 100% width + padding */
}

input[type="number"]:focus {
    outline: none;
    border-color: #080072;
    box-shadow: 0 0 0 3px rgba(8, 0, 114, 0.2);
}


.floating_price {
    background: black;
    color: white;
    padding: 1.5em;
    border-radius: 10px;
    text-align: center;
    margin-top: 2em;
}

.floating_price p {
    font-size: 1.2rem;
    margin-bottom: 1em;
}

.quantity {
    margin-bottom: 1em;
}

.quantity input {
    width: 60px;
    padding: 0.5em;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
}

.single_add_to_cart_button {
    background: #080072;
    color: white;
    padding: 0.75em 1.5em;
    font-size: 1rem;
    border: 2px solid #080072;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.single_add_to_cart_button:hover {
    background: #9ABEEF;
    color: #080072;
    border-color: #9ABEEF;
}/* End custom CSS */