﻿
/*

nav[class*="menu"] li[class*="current-menu-"]>a,
nav[class*="menu"] li[class*="current-menu-"]>.ct-sub-menu-parent {
    color: var(--linkActiveColor, var(--paletteColor1));
}
nav[class*="menu"] li[class*="current-menu-"]>a:hover,
nav[class*="menu"] li[class*="current-menu-"]>.ct-sub-menu-parent:hover {
    color: var(--linkActiveColor, var(--linkHoverColor));
}

*/



/* Цена на странице товара */

.entry-summary .price {
    font-size: 200%;
    margin-bottom: 0.8em;
}

.woocommerce-price-suffix { /* в т.ч. НДС */
    font-size: 50%;
    font-weight: normal;
}

img[alt="Стандартное изображение"] {
    opacity: 0.07;
}

.woocommerce-product-gallery img[alt="Стандартное изображение"] {
    display: none;
}



/* невидимые thumbs мешают нажимать на стрелку влево в галерее на странице товара */

@media (min-width: 690px) {
    .thumbs-left .flexy-pills {
        z-index: -1;
    }
}





/* Лишние в списке товаров */

span.out-of-stock-badge {
    display: none !important;
}
/* Fix для quantity поля */
.quantity[data-type="type-1"] {
    display: flex;
    align-items: center;
    width: auto !important;
}

.quantity[data-type="type-1"] input.qty {
    width: 60px !important;
    height: 40px !important;
    text-align: center;
    margin: 0 5px;
}

.quantity[data-type="type-1"] .ct-increase,
.quantity[data-type="type-1"] .ct-decrease {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 40px;
    cursor: pointer;
}

/* Скрыть надпись Quantity */
.quantity .screen-reader-text {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Скрыть label перед полем quantity если есть */
.quantity label:not(.screen-reader-text) {
    display: none !important;
}

/* Убрать надпись Quantity: добавляемую плагином */
html[lang="en-US"] .quantity:before,
.quantity:before {
    content: "" !important;
    display: none !important;
}

/* Расположить quantity и кнопку в одну строку */
.ct-woo-card-actions form.cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

.ct-woo-card-actions .quantity {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.ct-woo-card-actions button.button {
    flex: 1 1 auto !important;
    margin: 0 !important;
}
