/* =========================================
   GLOBAL / БАЗОВЫЕ НАСТРОЙКИ
   ========================================= */

/* Разделители */
hr {
    background-color: #f1f1f1 !important;
}

/* Фокусы ссылок (убираем контуры) */
a:active, a:focus {
    outline: 0 !important;
    border: none !important;
    -moz-outline-style: none !important;
}

/* Базовые поля ввода */
input,
textarea,
select,
.select2-selection {
    font-size: 14px !important;
    /*padding: 0.75rem 1rem !important;*/
    border-radius: 7px !important;
    background-color: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease !important;
}

/* Мобили: покрупнее шрифт в инпутах */
@media screen and (max-width: 921px) {
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Фокус полей */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--ast-global-color-6) !important;
    outline: none !important;
}

/* Отступ заголовка страницы */
.page .entry-header {
    padding-top: 20px
}


/* =========================================
   WOOCOMMERCE: СООБЩЕНИЯ (INFO / MESSAGE / ERROR)
   ========================================= */

/********Блок INFO BEGIN********/
.woocommerce-info, .woocommerce-message, .woocommerce-error {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-1);
    border: 1px solid var(--ast-global-color-0);
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

/* Уберем иконку перед текстом */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
    content: "";
}

.woocommerce-error {
    background-color: #fceeee;
    color: #ea5555;
    border: 1px solid #ff0000;
}

/* Анимация плавного появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/********Блок INFO END********/


/* =========================================
   ТОВАР: КАРТОЧКИ В КАТАЛОГЕ, ИКОНКИ, ДЕЙСТВИЯ
   ========================================= */

/********Товар BEGIN********/


li.ast-article-post .astra-shop-summary-wrap,
li.ast-article-single .astra-shop-summary-wrap {
	padding: 0px 7px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    /* padding-bottom: 0 !important;  не обязательно */
}

li.ast-article-post .astra-shop-summary-wrap .button.add_to_cart_button,
li.ast-article-post .astra-shop-summary-wrap .button.product_type_simple,
li.ast-article-post .astra-shop-summary-wrap .button.product_type_variable,
li.ast-article-single .astra-shop-summary-wrap .button.add_to_cart_button,
li.ast-article-single .astra-shop-summary-wrap .button.product_type_simple,
li.ast-article-single .astra-shop-summary-wrap .button.product_type_variable {
    font-size: 12px !important;
    margin-top: auto !important;   /* Важно! прижмёт кнопку вниз */
    margin-bottom: 7px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding: 10px !important;
    min-width: 0 !important;
    max-width: 100% !important;
}


.woocommerce-js ul.products li.product .ast-shop-product-out-of-stock, .woocommerce-page ul.products li.product .ast-shop-product-out-of-stock {
    bottom: 0 !important;
    font-weight: 400 !important;
}

.woocommerce-js ul.products li.product a img,.woocommerce-page ul.products li.product a img {
    margin-bottom: 1px;
}


/* Категории в каталоге */
.woocommerce-js ul.products li.product.product-category {
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
}

/* Базовые стили карточки товара */
li.product {
    /* border: 1px solid var(--ast-global-color-6);  Бледно-розовая рамка */
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background-color: var(--ast-global-color-5); /* Белый фон */
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important; /* Тень */
    /*padding-bottom: 10px !important;*/
}

/* Иконка избранного в карточке */
.tinvwl-icon-heart:before {
    color: var(--ast-global-color-1);
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 27px !important;
}
.tinvwl-icon-heart:hover:before {
    color: var(--ast-global-color-0);
    transform: scale(1.3);
}

/* Сброс стилей у кнопки мини-корзины (блоки/виджет) */
.wc-block-mini-cart__button {
    all: unset !important;
}

/* Кнопки действий в правом верхнем углу карточки */
.woocommerce ul.products li.product {
    position: relative;
}
.product-card-actions {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 10;
}
.product-card-actions-inner {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #FCEEF5;
    border-radius: 25px;
    padding: 0px 1px 2px;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
    align-items: center;
}
/* Кнопки внутри блока действий */
.product-card-action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 25px !important;
    height: 25px !important;
    padding: 0 !important;
    transition: background 0.3s ease, transform 0.3s ease;
}
/* Wishlist кнопка внутри действий */
.product-card-action-btn .tinvwl_add_to_wishlist_button {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.3s ease;
}
.product-card-action-btn .tinvwl_add_to_wishlist_button:before {
    font-size: 23px !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
}
/* Убираем отступы обёртки */
.product-card-action-btn .tinv-wraper {
    margin: 0 !important;
}
.product-card-action-btn .tinvwl_add_to_wishlist_button {
    margin-top: 0 !important;
}
/* Быстрый просмотр */
.product-card-action-btn .woosq-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    transition: color 0.3s ease;
}
.product-card-action-btn .woosq-btn-icon {
    color: var(--ast-global-color-1);
    font-size: 17px !important;
    transition: color 0.3s ease;
}


/* Общая анимация для кнопок в блоке действий */
.product-card-action-btn {
    transition: transform 0.2s ease, background 0.3s ease;
}

/* Скейл при наведении на саму кнопку */
.product-card-action-btn:hover {
    transform: scale(1.12);
}

/* Избранное: при наведении на саму иконку — тоже скейлим */
.product-card-action-btn .tinvwl_add_to_wishlist_button {
    transition: transform 0.2s ease, color 0.3s ease;
}
.product-card-action-btn .tinvwl_add_to_wishlist_button:hover {
    transform: scale(1.12);
}

/* Быстрый просмотр: скейлим кнопку */
.product-card-action-btn .woosq-btn {
    transition: transform 0.2s ease, color 0.3s ease;
}
.product-card-action-btn .woosq-btn:hover {
    transform: scale(1.12);
}

/* Если хотите скейлить именно внутри, а не всю кнопку (например, только псевдо-иконку сердца) */
.product-card-action-btn .tinvwl_add_to_wishlist_button:before,
.product-card-action-btn .woosq-btn .woosq-btn-icon {
    display: inline-block; /* нужно для корректного transform */
    transition: transform 0.2s ease, color 0.3s ease;
}
.product-card-action-btn .tinvwl_add_to_wishlist_button:hover:before,
.product-card-action-btn .woosq-btn:hover .woosq-btn-icon {
    transform: scale(1.15);
}


/* Попап быстрого просмотра округлить */
.woosq-popup {
    border-radius: 10px;
}



/* Рейтинг + wishlist в верхней строке карточки */
.rating-wishlist-row {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 20;
}

/* Стилизация wishlist в строке */
.rating-wishlist-row .tinv-wishlist {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    padding-right: 5px !important;
    margin: 0 !important;
    background: transparent !important;
}
.rating-wishlist-row .tinv-wishlist form,
.rating-wishlist-row .tinv-wishlist span,
.rating-wishlist-row .tinvwl_add_to_wishlist_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
}
.rating-wishlist-row .tinvwl_add_to_wishlist_button {
    height: 1em !important;
    width: 1em !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Скрыть лейбл скидки */
.onsale{
    display: none !important;
}

/* Пагинация каталога */
.woocommerce-pagination ul li {
    border: 0 !important;
}
.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    gap: 8px !important;
}
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid var(--ast-global-color-6) !important;
    border-radius: 50% !important;
    color: var(--ast-global-color-1) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.woocommerce-pagination .page-numbers a:hover {
    background-color: var(--ast-global-color-6) !important;
    border-color: var(--ast-global-color-1) !important;
    color: var(--ast-global-color-1) !important;
}
.woocommerce-pagination .page-numbers .current {
    background-color: var(--ast-global-color-0) !important;
    color: white !important;
    border-color: var(--ast-global-color-0) !important;
}
.woocommerce-pagination .page-numbers .dots {
    border: none !important;
    background-color: transparent !important;
}
.woocommerce-pagination .page-numbers a:focus {
    outline: none !important;
    background-color: var(--ast-global-color-6) !important;
    color: var(--ast-global-color-1) !important;
    border-color: var(--ast-global-color-6) !important;
}
/********Товар END********/


/* =========================================
   ТОВАР: СТРАНИЦА СИНГЛА (ГАЛЕРЕЯ, ЦЕНА, ТАБЫ, МЕТА)
   ========================================= */

/********Товар и всё что с ним связано BEGIN********/
/* Кнопки "в корзине" — сохранённые закомментировано */
/* Кнопка "В корзине" */
/*a.added-to-cart-button {*/
/*    background-color: var(--ast-global-color-5) !important; !* белый *!*/
/*    color: var(--ast-global-color-1) !important; !* тёмный текст *!*/
/*    box-shadow: inset 0 0 0 1px var(--ast-global-color-0) !important; !* розовая рамка *!*/
/*    transition: all 0.3s ease !important;*/
/*}*/

/*!* Наведение на кнопку *!*/
/*a.added-to-cart-button:hover {*/
/*    background-color: var(--ast-global-color-4) !important; !* светло-розовый фон *!*/
/*    box-shadow: inset 0 0 0 1px var(--ast-global-color-1) !important; !* чуть темнее розовая *!*/
/*}*/

/*.woocommerce a.button.added::after {*/
/*    display: none !important;*/
/*}*/

/*!* Кнопка "В корзине" *!*/
/*button.single_add_to_cart_button.added-to-cart-button {*/
/*    background-color: var(--ast-global-color-5) !important; !* белый *!*/
/*    color: var(--ast-global-color-1) !important; !* тёмный текст *!*/
/*    box-shadow: inset 0 0 0 2px var(--ast-global-color-0) !important; !* розовая рамка *!*/
/*    transition: all 0.3s ease !important;*/
/*}*/

/* Наведение на кнопку */
/*button.single_add_to_cart_button.added-to-cart-button:hover {*/
/*    background-color: var(--ast-global-color-4) !important; !* светло-розовый фон *!*/
/*    box-shadow: inset 0 0 0 2px var(--ast-global-color-1) !important; !* чуть темнее розовая *!*/
/*}*/

/* Убрать псевдоэлемент ::after */
/*button.single_add_to_cart_button.added-to-cart-button::after {*/
/*    display: none !important;*/
/*}*/

/* Кнопка выбора параметров на карточке в каталоге 
.button.product_type_variable.add_to_cart_button {
    margin-left: 15px !important;
    margin-right: 15px !important;
}
*/

/* Для карточек категорий */
.woocommerce-loop-category__title {
    border-radius: 10px !important;
}
.single-product-category a {
    color: var(--ast-global-color-1) !important;
}


/*Звезы и рейтинг товара*/
.custom-rating,
.custom-rating-single {
    font-size: 12px;
}

/* Рейтинг (закомментировано по ТЗ) 
.custom-rating-single {
    font-size: 16px;
    margin-bottom: 12px;
}
.custom-rating .star,
.custom-rating-single .star {
    color: #f5a623;
    font-size: 16px;
}
*/



/* Блок summary товара */
.summary.entry-summary {
    background-color: var(--ast-global-color-5) !important;
    padding: 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
}

/* Цена товара */
.price {
    font-size: 14px !important;
    font-weight: bold !important;
    color: var(--ast-global-color-0) !important;
    margin-bottom: .5em !important;
}

/* Скрыть количество на странице товара (варианты поштучно) */
.woocommerce-js div.product form.cart div.quantity {
    display: none !important;
}

/* Краткое описание */
.woocommerce-product-details__short-description {
    margin-bottom: 20px !important;
}

/* Метаданные: артикул, категория, бренд */
.product_meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid var(--ast-global-color-6) !important;
    font-size: 0.95rem !important;
    color: var(--ast-global-color-3) !important;
}
.product_meta > span {
    display: block !important;
    line-height: 1.6 !important;
}
.product_meta a {
    color: var(--ast-global-color-0) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.product_meta a:hover {
    color: var(--ast-global-color-1) !important;
}

/* Табы товара */
.woocommerce-tabs {
    margin-top: 2rem !important;
    background-color: #fff !important;
    border-radius: 10px !important;
    /* Исправлено свойство: было box-shadowbox-shadow */
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
    padding: 20px !important;
}
.woocommerce-tabs .tabs {
    display: flex !important;
    gap: 1rem !important;
    /* Ниже в исходнике был одиночный !important; — сохраняю как комментарий */
    /* !important; */
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}
.woocommerce-tabs .tabs li a {
    color: var(--ast-global-color-2) !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
.woocommerce-tabs .tabs li.active a {
    color: var(--ast-global-color-1) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before {
    background: var(--ast-global-color-1) !important;
}

/* Таблица характеристик */
.woocommerce-product-attributes {
    border: 0px !important;
    border-collapse: collapse !important;
}
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 0.5rem 1rem !important;
    border: 0px !important;
    border-bottom: 1px solid #eee !important;
    text-align: left !important;
}
/********Товар и всё что с ним связано END********/


/* =========================================
   КОРЗИНА И ОФОРМЛЕНИЕ: ТАБЛИЦЫ, ФЛОАТ-КАРТ
   ========================================= */

/********Корзина и оформление BEGIN********/
.woocommerce form.checkout_coupon {
    width: 100% !important;
    padding: 0 !important;
}

/* Плавающая иконка корзины (отдельная) */
.floating-cart-detached {
    position: fixed !important;
    top: 40px;
    right: 20px;
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: all 0.3s ease;
}
.floating-cart-detached a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.floating-cart-detached svg {
    width: 28px !important;
    height: 28px !important;
}
.floating-cart-detached .ast-site-header-cart-data {
    display: none !important;
}
.floating-cart-placeholder {
    display: none;
}

@media (max-width: 921px) {
    .floating-cart-detached {
        top: auto !important;
        bottom: calc(12px + env(safe-area-inset-bottom));
        right: 12px;
        width: 52px;
        height: 52px;
    }
    .floating-cart-detached svg {
        width: 22px !important;
        height: 22px !important;
    }
}

/* Таблицы корзины и wishlist */
.woocommerce-cart-form table.shop_table,
.tinvwl-table-manage-list {
    border-radius: 10px !important;
    overflow: hidden;
    background-color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
}

/* Заголовки таблиц */
.tinvwl-table-manage-list thead th,
.woocommerce-cart-form table.shop_table thead th {
    background-color: #f1f1f1 !important;
    font-weight: bold !important;
    text-align: left !important;
}

/* Строки товаров в корзине */
.woocommerce-cart-form table.shop_table tbody tr.cart_item {
    background-color: #fff !important;
    transition: background 0.3s ease;
}
/*.woocommerce-cart-form table.shop_table tbody tr.cart_item:hover {
    background-color: #f9f9f9 !important;
}*/

/* Ячейки */
.woocommerce-cart-form table.shop_table td {
    vertical-align: middle !important;
}

/* Миниатюры */
.woocommerce-cart-form table.shop_table .product-thumbnail img {
    border-radius: 10px !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
}

/* Ховер по названию товара */
.woocommerce-cart-form table.shop_table .product-name a:hover {
    color: var(--ast-global-color-1) !important;
}

/* Итого */
.cart-totals-amount {
    font-size: 18px !important;
    font-weight: bold !important;
    color: var(--ast-global-color-1) !important;
}

/* Удаление товара */
.product-remove a {
    color: #888 !important;
    transition: color 0.3s ease !important;
}
.product-remove a:hover {
    color: red !important;
}

/* Пустая корзина — вернуться в магазин */
.return-to-shop {
    text-align: center !important;
}
/*Корзина и оформление END*/


/* =========================================
   ХЕДЕР: СЕТКА, СЕКЦИИ, ИКОНКИ, БЭДЖ КОРЗИНЫ
   ========================================= */

/********Шапка и всё что с ней связано BEGIN********/
/* Грид хедера: logo | center | right */
.ast-builder-grid-row.ast-grid-center-col-layout {
    grid-template-columns: auto 1fr auto !important;
}

/* Левая секция — к левому краю */
.site-header-primary-section-left {
    justify-self: start !important;
    margin-right: auto !important;
}

/* Центр (поиск) — растянуть */
.site-header-primary-section-center {
    flex-grow: 1 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Виджет поиска — на всю ширину */
.header-widget-area[data-section="sidebar-widgets-header-widget-1"] {
    max-width: 100% !important;
    flex-grow: 1 !important;
}

/* Правая секция — к правому краю */
.site-header-primary-section-right {
    justify-self: end !important;
    margin-left: auto !important;
}

/***Иконки шапки***/
/* Сброс внутренних отступов для элементов */
.ast-hfb-header .ast-addon-cart-wrap,
.site-header-section > * {
    padding: 0 !important;
}
.ast-above-header-wrap p,
.ast-main-header-wrap .widget_block p,
.ast-mobile-header-wrap .widget_block p,
.ast-header-html .ast-builder-html-element p {
    margin-bottom: 7px !important;
    padding: 0 !important;
}

/* Контейнеры иконок: аккаунт, избранное, корзина, кнопка */
.ast-header-account-wrap,
.header_favorite_icon,
.ast-addon-cart-wrap,
.ast-site-header-cart-li,
.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button {
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 7px 0 7px /*!important;
	align-self: flex-end !important;
	margin-top: auto !important;*/
}

/* Ховер-эффект по иконкам */
.ast-account-action-link:hover,
.header_favorite_icon:hover,
.ast-addon-cart-wrap:hover,
.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button:hover {
    color: var(--ast-global-color-1) !important;
    fill: var(--ast-global-color-1) !important;
}

/* Бейдж количества у иконки корзины */
.astra-icon[data-cart-total]::after {
    min-width: 23px !important;
    height: 23px !important;
    line-height: 23px !important;
    color: white !important;
    font-size: 14px !important;
    transform: none !important;
    border-radius: 50% !important;
}

/* Попап-хедер на мобилке: выравнивание */
.ast-mobile-popup-drawer .ast-mobile-popup-header {
    justify-content: flex-start !important;
}
/********Шапка и всё что с ней связано END ********/


/* =========================================
   ПОИСК: СТАРЫЙ БЛОЧНЫЙ И НОВЫЙ AWS
   ========================================= */

/********Старый поиск BEGIN********/
.wp-block-search__inside-wrapper input {
    background-color: none !important;
    font-size: 16px !important;
}
.wp-block-search__inside-wrapper button {
    padding: 0 !important;
    box-sizing: border-box !important;
    border-width: 0 !important;
    background-color: none !important;
}
.wp-block-search__input {
    background: none !important;
    background-color: transparent !important;
}
/********Старый поиск END********/

/********Новый поиск BEGIN********/
.aws-container.search-form {
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff8a !important;
    border: 1px solid var(--ast-global-color-6) !important; /* тонкая серая рамка */
    border-radius: 10px !important;
    padding: 0 7px !important;
    transition: border-color 0.3s ease-in-out !important;
}
.aws-container.search-form:focus-within {
    border-color: var(--ast-global-color-0) !important; /* розовый фокус */
}
.aws-search-field {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
.aws-search-btn {
    background: none !important;
    border: none !important;
}
.aws-search-btn_icon svg {
    fill: var(--ast-global-color-0) !important; /* розовая лупа */
}

/* Выпадающие результаты */
.aws_result_title,
.aws_result_link_top,
.aws_result_price {
    color: var(--ast-global-color-1) !important;
}
.aws_result_price {
    color: var(--ast-global-color-3) !important;
    font-weight: 400;
}
.aws_result_image img {
    border-radius: 7px !important;
}
.aws_search_more a {
    color: var(--ast-global-color-0) !important;
    font-weight: 600;
}
.aws-search-result {
    overflow: hidden !important;
    border-radius: 10px !important;
    font-size: inherit !important;
}
.aws-search-result ul li {
    border-bottom: 1px solid #eaeaea;
}
.aws_result_item:first-child {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}
.aws_result_item:last-child {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}
/********Новый поиск END********/


/* =========================================
   ЛОГИН / РЕГИСТРАЦИЯ (ТАБЫ, ВЕРСТКА)
   ========================================= */

/********Логин BEGIN********/
/* Центрируем контейнер формы */
#customer_login {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    max-width: 500px !important;
    margin: 3rem auto !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}
/* Колонки — флекс, без float */
#customer_login .u-columns {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}
/* Каждая форма — скрыта по умолчанию */
#customer_login .u-column1,
#customer_login .u-column2 {
    width: 100% !important;
    float: none !important;
    padding: 2rem !important;
    animation: fadeIn 0.3s ease-in-out !important;
    display: none !important;
}
/* Показ активной формы */
#customer_login.active-login .u-column1 {
    display: block !important;
}
#customer_login.active-register .u-column2 {
    display: block !important;
}
/* Табы */
#customer_login .tab-header {
    display: flex !important;
    cursor: pointer !important;
    font-weight: bold !important;
    background: #f2f2f2 !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 8px 8px 0 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}
#customer_login .tab-header div {
    flex: 1 !important;
    padding: 1rem !important;
    text-align: center !important;
    transition: background 0.3s, border 0.3s !important;
    background: #f2f2f2 !important;
}
#customer_login .tab-header .active {
    background: #fff !important;
    border-bottom: 2px solid var(--ast-global-color-0) !important;
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0 !important;
        transform: translateY(10px) !important;
    }
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
/********Логин END********/


/* =========================================
   КНОПКИ КОЛИЧЕСТВА (СПИННЕРЫ +/-), КОРЗИНА
   ========================================= */
/********Стили для кнопок количества BEGIN********/
.quantity-controls .qty {
    border-bottom: 0 !important;
    border-top: 0 !important;
}
.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--ast-global-color-6);
    border-radius: 10px;
    background: var(--ast-global-color-5);
    overflow: hidden;
    /*box-shadow: 0 2px 5px rgba(15, 23, 42, 0.1);*/
    margin-top: .5em;
    margin-bottom: .5em;
}
.quantity-btn {
    background: var(--ast-global-color-5);
    border: none;
    width: 36px;
    /*height: 36px;*/
    cursor: pointer;
    font-weight: bold;
    font-size: 19px;
    color: var(--ast-global-color-0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}
.quantity-btn:hover {
    background: var(--ast-global-color-4);
    color: var(--ast-global-color-1);
}
.quantity-btn:active {
    transform: scale(0.95);
}
/* Разделительная полоска после минуса */
.minus-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 60%;
    background: var(--ast-global-color-6);
    transform: translateY(-50%);
}
/* Разделительная полоска перед плюсом */
.plus-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 60%;
    background: var(--ast-global-color-6);
    transform: translateY(-50%);
}
.quantity-display {
    padding: 0 12px;
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--ast-global-color-2);
    font-size: 16px;
}
/* Убираем стрелки у number в WebKit */
.quantity-buttons-wrapper .qty::-webkit-outer-spin-button,
.quantity-buttons-wrapper .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity-controls .qty::-webkit-outer-spin-button,
.quantity-controls .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Скрываем кнопку «Обновить корзину» */
button[name="update_cart"] {
    display: none !important;
}
/********Стили для кнопок количества END********/


/* =========================================
   WISHLIST (TI WISHLIST): ТАБЛИЦА И КНОПКИ
   ========================================= */

/********Стили для Избранного BEGIN********/
/* Границы таблицы wishlist */
.tinvwl-table-manage-list,
.tinvwl-table-manage-list th,
.tinvwl-table-manage-list td,
.tinvwl-table-manage-list tr {
    border-color: #ededed !important;
}

.tinv-wishlist .social-buttons {
    display: none !important;
}
.tinv-wishlist tfoot .tinvwl-to-left:not(:empty) {
    width: 100% !important;
    margin-right: 0 !important;
}
.tinv-wishlist .button.product_type_variable.add_to_cart_button {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/********Стили для Избранного END********/


/* =========================================
   ОФОРМЛЕНИЕ ЗАКАЗА / CHECKOUT: ИТОГИ БЛОКИ
   ========================================= */

/********Оформление заказа BEGIN********/
#order_review {
    border-radius: 0 0 10px 10px !important;
    background-color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
    margin-bottom: 20px !important;
    border: 0 !important;
}
#order_review_heading {
    border-radius: 10px 10px 0 0 !important;
    background-color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
    border: 0 !important;
}
/********Оформление заказа END********/


/* =========================================
   ФИЛЬТРЫ: WOOF (ТОП-ПАНЕЛЬ, МОБИЛЬНЫЕ КНОПКИ)
   ========================================= */

/********Фильтр woof BEGIN********/
/* Скрыть кнопку "Очистить все" */
.woof_reset_button_2 {
    display: none !important;
}

/* Тэги выбранных фильтров в топ-панели */
.woof_products_top_panel li a {
    background-color: #f1f1f1 !important;
    padding: 0px 20px 0px 8px !important;
    border-radius: 10px !important;
    display: inline-block !important;
    position: relative !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
}
/* Ховер — зачеркнуть и затемнить фон */
.woof_products_top_panel li a:hover {
    text-decoration: line-through !important;
    background-color: #e0e0e0 !important;
}
/* Удаление фонового изображения у span */
.woof_products_top_panel li span,
.woof_products_top_panel2 li span {
    background: none !important;
    padding-right: 0 !important;
}
/* Крестик закрытия в теге фильтра */
.woof_products_top_panel li a::after {
    content: '×' !important; /* Можно заменить на SVG */
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-weight: bold !important;
    color: #999 !important;
    font-size: 14px !important;
    pointer-events: none !important;
}

/* Мобильное поведение фильтра */
.woof_show_filter_for_mobile.woof {
    opacity: 1 !important;
    top: 0% !important;
}
.woof_hide_mobile_filter img {
    display: none !important;
}
.woof_hide_mobile_filter {
    position: relative;
    padding-left: 20px !important;
}
.woof_hide_mobile_filter::before {
    content: "×" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 31px !important;
    font-weight: bold !important;
    color: #333 !important;
}

/* Топ-панель фильтров поверх контента */
.woof_products_top_panel {
    z-index: 98 !important;
}

/* Только на мобильных устройствах: кнопки фиксируем снизу */
@media (max-width: 921px) {
    /* Фиксация кнопок снизу */  .woof_submit_search_form_container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 9999;
}
}

/* Кнопки в контейнере отправки фильтра */
.woof_submit_search_form_container button {
    flex: 1;
    margin-right: 5px !important;
    margin-left: 5px !important;
}
/********Фильтр woof END********/


/* =========================================
   ВАРИАЦИИ / СВИТЧЕРЫ АТРИБУТОВ (WPCVS)
   ========================================= */

.wpcvs-terms,
.wpcvs-terms * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
/* Firefox selection фоновый */
body::-moz-selection {
    background-color: transparent;
    color: #000;
}

/* Размеры кругов/картинок в свитчерах */
.wpcvs-terms.wpcvs-type-color .wpcvs-term {
    height: 29px;
    width: 29px;
}
.wpcvs-terms.wpcvs-style-rounded .wpcvs-term .wpcvs-term-color {
    border-radius: 21px;
}
.wpcvs-terms.wpcvs-type-color .wpcvs-term .wpcvs-term-color {
    width: 21px;
    flex: 0 0 21px;
}
.wpcvs-terms.wpcvs-style-rounded .wpcvs-term .wpcvs-term-inner {
    border-radius: 21px;
}
.wpcvs-terms .wpcvs-term .wpcvs-term-inner {
    height: 21px;
    line-height: 21px;
}
.wpcvs-terms.wpcvs-type-image .wpcvs-term {
    height: 29px;
    width: 29px;
}
.wpcvs-terms.wpcvs-type-image .wpcvs-term .wpcvs-term-image {
    font-size: 0;
    border-radius: 2px;
    width: 21px;
    flex: 0 0 21px;
}

/* Выбранные вариации блок */
.variations {
    font-size: 12px !important;
}

.variation {
    padding: 2px 0px !important;
    text-align: center !important;
	border-top: 1px solid #eee !important;
}

.variation .label {
    color: var(--ast-global-color-2) !important;
}

/* Селекты вариаций */
.variation select {
	font-size: 12px !important;
    width: 100% !important;
    padding: 2px 5px !important;
    border-radius: 7px !important;
    border: 1px solid #ccc !important;
}


/* =========================================
   КОСТЫЛИ/МЕЛКИЕ УТИЛИТЫ И ДОП. БЛОКИ
   ========================================= */

/* Костыльный фикс кнопок на товаре после ajax фильтров */
/*.quantity-controls,
ul.products li.product .button {
    width: auto !important;
    margin: 0.5em auto !important;
    white-space: normal;
    text-align: center;
}*/

/* Положение иконки wishlist над фото */
.tinv-wraper.tinv-wishlist.tinvwl-above_thumb-add-to-cart {
    left: auto !important;
    right: 15px !important;
}

/* Блок шаринга */
#ya-share-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
#ya-share-wrapper h6 {
    margin: 0;
    white-space: nowrap;
    line-height: 1 !important;
}

/* Видимость меню-виджета */
.widget.widget_nav_menu {
	margin: 0 !important;
}

/* Открывалки дочерних списков в WOOF */
.woof_childs_list_opener span.woof_is_opened {
    width: 30px;
    height: 20px;
}
.woof_childs_list_opener span.woof_is_closed {
    width: 30px;
    height: 20px;
}

/* Кнопки Complianz и ссылки управления согласием */
.cmplz-manage-consent {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  display: inline !important;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
	text-align: left !important;
}
.cmplz-btn {
	font-weight: 600 !important;
}
/* Скрыть конкретную кнопку "Manage consent" */
button.cmplz-btn.cmplz-manage-consent.manage-consent-1.cmplz-show {
  display: none !important;
}

/* AV инфо-блоки и контентные зоны */
.av-page-block {
    padding: 12px !important;
}
.av-info-block a {
    text-decoration: underline !important;
}
.product-card-actions-inner a,
.product-card-action-btn a,
.tinv-wraper a,
.astra-shop-summary-wrap a {
  text-decoration: none !important;
}
.av-info-block .cmplz-manage-consent {
    text-decoration: underline !important;
}
.av-info-block {
  max-width: 1000px !important;
  background-color: var(--ast-global-color-5) !important;
  border: 2px solid var(--ast-global-color-6) !important;
  border-radius: 10px !important;
  padding: 12px !important;
  box-shadow: 0 10px 25px rgba(251, 95, 171, 0.15) !important;
  color: var(--ast-global-color-3) !important;
}
.av-info-block h1,
.av-info-block h2 {
  margin-bottom: 1em !important;
  font-weight: 600 !important;
	color: var(--ast-global-color-1) !important;
}
.av-info-block h1 {
  font-size: 32px !important;
  padding-bottom: 10px !important;
	text-align: center !important;
}
.av-info-block h2 {
  font-size: 24px !important;
}
.av-info-block p,
.av-info-block li {
  margin-bottom: 1em !important;
}
.av-info-block ul {
  padding-left: 1.2em !important;
  margin-bottom: 1.5em !important;
  list-style-type: disc !important;
}
.av-info-block ul ul {
  list-style-type: circle !important;
  margin-top: 0.5em !important;
}

/* Вращающийся мини-спиннер количества (UI) */
.quantity-spinner {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid var(--ast-global-color-0);
    border-top-color: var(--ast-global-color-0);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin: 0 0.25rem;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Курсовой символ меньше */
.woocommerce-Price-currencySymbol {
    font-size: 10px !important;
}

/* Кнопка "Подробнее" (если используется) — ховер */
.view-details-btn:hover {
    background-color: var(--ast-global-color-0) !important;
    color: #fff !important;
}

/* Каталог — панель настроек (над сеткой) */
.catalog-settings {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.catalog-settings__block {
    display: flex;
    align-items: center;
    gap: 10px;
}











/*
Фикс прыгающей шапки
*/
.site-logo-img {
  width: 151px !important;
  min-width: 151px !important;
  height: 45px !important;
  min-height: 45px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
}
.site-logo-img img {
  width: 151px !important;
  min-width: 151px !important;
  max-width: 151px !important;
  height: 45px !important;
  min-height: 45px !important;
  max-height: 45px !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}





.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0;
}
.payment-icons img {
  height: 21px;
  width: auto;
  padding: 0 1px;
}
@media (max-width: 921px) {
  .payment-icons {
    gap: 2px;
    padding: 10px 0;
  }
  .payment-icons img {
    height: 19px;
    padding: 0 1px;
  }
}
}