.container_5 {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;

    height: 100%;
    position: relative;
    padding: 0;
}
/* .view{
        display: flex;
    flex-wrap: wrap;
} */
.container_5 .e_text-124 {
    line-height: 45px;
    font_radio: 2;
    display-radio: 1;
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 32px;
    color: #333333;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 0px;
    margin-bottom: 44px;
}
/* Left Panel Styles */
.container_5 .left-panel {
    flex: 1;
    min-width: 300px;
    height: 100%;
}

.container_5 .left-panel h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.container_5 .tabs {
    display: flex;
    padding-bottom: 20px;

    justify-content: center;

    background-color: rgba(255, 255, 255, 0.95);
}

.container_5 .tab {
    padding: 15px 0;
    width: 200px;
    max-height: 50px;
    background: #FFFFFF;
    
    border: 2px solid #E8E8E8; 
    /* #DC271F */


    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    color: #333333;
    text-align: center;
    font-style: normal;
    text-transform: none;
    cursor: pointer;
}
.container_5 .tab:nth-child(1){
    border-radius: 4px 0px 0px 4px;
}
.container_5 .tab:nth-child(2){
    border-radius: 0px 4px 4px 0px;
}

.container_5 .tab.active {
    border-color: #DC271F;
    color: #DC271F;
}

.container_5 .tab-content {
    /* border: 1px solid #ddd; */
    /* padding: 20px; */
    background-color: #fff;
    /* border-radius: 0 0 4px 4px; */
}

.container_5 .color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;

    padding-bottom: 20%;
    display: none;
}



.container_5 .color-option {
    position: relative;
    width: 230px;
    height: 230px;
    cursor: pointer;
    overflow: hidden;
    
}



.container_5 .color-option input[type="radio"] {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0;
}

.container_5 .color-option input[type="radio"]+label {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    border: 1px solid #707070;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    
}
.container_5 .color-option input[type="radio"]:checked+label {
    border-color: #e53e3e;
}
.container_5 .color-option input[type="radio"]:checked+label::after {
    content: '';
    width: 60%;
    height: 60%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #e53e3e;
    border-radius: 50%;
}

.container_5 .color-option .color-swatch {
    width: 100%;
    height: 100%;
}
.container_5 .color-option .color-swatch > img{
    width: 100%;
    height: 100%;
}
.container_5 .color-option  .color-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 16px;
    text-align: center;

    line-height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0px 0px 0px 0px;
}

/* Right Panel Styles */
.container_5 .right-panel {
    flex: 1;
    min-width: 400px;
    position: relative;
}

.container_5 .door-preview-container {
    background-color: #e0e0e0;
    padding: 30px 16px;
    border-radius: 4px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: calc(100vh - 276px);
}

.container_5 .door-preview {
    width: 200px;
    height: 400px;
    background-color: #333;
    border: 5px solid #222;
    position: relative;
    transition: background-color 0.container_5 .3s ease;
}

.container_5 .door-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    width: 10px;
    height: 150px;
    background-color: #999;
}

.container_5 .door-lock {
    position: absolute;
    top: 35%;
    right: 25px;
    width: 8px;
    height: 8px;
    background-color: #555;
    border-radius: 50%;
}

.container_5 .door-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #666;
}

.container_5 .tool-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 3;
}
.sticky-bottom {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 3;
}

.L_color{
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}
.preview_items{
    height: 100%;
    /* max-width: 300px; */
}
/* .preview_items img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
} */

.preview_items>svg{
    width: auto;
    height: 100%;
}


/* .preview_items{
    display: none;
}
.preview_items.view_act{
    display: block;
} */


.container_5 .color-grid.grid_act{
    display: grid;
}


.radio_box {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #707070;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: unset;

    position: absolute;
    top: 3%;
    left: 3%;
    z-index: 2;
}

.radio_box .drop {
    width: 60%;
    height: 60%;
    background-color: #DC271F;
    border-radius: 50%;
    display: none;
}

.color-option.option_act .radio_box {
    border-color: #DC271F;
}
.color-option.option_act .radio_box .drop {
    display: block;
}



.img_icon .layui-colorpicker{
    /* padding: 0; */
    border: 0;
}

.layui-inline{
    opacity: 0;
}
.img_icon.color_box{
    position: relative;
}
.img_icon.color_box #test-all{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
}




/* .door-preview-container .preview_items{
    display: none;
} */
.door-preview-container .preview_items:nth-child(2){
    /* display: none; */
    /* width: 0; */
}
.door-preview-container.active .preview_items:nth-child(1){
    /* display: none; */
    /* width: 0; */
}
.door-preview-container.active .preview_items:nth-child(2){
    /* display: block; */
    /* width: auto; */
}
/* .view_act{
    display: none;
} */

.preview_items svg{
        /* display: block;
    height: 100%;
    object-fit: contain;
    position: relative;
    width: auto; */
}






.right_images{
    height: 100%;
}
.imageZoom {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: #ffffff80;
    height: 100%;
    left: 0;
    padding: 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;


    display: flex;
    align-items: center;
    justify-content: center;
}

.imageZoom .images_cont {
    width: 50%;
    position: relative;
}

.imageZoom .amplify{
    background-color: #DC271F;
}
.imageZoom .amplify img{
    filter: brightness(0) invert(1);
}