.index_main{
    background-color: #eff1f5;
}
    .index_main h1{
        margin-bottom: 30px;
    }


/* forms */

.gfield:first-child{
    margin-bottom: 8px;
}
.gform_fields input{
    color: #222;
    width: 100%;
    border-radius: 8px;
    border: solid 1px #c2ccde;
    background-color: #fff;
    padding: 1rem;
    font-size: 1.125rem;
}
.gform_button{
    cursor: pointer;
    display: block;
    color: #fff;
    border-radius: 8px;
    border: solid 1px transparent;
    background: #7f43a5;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
    padding: 1rem 1.5rem;
    transition: .3s ease all;
    width: max-content;
    margin-top: 12px;
}
    .gform_button:hover{
        color: #7f43a5;
        border-color: #7f43a5;
        background: transparent;
    }
/* 
.popup_form .gform_button{
    pointer-events: none;
}
.popup_form .gform_footer.validate .gform_button {
    pointer-events: auto;
} */

.gfield_label{
    display: none;
}
.gfield_error input{
    outline: 1px solid red;
}
.gfield_label, .gform_hidden, .validation_error, .gfield_description.validation_message{
    display: none;
}



/* succes */

.success {
    padding: 20vh 0;
    text-align: center;
}
.success__text{
    font-weight: bold;
    font-size: 3rem;
}

.success__btn .btn{
    margin: 50px auto 0;
}


.product .gallery .slick-dots{
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
    .product .gallery .slick-dots li button{
        display: block;
        font-size: 0;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #cdcdcd;
    }
        .product .gallery .slick-dots li.slick-active button{
            background: #7f43a5;
        }


@media screen and (max-width:600px){
    .slick-arrow{
        width: max-content;
    }

    .gallery  .zoomist-container{
        touch-action: auto;
    }
    .gallery  .zoomist-container.zoomed{
        touch-action: none;
    }
}


/*               CHECKOUT                 */

.checkout_page{
    color: #0f172a;
    font-size: 14px;
}
    .checkout_page * {
        color: #0f172a;
    }

.checkout_content{
    width: 640px;
    max-width: 100%;
    margin-inline: auto;
}

.checkout_head{
    position: relative;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 40px;
}
    .checkout_page h1{
        text-align: center;
        font-size: 36px;
        font-weight: 600;  
    }
    .checkout_head a{
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
    .checkout_head a svg path{
        transition: .3s ease all;
    }

.checkout_total{
    margin-bottom: 40px;
}
    .checkout_total_title{
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 8px;
    }

.checkout_row{
    margin-bottom: 40px;
}
    .checkout_row_title{
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 12px;
    }


.checkout_fields{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
    .checkout_fields .checkout_input{
        width: 100%;
    }
    .checkout_fields .checkout_input._w50{
        width: calc(50% - 6px);
    }
.checkout_input{
    position: relative;
}
.checkout_input input,
.checkout_input textarea,
.checkout_input select{
    width: 100%;
    border-radius: 4px;
    border: solid 1px #CBD5E1;
    color: #0f172a;
    font-size: 16px;
    line-height: 1;
    padding: 11px 16px;
    transition: .3s ease all;
}
    .checkout_input input::placeholder,
    .checkout_input textarea::placeholder,
    .checkout_input select::placeholder{
        color: #64748b;
    }
    .checkout_input input:focus,
    .checkout_input textarea:focus,
    .checkout_input select:focus{
        border-color: #0f172a;
    }
    .checkout_input._error input,
    .checkout_input._error textarea,
    .checkout_input._error select{
        border-color: red;
    }

._text_error{
    color: red;
    padding: 4px 0 0 4px;
}
.checkout_input:has(select){
    position: relative;
}
.checkout_input:has(select)::before{
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: 10px;
    width: 7px;
    height: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.75 1.5L5 5.25L1.25 1.5" stroke="%23475569" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.checkout_input select{
    cursor: pointer;
    -webkit-appearance: none;
    font-size: 14px;
    padding: 20px 16px 4px;
}
.checkout_input:has(select) label{
    position: absolute;
    top: 6px;
    left: 16px;
    font-size: 12px;
    color: #64748B;
}
    


.checkout_shipping_text{
    background: #f3f4f6;
    padding: 24px 16px;
}

.checkout_payment_desc{
    color: #64748b;
    margin-bottom: 12px;
}

.checkout_payment_item{
    border: 1px solid #CBD5E1;
    border-radius: 4px;
}
    .checkout_payment_item_title{
        background: rgba(216, 180, 254, .2);
        border-bottom: 1px solid #CBD5E1;
        padding: 16px;
    }
    .checkout_payment_item_text{
        padding: 16px;
    }
        .checkout_payment_item_text p:last-child{
            margin-bottom: 0;
        }


.checkout_submit{
    cursor: pointer;
    transition: .3s ease all;
    border-radius: 4px;
    background: #9333ea;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.5px;
    padding: 16px 24px;
}


.checkout_links{
    border-top: 1px solid  #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 0;
    margin-top: 40px;
}
    .checkout_links a{
        color: #9333ea;
        text-decoration: underline;
        font-size: 12px;
        font-weight: 600;
        transition: .3s ease all;
    }

@media (hover:hover) {
    .checkout_submit:hover{
        opacity: 0.8;
    }
    .checkout_links a:hover{
        text-decoration: none;
    }
    .checkout_head a:hover svg path{
        fill: #9333ea;
    }
}


@media screen and (max-width: 800px) {

    .checkout_head{
        margin-bottom: 24px;
    }
    .checkout_total{
        margin-bottom: 24px;
    }
    .checkout_row{
        margin-bottom: 24px;
    }
    .checkout_links{
        margin-top: 24px;
    }

    .checkout_fields .checkout_input._w50{
        width: 100%;
    }
    .checkout_submit{
        width: 100%;
    }
}

/*              end CHECKOUT              */


.wp-block-heading {
    margin: 1.5rem 0 1rem;
}

.footer .checkout_links{
    border: none;
    padding: 0;
    margin: 0;
}
.footer .checkout_links a{
    font-size: 14px;
}




/*              WOOCOMMERCE         */

.woocommerce div.product,
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
    display: block;
    border-radius: 0;
    overflow: unset;
    background: transparent;
}


.product .gallery .zoomist-image{
    height: 100%;
}


.wpcvs-tippy-title{
    color: #fff;
}
.product .wpcvs-tippy-inner .wpcvs-tippy-swatches span{
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
}


.product .variations_form {
    position: relative;
}
.product .variations_form .variation .label{
    margin-bottom: 4px;
}
.product .content .woocommerce-LoopProduct-link{
    pointer-events: none;
}
.product .content .woocommerce-LoopProduct-link > .price {
    font-size: 2rem;
    font-weight: bold;
}
.product .content .price > span.price {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    margin: 12px 0;
    
}
    .product .content .price del {
        font-size: 1.5rem;
        color: darkgray;
    }
    .product .content .price ins {
        text-decoration: none;
    }
    .product .content .price del span {
        color: darkgray;
    }

   .product .variations_form .single_variation_wrap .quantity,
   .product .variations_form .reset_variations {
        display: none !important;
    }

.product .product_type_variable ,
.product .add_to_cart_button  {
    cursor: pointer;
    display: block;
    transition: 0.3s ease all;
    border-radius: 8px;
    border: solid 1px transparent;
    background: #7f43a5;
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
    width: 100%;
    padding: 0.8rem;
    margin-top: 12px;
}
    .product .product_type_variable:hover,
    .product .add_to_cart_button:hover {
        color: #7f43a5;
        border-color: #7f43a5;
        background: transparent;
    }


@media screen and (min-width: 1024px){

    .product .variations_form {
        padding-left: 120px;
    }

    .product .content:has(.variations_form ) .woocommerce-LoopProduct-link > .price {
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        text-align: right;
        width: 100px;
    }
    .product .content .woocommerce-LoopProduct-link > .price  > span.price {
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
        margin: 0;
    }
    .product .content:not(:has(.variations_form )) .woocommerce-LoopProduct-link > .price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
        border-radius: 8px;
    }

}

.product .wpcvs-terms .wpcvs-term {
    border-color: #dce2ed;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
}
.product .wpcvs-terms .wpcvs-term .wpcvs-term-inner{
    border: none;
    background: none;
    padding: 0;
    height: auto;
}
.product .wpcvs-terms.wpcvs-type-color .wpcvs-term .wpcvs-term-color{
    border-radius: 6px;
}
.product .variation + .variation{
    margin-top: 16px;
}

.wc-block-components-checkout-place-order-button{
    border: solid 1px transparent;
    background: #7f43a5;
    color: #fff;
    font-size: 16px;
    transition: .3s ease all!important;
}
    .wc-block-components-checkout-place-order-button div{
        color: #fff;
        transition: .3s ease all!important;
    }
    .wc-block-components-checkout-place-order-button:hover {
        color: #7f43a5;
        border-color: #7f43a5;
        background: transparent;
    }
    .wc-block-components-checkout-place-order-button:hover div{
        color: #7f43a5;
    }


    .button.easypack_show_geowidget{
        width: max-content;
        max-width: 100%;
    }


@media screen and (min-width: 878px){
    
    body.woocommerce-checkout .main{
        overflow: unset;
    }

    .is-large div.wc-block-checkout__sidebar{
        top: 3rem;
    }
        body:has(.header.sticky.animate) .is-large .wc-block-checkout__sidebar{
            top: 6rem;
        }

}

.p24-payment-container .wc-block-components-validation-error{
    font-size: 1rem;
}
.p24-payment-container .wc-block-components-validation-error span{
    color: #cc1818;
}
.p24-payment-container .wc-block-components-validation-error svg path{
    fill: #cc1818;
}

/*         end     WOOCOMMERCE         */