/* wp_print_auto_sizes_contain_css_fix */
img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }

/* class-wc-frontend-scripts.php:load_scripts() */
/* Зависит от get_option( 'woocommerce_checkout_highlight_required_fields', 'yes' ) */
/* Если true, то visibility: visible, иначе visibility: hidden; */
.woocommerce form .form-row .required { visibility: visible; }

/* theme.php:wp_custom_css_cb() */
.woodmart-info-box .info-svg-wrapper{
	background-image: none !important;
}

.green-red th:first-child{
background-color: #89ff2960;
    border-radius: 10px 0 0 0;
}
.green-red th:last-child{
background-color: #ff272760;
    border-radius: 0 10px 0 0;
}
.green-red td:first-child{
	background-color: #92ff3821;
}
.green-red td:nth-child(2){
	background-color: #92ff3821 !important;
}
.green-red td:nth-child(3){
	background-color: #ff38381a;
}
.green-red td:last-child{
	background-color: #ff38381a;
}
.green-red tbody tr td:last-child{
	border-radius: 0 !important;
}
.green-red tbody tr td:first-child{
	border-radius: 0 !important;
}
.green-red tbody tr:last-child td:last-child{
	border-radius: 0 0 10px 0 !important;
}
.green-red tbody tr:nth-child(6) td:last-child{
	border-radius: 0 !important;
}
.green-red tbody tr:nth-child(5) td:last-child{
	border-radius: 0 0 10px 0 !important;
}
.green-red tbody tr:last-child td:first-child{
	border-radius: 0 0 0 10px !important;
}
.entry-header .city-buttons{
	display: none;
}
.mobile-nav{
width: 70%;
}
.custom-menu-grid{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	padding: 0;
	margin-top: 10px;
}
.custom-menu-item:last-child{
	grid-column: span 2;
}
.custom-menu-item a{
	display: flex;
    flex-direction: column !important;
    height: 100%;
    border: 1px solid rgba(129, 129, 129, 0.2);
    border-top: none;
	gap: 10px;
    text-align: center;
}
.custom-menu-item img{
	max-width: 40px;
}
.custom-menu-item:first-child a{border-left: 0;}
.custom-menu-item:last-child a{border-left: 0;border-right: 0;}
.custom-menu-item:nth-child(2) a{border-right: 0;}
.custom-menu-item:nth-child(3) a{border-left: 0;}
.custom-menu-item:nth-child(4) a{border-right: 0;}
.sub-menu .nav-link-text{
	    font-size: 13px !important;
		color:black;
}
@media(max-width:560px){
	.custom-menu-grid{
		grid-template-columns: 1fr;
	}
.custom-menu-item a{border-left: 0;border-right: 0;}
.custom-menu-item:last-child{
	grid-column: span 1;
}
}
@media (max-width:1024px) {
	.header-bottom-menu{
		display: none;
	}
}

.button.one-click {
	margin-bottom: 10px;
	box-shadow: inset 0 0 0 1px black;
	background: white;
}

.button.one-click:hover {
	background-color: black;
	color: white;
}

.woodmart-sticky-btn-shown .button.one-click {
	margin-bottom: 0;
	margin-left: 10px;
}

.product-element-bottom .button.one-click {
    width: 100%;
    margin-top: 10px;
		border-radius: 10px;
}

.one-click-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000000aa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 400;
}

.one-click-container {
    width: 300px;
    background: white;
    padding: 20px;
}

.one-click-success {
	display: none;
	text-align: center;
    width: 300px;
    background: #158f61;
    border: 1px solid white;
    color: white;
    padding: 20px;
}

.one-click-error {
	display: none;
    width: 300px;
    background: #a11a1a;
    border: 1px solid white;
    color: white;
    padding: 20px;
}

.one-click-container > .close {
    float: right;
    cursor: pointer;
    border: 1px solid transparent;
    width: 25px;
    height: 25px;
    text-align: center;
}

.one-click-container > .close:hover {
	border: 1px solid #d6d6d6;
	border-radius: 4px;
    background: #f3f3f3;
}

.one-click-container > .close:active {
	scale: 95%;
}

.one-click-container > .header {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

.one-click-product-title {
    font-size: 10px;
    text-align: center;
}

.one-click-container > input[required] {
	box-shadow: inset 0 0 0px 1px #c1c1c1;
}

.one-click-submit {
	margin-top: 10px;
	width: 100%;
}

.mobile-button-woodmart-options {
	display: grid;
	grid-template-areas: "stack";
}

.mobile-button-woodmart-options > span,
.mobile-button-woodmart-options > img {
	grid-area: stack;
}

.mobile-button-woodmart-options > img {
	width: 16px;
	height: 16px;
	visibility: hidden;
	margin: auto;
}

.loading.mobile-button-woodmart-options > span {
	visibility: hidden;
}

.loading.mobile-button-woodmart-options > img {
	visibility: visible;
}

.pdf-icon{
	width: 50px;
	height: 50px;
	margin: 10px;
}

.pdf-link{
	display: flex;
	align-items: center;
}

.pdf-link a{
  text-decoration: underline;
}
.pdf-link a:visited{
	color: #9b2540bd;
}