/*---------------Add background---------------------*/

.main-block {overflow:hidden;}

.info>.wp-group.recommend.main-recommend .woocommerce:before, .info>.wp-block-group.recommend.main-recommend .woocommerce:before {background-image: url('/uploads/2023/01/pizza.webp')!important;}

.langs {float:left;margin: 5.5px 0 5.5px 25px;}
.langs ul {padding: 0;float: left;margin: 0;list-style: none;}
.langs ul li {padding: 0;float: left;padding-right: 8px;margin-right: 10px;position: relative;}
.langs ul li:last-child {margin-right: 0;padding-right: 0;border: 0;}
.langs ul li:after {content: '';position: absolute;border-right: 3px double #afafaf;right: -3px;top: 50%;transform: translate(0,-50%);height: 50%;}
.langs ul li:last-child:after {display:none;}
.langs ul li a {float: left;color: black;font-size: 14px;line-height: 20px;font-family: MontserratS;
-moz-transition: color 0.2s 0.02s ease;-o-transition: color 0.2s 0.02s ease;-webkit-transition: color 0.2s 0.02s ease;transition: color 0.2s 0.02s ease;
}
.langs ul li.current-lang a, .langs ul li:hover a {color: #cb0014;}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {width:80px;text-align:center;}

.wpcf7 form .field:nth-of-type(4n) {margin-right:0;}
.wpcf7 form p.button {position:relative;left:50%;transform:translate(-50%,0);}

header .header-wrapper>nav.menu-block ul li.menu-item-3415 {display:none;}

.wpcf7 form .field {margin-bottom:15px!important;}
.wpcf7 form p.button {margin-top:14px!important;clear:both;}

body footer>.wp-group .wp-group_container .wp-block-column:nth-of-type(2) table tr td:first-of-type {min-width:75px;}
body footer>.wp-group .wp-group_container .wp-block-column .button {margin-top:0!important;left:0;transform:translate(0,0);}

body .blog .sidebar ul li h4, body .blog .sidebar .rpwwt-post-date {background-position: left 25%;}

body .single-post ul {padding-bottom:13px;margin-top:0;margin-bottom:0;}
body .single-post li {padding-bottom:7px;}

header .pre-line-wrapper>.widget-wrapper figure img {width:auto!important;}

.info>.wp-group.blog > div > div > p {padding:0;}

.wp-block-gallery.has-nested-images figcaption {font-family: MontserratS;color:black;padding-top: 10px;font-size:13px;line-height:19px;}

.single-post .wpcf7 form .field input,
.single-post .wpcf7 form .field select {color:black;border: 1px solid #7c7c7c!important;background:white;} 
.single-post .wpcf7 form .field.name,
.single-post .wpcf7 form .field.email,
.single-post .wpcf7 form .field.phone {display:block!important;}
.single-post .wpcf7 form label {color:black;}

body .single-post .wpcf7-response-output {color:#cb0014;text-align:center;width: 450px;max-width:100%;box-sizing:border-box;clear:both;position:relative;left:50%;transform:translate(-50%,0);}
body .single-post .sent .wpcf7-response-output {color:green;}

body .sharing {margin-bottom:-15px;}

footer>.wp-group .wp-group_container .wp-block-columns, 
body footer>.wp-block-columns .wp-block-column {max-width:100%!important;}

.blog-post figure.wp-block-image {margin-bottom:40px;margin-top:20px;}

body .menu-page h4 {padding-top:25px;margin-bottom:0;}

body .info.service>.wp-block-group.recommend .woocommerce ul.products li.product .woocommerce-loop-product__title {width: calc(100% - 155px);box-sizing:border-box;padding-right:10px;}

body .menu-page h4 {max-width:100%;box-sizing:border-box;padding-left:25px;padding-right:25px;}






@media screen and (max-width:1450px) {
	
body footer>.wp-group .wp-group_container .wp-block-columns, 
body footer>.wp-block-columns .wp-block-column {width:1150px;}

}

@media screen and (max-width:1350px) {
	
body footer>.wp-group .wp-group_container .wp-block-columns, 
body footer>.wp-block-columns .wp-block-column {width:1050px;}

}

@media screen and (max-width:1250px) {
	
body footer>.wp-group .wp-group_container .wp-block-columns, 
body footer>.wp-block-columns .wp-block-column {width:990px;}

}

@media screen and (max-width:1150px) {
	
body footer>.wp-group .wp-group_container .wp-block-columns, 
body footer>.wp-block-columns .wp-block-column {width:880px;}

}

@media screen and (max-width:1100px) {
	
.wpcf7 form .field {width: calc(50% - 12px)!important;}
.wpcf7 form .field {margin-right:20px!important;}	
.wpcf7 form .field:nth-of-type(2n) {margin-right:0!important;}
footer>.wp-group .wp-group_container .wp-block-column .wpcf7 .field.text {width:100%!important;margin-right:0!important;}	
	
	
}

@media screen and (max-width:990px) {
		
header {padding-bottom:30px;}	
header .header-wrapper>nav.menu-block ul li.menu-item-3415 {display:block;}
.langs {min-width: 65px;top: 77.5px; position: absolute;right: 65px;}	
.langs ul li a {color: #afafaf;font-size:13px;}
.langs ul li.current-lang a, .langs ul li:hover a {color: #fff;}	
.langs ul li:after {border-color:#cb0014;}	
footer>.wp-group .wp-group_container .wp-block-column:nth-of-type(4) .wpcf7 .field input {font-size:14px!important;}	
body .blog .sidebar .rpwwt-post-date {background-position: 140px 97%;}
header .pre-line-wrapper>.widget-wrapper figure {padding-top:80px!important;}	
.slide-block.single-slide {padding-top:30px!important;}	
.breadcrumbs-wrapper .breadcrumbs  {padding-bottom:40px!important;}	
body .info.single-post {padding-bottom:0;}	
body .info.single-post.blog-post {padding-bottom:55px;}	
	
body footer>.wp-group .wp-group_container .wp-block-columns, 
body footer>.wp-block-columns .wp-block-column	{width:86%!important;}	
	
body .info.service>.wp-block-group.recommend .woocommerce ul.products li.product .woocommerce-loop-product__title {width: calc(100% - 115px);}	
	
	
	
	
}

@media screen and (max-width:781px) {

body .owl-carousel .owl-item h3 {line-height: 22px!important;font-size: 16px!important;}	
footer>.wp-group .wp-group_container .wp-block-columns .wp-block-column:nth-of-type(4) .widget-wrapper:nth-of-type(2), footer.contacts-footer>.wp-group .wp-group_container .wp-block-columns .wp-block-column:nth-of-type(3) .widget-wrapper:nth-of-type(2) {margin-top: -11px!important;}	
	
body .info.service>.wp-block-group.recommend .woocommerce ul.products li.product .woocommerce-loop-product__title {width: calc(100% - 95px);}	
	
}

@media screen and (max-width:650px) {

body .info.service>.wp-block-group.recommend .woocommerce ul.products li.product .woocommerce-loop-product__title {width: 100%!important;padding-right: 0!important;}
.info>.wp-block-group.recommend .woocommerce ul.products li.product .param-wrapper {bottom: 19px!important;}	
.info>.wp-group.recommend .woocommerce ul li .quantity.buttons_added, .info>.wp-block-group.recommend .woocommerce ul li .quantity.buttons_added {bottom: -11px!important;}		
.info.service>.wp-group.recommend .woocommerce ul li a.button.add_to_cart_button, .info.service>.wp-block-group.recommend .woocommerce ul li a.button.add_to_cart_button {bottom:-4px!important;}	
.info.service>.wp-group.recommend .woocommerce ul li a.woocommerce-LoopProduct-link, .info.service>.wp-block-group.recommend .woocommerce ul li a.woocommerce-LoopProduct-link {max-width: 100%!important;width: 100%!important;}	
	
}

@media screen and (max-width:480px) {
	
.wpcf7 form .field {width: 100%!important;margin-right:0!important;}
header .pre-line-wrapper>div.widget-wrapper:nth-of-type(3) img {height:35px!important;object-fit:contain!important;}	
header .pre-line-wrapper>.widget-wrapper figure {padding-top: 100px!important;}	
.single-post .wpcf7 form .wpcf7-response-output	{margin-bottom:15px!important;}
footer>.wp-group .wp-group_container .wp-block-column p a, 
footer>.wp-group .wp-group_container .wp-block-column:nth-of-type(2) table tr td,	
footer>.wp-group .wp-group_container .wp-block-column:nth-of-type(2) table tr td:nth-of-type(2)	{font-size:14px;}
.wpcf7 form .field input, .booking .wpcf7 form .field input, .wpcf7 form .field input, .wpcf7 form .field select {line-height:32px!important;}	
body .sharing {margin-bottom:0;}	

.info.single-info.single-post .wpcf7 {width: 90%;margin-left: 5%;margin-right: 5%;}	
	
.info>.wp-block-group.recommend .woocommerce ul.products li.product .param-wrapper {bottom: 17px!important;}	
.info>.wp-group.recommend .woocommerce ul li .quantity.buttons_added, .info>.wp-block-group.recommend .woocommerce ul li .quantity.buttons_added {bottom: -7px!important;}		
.info.service>.wp-group.recommend .woocommerce ul li a.button.add_to_cart_button, .info.service>.wp-block-group.recommend .woocommerce ul li a.button.add_to_cart_button {bottom:0!important;}		
.info.service>.wp-block-group.recommend .woocommerce ul.products li.product .price { padding-left: 0!important;margin-left: -25px!important;}
.info.service>.wp-group.recommend .woocommerce ul.products li.product p.woo-product-short-desc, .info.service>.wp-block-group.recommend .woocommerce ul.products li.product p.woo-product-short-desc {padding-right:0;width: calc(100% + 10px)!important;}	
	
	
	
}

@media screen and (max-width:400px) {
	
body footer>.wp-group .wp-group_container .wp-block-column:nth-of-type(4) .wpcf7 {width: 90%;margin-left: 5%;margin-right: 5%;}
.blog.single-post .sharing .share {width:100%;}	
		
	
}

/* ==========================================================================
   ИДЕАЛЬНАЯ КАРТОЧКА ТОВАРА (ФИНАЛ 3.0)
   ========================================================================== */

/* 1. Прячем всё лишнее: сайдбар, соцсети и "Супутні товари" */
body.is-product-page .sidebar,
body.is-product-page .related,
body.is-product-page .upsells,
body.is-product-page .cross-sells,
body.is-product-page .wp-group.recommend { 
    display: none !important; 
}
body.is-product-page .content-wrapper { width: 100% !important; float: none !important; }

/* 2. Заголовок товара черным */
body.is-product-page .slide-block.single-slide h1 { color: #000000 !important; }

/* 3. Сетка: Фото и Инфо (СТРОГО ОДИНАКОВАЯ ВЫСОТА) */
body.is-product-page div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
}
body.is-product-page div.product > .woocommerce-product-gallery {
    width: 48% !important; margin: 0 !important; float: none !important;
}

/* 4. Правый блок: GRID-сетка для жесткого контроля позиций */
body.is-product-page div.product > .summary {
    width: 48% !important; margin: 0 !important; float: none !important;
    display: grid !important;
    /* 3 колонки: 1 - кнопки, 2 - цена, 3 - пустое место (чтобы не улетало вправо) */
    grid-template-columns: max-content max-content 1fr !important; 
    /* 2 строки: 1 - описание (тянется на всю высоту), 2 - кнопки и цена (внизу) */
    grid-template-rows: 1fr auto !important; 
    padding-top: 15px !important;
    padding-bottom: 10px !important;
}

/* Убираем категорию */
body.is-product-page div.product .product_meta { display: none !important; }

/* ==========================================================
   5. ПОРЯДОК БЛОКОВ СПРАВА
   ========================================================== */
/* Описание - наверху (занимает всю ширину) */
body.is-product-page div.product .summary .woocommerce-product-details__short-description {
    grid-column: 1 / -1 !important; /* На все колонки */
    grid-row: 1 !important;
    align-self: start !important; /* ПРИЖИМАЕМ К ВЕРХУ! */
    font-size: 40px !important; color: #333 !important; line-height: 1.6 !important;
    margin-bottom: 20px !important;
}
body.is-product-page div.product .summary .woocommerce-product-details__short-description,
body.is-product-page div.product .summary .woocommerce-product-details__short-description p {
    font-size: 40px !important;
    line-height: 1.6 !important;
}
/* Кнопки - в самом низу, СЛЕВА */
body.is-product-page div.product .summary form.cart {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: center !important;
    margin: 0 !important; 
    display: flex !important; align-items: center !important; gap: 15px !important;
}

/* Цена - в самом низу, СПРАВА от кнопок (не улетает в конец экрана) */
body.is-product-page div.product .summary .price {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: start !important;
    float: none !important;
    width: auto !important;
    margin: 0 0 -15px 20px !important;
    font-size: 42px !important;
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    color: #000 !important;
    font-family: MontserratS, sans-serif !important;
    text-align: left !important;
}

/* ==========================================================
   6. ДИЗАЙН КНОПОК [ - 1 + ] И "ДОДАТИ В КОШИК"
   ========================================================== */
body.is-product-page div.product form.cart .quantity {
    position: relative !important; display: flex !important; align-items: center !important;
    border: 1px solid #d4d4d4 !important; border-radius: 6px !important; height: 50px !important;
    width: 120px !important; padding: 0 !important; margin: 0 !important; background: #fff !important;
    overflow: hidden !important;
}
body.is-product-page div.product form.cart .quantity input.minus,
body.is-product-page div.product form.cart .quantity input.plus {
    position: static !important; width: 35px !important; height: 100% !important; 
    background: transparent !important; border: none !important; font-size: 22px !important; 
    color: #000 !important; margin: 0 !important; padding: 0 !important; cursor: pointer !important;
}
body.is-product-page div.product form.cart .quantity input.minus:hover,
body.is-product-page div.product form.cart .quantity input.plus:hover { background: #f0f0f0 !important; }

body.is-product-page div.product form.cart .quantity input.qty {
    position: static !important; width: 50px !important; height: 100% !important; 
    background: transparent !important; border: none !important; 
    border-left: 1px solid #d4d4d4 !important; border-right: 1px solid #d4d4d4 !important;
    margin: 0 !important; padding: 0 !important; font-size: 18px !important; font-weight: bold !important; 
    color: #000 !important; text-align: center !important; border-radius: 0 !important;
}

/* Красная кнопка В КОРЗИНУ */
body.is-product-page div.product form.cart .single_add_to_cart_button {
    height: 50px !important; padding: 0 35px !important; background: #e30613 !important; 
    border: 1px solid #e30613 !important; color: #fff !important; font-size: 16px !important; 
    font-weight: bold !important; font-family: MontserratB, sans-serif !important; 
    border-radius: 14px 0 14px 0 !important; margin: 0 !important; transition: 0.3s !important; 
    display: flex !important; align-items: center !important; justify-content: center !important; 
    min-width: 180px !important; box-shadow: none !important;
}
body.is-product-page div.product form.cart .single_add_to_cart_button:hover { 
    background: #c80511 !important; border-color: #c80511 !important; 
}
body.is-product-page div.product form.cart .single_add_to_cart_button::after,
body.is-product-page div.product form.cart .single_add_to_cart_button::before { display: none !important; }

/* ==========================================================
   7. АДАПТИВ ДЛЯ ТЕЛЕФОНА
   ========================================================== */
@media screen and (max-width: 768px) {
    body.is-product-page div.product { flex-direction: column !important; align-items: center !important; }
    body.is-product-page div.product > .woocommerce-product-gallery, 
    body.is-product-page div.product > .summary { width: 100% !important; text-align: center !important; }
    body.is-product-page div.product > .summary { 
        margin-top: 20px !important; 
        display: flex !important; /* На мобилке возвращаем обычную колонку */
        flex-direction: column !important; 
        align-items: center !important; 
    }
    body.is-product-page div.product .summary .woocommerce-product-details__short-description { margin-bottom: 20px !important; }
    body.is-product-page div.product .summary .price { order: 1 !important; margin: 0 0 15px 0 !important; text-align: center !important; }
    body.is-product-page div.product .summary form.cart { order: 2 !important; justify-content: center !important; flex-wrap: wrap !important; margin: 0 !important; }
}