/**
 * Theme Name:     Moderno Child
 * Author:         6sigmamatrix.com
 * Template:       moderno
 * Text Domain:	   moderno-child
 * Description:    Minster Rugs &amp; Carpets Theme
 */




/* Destop Style ... */

.c-header__cell--top-right>.js-ajax-search {
    position: relative;
    flex: 0 0 45%;
}

.c-header__cell--top-right>.js-ajax-search .js-search-form {
    position: relative;
    z-index: 99999;
    display: block;
}

.c-header__cell--top-right>.js-ajax-search .js-search-form .c-header-search__input-block {
    margin-top: 0;
}

.c-header__cell--top-right>.js-ajax-search .c-header-search__result {
    position: absolute;
    overflow: auto;
    max-height: 400px;
    background-color: #fff;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 99999;
    box-shadow: 0 4px 24px 2px rgba(20, 25, 38, .1);
}

.c-header__cell--top-right>.js-ajax-search .c-header-search__result .c-header-search__row {
    padding: 0 15px;
}

.c-header__cell--top-right>.js-ajax-search .c-header-search__result .c-header-search__row:first-child {
    padding-top: 15px;
}

.c-header__cell--top-right>.js-ajax-search .c-header-search__result .c-header-search__row:last-child {
    padding-bottom: 15px;
}

.c-header-search__input-block:after {
    content: "\f144";
    position: absolute;
    top: 50%;
    right: 0;
    font-family: theme-icons !important;
    font-style: normal !important;
    font-weight: normal;
    font-size: 18px;
    transform: translateY(-50%);
}

.c-header-search__input-block .c-header-search__clear.active {
    background-color: #fff;
    width: 60px;
    height: 20px;
    z-index: 9;
}

.elementor-2580 .elementor-element.elementor-element-3db4ffa .elementor-heading-title {
    line-height: 1.4;
}

.elementor-2580 .elementor-element.elementor-element-28037c1 {
    margin: 0 !important;
}





/* Responsive Style ... */

@media(max-width: 1400px) {
    .c-header__cell--top-right>.js-ajax-search {
        flex: 0 0 50%;
    }

    .c-header__cell--top-right>.js-ajax-search .c-header-search__result {
        width: 330px;
    }
}

@media(max-width: 1198px) {

    /* Text ...*/
    .elementor-2580 .elementor-element.elementor-element-70c9b45 , 
    .elementor-2580 .elementor-element.elementor-element-ef42f56 {
        bottom: 70px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-16d97ea {
        top: 90px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-3e7a182 {
        margin-top: 85px;
    }

    .elementor-2580 .elementor-element-6d4c2c1 .attachment-full.wp-image-2727 {
        height: 400px;
    }

    .elementor-2580 .elementor-element.elementor-element-b1b1aa3 {
        margin-top: 50px !important;
        margin-bottom: 0;
    }

    .elementor-2580 .elementor-element.elementor-element-34986d4 {
        padding: 0 60px;
    }

    .elementor-2580 .elementor-element.elementor-element-691ae29 {
        padding-top: 80px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-3db4ffa>.elementor-widget-container {
        padding-bottom: 30px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-9ad8afa {
        line-height: 35px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-c5c3faf>.elementor-widget-container {
        margin-top: 30px;
    }

    .elementor-2580 .elementor-element-1de7641 .c-ip-image-list-3__item {
        width: calc(100% / 3);
    }

    .elementor-2580 .elementor-element.elementor-element-b1b1aa3 {
        margin-top: 50px;
    }

    .elementor-2580 .elementor-element.elementor-element-3899f47 img {
        width: 90% !important;
    }

    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__content {
        width: 85% !important;
    }

}


@media(max-width: 992px) {
    .elementor-2580 .elementor-element.elementor-element-34986d4 {
        flex-direction: column;
    }

    .elementor-2580 .elementor-element-34986d4 .elementor-element-5cbd660 {
        margin: 0 auto;
    }

    .elementor-2580 .elementor-element.elementor-element-691ae29 {
        padding-top: 60px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-3db4ffa>.elementor-widget-container {
        padding-bottom: 20px !important;
    }

    /* section collection... */

    .elementor-2580 .elementor-element-1de7641 .c-ip-image-list-3__item {
        width: calc(100% / 2);
    }

    .elementor-2580 .elementor-element.elementor-element-34986d4 {
        row-gap: 20px;
    }

    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__title {
        font-size: 32px !important;
        line-height: 1.4;
    }

    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__title {
        padding: 20px 20px;
    }

}

@media(max-width: 767px) {
    /* Section title space ... */

    .elementor-2580 .elementor-element.elementor-element-c158676 {
        gap: 20px 20px;
    }

    .elementor-2580 .elementor-element.elementor-element-5c2757d>.elementor-widget-container {
        margin: -20px 0 0 21px;
    }

    .elementor-2580 .elementor-element.elementor-element-3e7a182 {
        min-height: 370px;
        margin-top: 10px;
    }

    .elementor-2580 .elementor-element.elementor-element-fd02c80,
    .elementor-2580 .elementor-element.elementor-element-0f73a57 {
        min-height: 370px;
    }

    /* Border img ... */
    .elementor-2580 .elementor-element-6d4c2c1 .attachment-full.wp-image-2727 {
        height: 370px;
    }

    /* Background-img ... */
    .elementor-2580 .elementor-element-6d4c2c1 .attachment-full.wp-image-2728,
    .elementor-2580 .elementor-element.elementor-element-3899f47 img {
        width: 82% !important;
    }

    /* Text ... */
    .elementor-2580 .elementor-element.elementor-element-70c9b45 ,
    .elementor-2580 .elementor-element.elementor-element-ef42f56 {
        bottom: 45px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-16d97ea {
        top: 70px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-34986d4 {
        padding: 0 40px;
    }

    .elementor-2580 .elementor-element.elementor-element-691ae29 {
        padding-top: 50px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-3db4ffa .elementor-heading-title {
        font-size: 30px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-9ad8afa {
        font-size: 18px !important;
        line-height: 30px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-c5c3faf>.elementor-widget-container {
        margin-top: 25px;
    }

    .elementor-2580 .elementor-element.elementor-element-b1b1aa3 {
        margin-top: 40px;
    }

    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__content {
        width: 90% !important;
        padding: 20px 15px;
    }

    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__title {
        font-size: 28px !important;
    }
    .c-ip-hotspot__content{
        margin-top: -10px;
    }
}


@media(max-width: 480px) {
    .elementor-2580 .elementor-element.elementor-element-3db4ffa .elementor-heading-title {
        font-size: 28px !important;
    }

    .elementor-2580 .elementor-element-1de7641 .c-ip-image-list-3__item {
        width: calc(100% / 1);
    }

    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__title {
        font-size: 24px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-a4bf3b4 .elementor-heading-title {
        font-size: 18px !important;
        line-height: 30px !important;
        letter-spacing: 15px !important;
    }
    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__point{
        width: 25px;
        height: 25px;
    }
    .c-ip-hotspot__point:after{
        top: 10px;
        right: 10px;
        bottom:10px;
        left: 10px;
    }
}


@media(max-width: 450px) {

    .elementor-2580 .elementor-element.elementor-element-3e7a182,
    .elementor-2580 .elementor-element.elementor-element-fd02c80,
    .elementor-2580 .elementor-element.elementor-element-0f73a57 {
        min-height: 335px;
    }


    /* Border img ... */
    .elementor-2580 .elementor-element-6d4c2c1 .attachment-full.wp-image-2727 {
        height: 370px;
    }

    .elementor-2580 .elementor-element.elementor-element-26b4dd3 .elementor-heading-title,
    .elementor-2580 .elementor-element.elementor-element-70c9b45 .elementor-heading-title,
    .elementor-2580 .elementor-element.elementor-element-23df330 .elementor-heading-title,
    .elementor-2580 .elementor-element.elementor-element-16d97ea .elementor-heading-title,
    .elementor-2580 .elementor-element.elementor-element-2f6b5e3 .elementor-heading-title,
    .elementor-2580 .elementor-element.elementor-element-ef42f56 .elementor-heading-title {
        font-size: 20px;
    }
}


@media(max-width: 400px) {

    .elementor-2580 .elementor-element.elementor-element-3e7a182,
    .elementor-2580 .elementor-element.elementor-element-fd02c80,
    .elementor-2580 .elementor-element.elementor-element-0f73a57 {
        min-height: 335px;
    }


    /* Border img ... */
    .elementor-2580 .elementor-element-6d4c2c1 .attachment-full.wp-image-2727 {
        height: 320px;
    }
}

@media(max-width: 375px) {

    .elementor-2580 .elementor-element.elementor-element-3e7a182,
    .elementor-2580 .elementor-element.elementor-element-fd02c80,
    .elementor-2580 .elementor-element.elementor-element-0f73a57 {
        min-height: 280px;
    }


    /* Border img ... */
    .elementor-2580 .elementor-element-6d4c2c1 .attachment-full.wp-image-2727 {
        height: 295px;
    }

    .elementor-2580 .elementor-element.elementor-element-34986d4 {
        padding: 0 20px;
    }

    .elementor-2580 .elementor-element.elementor-element-3db4ffa>.elementor-widget-container {
        padding-bottom: 15px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-3db4ffa .elementor-heading-title {
        font-size: 26px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-9ad8afa {
        font-size: 16px !important;
    }

    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__title {
        font-size: 22px !important;
    }
    .elementor-2580 .elementor-element.elementor-element-bacc3be .c-ip-hotspot__point{
        width: 22px;
        height: 22px;
    }
    .c-ip-hotspot__point:after{
        top: 8px;
        right: 8px;
        bottom: 8px;
        left: 8px;
    }

}

@media(max-width: 350px) {

    .elementor-2580 .elementor-element.elementor-element-3e7a182,
    .elementor-2580 .elementor-element.elementor-element-fd02c80,
    .elementor-2580 .elementor-element.elementor-element-0f73a57 {
        min-height: 250px;
    }


    /* Border img ... */
    .elementor-2580 .elementor-element-6d4c2c1 .attachment-full.wp-image-2727 {
        height: 245px;
    }
}

.ribben {
    position: fixed;
    top: 40%;
    left: -10%;
    z-index: 999999999;
    background-color: #daa520;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    width: 16%;
    padding: 10px;
    transform: rotate(-90deg);
    text-align: center;
    transition: all 0.3s linear;
    margin-top:150px;
}

.ribben-tip{
    width: 30px;
    height: 30px;
    background-color: #daa520;
    position: fixed;
    top: 39%;
    left: 0;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s linear
}

.ribbern-parent.active .ribben{
left: -6.5%;
}



.ribben-tip{
cursor: pointer;
}


.c-sidebar__wrap .product-categories, .c-sidebar__wrap .c-ip-attribute-filter__list{
	display:none;
}

.widget-title{

cursor: pointer;

}

.widget-title:before {

    content: '>';

    position: absolute;

    top: 50%;

    right: 0;

    font-size: 20px;

    font-weight: 400;

    color: #000;

    transform: rotate(90deg);

    transition: all 0.3s linear;

}



.widget-title.active:before{

transform: rotate(-90deg);

}

@media(max-width:1850px){
.ribben{
font-size: 18px;
}
}


@media(max-width:1660px){
.ribbern-parent.active .ribben{
left: -6%;
}
.ribben{
left: -11%;
margin-top: 120px;
}
}




@media(max-width:1400px){
.ribbern-parent.active .ribben{
left: -7%;
}
.ribben{
width: 19%;
left: -13%;
}
}




@media(max-width:1199px){
.ribbern-parent.active .ribben{
left: -8%;
}
.ribben{
width: 22%;
left: -15%;
}
}



@media(max-width:992px){
.ribbern-parent.active .ribben{
left: -9%;
}
.ribben{
width: 26%;
left: -18%;
}
}



@media(max-width:767px){
.ribbern-parent.active .ribben{
left: -12%;
}
.ribben{
width: 35%;
left: -25%;
}
}


@media(max-width:576px){
.ribbern-parent.active .ribben{
left: -16%;
}
.ribben{
width: 45%;
left: -32%;
}
}



@media(max-width:480px){
.ribbern-parent.active .ribben{
left: -19%;
}
.ribben{
width: 55%;
left: -37%;
}
}


@media(max-width:400px){
.ribbern-parent.active .ribben{
left: -22%;
}
.ribben{
width: 65%;
}
}



@media(max-width:350px){
.ribbern-parent.active .ribben{
left: -27%;
}
.ribben{
width: 77%;
}
}

.riben{
    background-color: #daa520;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    padding: 15px;
    position: absolute;
    z-index: 9;
    top: 0;
    right: 0;
    text-align: center;
    width: 400px;
    transform: rotate(45deg) translate(27%, -50%);
}
.elementor-2580 .elementor-element.elementor-element-3e3438b{
    overflow:hidden;
}

.ribbern-parent{
	display: none;
}



/* Header Search */

@media(max-width: 1190px){
	.js-search-form{
		border-bottom: 1px solid #000;
	}
	.c-header-search__input-block{
		max-width: 90%;
		margin: 50px auto 20px;
	}
	.js-ajax-search-result{
		overflow: auto;
		max-height: 300px;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		background-color: #fff;
		max-width: 90%;
		top: 100%;
		padding: 0;
		z-index: 9999;
	}
	.js-ajax-search-result .c-header-search__row{
		padding: 20px 20px 0;
	}
}




@media(max-width: 992px){
	.riben{
		padding: 10px;
		transform:rotate(45deg) translate(30%, -65%);
	}
}


@media(max-width: 767px){
	.riben{
		font-size: 16px;
		padding: 5px;
		transform: rotate(45deg) translate(31%, -100%);
	}
}

@media(max-width: 480px){
	.riben{
		font-size: 14px;
		transform: rotate(45deg) translate(31%, -135%);
	}
}

.c-product__section.l-section{
	border-bottom: 1px solid #000000;
}
.c-product--layout-4 .c-product__tabs-row{
	border: 0 !important;
	padding: 0 !important;
	margin-top: 35px;
}
.c-product__tabs-col-center p{
	text-align: left !important;
}

.widget_price_filter .button{display:none !important;}

li.woocommerce-widget-layered-nav-list__item.wc-layered-nav-term.color-term > .wc-color-link >span {
	width: 30px;
	height: 30px;
	display: block;
}

/* Category widget style */
.widget-title{
	margin-bottom: 0 !important;
}
.widget-title:before{
	transform: rotate(90deg) translatex(-50%);
}
.widget-title.active:before{
	transform: rotate(-90deg) translatex(50%);
}
.c-shop-sidebar__content .widget > ul,
.c-shop-sidebar__content .widget form,
.c-shop-sidebar__content .widget .wc-size-filter,
.c-shop-sidebar__content .widget .wc-construction-filter,
.c-shop-sidebar__content .widget .wc-origin-filter,
.c-shop-sidebar__content .widget .wc-content-filter{
	padding-top: 15px !important;
}
.widget:has(.widget-title.active) .wc-selected-filters,
.widget:has(.widget-title.active) form,
.widget:has(.widget-title.active) .wc-category-filter,
.widget:has(.widget-title.active) .woocommerce-widget-layered-nav-list,
.widget:has(.widget-title.active) .wc-size-filter,
.widget:has(.widget-title.active) .wc-construction-filter,
.widget:has(.widget-title.active) .wc-origin-filter,
.widget:has(.widget-title.active) .wc-content-filter{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
	padding: 0 !important;
}
.wc-category-filter {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wc-category-filter li {
    margin: 3px 0;
}

/* children indentation */
.wc-category-children {
    list-style: none;
    margin: 5px 0 5px 15px;
    padding-left: 12px;
    border-left: 1px dashed #ddd;
}

/* depth-based spacing (extra clear stairs effect) */
.wc-category-item.depth-1 { padding-left: 8px; }
.wc-category-item.depth-2 { padding-left: 16px; }
.wc-category-item.depth-3 { padding-left: 24px; }

.wc-category-link {
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
}

.wc-category-link small {
    color: #777;
}

/* active state */
.wc-category-item.active > .wc-category-link {
    font-weight: 600;
    color: #000;
}

/* Size widget */
.wc-size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wc-size-item a {
    padding: 6px 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 13px;
	transition: all 0.3s linear;
	display: block;
}

.wc-size-item.active a,
.wc-size-item a:hover{
    background-color: #000000;
    color: #ffffff !important;
	border-color: #000000;
}

.wc-size-item small {
    color: #777;
    margin-left: 3px;
	transition: all 0.3s linear;
}
.wc-size-item.active small,
.wc-size-item a:hover small{
	color: #ffffff;
}

/* Construction */

.wc-construction-list,
.wc-origin-list,
.wc-content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc-construction-item .wc-construction-link,
.wc-origin-item .wc-origin-link,
.wc-content-item .wc-content-link{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.wc-construction-item.active > .wc-construction-link,
.wc-origin-item.active > .wc-origin-link,
.wc-content-item.active > .wc-content-link {
    font-weight: 600;
}

.wc-construction-item.active > .wc-construction-link small,
.wc-category-item.active > .wc-category-link small,
.wc-origin-item.active > .wc-origin-link small,
.wc-content-item.active > .wc-content-link small {
    font-weight: 600;
	color:#000;
}

.wc-construction-link small,
.wc-origin-link small,
.wc-content-link small {
    color: #777;
}
.wc-selected-filters,
.wc-category-filter,
.widget_price_filter form,
.widget_wc_color_swatch_filter .woocommerce-widget-layered-nav-list,
.wc-size-filter,
.wc-construction-filter,
.wc-origin-filter,
.wc-content-filter{
	max-height: 300px;
	overflow-y: auto;
	transition: all 0.3s linear;
}

/* filters */

.wc-selected-filters {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.wc-selected-filter {
    font-size: 14px;
	border: 1px solid #e3e3e3;
	padding: 10px;
	margin: 0 !important;
}

.wc-reset-filters {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
	padding: 5px 10px;
	color: #ffffff;
	background-color: #c52424;
}
.wc-reset-filters:hover{
	color: #ffffff !important;
}
.wc-category-children {
	border: 0 !important;
}
.wc-category-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
}


/* Color  */

.widget_wc_color_swatch_filter ul{
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 0 !important;
}
.widget_wc_color_swatch_filter li{
	margin: 0 !important;
}
.widget_wc_color_swatch_filter li:before{
	display: none !important;
}
.widget_wc_color_swatch_filter .wc-color-link{
	padding: 0;
	margin: 0;
	border: 1px solid #e3e3e3;
	padding: 2px;
	transition: all 0.3s linear;
}
.widget_wc_color_swatch_filter li.active .wc-color-link,
.widget_wc_color_swatch_filter li .wc-color-link:hover{
	border-color: #daa520;
}

.big-nowrap {white-space: nowrap;}
footer li.elementor-icon-list-item{
	list-style-type:none;
}

.woocommerce-checkout div#customer_details > div {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.woocommerce-checkout #customer_details .c-cart__form.c-cart__form--billing-fields.woocommerce-billing-fields {
	width: 100%;
}

.woocommerce-checkout #customer_details .c-cart__form.c-cart__form--additional-fields.woocommerce-additional-fields {
	width: 100%;
}

.woocommerce-checkout #customer_details .c-cart__form.c-cart__form--shipping-fields.woocommerce-shipping-fields {
	width: 100%;
}

span.required {
	color: #ff0000 !important;
}
