/*
Theme Name: freal
Theme URI: https://www.geckodesigns.com/
Author: Gecko Designs
Author URI: https://www.geckodesigns.com/
Description: Gecko Designs Template
Version: 6.6.0
Text Domain: freal
*/
/* Don't put CSS in this file, it won't be included. */
@media only screen and (min-width: 600px) {
    .desk-hide {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    #freal-locator-wrapper .freal-locator-map-wrapper .primary .freal-locator-map-column {
        width: 100%;
    }
}

.page-header--short {
    padding: 2.6rem 1rem 2.3rem 1rem!important;
}

@media only screen and (max-width: 768px) {
    .page-header--short {
        padding: 2.8rem 1rem!important;
    }
}

div[data-modal][data-status="active"] .overlay {
    opacity: 0;
}

.p-0 {
    padding: 0 !important
}

.modal-header {
    background-color: #004E7E;
    color: #fff;
    padding: 12px 18px;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    font-family: "VeneerClean-Round", sans-serif;
    letter-spacing: 1px;
}

.close-modal {
    color: #fff !important;
    font-size: 20px !important;
    height: 24px !important;
    width: 24px !important;
    border: 1px solid #fff;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    right: unset !important;
    left: 8px !important;
    padding: 3px 0 0 !important;
}

main.page.products .products-wrapper {
    height: 42vw !important;
    margin-bottom: 50px !important;
}

main.page.products .products-wrapper .product {
    display: block;
    padding-bottom: 0;
}

main.page.products .products-wrapper .product .featured-img {
    position: static;
    transform: none !important;
    width: 100%;
    height: unset;
    transition: none !important;

}

main.page.products .products-wrapper .product .featured-img img {
    width: 100%;
    height: auto;
    transform: scale(0.5);
    transition: all 0.8s ease;
}

main.page.products .products-wrapper .product.swiper-slide-active .featured-img {
    padding-left: 9%;

}

main.page.products .products-wrapper .product.swiper-slide-active .featured-img img {

    transform: translate(0%, 0%) rotate(11deg) scale(0.8);


}

main.page.products .products-wrapper .product h1 {
    transform: none !important;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;

}

main.page.products:after,
main.page.products:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 80px;
    background-color: #ffffffd6;
    z-index: 9;
    display: block !important;
}

main.page.products:after {
    left: auto;
    right: 0;
}

main.page.products .pagination-button.pagination-prev {
    left: 5rem;
}

main.page.products .pagination-button.pagination-next {
    right: 5rem;
}

main.page.products .pagination-button {
    top: 40%;
}

div[data-modal] .modal-content__wrapper .close-modal {
    font-size: 0 !important;
    border: none;
}

div[data-modal] .modal-content__wrapper .close-modal img {
    width: 30px;
    height: auto;
}

div[data-modal] .modal-content__wrapper .close-modal:before {
    content: "&times;";
    color: #fff;
    position: absolute;
}

div[data-modal] {
    z-index: 999999;
}

main.page.products .products-wrapper .product.swiper-slide-active .featured-img {

    pointer-events: auto !important;
    background: transparent !important;
}

div[data-modal="product-details"] .product-details-wrapper header .description {
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media screen and (max-width: 920px) {
    main.page.products .products-wrapper {
        height: 50vw !important;
    }
}

@media (min-width: 768px) {
    div[data-modal="product-details"] .product-details-wrapper {
        padding: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    main.page.products .products-wrapper {
        height: 80vw !important;
    }

    div[data-modal="product-details"] .product-details-wrapper header {
        display: block !important;
        padding-top: 50px;
    }
}

@media screen and (max-width: 640px) {
    main.page.products .products-wrapper {
        height: 100vw !important;
    }

    main.page.products .products-wrapper .product h1 {
        background-color: transparent !important;
    }

    main.page.products:after,
    main.page.products:before {
        display: none !important;
    }
}

@media screen and (max-width: 380px) {
    main.page.products .products-wrapper {
        height: 450px !important;
    }
}