/*
 Theme Name: Vrnlab Two
 Description: Тема создана по заказу компании ООО "ЭнергияЛаб" для ее сайта (интернет-каталог). Версия 2
 Author: Alexander Parkhomenko
 Author URI: https://wplife.ru
 Version: 2.00.00
 Requires PHP: 8.0
 Requires at least: 5.0
 Text Domain: vrnlabtwo
 */
/* inicode https://unicode-table.com/ru/ */

.hero__image{
    display: flex;
    justify-self: center;
    height: auto !important;
}
@media (max-width: 992px) {
    .hero__image {
        height: auto;
    }
}
#wplife-hero-video-1-section{
    display: flex;
    align-items: center;
}

/* Кнопка отправки CF7 — неактивное состояние */
.btn.disabled,
.wpcf7-submit:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
/* Скрываем спиннер CF7 (у тебя свой прелоадер) */
.wpcf7-spinner {
    display: none !important;
}

/* Скрываем fieldset с hidden-полями — он не нужен визуально */
.wpcf7-form fieldset.hidden-fields-container {
    display: none;
}

/* Убираем лишние отступы у обёрток */
.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

/* Чекбокс CF7 — убираем стандартный отступ */
.wpcf7-form .wpcf7-list-item {
    margin: 0;
}

/* Сообщения об ошибках/успехе */
.wpcf7-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
}
form input.btn{
    border: 1px solid #7b9798;
    font-family: "Nunito Sans", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #2abbc2;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.21;
    transition: all .3s;
    cursor: pointer;
}
.checkbox input[type=checkbox]{
    width: auto;
    height: auto;
    opacity: 1;
    position: relative;
}
#submit{
    max-width: 40%;
}
.form label.checkbox{
    display: flex;
    align-items: center;
}
#characteristics{
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
}

.checkbox{
/*    gap:32px;*/
}

/* Стили попап Задать вопрос о  товаре */
/* Попап «Задать вопрос» */
.modal_question {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none; /* скрыт по умолчанию */
    align-items: center;
    justify-content: center;
}
/* Когда попап открыт — JS ставит display: block, поэтому дублируем flex через класс */
.modal_question.is-open {
    display: flex;
}
.modal_question__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.modal_question__inner {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0 auto;
    top: 10%;
}
.modal_question__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.modal_question__product-name {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}
.modal_question__close,
.modal_request_price__close {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    z-index: 3;
}
.no-scroll {
    overflow: hidden;
}

/* Ошибки app.css */
.product__buttons{
    display: flex;
    white-space: nowrap;
}
.btn a,
.btn button{
    font-size: 16px;
    color:white;
}
.wc-block-checkout__form .wc-block-components-address-form__country .wc-blocks-components-select
 {
    margin-top: 12px;
}
.btn{
    gap:unset;
}
.new__inner{
    display: block;
}
.new__image{
    float: right;
}
.nav-links{
    display: flex;
}
.modal_calback__form .form__bottom .btn{
    padding: 0;
}
#menu-futer-levaya{
    margin-top: 10px;
}
h2.has-text-align-left,
h2.wp-block-heading{
    text-align: left;
}
.form select{
display: block;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #7b9798;
    background: #fff;
    padding: 15px 30px;
    color: #2c2d2f;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
}
iframe{
    width: auto;
}
.btn_catalog svg {
    display: none;
}
.card_catalog__image img{
/*    width: 150px; */
    /* height: 150px;*/
}


/* Кнопка обновления корзины */
.cart__update {
    text-align: right;
    margin-bottom: 20px;
}
.cart__update .btn {
    cursor: pointer;
}
/* Исправления дизайн страница Каталог */
.card_catalog__title {
    align-items: flex-start;
}

.woocommerce-no-products-found{
    color:red;
    font-weight: bold;
}

.wpfMainWrapper{
    background-color: white;
}
.link_cart__icon{
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.footer__development {
    background: linear-gradient(200deg, #91F5FF 13.12%, #7EF5FF 29.97%, #4BE3EC 58.93%, #6CE7EB 79.24%, #D1F8F8 103%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
    font-size: 14px;
}
.footer__bottom a{
    text-decoration: underline;
}

.card_news.swiper-slide {
    height: auto;
}
.card_news__image img{
    max-height: 347px;
    max-width: 710px;
    width: auto;
}
.document_catalog{
    width: 40%;
}
.contact__map iframe{
    width: 100%;
}
.document_catalog .btn{
    width: auto;
}
.contacts .item_contact__title span{
    font-size: 16px;
}

.pswp img {
    max-width: none;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}
ul.page-numbers {
    list-style: none;
    display: flex;
}
p.stock.available-on-backorder
{
    display: none;
}

    .card_product__btn {
    position: relative;
}
/**/
.cart-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-family: Arial, sans-serif;
}

.added_to_cart
{
    grid-column: 1 / -1;
    padding:0;
    background: #14848a;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 62px;
    border-radius: 5px;
    font-weight: 800;
    line-height: 1.21;
    transition: all .3s;
    cursor: pointer;
    width: 100%;
    height: 46px;
    font-size: 14px;
    margin-top: 10px;
}
.checkbox span{
    max-width: unset;
}

.pdn a {
    text-decoration: underline;
}
.thumbnail-slide img {
    width:66px;
    height: 66px;
}
.product__image img{
/*    max-height: 350px;*/
    aspect-ratio: 3 / 2;
   object-fit: contain;
    object-position: center top;
}

.swiper-slide.main-slide.single-image.swiper-slide-active a{
   /* background: radial-gradient(ellipse at center, white 50%, #bff5f9 100%) no-repeat;*/
}
.form-auto-save-hint{
    display: none;
}
/* Блок "Товары в наличии" в сайдбаре */
.sidebar-stock {
    border-radius: 5px 5px 0 0;
    border: 1px solid #7b9798;
    margin-top: 24px;
    background: #fff;
    padding-top: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.sidebar-stock__icon {
    margin-bottom: 12px;
}

.sidebar-stock__title {
    font-size: 16px;
    font-weight: 700;
    color: #2C2D2F;
    margin-bottom: 12px;
}

.sidebar-stock__text {
    font-size: 13px;
    color: #76768C;
    line-height: 1.6;
    margin-bottom: 14px;
}

.sidebar-stock__badge {
    display: inline-block;
    background: #2ABBC2;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.sidebar-stock__btn {
    width: 100%;
    transform: translateY(5px);
    font-size: 16px;
    font-weight: 700;
}
.att_product_weight,
.att_product_size
{
    margin-left: 40px;
}
.catalog__text ul {
    line-height: 1.5;
    margin-bottom: 15px;
}
.hero__image img, .hero__image video {
 background-color: white;
 border-radius: 5px;
}
.breadcrumbs__item a::after {
    content: "-";
}
/* крест по диагонали для отсутвия картинки */
.product__image.no_photo{
    position: relative;
    overflow: hidden;
    height: stretch;
}

.product__image.no_photo::before,
.product__image.no_photo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 141.5%;
    height: 4px;
    transform: translate(-50%, -50%);
}

.product__image.no_photo::before {
    background: #2abbc2;
    transform: translate(-50%, -50%) rotate(45deg);
}

.product__image.no_photo::after {
    background: #2abbc2;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.item_soft__image img {
    aspect-ratio: 1 / 1;
}
.fa-spinner{
    color:red;
}
.product__image{
    height: fit-content;
}
