.header__top-items .hypermotion-header-search {
    flex        : 0 1 460px;
    width       : clamp(360px, 31vw, 460px);
    margin-right: 24px;
}

.hypermotion-header-search .dgwt-wcas-search-wrapp {
    width    : 100%;
    max-width: none;
    margin   : 0;
}

.hypermotion-header-search .dgwt-wcas-sf-wrapp {
    background: #f8f8f8;
}

.hypermotion-header-search .dgwt-wcas-search-input {
    min-width    : 0;
    border-radius: 0 !important;
    font-family  : var(--font-primary) !important;
    font-size    : 14px !important;
}

.hypermotion-header-search .dgwt-wcas-search-input::placeholder {
    color      : #7a7a7a;
    font-size  : 14px;
    font-style : normal;
    opacity    : 1;
}

.header__top-items .hypermotion-header-search .dgwt-wcas-search-input {
    height       : 46px;
    padding      : 10px 62px 10px 16px !important;
    border       : 1px solid #c4c4c4 !important;
    background   : #fff !important;
    box-shadow   : none !important;
}

.header__top-items .hypermotion-header-search .dgwt-wcas-sf-wrapp {
    height       : 46px;
    padding      : 0;
    border-radius: 0;
    background   : #fff;
}

.header__top-items .hypermotion-header-search .dgwt-wcas-search-submit {
    top          : 0 !important;
    right        : 0 !important;
    left         : auto !important;
    width        : 52px !important;
    height       : 46px !important;
    border-radius: 0 !important;
    background   : var(--accent-color) !important;
    transition   : background-color .2s ease-in-out;
}

.header__top-items .hypermotion-header-search .dgwt-wcas-search-submit:hover {
    background: #000 !important;
}

.header__top-items .hypermotion-header-search .dgwt-wcas-search-submit svg {
    width : 19px;
    height: 19px;
    fill  : #000 !important;
}

.header__top-items .hypermotion-header-search .dgwt-wcas-search-submit:hover svg {
    fill: #fff !important;
}

.header__top-items .hypermotion-header-search .dgwt-wcas-preloader {
    right: 55px !important;
}

.header__top-search-form .hypermotion-header-search {
    width: clamp(300px, 42vw, 520px);
}

.mobile__search-form .hypermotion-header-search {
    width: 100%;
}

.header .header__wrapper .header__group .header__top-search {
    display: none;
}

.header .header__wrapper .header__group .header__navigation .menu li a {
    display        : flex;
    align-items    : center;
}

.menu>.menu-item.menu-item-has-children .sub-menu .menu-item-has-children>a::after, .menu>.menu-item.menu-item-has-children>a::after {
    top: calc(50% - 2px);
}

/* Dynamic WooCommerce mega menu. */
@media screen and (min-width: 1201px) {
    .header .header__main {
        position: relative;
        overflow: visible;
    }

    .header .header__wrapper,
    .header .header__wrapper .header__group,
    .header .header__wrapper .header__group .header__navigation-group,
    .header .header__wrapper .header__group .header__navigation {
        position: static;
        overflow: visible;
    }

    .hypermotion-mega-menu {
        width: 100%;
    }

    .hypermotion-mega-menu__root {
        display: flex;
        align-items: stretch;
        justify-content: center;
        gap: clamp(10px, 1.1vw, 18px);
        margin: 0;
        padding: 0;
    }

    /* The legacy theme gives this area a 490px width and allows wrapping.
     * Once the navigation takes the remaining space, account and cart no
     * longer fit on one line and make the header 160px tall. */
    .header .header__wrapper .header__group .header__navigation-group {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }

    .header .header__wrapper .header__group #site-title,
    .header .header__wrapper .header__group .logo-group {
        flex: 0 0 190px;
        width: 190px;
    }

    .header .header__wrapper .header__group .header__navigation-items {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        width: auto;
        max-width: none;
    }

    .hypermotion-mega-menu__root-item {
        position: static;
        display: flex;
        align-items: stretch;
    }

    .hypermotion-mega-menu__root-link {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 66px;
        padding: 4px 0;
        color: #2c2d31;
        font-size: clamp(11px, .85vw, 13px);
        font-weight: 500;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .hypermotion-mega-menu__root-link::after {
        position: absolute;
        right: 50%;
        bottom: 0;
        left: 50%;
        height: 3px;
        background: var(--accent-color);
        content: "";
        transition: right .2s ease, left .2s ease;
    }

    .hypermotion-mega-menu__root-item--has-panel > .hypermotion-mega-menu__root-link {
        padding-right: 14px;
    }

    .hypermotion-mega-menu__root-item--has-panel > .hypermotion-mega-menu__root-link::before {
        position: absolute;
        top: 50%;
        right: 0;
        width: 6px;
        height: 6px;
        border: solid currentColor;
        border-width: 0 1px 1px 0;
        content: "";
        transform: translateY(-70%) rotate(45deg);
        transition: transform .2s ease;
    }

    .hypermotion-mega-menu__root-item:hover > .hypermotion-mega-menu__root-link::after,
    .hypermotion-mega-menu__root-item:focus-within > .hypermotion-mega-menu__root-link::after,
    .hypermotion-mega-menu__root-item.is-open > .hypermotion-mega-menu__root-link::after {
        right: 0;
        left: 0;
    }

    .hypermotion-mega-menu__root-item:hover > .hypermotion-mega-menu__root-link::before,
    .hypermotion-mega-menu__root-item:focus-within > .hypermotion-mega-menu__root-link::before,
    .hypermotion-mega-menu__root-item.is-open > .hypermotion-mega-menu__root-link::before {
        transform: translateY(-30%) rotate(225deg);
    }

    .hypermotion-mega-menu__panel {
        position: absolute;
        z-index: 30;
        top: 100%;
        right: 0;
        left: 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        border-top: 1px solid #e7e7e7;
        background: #fff;
        box-shadow: 0 18px 38px rgba(0, 0, 0, .14);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .hypermotion-mega-menu__root-item:hover > .hypermotion-mega-menu__panel,
    .hypermotion-mega-menu__root-item:focus-within > .hypermotion-mega-menu__panel,
    .hypermotion-mega-menu__root-item.is-open > .hypermotion-mega-menu__panel {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateY(0);
    }

    .hypermotion-mega-menu__panel-inner {
        width: min(1320px, 100%);
        margin: 0 auto;
        padding: 28px clamp(28px, 4vw, 54px) 32px;
    }

    .hypermotion-mega-menu__panel-inner--with-promo {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: clamp(30px, 4vw, 62px);
    }

    .hypermotion-mega-menu__categories {
        min-width: 0;
    }

    .hypermotion-mega-menu__panel-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 24px;
        padding-bottom: 14px;
        border-bottom: 1px solid #e5e5e5;
    }

    .hypermotion-mega-menu__panel-heading > span {
        color: #161616;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.2;
    }

    .hypermotion-mega-menu__panel-heading > a {
        color: #2c2d31;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
        text-transform: uppercase;
    }

    .hypermotion-mega-menu__panel-heading > a:hover,
    .hypermotion-mega-menu__panel-heading > a:focus-visible {
        color: #829400;
    }

    .hypermotion-mega-menu__columns {
        display: grid;
        grid-template-columns: repeat(4, minmax(145px, 1fr));
        gap: 28px clamp(24px, 3vw, 52px);
        align-content: start;
    }

    .hypermotion-mega-menu__panel-inner--with-promo .hypermotion-mega-menu__columns {
        grid-template-columns: repeat(3, minmax(145px, 1fr));
    }

    .hypermotion-mega-menu__group {
        min-width: 0;
    }

    .hypermotion-mega-menu__group-title {
        display: inline-block;
        margin-bottom: 10px;
        color: #111;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        text-decoration: none;
    }

    .hypermotion-mega-menu__group-title:hover,
    .hypermotion-mega-menu__group-title:focus-visible {
        color: #829400;
    }

    .hypermotion-mega-menu__links {
        display: grid;
        gap: 6px;
    }

    .hypermotion-mega-menu__links a {
        display: inline-block;
        color: #555;
        font-size: 12px;
        line-height: 1.45;
        text-decoration: none;
        transition: color .15s ease, transform .15s ease;
    }

    .hypermotion-mega-menu__links a:hover,
    .hypermotion-mega-menu__links a:focus-visible {
        color: #111;
        transform: translateX(3px);
    }

    .hypermotion-mega-menu__links .hypermotion-mega-menu__links {
        gap: 4px;
        margin: 5px 0 2px 10px;
        padding-left: 10px;
        border-left: 1px solid #e4e4e4;
    }

    .hypermotion-mega-menu__promo {
        min-width: 0;
        padding-left: 28px;
        border-left: 1px solid #e3e3e3;
    }

    .hypermotion-mega-menu__eyebrow {
        display: inline-block;
        margin-bottom: 12px;
        padding: 6px 10px;
        background: var(--accent-color);
        color: #111;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        text-transform: uppercase;
    }

    .hypermotion-mega-menu__promo-link {
        display: flex;
        flex-direction: column;
        color: #111;
        text-decoration: none;
    }

    .hypermotion-mega-menu__promo-image {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 170px;
        margin-bottom: 12px;
        background: #f8f8f8;
    }

    .hypermotion-mega-menu__promo-image img {
        width: 100%;
        height: 100%;
        padding: 10px;
        object-fit: contain;
        mix-blend-mode: multiply;
        transition: transform .25s ease;
    }

    .hypermotion-mega-menu__promo-link:hover .hypermotion-mega-menu__promo-image img {
        transform: scale(1.035);
    }

    .hypermotion-mega-menu__promo-title {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 8px;
        color: #111;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .hypermotion-mega-menu__promo-price {
        color: #111;
        font-size: 16px;
        line-height: 1.3;
    }

    .hypermotion-mega-menu__promo-price del {
        margin-right: 5px;
        color: #777;
        font-size: 12px;
    }

    .hypermotion-mega-menu__promo-price ins {
        color: #e00000;
        text-decoration: none;
    }

    .hypermotion-mega-menu__promo .hypermotion-omnibus-price-note {
        margin-top: 5px !important;
        font-size: 9px !important;
    }

    .hypermotion-mega-menu__promo-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
        color: #111;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .hypermotion-mega-menu__banner {
        position: relative;
        display: block;
        min-height: 315px;
        overflow: hidden;
        background: #222;
        color: #fff;
        text-decoration: none;
    }

    .hypermotion-mega-menu__banner-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

    a.hypermotion-mega-menu__banner:hover .hypermotion-mega-menu__banner-image {
        transform: scale(1.04);
    }

    .hypermotion-mega-menu__banner::after {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, .78) 100%);
        content: "";
    }

    .hypermotion-mega-menu__banner-overlay {
        position: absolute;
        z-index: 1;
        right: 20px;
        bottom: 20px;
        left: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .hypermotion-mega-menu__banner-overlay strong {
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.2;
    }

    .hypermotion-mega-menu__banner-overlay > span {
        color: #fff;
        font-size: 12px;
        line-height: 1.45;
    }

    .hypermotion-mega-menu__banner-overlay em {
        margin-top: 5px;
        padding: 8px 12px;
        background: var(--accent-color);
        color: #111;
        font-size: 10px;
        font-style: normal;
        font-weight: 600;
        line-height: 1;
        text-transform: uppercase;
    }

    /* Only use the wider edge-to-edge arrangement when JavaScript detects
     * that translated category labels do not fit in the standard container. */
    .header__main.hypermotion-header--compact-nav .header__wrapper.container {
        width         : 100%;
        max-width     : calc(1440px + (360px * var(--hm-nav-pressure, 1)));
        padding-inline: calc(49px - (31px * var(--hm-nav-pressure, 1)));
    }

    .header__main.hypermotion-header--compact-nav .header__group-logo-nav {
        width: 100%;
    }

    .header__main.hypermotion-header--compact-nav .header__group #site-title,
    .header__main.hypermotion-header--compact-nav .header__group .logo-group {
        flex-basis: calc(190px - (35px * var(--hm-nav-pressure, 1)));
        width     : calc(190px - (35px * var(--hm-nav-pressure, 1)));
    }

    .header__main.hypermotion-header--compact-nav .hypermotion-mega-menu__root {
        gap: clamp(6px, calc(1.1vw - (.4vw * var(--hm-nav-pressure, 1))), 18px);
    }

    .header__main.hypermotion-header--compact-nav .hypermotion-mega-menu__root-item {
        min-width: 0;
    }

    .header__main.hypermotion-header--compact-nav .hypermotion-mega-menu__root-link {
        font-size  : clamp(10px, calc(.85vw - (.13vw * var(--hm-nav-pressure, 1))), 13px);
        white-space: normal;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1340px) {
    .hypermotion-mega-menu__root {
        gap: 12px;
    }

    .hypermotion-mega-menu__root-link {
        font-size: 10px;
    }

    .hypermotion-mega-menu__panel-inner--with-promo {
        grid-template-columns: minmax(0, 1fr) 235px;
        gap: 28px;
    }

    .hypermotion-mega-menu__columns {
        gap: 24px;
    }
}

@media screen and (max-width: 1200px) {
    .hypermotion-mega-menu {
        display: none;
    }

    .header .header__wrapper .header__group .header__navigation-group,
    .header .header__wrapper .header__group .header__navigation-items {
        display: none;
    }

    .header .header__wrapper .header__group .header__mobile {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    body.hypermotion-mobile-menu-open {
        overflow: hidden;
    }

    /* PayPal Smart Buttons are rendered in an external iframe which can sit
     * above the header's normal z-index: 19 stacking context. Raise the whole
     * header only while the mobile drawer is open so its panel and backdrop
     * always cover payment widgets. */
    body.hypermotion-mobile-menu-open .header {
        z-index: 2147483000;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-hamburger {
        padding: 0;
        border: 0;
        background: transparent;
    }

    .hypermotion-mobile-menu__backdrop {
        position: fixed;
        z-index: 1000;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, .38);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .hypermotion-mobile-menu__backdrop.opened {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper {
        position: fixed;
        z-index: 1001;
        top: 0;
        left: 0;
        width: min(430px, 100vw);
        max-width: none;
        height: 100dvh;
        padding: 0;
        overflow-x: hidden;
        overflow-y: hidden;
        background: #fff;
        box-shadow: 14px 0 38px rgba(0, 0, 0, .18);
        transform: translateX(-105%);
        transition: transform .28s ease;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper.opened {
        transform: translateX(0);
    }

    .hypermotion-mobile-menu__header {
        position: relative;
        z-index: 30;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
        padding: 0 12px 0 20px;
        border-bottom: 1px solid #e5e5e5;
        background: #fff;
    }

    .hypermotion-mobile-menu__tabs {
        display: flex;
        align-self: stretch;
        align-items: stretch;
        gap: 28px;
    }

    .hypermotion-mobile-menu__tab {
        position: relative;
        padding: 0;
        border: 0;
        background: transparent;
        color: #202124;
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
    }

    .hypermotion-mobile-menu__tab::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 2px;
        background: #f8971d;
        content: "";
        opacity: 0;
    }

    .hypermotion-mobile-menu__tab.is-active::after {
        opacity: 1;
    }

    .hypermotion-mobile-menu__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 56px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #333;
        cursor: pointer;
    }

    .header .header__wrapper .header__group .header__mobile .header__mobile-navigation {
        margin: 0;
        height: calc(100dvh - 112px);
        overflow: hidden;
    }

    .menu-mobile-container {
        position: relative;
        height: 100%;
    }

    .hypermotion-mobile-menu__panel {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
        overscroll-behavior: contain;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .header__mobile-navigation li {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 48px;
        align-items: stretch;
        border-bottom: 1px solid #e6e6e6;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .header__mobile-navigation li > a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 55px;
        padding: 13px 10px 13px 20px;
        color: #414141;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.35;
        text-decoration: none;
        text-transform: none;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .header__mobile-navigation li:not(.menu-item-has-children) > a,
    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .hypermotion-mobile-menu__utility > a {
        grid-column: 1 / -1;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .header__mobile-navigation > .menu-mobile-container > .menu > li > a {
        font-size: 15px;
        font-weight: 400;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .mobile__submenu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        min-height: 55px;
        padding: 0;
        border: 0;
        background: #fff;
        color: #414141;
        cursor: pointer;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .mobile__submenu svg {
        width: 9px;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .sub-menu {
        position: fixed;
        z-index: 40;
        top: 56px;
        bottom: 56px;
        left: 0;
        display: block;
        width: min(430px, 100vw);
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
        transform: translateX(-105%);
        transition: transform .25s ease;
        overscroll-behavior: contain;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .sub-menu.is-active {
        transform: translateX(0);
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .sub-menu li {
        border-bottom-color: #e6e6e6;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .sub-menu li > a {
        padding-left: 20px;
        font-size: 15px;
        font-weight: 400;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .hypermotion-mobile-menu__back-row {
        display: block;
        border-bottom-color: #d8d8d8;
    }

    .hypermotion-mobile-menu__back {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        min-height: 56px;
        padding: 12px 20px;
        border: 0;
        background: #f5f5f5;
        color: #202124;
        cursor: pointer;
        font-size: 15px;
        font-weight: 700;
        text-align: left;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .hypermotion-mobile-menu__all-row > a {
        grid-column: 1 / -1;
        color: #111;
        font-weight: 700;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .hypermotion-mobile-menu__utility {
        background: #fff;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .hypermotion-mobile-menu__utility > a {
        min-height: 48px;
        color: #555;
        font-size: 13px;
        font-weight: 500;
    }

    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper .hypermotion-mobile-menu__utility.highlight > a {
        color: #718000;
        font-weight: 700;
    }

    .hypermotion-mobile-menu__promo {
        padding: 22px 20px 78px;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__promo {
        padding: 0;
        border: 0;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__eyebrow {
        display: inline-block;
        margin-bottom: 10px;
        padding: 6px 9px;
        background: var(--accent-color);
        color: #111;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__promo-link {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 4px 14px;
        color: #111;
        text-decoration: none;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__promo-image {
        grid-row: 1 / span 4;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 92px;
        height: 92px;
        background: #f6f6f6;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__promo-image img {
        width: 100%;
        height: 100%;
        padding: 7px;
        object-fit: contain;
        mix-blend-mode: multiply;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__promo-title {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__promo-price ins {
        color: #f20000;
        text-decoration: none;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__promo-button {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__banner {
        position: relative;
        display: block;
        min-height: 220px;
        overflow: hidden;
        background: #222;
        color: #fff;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__banner-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hypermotion-mobile-menu__promo .hypermotion-mega-menu__banner-overlay {
        position: absolute;
        z-index: 1;
        right: 16px;
        bottom: 16px;
        left: 16px;
        color: #fff;
    }

    .hypermotion-mobile-menu__footer {
        position: absolute;
        z-index: 50;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        min-height: 56px;
        border-top: 1px solid #dedede;
        background: #fff;
    }

    .hypermotion-mobile-menu__footer button,
    .hypermotion-mobile-menu__footer a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 0;
        padding: 0 6px;
        border: 0;
        background: #fff;
        color: #252525;
        cursor: pointer;
        font-size: 14px;
        text-decoration: none;
    }

    .hypermotion-mobile-menu__footer .is-active {
        color: #111;
        font-weight: 700;
    }
}

@media screen and (max-width: 430px) {
    .header .header__wrapper .header__group .header__mobile .mobile-menu__wrapper {
        width: 100vw;
    }
}

.contact-section__data-icon {
    width: 48px;
    height: 48px;
}

.header__top-items-mobile {
    align-items: center;
    gap: 14px;
}

.header__top-items-mobile .header__account-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.header__top-items-mobile .header__account-mobile img {
    display: block;
    width: 32px;
    height: 32px;
}

.woocommerce-cart tr.hypermotion-cart-item--unavailable td {
    background: #fff8f8;
}

.woocommerce-cart tr.hypermotion-cart-item--unavailable .product-thumbnail img {
    filter: grayscale(1);
    opacity: .45;
}

.woocommerce-cart tr.hypermotion-cart-item--unavailable .product-price,
.woocommerce-cart tr.hypermotion-cart-item--unavailable .product-subtotal {
    color: #777;
}

.woocommerce-cart tr.hypermotion-cart-item--unavailable .product-name > a {
    color: #555;
}

.hypermotion-cart-stock-badge {
    display: table;
    margin-top: 8px;
    padding: 5px 10px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.hypermotion-cart-unavailable-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 31px;
    padding-inline: 8px;
    border: 1px solid #d6d6d6;
    background: #f7f7f7;
    color: #777;
}

.woocommerce-mini-cart-item.hypermotion-cart-item--unavailable {
    opacity: .65;
}

.hypermotion-omnibus-price-note {
    width: 100%;
    margin: 6px 0 0 !important;
    color: #555 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.hypermotion-omnibus-price-note .woocommerce-Price-amount {
    white-space: nowrap;
}

.products__item-price .hypermotion-omnibus-price-note,
.hypermotion-omnibus-price-note--add-to-order {
    font-size: 11px !important;
}

.products__item-price .hypermotion-omnibus-price-note {
    flex-basis: 100%;
}

.products__item-bottom {
    align-items: flex-end !important;
}

.products__item-bottom .products__item-price {
    flex: 1 1 auto;
    min-width: 0;
}

/* Keep every formatted amount intact. Some currencies use a space as the
 * thousands separator, which otherwise lets a narrow catalogue card split
 * the first digit from the rest of the price. The old and sale amounts may
 * still move onto separate lines when the card is narrow. */
.products__item-price > del,
.products__item-price > ins,
.products__item-price > .woocommerce-Price-amount,
.products__item-price .woocommerce-Price-amount {
    display: inline-block;
    white-space: nowrap;
}

/* WooCommerce 10.8 no longer wraps price amounts in <bdi>. Keep the sale
 * amount red with both the old and the current price markup. */
.products__item-bottom .products__item-price ins,
.products__item-bottom .products__item-price ins .woocommerce-Price-amount,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins .woocommerce-Price-amount {
    color: #f20000;
    text-decoration: none;
}

/* Amounts are inline-block to prevent currencies with a thousands separator
 * from splitting. Apply the old-price strike directly to that inline block,
 * because a decoration on the parent <del> does not propagate into it. */
.products__item-bottom .products__item-price del,
.products__item-bottom .products__item-price del .woocommerce-Price-amount,
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .woocommerce-Price-amount {
    text-decoration-line     : line-through !important;
    text-decoration-color    : currentColor !important;
    text-decoration-thickness: 1px !important;
}

.products__item-bottom .products__item-add-to-cart {
    flex: 0 0 auto;
}

/* A regular price has no Omnibus note beneath it, so center it against the
 * whole card while keeping the cart action anchored on the right. */
.products__item-bottom--regular-price {
    position: relative;
    min-height: 46px;
}

.products__item-bottom--regular-price .products__item-price {
    flex: 1 1 100%;
    width: 100%;
    padding-inline: 60px;
    text-align: center;
}

.products__item-bottom--regular-price:not(.products__item-bottom--soldout) .products__item-add-to-cart {
    position: absolute;
    right: .5rem;
    bottom: 0;
}

.add-to-order .hypermotion-omnibus-price-note {
    min-height: 30px;
    padding-inline: 10px;
    margin: 0 0 10px !important;
}

.woocommerce-cart .product-price .hypermotion-omnibus-price-note {
    max-width: 210px;
}

.woocommerce-mini-cart-item .hypermotion-omnibus-price-note {
    margin-top: 3px !important;
    font-size: 10px !important;
}

/* Clear, Poland-oriented classic checkout. */
.woocommerce-checkout #customer_details {
    align-items: flex-start;
    gap: 28px;
}

.woocommerce-checkout #customer_details > .col-1,
.woocommerce-checkout #customer_details > .col-2 {
    padding: 26px;
    border: 1px solid #e2e2e2;
    background: #fff;
}

.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading {
    color: #171717;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    margin-top: 18px;
}

.woocommerce-checkout #customer_details .form-row {
    margin-bottom: 15px;
}

.woocommerce-checkout #customer_details .form-row label {
    color: #252525;
    font-size: 14px;
    line-height: 1.4;
}

.woocommerce-checkout #customer_details input.input-text,
.woocommerce-checkout #customer_details select,
.woocommerce-checkout #customer_details textarea {
    min-height: 44px;
    border: 1px solid #bdbdbd;
    background-color: #fff;
}

.woocommerce-checkout #customer_details input.input-text:focus,
.woocommerce-checkout #customer_details select:focus,
.woocommerce-checkout #customer_details textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
}

.woocommerce-checkout #billing_customer_type_field {
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #dedede;
    background: #f7f7f7;
}

.woocommerce-checkout #billing_customer_type_field > label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.woocommerce-checkout #billing_customer_type_field .optional,
.woocommerce-checkout #billing_customer_type_field .radio .optional {
    display: none !important;
}

.woocommerce-checkout #billing_customer_type_field .woocommerce-input-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.woocommerce-checkout #billing_customer_type_field input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.woocommerce-checkout #billing_customer_type_field label.radio {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #bdbdbd;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.woocommerce-checkout #billing_customer_type_field input[type="radio"]:checked + label.radio {
    border-color: #111;
    background: var(--accent-color);
    box-shadow: inset 0 0 0 1px #111;
}

.woocommerce-checkout #billing_customer_type_field input[type="radio"]:focus-visible + label.radio {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.woocommerce-checkout .hypermotion-company-field[hidden],
.woocommerce-checkout .hypermotion-company-shipping-field[hidden] {
    display: none !important;
}

.woocommerce-checkout #ship-to-different-address {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #f7f7f7;
}

.woocommerce-checkout #ship-to-different-address label,
.woocommerce-checkout .create-account label {
    cursor: pointer;
}

.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 22px;
}

.woocommerce-checkout #order_review_heading {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 2px solid #111;
}

@media screen and (min-width: 769px) {
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
        align-items: start;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
    .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row {
        float: none !important;
        clear: none !important;
        width: auto !important;
    }

    .woocommerce-checkout #billing_customer_type_field,
    .woocommerce-checkout #billing_company_field,
    .woocommerce-checkout #billing_nip_field,
    .woocommerce-checkout #billing_country_field,
    .woocommerce-checkout #billing_address_1_field,
    .woocommerce-checkout #billing_address_2_field,
    .woocommerce-checkout #billing_state_field,
    .woocommerce-checkout #shipping_company_field,
    .woocommerce-checkout #shipping_country_field,
    .woocommerce-checkout #shipping_address_1_field,
    .woocommerce-checkout #shipping_address_2_field,
    .woocommerce-checkout #shipping_state_field {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 768px) {
    .woocommerce-checkout #customer_details {
        display: block;
    }

    .woocommerce-checkout #customer_details > .col-1,
    .woocommerce-checkout #customer_details > .col-2 {
        width: 100%;
        margin: 0 0 18px;
        padding: 18px;
    }

    .woocommerce-checkout #billing_customer_type_field {
        padding: 12px;
    }

    .woocommerce-checkout #billing_customer_type_field .woocommerce-input-wrapper {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout #customer_details .form-row-first,
    .woocommerce-checkout #customer_details .form-row-last {
        float: none;
        width: 100%;
    }

    /* Keep checkout totals and its primary action before recommendations. */
    .woocommerce-cart .cart-collaterals {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        order: 1;
        float: none;
        width: 100%;
    }

    .woocommerce-cart .cart-collaterals .cross-sells {
        order: 2;
        float: none;
        width: 100%;
    }
}

.hypermotion-social-login {
    margin: 18px 0 24px;
}

.hypermotion-social-login--account {
    clear: both;
    width: min(100%, 760px);
    margin: 0 auto 32px;
}

.hypermotion-social-login__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #666;
    font-size: 12px;
    text-align: center;
}

.hypermotion-social-login__divider::before,
.hypermotion-social-login__divider::after {
    flex: 1 1 auto;
    height: 1px;
    background: #dedede;
    content: "";
}

.hypermotion-social-login__buttons,
.hypermotion-social-login__buttons .nsl-container,
.hypermotion-social-login__buttons .nsl-container-buttons {
    width: 100%;
}

.hypermotion-social-login--account .nsl-container-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
}

.hypermotion-social-login__buttons .nsl-container-buttons {
    display: grid !important;
    gap: 10px !important;
}

.hypermotion-social-login__buttons .nsl-container-buttons > a {
    max-width: none !important;
}

@media (max-width: 640px) {
    .hypermotion-social-login--account .nsl-container-buttons {
        grid-template-columns: 1fr;
    }
}

/* The compiled legacy stylesheet contains a development localhost URL. */
.woocommerce div.product div.images .wpgs-nav .slick-next::before,
.woocommerce div.product div.images .wpgs-nav .slick-prev::before {
    background-image: url("../img/arrow-right.svg");
}

.custom-shipping-label,
.custom-shipping-main,
.custom-shipping-desc {
    display: flex;
}

.custom-shipping-label {
    flex-direction: column;
    gap: 4px;
}

.custom-shipping-main {
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.custom-shipping-title {
    font-weight: 600;
}

.custom-shipping-desc {
    flex-direction: column;
    color: #555;
    font-size: 13px;
    line-height: 1.45;
}

.search-results .results__items ul.products.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 1.8%;
}

.search-results .results__items ul.products.columns-3::before,
.search-results .results__items ul.products.columns-3::after {
    display: none;
    content: none;
}

.search-results .results__items ul.products.columns-3 li.product {
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
}

.search-results .results__items .products__item {
    margin-right: 0;
}

.search-results .results__items .products__item-inner {
    height: 100%;
}

@media (max-width: 1000px) {
    .search-results .results__items ul.products.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .search-results .results__items ul.products.columns-3 {
        grid-template-columns: 1fr;
    }
}

.hypermotion-product-resources {
    margin: 0 0 30px;
    padding-inline: 150px;
}

.hypermotion-product-resources__toggle,
.hypermotion-product-resources__tab-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.hypermotion-product-resources__button {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.hypermotion-product-resources__button:hover {
    border-color: #000;
    color: #000;
}

.hypermotion-product-resources__layer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.hypermotion-product-resources__toggle:checked ~ .hypermotion-product-resources__layer {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.hypermotion-product-resources__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    cursor: pointer;
}

.hypermotion-product-resources__drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(80vw, 1540px);
    max-width: calc(100vw - 120px);
    height: 100%;
    padding: 46px 28px 60px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .14);
    transform: translateX(100%);
    transition: transform .25s ease;
}

.hypermotion-product-resources__toggle:checked ~ .hypermotion-product-resources__layer .hypermotion-product-resources__drawer {
    transform: translateX(0);
}

.hypermotion-product-resources__close {
    position: absolute;
    top: 10px;
    right: 16px;
    color: #000;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.hypermotion-product-resources__tabs {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin: 0 24px 28px 0;
}

.hypermotion-product-resources__tab {
    padding: 8px 13px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
    cursor: pointer;
}

.hypermotion-product-resources__tab-radio--attachments:checked ~ .hypermotion-product-resources__layer .hypermotion-product-resources__tab--attachments,
.hypermotion-product-resources__tab-radio--producer:checked ~ .hypermotion-product-resources__layer .hypermotion-product-resources__tab--producer,
.hypermotion-product-resources__tab-radio--responsible:checked ~ .hypermotion-product-resources__layer .hypermotion-product-resources__tab--responsible {
    background: var(--accent-color);
    color: #000;
}

.hypermotion-product-resources__panel {
    display: none;
}

.hypermotion-product-resources__tab-radio--attachments:checked ~ .hypermotion-product-resources__layer .hypermotion-product-resources__panel--attachments,
.hypermotion-product-resources__tab-radio--producer:checked ~ .hypermotion-product-resources__layer .hypermotion-product-resources__panel--producer,
.hypermotion-product-resources__tab-radio--responsible:checked ~ .hypermotion-product-resources__layer .hypermotion-product-resources__panel--responsible {
    display: block;
}

.hypermotion-product-resources__panel-inner {
    max-width: 1020px;
}

.hypermotion-product-resources__title {
    margin: 0 0 4px;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.single .product .hypermotion-product-resources__intro {
    margin-bottom: 14px;
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.45;
}

.hypermotion-product-resources__file,
.hypermotion-product-resources__empty {
    display: block;
    max-width: 1020px;
    padding: 14px 13px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.hypermotion-product-resources__file strong {
    color: #000;
}

.hypermotion-product-resources__file:hover {
    border-color: #000;
    color: #000;
}

.hypermotion-product-resources__divider {
    margin-top: 28px;
    border-top: 1px solid #000;
}

.hypermotion-product-resources-card {
    display: flex;
    flex-direction: column;
    max-width: 480px;
    padding: 14px 13px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.55;
}

.hypermotion-product-resources-card__name {
    margin-bottom: 4px;
    color: #000;
    font-weight: 700;
}

.hypermotion-product-resources-card__link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.hypermotion-product-resources-card__link:hover {
    color: #000;
    opacity: .75;
}

.hypermotion-product-resources-card__icon {
    display: inline-flex;
    justify-content: center;
    width: 18px;
    margin-right: 3px;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 1200px) {
    .header__top-items .hypermotion-header-search {
        display: none;
    }

    .header .header__wrapper .header__group .header__top-search {
        display: block;
    }
}

@media (max-width: 768px) {
    .hypermotion-product-resources {
        margin: 24px 0;
    }

    .hypermotion-product-resources__button {
        padding: 13px 14px;
        font-size: 14px;
    }

    .hypermotion-product-resources__drawer {
        width: 100%;
        max-width: none;
        padding: 54px 18px 40px;
    }

    .hypermotion-product-resources__tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
        margin: 0 34px 24px 0;
    }

    .hypermotion-product-resources__tab {
        padding: 7px 9px;
        font-size: 12px;
    }

    .hypermotion-product-resources-card {
        max-width: none;
    }
}

@media screen and (max-width: 1200px) {
    .hypermotion-product-resources {
        padding-inline: 0;
    }
}

/* Add-to-order feedback modal and loading state. */
.add-to-order__product {
    display: flex;
    flex-direction: column;
}

.add-to-order__product-link {
    flex: 1 1 auto;
}

.add-to-order__button {
    position: relative;
    align-self: center;
    min-width: 130px;
    margin: 0 1rem 1rem;
    border: 1px solid #000;
}

.add-to-order__button-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: add-to-order-spin .65s linear infinite;
}

.add-to-order__button.is-loading .add-to-order__button-label {
    display: none;
}

.add-to-order__button.is-loading .add-to-order__button-spinner {
    display: inline-block;
}

.add-to-order__button:disabled {
    cursor: wait;
    opacity: .65;
}

.add-to-order-modal[hidden] {
    display: none;
}

.add-to-order-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.add-to-order-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
}

.add-to-order-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 42px 36px 34px;
    border-top: 4px solid #8fae1b;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .25);
    text-align: center;
}

.add-to-order-modal--error .add-to-order-modal__dialog {
    border-top-color: #b81c23;
}

.add-to-order-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2c2d31;
    font: 300 30px/1 Arial, sans-serif;
    cursor: pointer;
}

.add-to-order-modal__close:hover,
.add-to-order-modal__close:focus {
    color: #8fae1b;
}

.add-to-order-modal--error .add-to-order-modal__close:hover,
.add-to-order-modal--error .add-to-order-modal__close:focus {
    color: #b81c23;
}

.add-to-order-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #8fae1b;
    color: #fff;
}

.add-to-order-modal__icon::before {
    content: "✓";
    font-size: 28px;
    font-weight: 600;
}

.add-to-order-modal--error .add-to-order-modal__icon {
    background: #b81c23;
}

.add-to-order-modal--error .add-to-order-modal__icon::before {
    content: "!";
}

.add-to-order-modal__title {
    margin-bottom: 10px;
    color: #2c2d31;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.add-to-order-modal__message {
    margin-bottom: 26px;
    color: #515151;
    font-size: 15px;
    line-height: 1.6;
}

.add-to-order-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.add-to-order-modal__actions .btn {
    min-width: 180px;
    border: 1px solid #000;
    cursor: pointer;
}

.add-to-order-modal-open {
    overflow: hidden;
}

/* Reserve image geometry immediately; JavaScript must not resize it after load. */
@media screen and (min-width: 769px) {
    .products__item-image,
    .add-to-order__image,
    .blog__post-image {
        width: 100%;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }
}

.product-badge-wrapper {
    width: 100%;
}

@keyframes add-to-order-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .add-to-order-modal__dialog {
        padding: 38px 20px 24px;
    }

    .add-to-order-modal__actions {
        display: grid;
    }

    .add-to-order-modal__actions .btn {
        width: 100%;
    }
}

/* Keep the mobile product gallery only as tall as its active image. */
@media screen and (max-width: 768px) {
    /* Before Slick starts, gallery images are plain stacked divs. Showing only
       the first one prevents the tall flash during initial page loading. */
    .woocommerce div.product div.images .wpgs-for:not(.slick-initialized) {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden;
    }

    .woocommerce div.product div.images .wpgs-for:not(.slick-initialized) > div:not(:first-child) {
        display: none !important;
    }

    .woocommerce div.product div.images .wpgs-for:not(.slick-initialized) > div:first-child {
        display: flex !important;
        height: auto !important;
        min-height: 0 !important;
        align-items: center;
        justify-content: center;
    }

    .woocommerce div.product div.images .wpgs-for .slick-slide {
        height: auto !important;
        min-height: 0 !important;
    }
}

/*
 * WPML contact translations can miss the breadcrumbs module. When the theme
 * restores it, neutralize the desktop contact column's legacy -48px margin so
 * translated headings cannot overlap the breadcrumbs.
 */
.hypermotion-contact-breadcrumb-fallback + .contact-section .contact-section__data {
    margin-top: 0;
}
