:root {
    --etaxi-transition-duration: .25s;
    --etaxi-scale-factor: 1.05;
}

/**
 * Global
 */
p,
ul,
ul li {
    font-weight: 200;
}

.etaxi-highlighted {
    color: var(--wp--preset--color--accent);
}

.etaxi-bolder {
    font-weight: 400;
}

.wp-element-button {
    font-weight: 200;
}

ul.etaxi-dash-list {
    list-style-type: "— ";
    padding-left: 1em;
}

.mb-0 {
    margin-bottom: 0 !important;
}

ul.etaxi-dash-list--no-space {
    margin-top: 0;
}

/**
 * Animations
 */
.animation--blink {
    animation: animation-blink 2s ease 0s infinite normal none;
}

@keyframes animation-blink {
    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

/**
 * Wordpress
 */

/**
 * Wordpress button fix
 */
.wp-block-button__link,
.wp-element-button {
    color: var(--wp--preset--color--base-2);
    background-color: var(--wp--preset--color--accent);
    transition:
        background var(--etaxi-transition-duration) ease-in-out,
        color var(--etaxi-transition-duration) ease-in-out;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-element-button:hover,
.wp-element-button:focus {
    background-color: var(--wp--preset--color--contrast);
    outline: none;
}

.wp-block-button__link:focus-visible,
.wp-element-button:focus-visible {
    outline: 2px solid var(--wp--preset--color--accent);
}

/* TODO: Czy potrzebne? */
.has-contrast-color-hover > a:hover {
    color: var(--wp--preset--color--contrast) !important;
}

.has-accent-color-hover > a:hover {
    color: var(--wp--preset--color--accent) !important;
}

.has-contrast-background-color-hover > a:hover {
    background-color: var(--wp--preset--color--contrast) !important;
}

.has-accent-background-color-hover > a:hover {
    background-color: var(--wp--preset--color--accent) !important;
}

.entry-content .wp-block-list {
    font-weight: 200 !important;
}

span.wc-block-formatted-money-amount {
	padding-inline: 0.35rem;
}

/**
 * WooCommerce
 */

/**
 * WooCommerce checkout page
 */
.woocommerce-checkout .col2-set {
    float: left;
    width: 48%;
}
.woocommerce-checkout>.col2-set>.col-1 {
    float: none;
    width: 100%;
    margin-bottom: 30px;
}
.woocommerce-checkout>.col2-set>.col-2 {
    float: none;
    width: 100%;
}
.woocommerce-checkout h3#order_review_heading, .woocommerce-checkout #order_review {
    float: right;
    width: 48%;
}
.woocommerce-page table.shop_table {
    width: 100%;
}
.woocommerce-checkout .wp-block-post-title, .woocommerce-checkout main .woocommerce {
    max-width: 1280px;
}
[hidden] {
    display: none !important;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: transparent;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box
{
    background-color: var(--wp--preset--color--muted-2);
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    border-color: var(--wp--preset--color--muted-2);
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}
.checkout.woocommerce-checkout h3 {
    font-weight: 200;
    font-size: var(--wp--preset--font-size--category-subtitle) !important;
}

/**
 * New product
 */
span.new-product {
    position: absolute;
    padding: .25em .5em;
    font-weight: 200;
    font-size: .875rem;
    box-shadow: 0 0 3px var(--wp--preset--color--contrast);
}

span.new-product.new-product--top-left {
    left: -.25em;
    top: -.25em;
    border-radius: 5px 5px 2px 5px;
}

span.new-product.new-product--top-center {
    left: 50%;
    top: -.25em;
    border-radius: 5px 5px 2px 2px;
    transform: translateX(-50%);
}

span.new-product.new-product--top-right {
    right: -.25em;
    top: -.25em;
    border-radius: 5px 5px 5px 2px;
}

li.product.type-product {
    position: relative;
    display: flex;
    flex-direction: column;
}

.wp-block-woocommerce-product-price {
    margin-block-start: auto;
}

:where(li.wc-block-product a:not(.wp-element-button)) {
    color: inherit;
    text-decoration: none !important;
    font-weight: 200 !important;
    transition: color var(--etaxi-transition-duration) ease-in-out;
}

:where(li.wc-block-product a:not(.wp-element-button)):is(:hover, :active) {
    color: var(--wp--preset--color--accent);
}

:where(li.wc-block-product a:not(.wp-element-button)):is(:focus) {
    outline: none;
}

:where(li.wc-block-product a:not(.wp-element-button)):is(:focus-visible) {
    outline: 2px solid var(--wp--preset--color--accent);
}

/**
 * Woocommerce product page variants
 */
.etaxi-variations {
    margin-bottom: 0 !important;
}

.etaxi-variations tr {
    margin-block: 1em !important;
}

.etaxi-variations th.label label {
    font-weight: 400 !important;
    font-size: var(--wp--preset--font-size--product-variant);
    text-transform: uppercase;
    text-wrap: nowrap;
}

.woocommerce-variation-add-to-cart {
    margin-top: 1em;
}

.variable-item.button-variable-item {
    font-weight: 200 !important;
    box-shadow: none !important;
    border-radius: .33rem !important;
    transition:
        color var(--etaxi-transition-duration) ease-in-out
        background-color var(--etaxi-transition-duration) ease-in-out;
}

.variable-item.button-variable-item:is(:hover, :active) {
    color: var(--wp--preset--color--base-2) !important;
    background-color: var(--wp--preset--color--contrast) !important;
}

.variable-item.button-variable-item:is(:focus-visible) {
    outline: 2px solid var(--wp--preset--color--accent);
}

.variable-item.button-variable-item.selected {
    color: var(--wp--preset--color--base-2) !important;
    background-color: var(--wp--preset--color--accent) !important;
}

.variable-item-span.variable-item-span-button {
    padding: 12px 8px !important;
}

.woocommerce div.product form.cart {
    margin-bottom: 1rem;
}

.woocommerce div.product .wc-block-add-to-cart-form form.cart .quantity,
.woocommerce div.product .wc-block-add-to-cart-form form.cart button.single_add_to_cart_button {
    margin-bottom: 0;
}

/**
 * Woocommerce single product attributes
 */

.woocommerce table.shop_attributes {
    border-top: 2px solid var(--wp--preset--color--muted-2);
    padding-block: 1rem;
    margin: 0;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    background: none !important;
    border: 0;
}

.woocommerce table.shop_attributes th {
    font-weight: 400 !important;
    font-size: var(--wp--preset--font-size--product-variant);
    text-transform: uppercase;
    text-wrap: nowrap;
    text-align: left;
    padding: 0 1.5em 0 0;
    vertical-align: top;
}

.woocommerce table.shop_attributes td {
    font-weight: 200 !important;
    font-size: var(--wp--preset--font-size--product-variant);
}

.woocommerce table.shop_attributes td p {
    padding: 0;
}

/**
 * WooCommerce result count
 */
.woocommerce.wc-block-product-results-count.wp-block-woocommerce-product-results-count {
    display: none;
}

/**
 * WooCommerce catalog sorting
 */
.woocommerce.wc-block-catalog-sorting.wp-block-woocommerce-catalog-sorting {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 537px) {
    .woocommerce.wc-block-catalog-sorting.wp-block-woocommerce-catalog-sorting {
        margin-right: 0;
    }
}

/**
 * WPC Frequently Bought Together
 */
.woobt-title-inner .woobt-qty-num {
    display: none !important;
}

.woobt-additional.woobt-text {
    display: none !important;
}

del, del .woocommerce-Price-amount.amount {
    color: var(--wp--preset--color--muted);
    font-weight: 200;
    font-size: .85em;
}

ins, ins .woocommerce-Price-amount.amount {
    text-decoration: none;
}

/**
 * eTaxi select (eTaxi)
 */
select.etaxi-select:not([size]):not([multiple]) {
    font-size: 14px;
    color: var(--wp--preset--color--contrast);
    padding: .5em 1.5em .5em 1em;


    background-color: var(--wp--preset--color--base-2);
    border: 1px solid var(--wp--preset--color--muted);
    max-width: 100%;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    width: 100%;
    background-image: url(/wp-content/themes/etaxi/assets/images/base/arrow-down.png);
    background-position: calc(100% - .75em) center;
    background-repeat: no-repeat;
    border-radius: .33em;
}

/**
 * Cookie
 */
.cky-show-desc-btn {
    color: var(--wp--preset--color--accent) !important;
}

/**
 * Header
 */
.etaxi-header {
    position: relative;
    z-index: 2;
    width: 100vw;
    width: 100dvw;

    overflow: hidden;

    font-family: var(--wp--preset--font-family--body);
    font-weight: 200;
    color: var(--wp--preset--color--base-2);
    background-color: var(--wp--preset--color--contrast);
    font-size: 1rem;
    padding-block: .75em;
    box-shadow: 0 0 3px var(--wp--preset--color--contrast);
}

.etaxi-header.etaxi-header--fluid {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 3;
    transform: translateY(-50%);
}

@media (orientation: landscape) {
    .etaxi-header.etaxi-header--fluid {
        top: calc(var(--wp-admin--admin-bar--height, 0px));
        transform: translateY(0);
        margin-top: calc(var(--wp-admin--admin-bar--height, 0px) * -1px);
    }
}

@media (min-width: 375px) {
    .etaxi-header {
        font-size: 1.125rem;
    }
}

@media (min-width: 461px) {
    .etaxi-header {
        font-size: 1.5rem;
    }
}

@media (min-width: 981px) {
    :where(.etaxi-header.etaxi-header--emblems)::before,
    :where(.etaxi-header.etaxi-header--emblems)::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 25%;
        background-size: contain;
        background-repeat: no-repeat;
        opacity: .75;
    }

    :where(.etaxi-header.etaxi-header--emblems)::before {
        left: 0;
        background-image: url('assets/images/emblem.svg');
        background-position: left center;
    }

    :where(.etaxi-header.etaxi-header--emblems)::after {
        right: 0;
        background-image: url('assets/images/emblem-outline.svg');
        background-position: -2px 2px;
        transform: scale(-1, -1);
    }
}

.etaxi-header__content {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
}

.etaxi-header__site-title {
    margin: 0;
    font-size: inherit;
    font-weight: 200;
    text-align: right;
    box-sizing: border-box;
    padding-right: 1rem;
    color: var(--wp--preset--color--base-2);
}

@media (min-width: 701px) {
    .etaxi-header__site-title {
        padding-right: 1.25rem;
    }
}

@media (min-width: 981px) {
    .etaxi-header__site-title {
        flex-basis: 50%;
    }
}

/**
 * Social media
 */
.etaxi-social-media {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

@media (min-width: 981px) {
    .etaxi-social-media {
        flex-basis: 50%;
    }
}

.etaxi-social-media > li > a {
    color: inherit;
    text-decoration: none;
    padding: .375em;
    margin: .25em;
}

.etaxi-social-media > li:last-child > a {
    margin-right: 0;
    padding-right: 0;
}

@media (min-width: 701px) {
    .etaxi-social-media > li:last-child > a {
        padding: .375em;
    }
}

@media (min-width: 425px) {
    .etaxi-social-media > li > a {
        padding: .375em;
        margin: .25em;
    }
}

@media (min-width: 701px) {
    .etaxi-social-media > li > a {
        padding: .5em;
        margin: .5em;
    }
}

:where(.etaxi-social-media > li):is(:hover, :active) {
    color: var(--wp--preset--color--accent);
}

:where(.etaxi-header a):is(:focus) {
    outline: none;
}

:where(.etaxi-header a):is(:focus-visible) {
    outline: 2px solid var(--wp--preset--color--accent);
}

@media (min-width: 981px) {
    .etaxi-social-media > li {
        transition: color var(--etaxi-transition-duration) ease-in-out;
    }
}

/**
 * Subheader
 */
.etaxi-subheader {
    background-color: var(--wp--preset--color--muted-2);
}

.etaxi-subheader a {
    text-decoration: none;
    transition: color var(--etaxi-transition-duration) ease-in-out;
}

:where(.etaxi-subheader) a:is(:hover, :active) {
    color: var(--wp--preset--color--accent) !important;
}

:where(.etaxi-subheader) a:is(:focus) {
    outline: none;
}

:where(.etaxi-subheader) a:is(:focus-visible) {
    outline: 2px solid var(--wp--preset--color--accent);
}

.etaxi-subheader__content {
    position: relative;
    padding: 0.5rem 0.25rem;
}

@media (min-width: 600px) {
    :where(.etaxi-subheader__content .wp-block-navigation-link):nth-of-type(2):not(:last-of-type)::after {
        content: '';
        width: 32px;
        height: 16px;
        margin-inline-start: 1em;
        background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"><rect x="8" y="0" width="8" height="8" style="fill-opacity:0.4;"/><rect x="0" y="8" width="8" height="8" style="fill-opacity:0.4;"/></svg>') 0 0 repeat-x;
    }
}

/**
 * Main
 */
.etaxi-main {
    display: grid;
    gap: 0;
    grid-template-columns: 100%;
    grid-template-rows: 50% 50%;
    height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
    height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
    width: 100vw;
    width: 100dvw;
    overflow: hidden;
    margin: 0;
    background-color: var(--wp--preset--color--contrast);
}

@media (orientation: landscape) {
    .etaxi-main {
        grid-template-rows: 100%;
        grid-template-columns: 50% 50%;
    }
}

.etaxi-main__column {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.etaxi-main__column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity var(--etaxi-transition-duration) ease-in-out;
}

:where(.etaxi-main__column):is(:hover, :focus, :active)::before {
    opacity: 0;
}

@media (orientation: landscape) {
    .etaxi-main__column::before {
        background: rgb(0, 0, 0, .5);
        background: linear-gradient(var(--_etaxi-background-shadow-angle), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .75) 100%);
    }

    :where(.etaxi-main__column--about)::before {
        --_etaxi-background-shadow-angle: 315deg;
    }

    :where(.etaxi-main__column--shop)::before {
        --_etaxi-background-shadow-angle: 45deg;
    }
}

.etaxi-main__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(75%);
    transition: filter var(--etaxi-transition-duration) ease-in-out, transform var(--etaxi-transition-duration) ease-in-out;
}

:where(.etaxi-main__column):is(:hover, :focus, :active) .etaxi-main__background {
    filter: grayscale(0%);
    transform: scale(var(--etaxi-scale-factor));
}

.etaxi-main__background-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.etaxi-main__link {
    position: relative;
    display: flex;
    justify-content: center;
    height: 100%;
    text-decoration: none;
}

.etaxi-main__link-text {
    position: absolute;
    left: 0;
    top: var(--_etaxi-link-text-top-position);
    bottom: var(--_etaxi-link-text-bottom-position);
    display: block;
    width: 100%;
    padding-block: 1.5em;
    color: var(--wp--preset--color--base-2);
    background: rgb(0, 0, 0, .5);
    background: linear-gradient(var(--_etaxi-link-text-shadow-angle), rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .95) 90%);
    letter-spacing: .15em;
    text-shadow: 2px 2px 2px var(--wp--preset--color--contrast);
    text-align: center;
    font-weight: 200;
    font-size: 3rem;
    font-size: clamp(2rem, min(10vh, 10vw), 3.5rem);
}

@media (min-width: 981px) {
    .etaxi-main__link-text {
        font-weight: 100;
        font-size: clamp(2rem, min(10vh, 10vw), 3rem);
    }
}

:where(.etaxi__link):is(:focus-visible) .etaxi-main__link-text {
    font-weight: bold;
}

:where(.etaxi-main__column--about) .etaxi-main__link-text {
    --_etaxi-link-text-shadow-angle: 180deg;
    --_etaxi-link-text-top-position: unset;
    --_etaxi-link-text-bottom-position: -1px;
}

:where(.etaxi-main__column--shop) .etaxi-main__link-text {
    --_etaxi-link-text-shadow-angle: 0deg;
    --_etaxi-link-text-top-position: -1px;
    --_etaxi-link-text-bottom-position: unset;
}

@media (orientation: landscape) {
    :where(.etaxi-main__column) .etaxi-main__link-text {
        --_etaxi-link-text-shadow-angle: 180deg;
        --_etaxi-link-text-top-position: unset;
        --_etaxi-link-text-bottom-position: 0;
    }
}

/**
 * Separator
 */
hr.etaxi-separator-normal {
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"><rect x="8" y="0" width="8" height="8" style="fill-opacity:0.4;"/><rect x="0" y="8" width="8" height="8" style="fill-opacity:0.4;"/></svg>') 0 0 repeat-x;
    height: 16px !important;
    margin: 0 0 0;
    display: block;
    width: 100%;
    border: none;
}
hr.etaxi-separator-normal-reversed {
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"><rect x="0" y="0" width="8" height="8" style="fill-opacity:0.4;"/><rect x="8" y="8" width="8" height="8" style="fill-opacity:0.4;"/></svg>') 0 0 repeat-x;
    height: 16px !important;
    margin: 0 0 0;
    display: block;
    width: 100%;
    border: none;
}

hr.etaxi-separator-large {
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 16 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"><rect x="8" y="0" width="8" height="8" style="fill-opacity:0.4;"/><rect x="0" y="8" width="8" height="8" style="fill-opacity:0.4;"/><rect x="8" y="16" width="8" height="8" style="fill-opacity:0.4;"/></svg>') 0 0 repeat-x;
    height: 24px !important;
    margin: 0 0 0;
    display: block;
    width: 100%;
    border: none;
}

hr.etaxi-separator-large-reversed {
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 16 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"><rect x="0" y="0" width="8" height="8" style="fill-opacity:0.4;"/><rect x="8" y="8" width="8" height="8" style="fill-opacity:0.4;"/><rect x="0" y="16" width="8" height="8" style="fill-opacity:0.4;"/></svg>') 0 0 repeat-x;
    height: 24px !important;
    margin: 0 0 0;
    display: block;
    width: 100%;
    border: none;
}
hr.etaxi-separator-line {
    background-color: var(--wp--preset--color--muted-2);
    height: 2px;
    margin: 0 0 0;
    display: block;
    width: 100%;
    border: none;
}

/**
 * Images
 */
.etaxi__image-container {
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.etaxi__image-container--rounded {
    border-radius: 15px;
}


.etaxi__image {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.etaxi__image-description {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/**
 * YouTube player
 */
.etaxi-youtube__block {
    max-width: 570px;
    max-height: 320px;
}

.etaxi-youtube__block::before,
.etaxi-youtube__block::after {
    content: " ";
    display: table;
}

.etaxi-youtube__block::after {
    clear: both;
}

.etaxi-youtube-player__wrapper {
    float: left;
    width: 100%;
    position: relative;
}

.etaxi-youtube-player__video-wrapper {
    padding-top: 56.25%;
    position: relative;
    width: 100%;
    text-align: center;
}

.etaxi-youtube-player__wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

/**
 * Shop
 */
.etaxi-shop__category-listing {
    padding-block: 1rem;
}

@media (min-width: 981px) {
    .etaxi-shop__category-listing {
        padding-block: 3rem;
    }
}

.etaxi-shop__category-listing-item {
    margin-block: 3rem;
}

@media (min-width: 981px) {
    :where(.etaxi-shop__category-listing-item:nth-of-type(even) .etaxi-shop__category-listing-image) {
        order: 1;
    }
}

.etaxi-shop__category-listing-image {
}

.etaxi-shop__category-listing-name {
    text-align: center;
}

@media (min-width: 981px) {
    .etaxi-shop__category-listing-name {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

:where(.etaxi-shop__category-listing-name h2) {
    font-weight: 200 !important;
}

@media (min-width: 981px) {
    .etaxi__category-button {
        padding-top: 2rem;
    }
}

h1.wp-block-post-title,
.wp-block-query-title,
.wp-block-woocommerce-related-products .wp-block-heading {
    font-weight: 200;
    font-size: var(--wp--preset--font-size--category-title) !important;
}

.wp-block-heading.has-category-subtitle-font-size {
    font-weight: 200;
}

/**
 * Top banner
 */
.etaxi-info-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: var(--wp--preset--font-size--footer-header);
}

.etaxi-info-bar p {
    font-weight: 400 !important;
    margin: 0.5rem;
}

/**
 * Partners
 */
.partners__columns {
    flex-direction: column;
}

@media screen and (min-width: 800px) {
    .partners__columns {
        flex-direction: row;
    }
}

.partners__title-container {
    flex-shrink: 0;
    text-align: center;
    letter-spacing: 2px;
    white-space: nowrap;
}

@media (min-width: 800px) {
    .partners__title-container {
        text-align: left;
    }
}

.partners__title {
    text-transform: uppercase;
    padding-block: 0.28rem;
}

.partners__list {
    padding-block: 0.25rem;
}

.partners__list-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

@media screen and (min-width: 800px) {
    .partners__list-container {
        flex-direction: row;
    }
}

.partners__list {
    flex-shrink: 0;
    text-align: center;
    letter-spacing: 2px;
    white-space: nowrap;
}

.partners__list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: unset !important;
    flex-grow: unset !important;
}

.partners__link {
    display: inline-flex;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.33rem;
}

.partners__link:is(:focus) {
    outline: none;
}

.partners__link:is(:focus-visible) {
    box-shadow: 0 0 0 2px var(--wp--preset--color--base-2);
}

@media screen and (min-width: 800px) {
    .partners__link {
        justify-content: flex-start;
    }
}

.partners__link img {
    height: 1.75rem;
    width: auto;
}

/**
 * Footer
 */
.etaxi-footer {
    font-weight: 200;
}

.etaxi-footer h1,
.etaxi-footer h2,
.etaxi-footer h3,
.etaxi-footer h4,
.etaxi-footer h5,
.etaxi-footer h6 {
    font-weight: 400;
    margin-block: 2.5em !important;
    text-transform: uppercase;
}

.etaxi-footer h1 > span,
.etaxi-footer h2 > span,
.etaxi-footer h3 > span,
.etaxi-footer h4 > span,
.etaxi-footer h5 > span,
.etaxi-footer h6 > span {
    color: var(--wp--preset--color--base-2);
}

.etaxi-footer__contact-menu li i.fa,
.etaxi-footer__contact-menu li i.fab {
    width: 1.25em;
    padding-right: .75em;
    text-align: center;
    font-weight: 100;
    vertical-align: middle;
}

:where(.etaxi-footer .wp-block-navigation-link a:where(:not(.wp-element-button))) {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: 200;
    transition: color var(--etaxi-transition-duration) ease-in-out;
}

:where(.etaxi-footer .wp-block-navigation-link a:where(:not(.wp-element-button)):is(:hover, :active)) {
    color: var(--wp--preset--color--accent) !important;
}

:where(.etaxi-footer .wp-block-navigation-link a:where(:not(.wp-element-button)):is(:focus)) {
    outline: none;
}

:where(.etaxi-footer .wp-block-navigation-link a:where(:not(.wp-element-button)):is(:focus-visible)) {
    outline: 2px solid var(--wp--preset--color--accent);
}

:where(.etaxi-footer__social-icons) {
    margin-block-start: 2rem !important;
    color: var(--wp--preset--color--accent);
}

:where(.etaxi-footer__social-icons .wp-block-navigation) {
    gap: 1.5em !important;
}

:where(.etaxi-footer__social-icons a):is(:hover, :active) {
    color: var(--wp--preset--color--base-2) !important;
}

.etaxi-footer__copyrights {
    font-weight: 400;
}

/**
 * FAQ
 */
.etaxi-faq {
    font-weight: 200;
}

.etaxi-faq__header {
    font-weight: 200;
    text-align: center;
    margin-block-end: 3rem;
}

.etaxi-faq__question {
    padding-block-end: .5rem;
    margin-block: 1.5rem;
    border-bottom: 1px solid var(--wp--preset--color--muted);
}

.etaxi-faq__question:last-of-type {
    margin-block-end: 0;
    padding-block-end: 0;
    border: 0;
}

.etaxi-faq__question-name {
    display: block;
    position: relative;
    font-weight: 200;
    padding-left: 1.5em;
    margin-block: 1rem;
    cursor: pointer;
}

.etaxi-faq__question-name::before {
    content: '';
    background-color: var(--wp--preset--color--muted);
    display: block;
    width: 15px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.etaxi-faq__question-name::after {
    content: '';
    background-color: var(--wp--preset--color--muted);
    display: block;
    width: 15px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 50%;
    opacity: 1;
    transform: translateY(-50%) rotate(90deg);
    transition: opacity 0.25s ease-in-out;
}

.etaxi-faq__question.is-open .etaxi-faq__question-name::after {
    opacity: 0;
}

.etaxi-faq__answer {
    margin-block-start: 3rem;
    display: none;
}

/**
 * Warehouse stock
 */
.etaxi-stock {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    margin-block: 1.125rem;
}

.woocommerce-variation-availability .etaxi-stock {
    margin-bottom: 0;
}

.woobt-availability .etaxi-stock {
    margin: 0;
}

.woobt-availability .etaxi-stock__segments {
    display: none;
}

.etaxi-stock__segments {
    display: inline-grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--wp--preset--color--contrast);
    border-radius: 2px;
    padding: 1px;
}

.etaxi-stock__segments--out-of-stock > .etaxi-stock__segment--filled {
    background: #ff4d4d;
}

.etaxi-stock__segments--running-low > .etaxi-stock__segment--filled {
    background: #ff9b42;
}

.etaxi-stock__segments--limited-quantity > .etaxi-stock__segment--filled {
    background: #ffd966;
}

.etaxi-stock__segments--in-stock > .etaxi-stock__segment--filled {
    background: #8fbf3e;
}

.etaxi-stock__segment {
    width: 20px;
    height: 8px;
    border-radius: 1px;
}

.etaxi-stock__description {
    font-size: .875rem;
    font-family: var(--wp--preset--font-family--body);;
    font-weight: 200;
}
