.custom-dimensions {
    margin: 20px 0;
}

#custom_message {
    color: rgba(130, 47, 6, 1);
}


.custom-dimensions .form-label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}
.custom-dimensions .form-label label::before{
    display: none !important;
}
/*custom-dimensions-container*/
#custom_note_list{
    display: flex !important;
    gap: 10px !important;
}

#custom_width,
#custom_length {
    width: calc(50% - 5px);
     padding: 8px;
    /* font-size: 14px; */
    /* margin-bottom: 5px; */
    border: 2px black solid;
    border-radius: 0px;
    /* padding: 10px; */
    height: 40px;
}

#custom_thickness {
    width: 20%;
     padding: 8px;
    /* font-size: 14px; */
    /* margin-bottom: 5px; */
    border: 2px black solid;
    border-radius: 0px;
    /* padding: 10px; */
    height: 40px;
}

.custom-dimensions-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 2 items per row on desktop */
    gap: 20px; /* Space between grid items */
}

/* Responsive Layout: 1 item per row on smaller screens */
@media (max-width: 468px) {
    .custom-dimensions-container {
        grid-template-columns: 1fr; /* 1 item per row on mobile */
    }
}

/*Edging Container*/

#edging_options {
    margin: 20px 0;
}

#edging_options_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.edging-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.edging-image {
    width: 100%;
    position: relative;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.edging-image:hover {
    border-color: rgba(130, 47, 6, 0.5);
}

.edging-image img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* Prevents image from interfering with clicks */
}

.edging-checkbox {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.edging-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    border: 2px solid black;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background-color: white;
}

.edging-checkbox input[type="checkbox"]:checked {
    background-color: rgba(130, 47, 6, 1);
    border-color: rgba(130, 47, 6, 1);
}

.edging-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hover and checked states */
.edging-option:hover .edging-image {
    border-color: rgba(130, 47, 6, 0.5);
}

.edging-option input[type="checkbox"]:checked ~ .edging-image {
    border-color: rgba(130, 47, 6, 1);
}

/* Responsive Layout: 2 items per row on smaller screens */
@media (max-width: 768px) {
    #edging_options_container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .edging-checkbox input[type="checkbox"] {
        width: 24px;
        height: 24px;
    }
    
    .edging-checkbox input[type="checkbox"]:checked::after {
        font-size: 16px;
    }
}






#total_price {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}
/* Visual Guides */
.visual-guides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
}

.side-label {
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    color: rgba(130, 47, 6, 1);
}

.side-label.side-a {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.side-label.side-b {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.side-label.side-c {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.side-label.side-d {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.line {
    position: absolute;
    background-color: rgba(130, 47, 6, 1);
}

.line-a {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.line-b {
    top: 0;
    right: 0;
    height: 100%;
    width: 3px;
}

.line-c {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.line-d {
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
}

#painting_options {
    padding: 5px;
    border: 2px solid black;
}

.paint-type-selection,
.paint-sides-selection {
    margin-bottom: 15px;
}


#paint_sides {
    width: calc(50% - 5px);
    padding: 8px;
    border: 2px solid black;
    border-radius: 0;
    height: 40px;
    background-color: white;
    cursor: pointer;
}
#paint_type{
    padding: 8px;
    border: 2px solid black;
    border-radius: 0;
    height: 40px;
    background-color: white;
    cursor: pointer;
}

#paint_type:focus,
#paint_sides:focus {
    outline: none;
    border-color: rgba(130, 47, 6, 1);
}

/* Remove old radio button styles */
.paint-type-options,
.paint-sides-options {
    display: none;
}

.form-check,
.form-check-input,
.form-check-label {
    display: none;
}

.paint-type-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.paint-type-field,
.paint-comment-field {
    flex: 1;
}

#paint_comment {
    width: 100%;
    padding: 8px;
    border: 2px solid black;
    border-radius: 0;
    height: 40px;
    background-color: white;
}

#paint_comment:focus {
    outline: none;
    border-color: rgba(130, 47, 6, 1);
}
.woocommerce-product-gallery__wrapper.wd-carousel{
    padding: 60px !important;
}

@media (max-width: 768px) {
    .paint-type-row {
        flex-direction: row;
        gap: 10px;
    }
}
