/*   
Theme Name: your-clean-template-3 (uncommented)
Theme URI: https://github.com/saxap/clean-wp-template
Version: 3.0
Tags: clean, development, html5, bootstrap
Description: Clean wordpress theme with minimal bootstrap3 markup for fast development starting
Author: saxa:p
Author URI: http://dontforget.pro
*/
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
}
.woocommerce .right-side div.product {
    display: block;
}
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
width: 374px;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: none;
    width: calc(100% - 434px);
    padding-left: 60px;
    clear: none;
}

.woocommerce-product-gallery__wrapper {
    position: relative;
    width: 374px;
    float: none;
}

/*.woocommerce-product-gallery__wrapper::before {
content: '';
background: url(static/shirt.png) no-repeat;
width: 374px;
height: 414px;
display: block;
}
*/
.woocommerce-product-gallery__image {
--myVar: attr(data-image);    
}

.woocommerce-product-gallery__image {
background-repeat: no-repeat;
width: 374px;
height: 414px;
display: block; 
background-size: contain;
}

.wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    color: #fff;
    background-color: #a40e0f;
    text-align: center;
    padding: 18px 0;
    -webkit-transition: all .3s !important;
    transition: all .3s !important;
    border-radius: 8px;
}

.wc-block-cart__submit-button:hover,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
    color: #a40e0f;
    border-color: #a40e0f;
    background-color: #fff;
}

.order-box {
    display: flex;
    justify-content: space-between;
}

.product__info .product-photo .wp-post-image {
    width: 150px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
  }

@media(max-width: 1200px) {
    .product__info .product-photo .wp-post-image {
        width: 120px;
        top: 100px;
    }
    .product-photo {
        width: 290px;
        height: 320px;
    }
    .woocommerce-product-gallery__image {
        background-repeat: no-repeat;
        width: 290px;
        height: 320px;
    }
}


@media(max-width: 940px) {
    .product-photo {
        height: 320px;
        width: 248px;
    }
    .product__info .product-photo .wp-post-image {
        width: 100px;
        top: 100px;
    }
    .woocommerce-product-gallery__image {
        background-repeat: no-repeat;
        width: 374px;
        height: 274px;
    }
}

/* #product .woocommerce-product-gallery__image {
height: 235px;
} */

/*.woocommerce-product-gallery__wrapper > div {*/
.woocommerce-product-gallery__wrapper a {
    position: absolute;
    top: 151px;
    width: 146px;
    left: 111px;
}

form.cart, .single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.variations_form > div {
    width: 100%;
}

.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: none;
    width: calc(100% - 80px);
    max-width: 410px;
    color: #fff;
    background-color: #a40e0f;
    font-size: 22px;
    display: inline-block;
    text-align: center;
    padding: 18px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-transition: all .3s;
    transition: all .3s;
    cursor: pointer;
    z-index: 1;
    border: 1px solid transparent;
}

.woocommerce div.product form.cart .button:hover {
    color: #a40e0f;
    border-color: #a40e0f;
    background-color: #fff;
}

.woocommerce div.product form.cart div.quantity {
    float: none;
    margin: 0 15px 0 0;
}

.left {
    text-align: left;
}

.product_price {
    width: 100%;
    margin: 32px 0 27px;
    position: relative;
    text-align: left;
    display: block;
    color: #191919;
    font-size: 62px;
    line-height: 62px;
    font-weight: 900;
    padding-right: 24px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.woocommerce-product-details__short-description {
    margin-bottom: 30px;
}

.sku_wrapper {
    margin-bottom: 20px;
    display: block;
}

.product_title {
    font-size: 32px;
    font-weight: bold;
}

.woocommerce div.product form.cart div.quantity {
    background: #e8e8e8;
    padding: 10px 0;
    border-radius: 5px;
}

.footer {
    border-top: 1px solid #a40e0f;
    padding: 20px 0;
}

.footer .container {
padding: 0 15px;
}

@media(max-width: 767px) {
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        width: 100%;
        padding-left: 0;
    }
    .woocommerce div.product form.cart .button {
        width: calc(100% - 80px);
    }
    .woocommerce div.product {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .product_price {
        font-size: 52px;

    }
}

@media(max-width: 513px) {
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images,
        .woocommerce-product-gallery__wrapper{     width: 290px;
    }
    .woocommerce-product-gallery__wrapper::before {
        content: '';
        background: url(static/shirt.png) no-repeat;
        background-size: contain;
        width: 290px;
        height: 330px;
        display: block;
    }
    .woocommerce-product-gallery__wrapper > div {
        position: absolute;
        top: 117px;
        width: 116px;
        left: 87px;
    }
}

@media (min-width: 979px) { 
	ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu {
		display: block;
	}
	.comment-list .children {
		padding: 0;
		margin-left: 74px;
		padding-bottom: 15px;
	}
	.comment-list .media {
		margin-top: 0;
	}
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; 
}


.text-page {
	padding: 70px 20px;
	text-align: center;
	margin: 0 auto
}

.text-page h1 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.text-page p {
	margin-bottom: 20px;
	font-size: 16px;
}

.text-page h2 {
	font-size: 2.2rem;
	margin-bottom: 20px;
}

.text-page h3 {
	font-size: 1.8rem;
	margin-bottom: 20px;
}

.text-page p > a:hover {
	color: #f90;
}

.text-page ul {
	margin-bottom: 20px;
}

.text-page ul>li {
    position: relative;
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 25px;
    padding-left: 40px;
    margin-bottom: 20px;
}
.text-page ul>li::before {
    content: "";
    position: absolute;
    display: block;
    width: 22px;
    height: 2px;
    background-color: #242424;
    top: 14px;
    left: 0;
}

@media(max-width: 575px) {
	.text-page {
		padding: 60px 0 40px;
	}
	.text-page h1 {
		font-size: 2rem;
	}
	.text-page h2 {
		font-size: 1.8rem;
	}
	.text-page h3 {
		font-size: 1.6rem;
	}
	.order-box {
		flex-wrap: wrap;
	}
}

.woocommerce .woocommerce-ordering select {
    background: #e7e7e7;
    padding: 5px;
}

@media (max-width: 576px) {
	    .product.rolling-up .product__param {
        padding-left: 3px;
        padding-right: 3px;
        width: 100%;
    }
	
    .product.rolling-up {
        padding-bottom: 0px;
    }
}