/* Accessibility layer (IS 5568 / WCAG 2.1 AA) */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed !important;
    top: 10px;
    right: 10px;
    z-index: 100000;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 18px;
    clip: auto;
    background: #fff;
    color: #252a4a;
    font-size: 16px;
    font-weight: 600;
}

/* Elements that became <button>: keep the look of the former div/span/a */
:where(button.burger, button.header-icon, button.scroll-up, button.cls, button.quantity-plus, button.quantity-minus, button.wishlist, .footer-column > button.title) {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: inherit;
    text-align: inherit;
    cursor: pointer;
}

.footer-column > button.title {
    text-align: right;
}

h1.hero-h1 {
    margin: 0;
    font: inherit;
}

.page-wave__contacts-top h1.title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.modal-container__top h2.title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

/* Visible focus everywhere */
:focus-visible {
    outline: 3px solid #252a4a !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 6px #fff !important;
}

/* Hidden layers leave the tab order */
.modal-window:not(.visible) {
    visibility: hidden;
    transition: opacity .3s ease-in-out, visibility 0s .6s;
}

.modal-window.visible {
    visibility: visible;
}

@media screen and (min-width: 768px) {
    body:not(.open-search) .search-block {
        visibility: hidden;
        transition: opacity .3s ease-in-out, visibility 0s .3s;
    }
}

@media screen and (max-width: 767px) {
    .header {
        overflow-x: clip;
    }

    .header:not(.active) .hidden-menu {
        visibility: hidden;
        transition: transform .6s ease-in-out, visibility 0s .6s;
    }

    .header.active .hidden-menu {
        visibility: visible;
        transition: transform .6s ease-in-out, visibility 0s 0s;
    }
}

/* Contrast */
#cookie-banner a {
    color: #8fa8ff;
}

.policy-acceptance a,
.wpcf7 .policy-acceptance a {
    text-decoration: underline;
}

.single-product__top .tags .tag {
    background-color: #cc3522;
}

.single-product__bot .price,
.single-product__bot .price bdi,
.single-product__bot .price ins {
    color: #cc3522;
}

.txt > .title {
    color: #16646d;
}

.stockstatus > span {
    color: #c26a22;
}

@media screen and (min-width: 768px) {
    .header .menu .current-menu-item > a,
    .header .menu a[aria-current="page"] {
        color: #a65a1c !important;
    }
}

.wpcf7 .policy-acceptance a {
    color: #a65a1c;
}

.wc-block-grid__product-add-to-cart a {
    color: #fff !important;
}

#cookie-banner a {
    text-decoration: underline;
}

.single-product__bot .price span {
    color: #cc3522;
}

.stockstatus > span {
    color: #a65a1c;
}

/* Sliders are laid out in a row until the delayed JS starts: no horizontal scroll */
.swiper {
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    #main-content,
    .footer {
        overflow-x: clip;
    }
}

.quantity > .quantity-plus,
.quantity > .quantity-minus {
    flex: 1 1 0;
    min-width: 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpcf7 p.policy-acceptance a {
    color: #8a4a14;
}

.subscribe-block label {
    color: #6b6e80;
}

.subscribe-block .subscribe-form .input-wrap label {
    color: #6b6e80;
}

/* Category hero is hidden on mobile: keep its H1 for screen readers */
@media screen and (max-width: 767px) {
    .default-hero {
        display: block !important;
        position: absolute !important;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
}
