/*
 Theme Name:   location-jonzac
 Theme URI:    https://residenceczarny.fr
 Description:  location-jonzac theme
 Author:       Nicolas Métivier & Thomas Bleneau
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light
 Text Domain:  location-jonzac
*/


/******************************
      WOOCOMMERCE ARCHIVE
*******************************/

.archive-residence {
    padding-top: 0px !important;
    height: 100vh !important;
    padding-bottom: 0px !important;
    position: fixed;
    width: 100%;
}

body.post-type-archive-product footer, body.tax-product_cat footer, .woocommerce .woocommerce-ordering, p.woocommerce-result-count {
    display: none !important;
}

.woocommerce ul.products {
    margin-top: 50px;
    padding-bottom: 80px;
}

body.post-type-archive-product h1 {
    font-size: 52px;
    color: #1A2551;
    letter-spacing: 0.17px;
    text-align: left;
    border-bottom: 1px solid rgba(26, 37, 81, 0.10);
}

.archive-residence .site-main-content {
    padding-top: 180px !important;
    padding-right: 40px !important;
    max-width: 940px !important;
    margin: 0 auto !important;
    overflow: scroll;
}

.residence-filters {
    padding-top: 220px !important;
    height: 100%;
    width: 20%;
    max-width: 420px;
    padding-right: 70px;
    display: flex;
    background-color: #1A2551;
}

.residence-filters h4 {
    font-weight: 300;
    font-size: 13px;
    color: #FFFFFF;
    letter-spacing: 2px;
    position: relative;
    margin: 0 0 40px;
}

.residence-filters h4::after {
    content: '';
    background-color: rgba(255, 255, 255, 0.5);
    height: 1px;
    width: 150px;
    display: block;
    position: absolute;
    bottom: -15px;
}

.residence-filters label {
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 16px;
    margin: 0;
    width: 100%;
    cursor: pointer;
}

.residence-filters label input {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.residence-filters label input:checked + .indicator {
    background-color: #D8D8D8;
}

.residence-filters label .indicator {
    height: 10px;
    width: 10px;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    background: transparent;
}

.residence-filters .residence-filter + .residence-filter {
    margin-top: 10px;
}

.residence-filters button {
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 5px;
    font-size: 15px;
    color: #222222;
    letter-spacing: 0;
    padding: 10px 40px 10px 40px;
    border: none;
    position: relative;
    outline: 0;
}

.woocommerce-page ul.products li img {
    border-radius: 5px;
    width: 40% !important;
    height: 220px !important;
    object-fit: cover;
    box-shadow: 0 2px 15px 0 rgb(0 0 0 / 28%) !important;
    margin-bottom: 0px !important;
}

.woocommerce-page ul.products li h3 {
    font-weight: 600;
    font-size: 20px !important;
    color: #3A6860;
    letter-spacing: 0;
    padding-top: 0px !important;
}

.woocommerce-page ul.products li {
    margin-bottom: 60px !important;
}

.woocommerce-page ul.products li::after {
    content: '';
    background-color: rgba(26, 37, 81, 0.10);;
    height: 1px;
    width: 100%;
    display: block;
    position: absolute;
    bottom: -30px;
}

.residence-content-product {
    width: 60%;
}

.residence-read-more {
    position: relative;
    padding-right: 40px;
}

.residence-read-more::after {
    content: url(../../../assets/img/svg/arrow-read-more.svg);
    display: block;
    position: absolute;
    right: 0px;
    top: -3px;
}

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

    .archive-residence .site-main-content {
        padding-top: 180px !important;
        padding-right: 40px !important;
        max-width: 860px !important;
    }

    .residence-filters {
        width: 220px;
        padding-right: 30px;
    }

    .woocommerce-page ul.products li img {
        height: 200px !important;
    }
}

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

    .residence-filters {
        width: 180px;
        padding-right: 15px;
    }

    .residence-filters h4 {
        font-size: 12px;
    }

    .residence-filters h4::after {
        content: '';
        background-color: rgba(255, 255, 255, 0.5);
        height: 1px;
        width: 100px;
    }

    .archive-residence .site-main-content {
        padding-top: 180px !important;
        padding-right: 40px !important;
        max-width: 820px !important;
    }
}

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

    .residence-filters {
        display: none;
    }

    .archive-residence {
        padding-top: 0px !important;
        height: auto !important;
        position: relative;
    }
}

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

    .archive-residence .site-main-content {
        padding-top: 180px !important;
        padding-right: 0px !important;
        max-width: 620px !important;
    }

    .woocommerce-page ul.products li img {
        height: 180px !important;
    }

    .residence-content-product > div:first-of-type {
        margin-bottom: 0px !important;
    }

    .residence-thumbnail-attribut p {
        margin-bottom: 10px;
        line-height: 1;
    }

    .residence-thumbnail-price {
        flex-direction: column;
    }

    .residence-thumbnail-price p:first-of-type {
        margin-bottom: 15px !important;
    }
}

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

    .archive-residence .site-main-content {
        padding-top: 180px !important;
        max-width: 520px !important;
    }

    .residence-content-product {
        padding-left: 30px !important;
    }
}

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

    .archive-residence .site-main-content {
        max-width: 480px !important;
    }

    .woocommerce-page ul.products li.product {
        margin-left: 0px !important;
        margin-right: 0px !important;
        padding: 0 10px;
    }

    .woocommerce-page ul.products li.product a > div:first-of-type {
        flex-direction: column;
    }

    .woocommerce-page ul.products li img {
        height: 140px !important;
        width: 100% !important;
    }

    .residence-content-product {
        width: 100%;
        padding-left: 0px !important;
        margin-top: 15px;
    }

    .woocommerce-page ul.products li h3 {
        font-size: 17px !important;
    }

    .woocommerce-page ul.products li h4 {
        font-size: 13px;
    }

    body.post-type-archive-product h1 {
        font-size: 42px;
        padding-left: 10px;
    }

    .woocommerce ul.products {
        margin-top: 30px;
    }

    .residence-thumbnail-attribut p{
        font-size: 14px!important;
    }
}

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

    .archive-residence .site-main-content {
        padding-top: 150px !important;
    }

    .woocommerce-page ul.products li img {
        height: 120px !important;
    }

    .residence-read-more {
        padding-right: 20px;
        font-size: 14px !important;
        align-self: baseline;
    }

    .residence-read-more::after {
        right: -7px;
        top: -2px;
    }
}

.woocommerce-shop .not-found-container {
    padding: 30px;
    background: #FFFFFF;
    border-radius: 5px;
    margin-top: 60px;
}

.woocommerce-shop .not-found-container .woocommerce-info {
    border: none;
    background: none;
}

.woocommerce-shop .not-found-container .woocommerce-info::before {
    color: #1A2551;
}
