/* .radio-item-outer, 
.checkbox-item-outer {
    display: flex;
    flex-wrap: wrap;
} */


div#craft-options img {
    margin-bottom: 10px;
}

body #assist-wrapper h4 {
    font-size: 25px !important;
    line-height: 25px !important;
    font-weight: 700 !important;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.widget_shop_assistant_widget h4:before {
    content: '';
    width: 35px;
    height: 40px;
    background-image: url(/wp-content/plugins/gtechniq-shop-assistant/images/wand.svg);
    position: relative;
    right: 0px;
    top: 0;
    display: block;
    opacity: 1;
    z-index: 99999;
    visibility: visible;
    background-repeat: no-repeat;
    background-position: left;
}

.shop-assistant-wrapper > p {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    padding-bottom: 15px;
    padding-top: 3px;
}

.radio-item-outer, 
.checkbox-item-outer {
    display: grid;
    grid-template-columns: repeat(2, 47%);
    grid-gap: 15px;
    justify-content: center;
}

.radio-item-outer label, 
.checkbox-item-outer label {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 10px 5px;
    border-radius: 10px;
    box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 6%);
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 0 0 42%;
    font-size: 12px;
    line-height: 16px;
    min-height: 110px;
    font-weight: 600;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    transition: all 0.2s ease-in-out;
    border: 1.5px solid #ffffff;
}

.radio-item-outer label:hover, 
.checkbox-item-outer label:hover {
    cursor: pointer;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.radio-item-outer label:before, 
.checkbox-item-outer label:before {
    content: '';
    width: 42px !important;
    height: 42px !important;
    background-image: url(/wp-content/plugins/gtechniq-shop-assistant/images/selected.svg);
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    border-radius: 100%;
    position: absolute;
    top: 10px;
    left: 10px;
    border: 1.5px solid #00abb0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    transition: all 0.2s ease-in-out;
}

.radio-item-outer label.selected:before, 
.checkbox-item-outer label.selected:before {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.row .col .radio-item-outer label img,
.row .col .checkbox-item-outer label img {
    max-width: 55%;
    margin-bottom: 5px;
}

#assist-wrapper input[type="radio"],
#assist-wrapper input[type="checkbox"] {
    position: absolute;
    left: -9999px;
}

.row .col #assist-wrapper h5 {
    color: #00abb0;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 15px;
}

.radio-item-outer label.selected {
    z-index: 9999999;
    border-color: #04abb0;
}

.options-wrapper {
    /* border-bottom: 1px solid; */
    /* border-color: rgba(182, 182, 182, 0.5); */
    padding-bottom: 30px;
    /* margin-bottom: 30px; */
}

input#craftLength {
    width: 100%;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 20%);
    font-size: 18px;
    font-family: Bai Jamjuree;
    font-weight: bold;
}

button.marine-assist-add {
    width: 100%;
    background-color: #00abb0;
    border: 1px solid;
    border-color: #00abb0;
    color: #fff;
    font-family: Bai Jamjuree;
    font-weight: bold;
    font-size: 15.5px;
    line-height: 22px;
    padding: 15px 35px;
    transition: all 0.5s ease-in-out;
    margin-bottom: 10px;
    margin-top: -5px;
}

button.marine-assist-add:hover {
    cursor: pointer;
    background-color: #fff;
    color: #00abb0;
}

/* The slider itself */
.slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    border-radius: 5px;
    appearance: none;
    width: 100%; /* Full-width */
    height: 20px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
}

.length-slider:hover .craft-slider-values span {
    color: #6bc4c8;
    transition: all 0.45s ease;
}
.craft-slider-values span {
    font-size: 12px;
    line-height: 20px;
    margin-top: 0px;
    font-weight: 500;
    color: #989898;
    transition: all 0.45s ease;
}

.woocommerce .widget_shop_assistant_widget {
    padding-bottom: 25px !important;
    padding-top: 0px !important;
    margin-top: 0px !important;
}

/* Mouse-over effects */
.slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    border-radius: 5px;
    appearance: none;
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #00abb0; /* Green background */
    cursor: pointer; /* Cursor on hover */
}

.slider::-moz-range-thumb {
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #00abb0; /* Green background */
    cursor: pointer; /* Cursor on hover */
}

.length-slider {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 6%);
    padding: 13px 20px;
}


.length-slider p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 5px;
}

.length-slider p {
    font-size: 13px;
    line-height: 21px;
    margin-top: 5px;
    padding-bottom: 8px;
}

#length-selected {
    font-weight: bold;
}

.craft-slider-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.craft-slider-values span {
    display: block;
    font-weight: bold;
}

div#protection-level .radio-item-outer,
div#additonal-protection .checkbox-item-outer {
    grid-template-columns: 1fr;
}

div#protection-level .radio-item-outer label, div#additonal-protection .checkbox-item-outer label {
    width: 100%;
    flex-wrap: nowrap !important;
    flex-direction: unset !important;
    gap: 10px;
    min-height: unset;
    display: flex;
    justify-content: flex-start;
    padding: 10px 10px !important;
    font-size: 13px;
    line-height: 13px;
}

div#protection-level .radio-item-outer label img, div#additonal-protection .checkbox-item-outer label img {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover;
    margin-bottom: 0px !important;
    border: 1.5px solid #ecececec;
    border-radius: 100000px;
}

label.selected {
    color: #04abb0;
}


/* Ajax Loader Icon */

.row .col img.loaderImage {
    margin: 20px auto;
    display: block;
}













/* Media Queries */


@media (max-width: 1300px) {

    body #assist-wrapper h4 {
        font-size: 20px !important;
        line-height: 22px !important;
        gap: 10px;
    }
    .shop-assistant-wrapper > p {
        font-size: 14px;
    }

    .radio-item-outer, .checkbox-item-outer {
        grid-template-columns: 1fr;
    }

    .radio-item-outer label, .checkbox-item-outer label {
        flex-wrap: nowrap;
    }

    .row .col .radio-item-outer label img, .row .col .checkbox-item-outer label img {
        max-width: 80px !important;
        margin-bottom: 0px !important;
    }
    .radio-item-outer label,
    .checkbox-item-outer label {
        width: 100%;
        flex-wrap: nowrap !important;
        flex-direction: unset !important;
        gap: 10px;
        min-height: unset;
        display: flex;
        justify-content: flex-start;
        padding: 10px 10px !important;
        font-size: 13px;
        line-height: 15px;
        text-align: left;
    }

    .radio-item-outer label img,
    .checkbox-item-outer label img {
        width: 45px !important;
        height: 45px !important;
        object-fit: contain;
        margin-bottom: 0px !important;
        border: 1.5px solid #ecececec;
        border-radius: 100000px;
    }

}


@media (max-width: 1150px) {
    .row .col .radio-item-outer label img, .row .col .checkbox-item-outer label img {
        max-width: 60%;
        margin-bottom: 5px;
    }
}

@media (max-width: 999px) {
    .radio-item-outer label p, .checkbox-item-outer label p {
        font-size: 13px;
        line-height: 20px;
    }
    .radio-item-outer, .checkbox-item-outer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 13px;
        justify-content: center;
    }
    div#protection-level .radio-item-outer, div#additonal-protection .checkbox-item-outer {
    grid-template-columns: 1fr 1fr;
}
    body #assist-wrapper h4 {
        font-size: 18px !important;
        line-height: 30px !important;
        font-weight: 700 !important;
        margin-bottom: 0px;
        padding-left: 34px;
        transition: all 0.25s ease;
    }
    body #assist-wrapper h4 {
    display: flex;
    background: #fff;
    padding: 13px 20px !important;
    text-align: center;
    border:1px solid #e4e4e47a;
    transition: all 0.25s ease;
}

body #assist-wrapper h4.assist-open {
    border-color: #04abb0;
    transition: all 0.25s ease;
}

body #assist-wrapper h4:after {
    position: absolute;
    width: 25px;
    height: 25px;
    right: 20px;
    font-size:25px;
    line-height:1;
    font-family: icomoon !important;
    content: "\e60a";
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    color:#04abb0;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    transition: all 0.25s ease;
    transform:rotate(0deg);
}

body #assist-wrapper h4.assist-open:after {
    transform:rotate(180deg);
    transition: all 0.25s ease;
}
    .radio-item-outer label:hover, .checkbox-item-outer label:hover {
    cursor: pointer;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    }
    .row .col .radio-item-outer label img,
    .row .col .checkbox-item-outer label img {
        max-width: 40%;
        margin-bottom: 5px;
    }
    .shop-assistant-wrapper > p {
        margin-top: 20px;
        padding-bottom: 20px;
    }
    #assist-wrapper h4 {
        position: relative;
        padding-left: 30px;
    }

    .radio-item-outer label,
    .checkbox-item-outer label {
        box-shadow: none;
        padding: 15px 15px;
    }
    .length-slider {
        box-shadow: none;
        width: 100%;
        margin: 0 auto;
    }
    body.woocommerce .inner > .widget_shop_assistant_widget {
    margin-bottom: 10px !important;
    padding-bottom: 25px !important;
    padding-top: 15px !important;
    } 
}




@media (max-width: 479px) {
    div#protection-level .radio-item-outer label img, div#additonal-protection .checkbox-item-outer label img {
    width: 40px !important;
    height: 40px !important;
    }
    .radio-item-outer label p,
    .checkbox-item-outer label p {
        font-size: 12px;
        line-height: 15px;
    }
    .radio-item-outer label,
    .checkbox-item-outer label {
        padding: 15px 15px;
        gap: 8px;
    }
    .radio-item-outer, .checkbox-item-outer {
        gap: 10px;
    }
    .row .col #assist-wrapper h5 {
        font-size: 14px;
        line-height: 16px;
    }
    body #assist-wrapper h4 {
        display: flex;
        background: #fff;
        padding: 11px 15px !important;
    }
    body #assist-wrapper h4:after {
        position: absolute;
        width: 25px;
        height: 25px;
        right: 15px;
    }
    .widget_shop_assistant_widget h4:before {
        width: 30px;
        margin-right: 4px;
    }
    .archive.woocommerce .container-wrap > .main-content > .inner .widget.woocommerce {
        padding: 25px 0px !important;
    }
    .woocommerce div ul li:last-child,
    .material.woocommerce div ul li:last-child {
        padding-bottom: 0px !important;
    }
    .radio-item-outer label img,
    .checkbox-item-outer label img {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        min-width: unset !important;
        min-height: unset !important;
        
    }
    .radio-item-outer label:before,
    .checkbox-item-outer label:before {
        width: 37px !important;
        height: 37px !important;
        max-width: 37px !important;
        max-height: 37px !important;
        min-width: unset !important;
        min-height: unset !important;
        top: 0;
        bottom: 0;
        margin: auto;
    }
}
