/**
 * Theme Name:     RimsCollection Child
 * Author:         RimsCollection form
 * Template:       hello-elementor
 * Text Domain:	   rimscollection-child
 * Description:    A plain-vanilla &amp; lightweight theme for Elementor page builder
 */


body {
    max-width: 1920px;
    margin: auto !important;
    background: #170809 !important;
}

header.page-header {
    display: none;
}

/**/


/*.main-header.elementor-sticky__spacer {
    display: none !important;
}*/

.main-header.elementor-sticky--effects {
    background: #B7010E !important;
    box-shadow: 0 0 10px rgb(0 0 0 / 12%);
}

.hero-slider .elementor-button {
    padding: 15px 50px !important;
}

.hero-slider .swiper-slide-inner {
    align-items: end !important;
}

/**/

.home-product-block .button.product_type_simple,
.home-product-block .woocommerce-loop-product__title {
    display: none !important;
}


/**/
.collections-block .products {
    display: flex !important;
    flex-wrap: wrap;
}

.collections-block .products li a,
.collections-block .products li img {
    height: 100%;
    display: block;
}

.collections-block .products li img {
    display: block;
    overflow: hidden;
    object-fit: cover;
    margin: 0 !important;
    height: 480px !important;
}

.collections-block .products li:nth-child(1),
.collections-block .products li:nth-child(4) {
    width: 40% !important;
}

.collections-block .products li:nth-child(2),
.collections-block .products li:nth-child(3) {
    width: 60% !important;
}



.latest-outfits-block .products li.product a img {
    height: 600px !important;
    object-fit: cover;
}

/**/

.category-product .product a img {
    height: 400px !important;
    object-fit: cover;
}

.category-filter .yith-wcan-filters {
    background: transparent;
}

.product-filter .filter-title {
    color: #2d1f1e;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    align-items: center;
    letter-spacing: 0.2em;
    margin: 0 0 10px;
    text-transform: uppercase;
    font-family: "Cormorant Garamond", Sans-serif;
}

.product-filter .filter-items a {
    color: #2d1f1e;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    align-items: center;
    font-family: "Josefin Sans", Sans-serif;
}


/**/


.collection-post-block {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.collection-post-block .collection-items {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 5px;
    transition: all .3s ease-in-out 0s !important;
    -webkit-transition: all .3s ease-in-out 0s !important;
    -moz-transition: all .3s ease-in-out 0s !important;
}

.collection-post-block .collection-items img {
    transition: all .3s ease-in-out 0s !important;
    -webkit-transition: all .3s ease-in-out 0s !important;
    -moz-transition: all .3s ease-in-out 0s !important;
}

.collection-post-block .collection-items:hover img {
    filter: blur(2px);
}


.h-category-block .elementor-image-box-img {
    display: block !important;
    line-height: 0;
}


/**/

.archive {
    background: #efe6d6 !important;
}

.archive main#content {
    max-width: 1800px;
    padding: 0 20px;
    padding-top: 100px;
    padding-bottom: 80px;
}

.collection-block {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.collection-block .collection-items {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 5px 5px;
}

.collection-block .collection-items a {
    display: block;
    line-height: 0;
    position: relative;
    transition: all .3s ease-in-out 0s !important;
    -webkit-transition: all .3s ease-in-out 0s !important;
    -moz-transition: all .3s ease-in-out 0s !important;
}

.collection-block .collection-items a:after {
    content: "\f06e";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    display: flex;
    font-size: 24px;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    background: rgb(0 0 0 / 65%);
    font-family: "Font Awesome 5 Free";
    transition: all .3s ease-in-out 0s !important;
    -webkit-transition: all .3s ease-in-out 0s !important;
    -moz-transition: all .3s ease-in-out 0s !important;
}

.collection-block .collection-items a:hover:after {
    transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
}

.collection-block .collection-items h4 {
    color: #170809;
    margin: 10px 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    font-family: "Cormorant Garamond", Sans-serif;
}


.h-category-block .elementor-image-box-content {
    width: auto !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: #fff;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 1) 100%);
}

.h-category-block,
.h-category-block .elementor-image-box-wrapper,
.h-category-block .elementor-image-box-wrapper .elementor-image-box-img,
.h-category-block .elementor-widget-container .elementor-image-box-wrapper,
.h-category-block .elementor-image-box-wrapper .elementor-image-box-img img {
    height: 100%;
}

.h-category-block .elementor-image-box-img img {
    object-fit: cover;
}


.collection-sec {
    display: flex;
    flex-wrap: wrap;
}

.collection-sec .collection-filter {
    flex: 0 0 25%;
    max-width: 25%;
}

.collection-sec .collection-block {
    flex: 0 0 75%;
    max-width: 75%;
}

.collection-filter ul {
    padding: 0;
    margin: 0;
    list-style: none;
    padding-right: 30px;
}

.collection-filter ul li a {
    color: #fff;
    display: block;
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    position: relative;
    padding: 12px 20px;
    align-items: center;
    background: #B7010E;
    border-radius: 30px;
    text-transform: uppercase;
    font-family: "Cormorant Garamond", Sans-serif;
}

.collection-filter ul .sub-cat {
    padding-right: 0;
    padding-left: 20px;
    margin-bottom: 30px;
}

.collection-filter ul .sub-cat a {
    color: #000;
    font-size: 14px;
    background: transparent;
}

.collection-filter ul li.active .sub-cat  a:hover,
.collection-filter ul .sub-cat .selected a,
.collection-filter ul .sub-cat a:hover {
    color: #B7010E !important;
}

.collection-filter ul li.active .sub-cat  a{
    color: #000;
}

.collection-filter ul .sub-cat a:after {
    display: none !important;
}

.collection-filter ul li a:hover,
.collection-filter ul li.active a {
    color: #F4D0AF;
}

.collection-filter ul li.main-cat a:after {
    content: "\f107";
    position: absolute;
    right: 20px;
    font-family: 'Font Awesome 5 Free';
}

.collection-sec .dropbtn:after {
    content: "\f107";
    margin-left: 10px;
    font-family: 'Font Awesome 5 Free';
}


.collection-home-post .elementor-post__thumbnail__link {
    pointer-events: none;
    cursor: default;
}

.collection-sec .mobile-cat-menu {
    flex: 0 0 100%;
    margin-bottom: 30px;
}

.collection-sec .mobile-cat-menu {
    display: none;
}

.collection-sec .dropbtn {
    color: #fff;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-weight: 700;
    border-radius: 40px;
    text-transform: uppercase;
    background-color: #B7010E;
}

.collection-sec .dropbtn:hover,
.collection-sec .dropbtn:focus {
    background-color: #B7010E;
}

.collection-sec .dropdown {
    position: relative;
    display: none;
}

.collection-sec .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 100%;
    overflow: auto;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 30px;
    padding: 20px;
}

.collection-sec .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.collection-sec .dropdown a:hover {
    background-color: #ddd;
}

.collection-sec .show {
    display: block;
}


.collection-sec .mobile-cat-menu ul {
    padding: 0;
    list-style: none;
}

.collection-sec .mobile-cat-menu ul .sub-cat {
    padding-left: 15px;
}

.collection-sec .mobile-cat-menu ul .sub-cat li {
    border-bottom: 1px solid #ddd;
}

/*Conatct Us*/

.contact-form .wpcf7-form-control {
    outline: 0;
    color: #e6c3a4;
    border-radius: 0;
    padding: 10px 20px;
    background: #F6EFDF;
}

.contact-form .wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3232;
}

.contact-form .submit-btn {
    text-align: center;
}

.contact-form .submit-btn .wpcf7-form-control {
    padding: 15px 40px;
    text-transform: uppercase;
    border: 1px solid #f6efdf;
    background: transparent;
}

.contact-form .submit-btn .wpcf7-form-control:focus,
.contact-form .submit-btn .wpcf7-form-control:hover {
    color: #170809;
    background: #e7c4a6;
}

.contact-form .form-field .wpcf7-not-valid-tip {
    display: none;
}

.contact-form-block .wpcf7-response-output {
    display: none;
}

.info-block .elementor-icon-box-content .elementor-icon-box-description a {
    color: #F4D0AF;
}


/*===============================

           Responsive

=================================*/

@media(max-width: 1280px) {

    .collection-filter ul li a {
        font-size: 14px;
    }

    .archive main#content {
        padding-top: 60px;
        padding-bottom: 40px;
    }

}

@media(max-width: 1024px) {

    .collection-sec .collection-filter {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .collection-sec .collection-block {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .collection-filter ul {
        padding: 0;
    }

    .collection-sec .collection-filter {
        display: none;
    }

    .collection-sec .mobile-cat-menu {
        display: block;
    }

    .collection-block .collection-items {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        padding: 5px 5px;
    }
    
    .collection-filter ul .sub-cat {
        padding-left: 10px;
        margin-bottom: 20px;
    }

}

@media(max-width: 767px) {

    .collection-block .collection-items {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home-post-sec .elementor-element {
        display: block !important;
    }

    .hero-slider .elementor-button.elementor-slide-button {
        display: none !important;
    }

}

@media(max-width: 480px) {

    .collection-block .collection-items {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-book-text:before {
        background: transparent !important;
    }

    .home-book-text {
        position: static !important;
    }

}
