/* Links inside text content (descriptions, pages, posts): visible color + underline.
   Parent theme made them the same color as text and without underline. */
.typo a:not(.btn):not(.error-page__button):not(.btn-load-more):not(.wc-backward.button):not(.product-search__submit):not(.quantity__btn),
.wp-editor a:not(.btn):not(.error-page__button):not(.btn-load-more):not(.wc-backward.button):not(.product-search__submit):not(.quantity__btn),
body#tinymce a {
    color: var(--theme-main-color, #5977d9);
    text-decoration: underline;
}

.typo a:not(.btn):not(.error-page__button):not(.btn-load-more):not(.wc-backward.button):not(.product-search__submit):not(.quantity__btn):hover,
.wp-editor a:not(.btn):not(.error-page__button):not(.btn-load-more):not(.wc-backward.button):not(.product-search__submit):not(.quantity__btn):hover {
    color: var(--btn-primary-bg, #f47d23);
    text-decoration: none;
}

/* Header phones: clickable (parent/child CSS disabled clicks), operator icons */
.pc-header-phones__link {
    pointer-events: auto;
    font-size: 13px;
    text-decoration: none;
}

.pc-header-phones__phones-item {
    max-width: none;
    margin-bottom: 4px;
}

.pc-header-phones__phones-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Footer contacts [aeroner_contacts] */
.aeroner-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--footer-link-color, #c8d5ff);
}

.aeroner-contacts__item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    line-height: 1.3;
}

.aeroner-contacts__icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    opacity: .8;
}

.aeroner-contacts__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer .aeroner-contacts__link {
    color: var(--footer-link-color, #c8d5ff);
    text-decoration: none;
    white-space: nowrap;
}

.footer .aeroner-contacts__link:hover {
    color: var(--footer-link-color-hover, #ffffff);
    text-decoration: underline;
}

/* Header top menu + currency switcher in one line (desktop) */
@media (min-width: 992px) {
    .pc-header-layout-3__nav {
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        min-width: 0;
    }

    .pc-header-layout-3__contacts {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .pc-header-layout-3__nav .list-nav__items {
        white-space: nowrap;
    }
}

/* Between 1200px and 1329px menu + contacts do not fit side by side: stack them like the theme does below 1200px */
@media (min-width: 1200px) and (max-width: 1329px) {
    .pc-header-layout-3__center {
        display: block;
    }

    .pc-header-layout-3__center > * {
        margin: 0;
    }

    .pc-header-layout-3__center > :not(:first-child) {
        padding-top: 10px;
    }
}

/* Variations dropdown: same font size as the surrounding text (was 18px) */
.pc-product-purchase .variants-select__field select,
.pc-product-purchase .variations select,
.variations_form .variants-select__field select {
    font-size: 14px;
}

/* Slider arrows: hide the ones MetaSlider disables (single slide / last slide),
   otherwise they look clickable but do nothing */
.metaslider .flex-direction-nav a.flex-disabled {
    display: none !important;
}

/* Slider arrows: no focus ring after a mouse click (keyboard focus stays visible) */
.metaslider .flex-direction-nav a:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* MetaSlider 3.112 forces its own arrow sprite and height:27px !important on :focus,
   which made the arrow jump to the top corner right after a click. Keep the theme's arrows. */
.metaslider.metaslider-flex .flex-direction-nav a.flex-prev:focus,
.metaslider.metaslider-flex .flex-direction-nav a.flex-next:focus,
.metaslider.metaslider-flex.ms-theme-default .flex-direction-nav a.flex-prev:focus,
.metaslider.metaslider-flex.ms-theme-default .flex-direction-nav a.flex-next:focus {
    height: 100% !important;
    top: 0 !important;
    background-image: none !important;
}

.metaslider.metaslider-flex .flex-direction-nav a.flex-prev:focus:hover,
.metaslider.metaslider-flex .flex-direction-nav a.flex-next:focus:hover {
    background-color: rgba(255, 255, 255, .1) !important;
}

/* Variation select (e.g. "Диаметр сопла, мм"): as tall as its two-line label instead of 46px */
.pc-product-purchase__variations .variants-select__field select {
    height: 34px !important;
    min-height: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.2;
}

/* Sale price color (Customizer → Colors → Shop → "Цвет цены со скидкой").
   The theme strips <ins> from server-rendered prices, while the multicurrency AJAX
   puts it back only sometimes, so target the amount after <del> in both cases. */
.product-price del ~ .woocommerce-Price-amount,
.product-price del ~ ins,
.product-price del ~ ins .woocommerce-Price-amount {
    color: var(--product-sale-price-color, #fb4626);
}

/* Language switcher "RU | UA" in the header top menu */
.aeroner-lang {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
}

.aeroner-lang__sep {
    margin: 0 6px;
    color: var(--theme-secondary-color, #999);
    font-weight: 400;
}

.list-nav .aeroner-lang__link {
    color: var(--theme-main-color, #5977d9);
    text-decoration: underline;
}

.list-nav .aeroner-lang__link:hover {
    text-decoration: none;
}

.list-nav .aeroner-lang__link--current {
    color: var(--theme-default-color, #111);
    text-decoration: none;
}

/* Cart: show the +/- quantity buttons (the theme hides .quantity__btn everywhere) */
.woocommerce-cart-form .quantity__btn {
    display: block;
}

/* Product page: variation label in one line, the select takes the rest of the row */
@media (min-width: 480px) {
    .pc-product-purchase__variation-item {
        width: auto;
        max-width: 420px;
    }

    .pc-product-purchase__variation-item .variants-select__label {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        padding-right: 14px;
    }

    .pc-product-purchase__variation-item .variants-select__field {
        flex: 1 1 auto;
        width: auto;
        min-width: 150px;
    }
}
