/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}


.ux-swatch.out-of-stock {

}


/*.ux-swatch.out-of-stock:after {*/
/*    position: absolute;*/
/*    content: '';*/
/*    width: 100%;*/
/*    height: 0;*/
/*    border: solid rgba(0, 0, 0, 0.5);*/
/*    border-width: 0 0px 2px 0;*/
/*    transform: rotate(45deg);*/
/*    top: 50%;*/
/*}*/

.ux-swatch.out-of-stock:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 0px;
    border: solid rgba(0, 0, 0, 0.5);
    border-width: 0 0px 2px 0;
    transform: rotate(-45deg);
    top: 50%;
}


.ux-swatches[data-attribute_name="attribute_pa_sizes"] .out-of-stock:after {

}


.ux-swatches-attribute_pa_sizes {
    position: absolute;
    top: 0;
    right: -100%;
    flex-direction: column;
    width: auto !important;
    padding-right: 5px;
    z-index: 2;
    transition: all 0.4s ease;
    height: 80%;
    gap: 4px !important;
    margin: 0 !important;
}

.ux-swatches-attribute_pa_sizes .ux-swatch {
    background-color: #9E9E9E;
    border-radius: 100%;
    width: 28px;
    height: 28px;
}

.ux-swatches-attribute_pa_sizes .ux-swatch .ux-swatch__text {
    color: #fff;
}
.flickity-slider .product-small.box .box-text,
.products .product-small.box .box-text {
    position: initial !important;

}

.product-small.box {

    overflow: hidden;

}

.product-small.box:hover .ux-swatches-attribute_pa_sizes {
    right: 0;
}

.box-text .js-ux-swatches:has(.ux-swatch:empty) {
    display: none;
}

/*link color swatches*/
.single-product-color-wrap .single-product-colors {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 5px 0;
}

.single-product-color-wrap .single-product-colors li {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    position: relative;
    white-space: nowrap;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 0 0 1px #d5d5d5;
    padding: 2px;
    width: 45px;
    height: 45px;
}

.single-product-color-wrap .single-product-colors li:hover {
    box-shadow: 0 0 0 1px #999;
}

.single-product-color-wrap .single-product-colors li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.single-product-color-wrap .single-product-colors li .product-color {
    border-radius: 0;
    margin: auto;
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    width: auto;
    height: auto;
}

.variations .label:has(label[for="pa_colors"]) .ux-swatch-selected-value__separator {
    opacity: 0;
}

.single-product-color-wrap .color-title, .variations .label label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-block: 0.5em;
}

.woocommerce-variation-price:empty {
    display: none;
}

.single-product .cart .woocommerce-variation-availability p.stock {
    display: none;
}

.single-product .cart .ux-swatch.ux-swatch--color {
    border-radius: 0;
}

.single-product .cart .ux-swatch.ux-swatch--color .ux-swatch__color {
    border-radius: 0;
}

.footer-widgets .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control{
    border-radius: 3px;
    margin: 20px 0;
    text-align: center;
}

.footer-widgets .wpcf7-form .wpcf7-form-control.wpcf7-submit {
    display: block;
    text-align: center;
    background: #F2AD44;
    width: 100%;
    margin-left: 0;
}

.footer-widgets .wpcf7-form .flex-row {
    flex-direction: column;
    display: block;
}

.footer-widgets .wpcf7-form .flex-row .flex-col {
    margin: 0
}

.footer-widgets .widget_custom_html {
    text-align: center;
}

.footer-widgets .widget_custom_html .is-divider {
    display: none;
}

.whatsapp-section {
    text-align: center;
    padding-right: 30px;
    padding-left: 30px;
}

.whatsapp-section-title {
    max-width: 240px;
    margin: 0 auto 20px;
}

.products .product-small.box .box-text:has(.shop-product-colors + .ux-swatches),
.products .product-small.box .box-text:has(.single-product-color-wrap + .ux-swatches) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0 7px;
}

.products .product-small.box .box-text:has(.shop-product-colors + .ux-swatches) .shop-product-colors,
.products .product-small.box .box-text:has(.single-product-color-wrap + .ux-swatches) .single-product-color-wrap {
    margin: 0;
}

.products .product-small.box .box-text:has(.shop-product-colors + .ux-swatches) .ux-swatches,
.products .product-small.box .box-text:has(.single-product-color-wrap + .ux-swatches) .ux-swatches {
    flex: initial;
    display: inline-flex;
    width: auto;
    margin: 0;
}

.products .product-small.box .box-text:has(.shop-product-colors + .ux-swatches) > *:not(.shop-product-colors):not(.ux-swatches),
.products .product-small.box .box-text:has(.single-product-color-wrap + .ux-swatches) > *:not(.single-product-color-wrap):not(.ux-swatches) {
    flex-basis: 100%;
    max-width: 100%;
}

.products .product-small.box .box-text:has(.shop-product-colors + .ux-swatches) .shop-product-colors .single-product-colors,
.products .product-small.box .box-text:has(.single-product-color-wrap + .ux-swatches) .single-product-color-wrap .single-product-colors {
    margin: 0;
}

.products .product-small .col-inner .badge-container.absolute.left.top.z-1 {
    top: 12px;
    bottom: auto;
    right: 12px;
}

@media (min-width: 850px) {
    .whatsapp-section-title {
        max-width: 480px;
    }
}

@media (max-width: 849px) {
    .footer-widgets .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control {
        border-radius: 3px;
        margin: 10px 0;
        text-align: center;
    }

    .footer-widgets .block_widget {
        order: 1;
    }

    .footer-widgets .widget_nav_menu:first-child {
       order: 3;
    }

    .footer-widgets .widget_nav_menu {
       order: 4;
    }

    .footer-widgets .widget_custom_html {
       order: 2;
       padding: 0 40px;
    }

    .footer-widgets .widget_custom_html .widget-title {
        font-size: 2rem;
    }
}

@media (min-width: 850px) {
    .footer-widgets #custom_html-4 {
        display: none;
    }
}