.pk-site__header.is-header__mobile {
    padding: 25px 0;
    background: var(--gray);
}

.pk-site__header.is-header__mobile .pk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* logo */
.is-header__mobile .site-logo {
    max-width: 184px;
}

/* Menu toggle*/
.is-header__mobile .menu-toggle {
    all: unset;
    display: flex;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.is-header__mobile .menu-icon__wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.is-header__mobile .menu-icon__wrap > span {
    color: #231f20;
    line-height: normal;
}

.is-header__mobile .menu-toggle {
    display: block;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.is-header__mobile .menu-toggle .hamburger {
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #231f20;
    transition: all 0.3s ease;
}

.is-header__mobile .hamburger::before,
.is-header__mobile .hamburger::after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    border-radius: 999px;
    background: #231f20;
    transition: all 0.3s ease;
}

.is-header__mobile .hamburger::before {
    top: -6px;
}
.is-header__mobile .hamburger::after {
    top: 6px;
}

/* Menu is open */
.is-header__mobile .menu-icon__wrap.menu-active .hamburger {
    background: transparent;
}

.is-header__mobile .menu-icon__wrap.menu-active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.is-header__mobile .menu-icon__wrap.menu-active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Menu */
.is-header__mobile .site-menu {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--gray);
    /* display: none; */
    transform: translateX(100%) scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.is-header__mobile .site-menu.open {
    transform: translateX(0) scaleX(1);
}

.is-header__mobile .site-menu .menu-inner {
    height: 100%;
    padding: 20px;
    padding-bottom: 160px;
    overflow: scroll;
}

.is-header__mobile .menu-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.is-header__mobile .menu-inner .menu-col {
    padding: 1rem 0.5rem;
    border-radius: 5px;
    background: var(--white);
}

.is-header__mobile .menu-inner .menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.is-header__mobile .menu-inner .menu li {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 18px;
    font-weight: 400;
}

.is-header__mobile .menu-inner .menu li > a {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 44px;
    padding: 8px 44px 8px 0;
}

.is-header__mobile .menu-inner .menu li > a::after {
    content: "\f46a";
    font-family: "Material Symbols Outlined";
    font-weight: 400;
    font-size: 28px;
    line-height: normal;
    position: absolute;
    right: 0px;
    margin-top: 31px;
    pointer-events: none;
    transform: translateY(-50%);
}

/* CTA WRAP */
.is-header__mobile .cta-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.is-header__mobile .cta-wrap .top-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.is-header__mobile .cta-wrap .top-wrap .pk-cart__btn,
.is-header__mobile .cta-wrap .top-wrap .pk-btn__user {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-align: center;
    color: var(--white);
    padding: 14px 20px;
    border-radius: 5px;
    background: var(--midnight);
}

.is-header__mobile .cta-wrap .top-wrap .pk-cart__btn .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
    color: var(--midnight);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 25px;
    min-height: 25px;
    border-radius: 999px;
    background: var(--white);
}

.is-header__mobile .cta-wrap .top-wrap .pk-btn__user {
    background: var(--marine);
}
/* Taal switch */
.is-header__mobile .bottom-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 45px;
}
.mobile-lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: normal;
    border-radius: 5px;
    border: 1px solid currentColor;
}

.mobile-lang-switch .arrow {
    display: flex;
    align-items: center;
}

/* ZOEKVELD */
.is-header__mobile .pk-searchbar__wrap {
    width: 100%;
}

.pk-site__header.is-header__mobile .pk-searchbar__wrap form > div {
    padding: 0 !important;
    border-radius: 0 !important;
}

.pk-site__header.is-header__mobile
    .pk-searchbar__wrap
    form
    > div
    input[type="search"] {
    font-size: 16px !important;
    font-weight: 300;
    min-height: 50px;
    position: relative;
    padding: 16px 20px;
    border-radius: 5px;
    border: 1px solid #0724451a;
    background: var(--white);
}

.pk-site__header.is-header__mobile
    .pk-searchbar__wrap
    form
    > div
    input[type="search"]::placeholder {
    color: var(--midnight);
    opacity: 0.5;
}

.pk-site__header.is-header__mobile
    .pk-searchbar__wrap
    form
    > div
    button[type="submit"] {
    left: unset;
    top: 8px;
    right: 16px;
}

/* Keep mobile menu search submit independent from WooCommerce generic submit styles */
.pk-site__header.is-header__mobile
    .pk-searchbar__wrap
    .dgwt-wcas-search-form
    .dgwt-wcas-search-submit {
    position: absolute;
    top: 8px;
    right: 16px;
    width: 31px;
    height: 31px;
    min-height: auto;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--midnight) !important;
    font-size: 0;
    line-height: 1;
}

.pk-site__header.is-header__mobile
    .pk-searchbar__wrap
    .dgwt-wcas-search-form
    .dgwt-wcas-search-submit:hover {
    background: transparent !important;
    color: var(--midnight) !important;
}

.pk-site__header.is-header__mobile
    .pk-searchbar__wrap
    .dgwt-wcas-search-form
    .dgwt-wcas-search-submit
    svg {
    width: 18px;
    height: 18px;
}

@media screen and (max-width: 768px) {
    /* Submenu */
    .pk-site__header .submenu-wrapper {
        position: absolute;
        right: 0;
        height: 100vh;
        width: 100%;
        left: 0;
        top: 0;
        right: 0;
        padding: 30px 20px;
        transform: translateX(100%) scaleX(0);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: var(--gray);
        z-index: 3;
    }

    .pk-site__header .submenu-wrapper.open {
        transform: translateX(0) scaleX(1);
    }

    .pk-site__header .submenu-wrapper .menu-back {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0;
        color: var(--midnight);
        margin-bottom: 20px;
        border: unset;
        background: unset;
    }

    .pk-site__header .submenu-wrapper .menu-back::before {
        content: "\e5c4";
        font-family: "Material Symbols Outlined";
        font-weight: 400;
        font-size: 21px;
        line-height: normal;
    }

    .pk-site__header .sub-menu {
        min-width: fit-content;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 30px 20px;
        border-radius: 5px;
        background: var(--white);
    }

    .pk-site__header .pk-site__nav ul li.current_page_item,
    .pk-site__header ul li.current-menu-item,
    .pk-site__header ul li.current-product-ancestor {
        border-radius: 5px;
        border: 1px solid var(--gray);
        background: var(--gray);
    }

    .pk-site__header .pk-site__nav ul li.current_page_item > a,
    .pk-site__header ul li.current-menu-item > a,
    .pk-site__header ul li.current-product-ancestor > a {
        padding-left: 10px;
    }

    .pk-site__header .pk-site__nav ul li.current_page_item > a::after,
    .pk-site__header ul li.current-menu-item > a::after,
    .pk-site__header ul li.current-product-ancestor > a::after {
        right: 10px;
    }
}
