body:has(.flex_layout.shop .pk-filter__aside.is-open) {
    overflow: hidden;
}

#pk_flex_content .flex_layout.shop {
    max-width: 100%;
    padding: 0;
}

#pk_flex_content .flex_layout.shop .pk-cat__layout {
    width: 100%;
    padding-top: 34px;
    padding-bottom: 135px;
    border-radius: 20px;

    background: linear-gradient(
        180deg,
        #f6f6f7 0%,
        rgba(246, 246, 247, 0.6) 39.05%
    );
    background: rgba(246, 246, 247, 1);
}

#pk_flex_content .flex_layout.shop .pk-cat__layout.is-loading {
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

/* Page Intro Section */
.flex_layout.shop .pk-intro__row {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(7, 36, 69, 0.08);
}

.flex_layout.shop .pk-intro__row .pk-intro__text {
    max-width: 700px;
    margin-top: 16px;
}

.flex_layout.shop .pk-intro__row .pk-intro__text .pk-btn {
    margin-top: 16px;
    padding: 0;
}

.flex_layout.shop .pk-intro__row .pk-intro__text .pk-btn::after {
    content: "\e313";
}

/* Switch Buttons*/
.flex_layout.shop .pk-intro__row .pk-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    margin-top: 40px;
}

.flex_layout.shop .pk-button__wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flex_layout.shop .pk-button__wrap .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    border: 0.5px solid #0724450a;
    background: var(--Gray, #f6f6f7);
}

.flex_layout.shop .pk-button__wrap .icon svg {
    width: 12px;
    height: 12px;
}

.flex_layout.shop .pk-button__wrap .pk-btn__tertiary {
    max-width: fit-content;
    display: flex;
    gap: 10px;
    padding: 12px 20px;
    padding-left: 16px;
    border: 0.5px solid #07244540;
}

.flex_layout.shop .pk-button__wrap .pk-btn__tertiary .icon-wrap {
    background: var(--gray);
}

.flex_layout.shop .toggle-filter__sidebar {
    display: none;
    margin-top: 32px;
}

.flex_layout.shop .toggle-filter__sidebar .toggle-filter {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    width: 100%;
    padding: 12px 24px;
    background: var(--midnight);
    border-radius: 999px;
    border-color: inherit;
    transition: all 0.3s ease-in-out;
}

.flex_layout.shop .toggle-filter__sidebar .toggle-filter .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 24px;
    border-radius: 999px;
    background: var(--white);
}

.pk-view__switch {
    max-width: fit-content;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 0.5px solid #07244540;
    background: var(--white);
}

.pk-view__switch .content-wrap {
    display: flex;
    gap: 10px;
}

.pk-view__switch .switch input {
    position: absolute;
    opacity: 0;
}

.pk-view__switch .switch {
    display: inline-flex;
    align-items: center;
    font-size: 17px;
    width: 40px;
    margin: 0;
    padding: 3px;
    cursor: pointer;
    border-radius: 50px;
    background: var(--midnight);
    background: rgba(7, 36, 69, 0.1);
}

.pk-view__switch:has(input:checked) .switch {
    background: var(--midnight);
}

.pk-view__switch .switch div {
    height: 18px;
    width: 18px;
    border-radius: 999px;
    background: var(--white);
    transition: all 300ms;
}

.pk-view__switch .switch input:checked + div {
    transform: translate3d(100%, 0, 0);
}

.flex_layout.shop .pk-intro__row .pk-prod__count {
    font-size: 14px;
    color: rgba(7, 36, 69, 0.5);
}

@media only screen and (max-width: 767px) {
    #pk_flex_content .flex_layout.shop .pk-cat__layout {
        padding-top: 28px;
        padding-bottom: 56px;
        border-radius: 14px;
    }

    .flex_layout.shop .pk-intro__row {
        margin-bottom: 28px;
        padding-bottom: 16px;
    }

    .flex_layout.shop .pk-intro__row .pk-col {
        display: none;
    }

    .flex_layout.shop .toggle-filter__sidebar {
        display: flex;
        margin-top: 20px;
    }

    .flex_layout.shop .toggle-filter__sidebar .toggle-filter {
        min-height: 44px;
        padding: 10px 16px;
        border-radius: 999px;
    }
}

/* End Page Intro Section */

/* Grid container */
.flex_layout.shop .pk-container {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

@media only screen and (max-width: 767px) {
    .flex_layout.shop .pk-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}
/*End Grid Container */

/* Filter aside */
.flex_layout.shop .pk-filter__aside {
    max-width: 280px;
    width: 100%;
}

.flex_layout.shop .pk-filter__aside .inner-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: scroll;
    overflow-x: hidden;
    overflow: hidden;
}

.flex_layout.shop .pk-filter__aside .heading {
    max-width: 100%;
    width: 100%;
    display: none;
    justify-content: flex-end;
}

.flex_layout.shop .pk-filter__aside .pk-filter__wrap {
    width: 100%;
    padding: 26px;
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.flex_layout.shop .pk-filter__aside .pk-reset-filter a{
display: flex;
justify-content: space-between;
}

.flex_layout.shop .pk-filter__aside .pk-reset-filter a .text {
    text-decoration: underline;
}

.flex_layout.shop .pk-filter__aside .pk-attr__wrap .pk-filter__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flex_layout.shop .pk-filter__aside .pk-filter__wrap:has(.pk-cat__image) {
    aspect-ratio: 277/240;
    padding: 0;
}

.flex_layout.shop .pk-filter__aside .pk-cat__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flex_layout.shop .pk-filter__aside .pk-filter__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.3s ease-in-out;
}

.flex_layout.shop .pk-filter__aside .pk-filter__title .icon {
    font-size: 21px;
}

.flex_layout.shop .pk-filter__aside .pk-filter__title:hover {
    opacity: 0.6;
}

.flex_layout.shop .pk-filter__aside .pk-filter__content {
    margin-top: 20px;
}

.flex_layout.shop .pk-filter__aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flex_layout.shop .pk-filter__aside ul li {
    margin-bottom: 5px;
}

.flex_layout.shop .pk-filter__aside ul a {
    display: inline-block;
    width: 100%;
    padding: 6px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}
.flex_layout.shop .pk-filter__aside ul li.active a,
.flex_layout.shop .pk-filter__aside ul a:hover {
    background-color: rgba(246, 246, 247, 1);
}

.flex_layout.shop .pk-filter__aside .pk-filter__item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex_layout.shop .pk-filter__item label {
    position: absolute;
    position: relative;
    /* top: 0;
    left: 0; */
    width: 25px;
    height: 25px;
    margin: 0;
    cursor: pointer;
    border: 1px solid rgba(7, 36, 69, 0.12);
    border-radius: 999px;
    background: var(--white);
}

.flex_layout.shop .pk-filter__item label:after {
    border: 1px solid var(--midnight);
    border-top: none;
    border-right: none;
    content: "";
    height: 6px;
    left: 4px;
    opacity: 0;
    position: absolute;
    top: 8px;
    transform: rotate(-45deg);
    width: 12px;
}

.flex_layout.shop .pk-filter__item label input[type="checkbox"] {
    visibility: hidden;
}

.flex_layout.shop .pk-filter__item label:has(input[type="checkbox"]:checked) {
    background: var(--gray);
    border-color: var(--gray);
}

.flex_layout.shop
    .pk-filter__item
    label:has(input[type="checkbox"]:checked):after {
    opacity: 1;
}

.flex_layout.shop .pk-filter__item .pk-round__checkbox span {
    display: inline-block;
    margin-left: 10px;
}

.flex_layout.shop .pk-filter__item .pk-filter__count {
    color: rgba(7, 36, 69, 0.3);
}

.flex_layout.shop .pk-filter__aside .pk-filter__toggle {
    text-align: left;
    color: var(--midnight);
    margin-top: 8px;
    padding: 0;
    border: unset;
    background: none;
    transition: opacity 0.5 ease-in-out;
}

.flex_layout.shop .pk-filter__aside .pk-filter__toggle:hover {
    opacity: 0.8;
}

.flex_layout.shop .pk-filter__aside .pk-filter__toggle span {
    color: rgba(7, 36, 69, 0.3);
}

@media only screen and (max-width: 767px) {
    .flex_layout.shop .pk-filter__aside {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        max-width: 100%;
        width: 100%;
        height: 100vh;
        padding: 16px;
        padding-top: 0px;
        background: var(--gray);
        transform: translateX(-150%);
        transition:
            transform 0.35s ease,
            opacity 0.6s ease;
        z-index: 9999;
        overflow: scroll;
    }

    .flex_layout.shop .pk-filter__aside.open {
        transform: translateX(0);
        transition: transform 0.35s ease;
    }

    .flex_layout.shop .pk-filter__aside .inner-wrap {
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .flex_layout.shop .pk-filter__aside .heading {
        display: flex;
        padding: 12px 0;
    }

    .flex_layout.shop .pk-filter__aside button.close-filter {
        width: 30px;
        height: 30px;
        padding: 1.5px;
        border: 1px solid var(--midnight);
        border-radius: 999px;
        background: transparent;
        transition: all 0.5s ease-in-out;
    }

    .flex_layout.shop .pk-filter__aside button.close-filter svg {
        fill: var(--midnight);
    }

    .flex_layout.shop .pk-filter__aside button.close-filter:hover {
        border: 1px solid var(--midnight);
        background: var(--midnight);
    }

    .flex_layout.shop .pk-filter__aside button.close-filter:hover svg {
        fill: var(--white);
    }

    .flex_layout.shop .pk-filter__aside .pk-filter__wrap {
        overflow: unset;
        padding: 18px;
    }

    .flex_layout.shop .pk-filter__aside .pk-filter__wrap:has(.pk-cat__image) {
        aspect-ratio: 4/3;
        padding: 0;
    }

    .flex_layout.shop .pk-filter__aside .pk-cat__image {
        border-radius: 8px;
    }
}
/* End aside */

/* Product Items */
.flex_layout.shop .pk-grid__row {
    width: 100%;
}

.flex_layout.shop .pk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    row-gap: 35px;
}

.flex_layout.shop .pk-grid .pk-prod__item {
    height: 100%;
    padding: 18px;
    padding-bottom: 32px;
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.flex_layout.shop .pk-grid .pk-prod__item .pk-prod__link:hover {
    color: inherit;
}

.flex_layout.shop .pk-grid .pk-prod__thumb {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16/9;
    aspect-ratio: 4/3;
    margin-bottom: 18px;
    overflow: hidden;
}

.flex_layout.shop .pk-grid .pk-prod__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flex_layout.shop .pk-prod__item:hover img {
    transform: scale(1.1);
}

.flex_layout.shop .pk-prod__item .prod-meta {
    font-size: 12px;
    font-weight: 400;
    color: rgba(7, 36, 69, 0.75);
    display: block;
    margin-bottom: 8px;
}

.flex_layout.shop .pk-prod__item .pk-prod__title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 22.5px;
}

.flex_layout.shop .pk-prod__content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.flex_layout.shop .pk-prod__item .icon {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    right: 0;
    opacity: 0;
    bottom: -15px;
    border-radius: 999px;
    background: var(--gray);
    transform: translateX(-5px);
    transition: all 0.5s ease-in-out;
}

.flex_layout.shop .pk-prod__item .icon::after {
    content: "\e5c8";
    font-family: "Material Symbols Outlined";
    font-weight: 100;
    font-size: 16px;
    color: var(--midnight);
}

.flex_layout.shop .pk-prod__item:hover .icon {
    opacity: 1;
    transform: translateX(0);
}

.flex_layout.shop .pk-category-grid .pk-cat-card {
    min-height: 100%;
}

.flex_layout.shop .pk-category-grid .pk-cat-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flex_layout.shop .pk-category-grid .pk-cat-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.flex_layout.shop .pk-category-grid .pk-cat-card__thumb img {
    object-fit: contain;
}

.flex_layout.shop .pk-category-grid .pk-cat-card__content {
    margin-top: auto;
}

.flex_layout.shop .pk-category-grid .pk-cat-card__title {
    padding-right: 36px;
}

@media screen and (max-width: 640px) {
    #pk_flex_content .flex_layout.shop .pk-cat__layout {
        width: 100%;
        padding: 0px 0 75px 0;
    }

    .flex_layout.shop .pk-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
        row-gap: 20px;
    }

    .flex_layout.shop .pk-prod__grid .pk-prod__item {
        padding: 14px;
        padding-bottom: 20px;
    }

    .flex_layout.shop .pk-grid .pk-prod__item .pk-prod__title {
        font-size: 18px;
    }

    .flex_layout.shop .pk-pagination {
        margin-top: 28px;
    }
}

@media only screen and (max-width: 1245px) and (min-width: 640px) {
    .flex_layout.shop .pk-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .flex_layout.shop .pk-grid .pk-prod__item .pk-prod__title {
        font-size: 18px;
    }
}

/* End Product Items */

/* Lijst weergave */
.flex_layout.shop .pk-listview {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

.flex_layout.shop .pk-listview .pk-prod__item {
    padding: 14px 16px;
    padding-bottom: 14px;
}

.flex_layout.shop .pk-listview .pk-prod__thumb {
    display: none;
}

.flex_layout.shop .pk-listview .pk-prod__content {
    align-items: center;
}

.flex_layout.shop .pk-listview .inner-content {
    max-width: fit-content;
}

.flex_layout.shop .pk-listview .pk-prod__title {
    font-size: 20px;
    align-items: center;
}

.flex_layout.shop .pk-listview .pk-prod__item .icon {
    position: relative;
    bottom: 0;
}

/* Pagination */
.flex_layout.shop .pk-pagination {
    max-width: fit-content;
    display: flex;
    margin-top: 40px;
    padding: 12px;
    border-radius: 4px;
    background: var(--white);
}

.flex_layout.shop .pk-pagination .page-numbers {
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px 10px;
    line-height: normal;
    border-radius: 4px;
    transition:
        color 0.5s ease-in-out,
        background-color 0.5s ease-in-out;
}

.flex_layout.shop .pk-pagination .page-numbers:not(.dots):hover {
    background: var(--gray);
}

.flex_layout.shop .pk-pagination .page-numbers.current {
    color: var(--white);
    background: var(--midnight);
}

.flex_layout.shop .pk-pagination .material-symbols-outlined {
    font-size: 28px;
}
