/*   
Theme Name: mafline
*/
.cats-heading{
	padding: 120px 0;
	position: relative;
	background: #4f5fce;
	margin-bottom: 20px;
}
.cats-heading:before{
	content: '';
	width: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: block;
	position: absolute;
	background: #4f5fce;
	opacity: 0.7;
	z-index: 1;
}
.cats-heading h1,
.cats-heading .h1{
	font-size: 48px;
	line-height: 50px;
	color: #fff;
	position: relative;
	z-index: 1;
	font-weight: 600;
}
.product-item .item{
    height: 400px;
    display: grid;
    grid-template-rows: calc(100% - 40px) 40px;
        margin-bottom: 30px;
}

.product-item .item .name{
	color: #000;
    font-size: 14px;
    position: absolute;
    bottom: 40px;
    text-align: center;
    margin: 0;
    font-weight: 600;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.7);
}
.product-item .item .image{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.5s;
}
.product-item .item:hover .image{
	/*background: #f7f7f7;*/
    opacity: 0.7;
}
.product-item .item .caption{
	background: #0ed2df;
	color: #fff;
	font-size: 14px;
	transition: 0.5s;
}
.product-item .item:hover .caption{
	background: #4f5fce;
}
.product-item .item .caption .form-group{
	display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.product-item .item .caption .form-group .price{
	background: #fff;
    color: #000;
    padding: 0 12px;
    margin-left: 3px;
    font-size: 16px;
    line-height: 34px;
}
.product-item .item .caption .form-group .more{
    width: 50%;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
}
.product-item .item .caption .form-group .more a{
	display: block;
}

.category-list h3{
	font-size: 16px;
    color: #000;
    text-transform: uppercase;
    line-height: 20px;
    margin: 0;
}

.category-list ul{
	margin-top: 10px;
}
.category-list ul li a{
	font-size: 12px;
	text-transform: uppercase;
	line-height: 14px;
	padding: 12px 10px;
	display: flex;
	align-items: center;
	color: #000;
}
.category-list ul li a .count{
	margin-right: 9px;
    width: 20px;
    text-align: center;
}
.category-list ul li a.active,
.category-list ul li a:hover{
	background: #4f5fce;
	color: #fff;
}
.search{
	margin-bottom: 30px;
}
.search .form-group{
    background: #f5f3f1;
    display: flex;
    padding: 5px 10px 5px 20px;
}
.search .form-group input{
	width: 100%;
}
.search .form-group input + button{
    margin: 0;
    width: 30px;
    background: none;
    color: #998675;
}
.pagination{
    clear: both;
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.pagination li a,
.pagination li span{
    width: 40px;
        font-size: 14px;
    height: 40px;
    background: #f5f3f1;
    display: block;
    text-align: center;
    line-height: 40px;
    color: #998675;
    transition: 0.5s;
    margin: 0 10px;
}
.pagination li span.current,
.pagination li a:hover{
    background: #4f5fce;
    color: #fff;
}

.product-single h1{
	color: #000;
    font-size: 48px;
    font-weight: 100;
    margin: 30px 0 60px;
    line-height: 50px;
}
.product-single .image{
    display: flex;
}
.product-single .image .min-img{
	max-width: 100px;
}
.product-single .image .min-img img{
    opacity: 0.5;
    margin: 0;
    border: 1px solid #fff;
        max-width: 100px;
}
.product-single .image .min-img img.active,
.product-single .image .min-img img:hover{
    opacity: 1;
    border: 1px solid #998675;
}
.product-single .image .sales{
    position: absolute;
    background: #ff527d;
    padding: 0px 15px;
    color: #fff;
    margin: 10px 0;
}
.product-single .product-info .title{
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	color: #000;
    font-weight: 600;
}
.product-single .product-info>div{
	margin-bottom: 30px;
}

.product-single .product-info .price span:first-child{
	background: #4f5fce;
    padding: 15px 20px;
    color: #fff;
}
.product-single .product-info .desc{
	font-size: 16px;
	color: #737373;
}
.product-single .product-info .item p{
	font-size: 14px;
	color: #4f5fce;
	text-transform: uppercase;
}
.product-single .attribute{
	margin-top: 40px;
}
.product-single .attribute .tab-heading{
    background: #4f5fce;
    color: #fff;
    padding: 5px 20px;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 20px;
}
.product-single .attribute .tab-body{
	margin-bottom: 30px;
    font-size: 14px;
    color: #737373;
    line-height: 22px;
}
.product-single .attribute .tab-body table{
    max-width: 100%;
}
.product-single .attribute .tab-body p{
	margin-bottom: 5px;
}
#product_buy{
    background: #4f5fce;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    text-transform: uppercase;
}

.modal{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.modal .form{
    background: #fff;
    padding: 30px;
    position: relative;
}
.modal .form .close{
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
    transition: 0.5s;
}
.modal .form .close:hover{
    color: #000;
}

.modal .form .title{
        text-align: center;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    margin-bottom: 20px;
}
.modal .form input{
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 16px;
}
.modal .form input.hidden{
    display: none;
}
.modal .form textarea{
        resize: vertical;
    overflow: auto;
    min-height: 58px;
    height: 168px;
    max-height: 252px;
    border: 1px solid #999999;
    width: 100%;
    padding: 10px 20px;
    font-size: 16px;
}
.modal .form input.wpcf7-submit{
    max-width: 50%;
    margin: auto;
    display: block;
    border: none;
    background: #4f5fce;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 768px){
    .product-single h1{
        font-size: 36px;
        line-height: 36px;
    }
    .product-single .attribute .tab-body table{
        width: 100%;
    }
}