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

body:has(.flex_layout.shop .pk-filter__aside.is-open)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

#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);
}

/* 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;
}

/* 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 .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) {
  .flex_layout.shop .pk-intro__row .pk-col {
    display: none;
  }

  .flex_layout.shop .toggle-filter__sidebar {
    display: flex;
  }
}

/* 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;
  }
}
/*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-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: cover;
}

.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 a {
  display: inline-block;
  width: 100%;
  padding: 8px 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;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  margin: 0;
  cursor: pointer;
  border: 2px solid rgba(7, 36, 69, 0.14);
  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: 30px;
}

.flex_layout.shop .pk-filter__item .pk-filter__count {
  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: 30rem;
    width: 100%;
    height: 100vh;
    padding: 24px 20px;
    opacity: 0;
    visibility: hidden;
    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::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: salmon;
  } */

  .flex_layout.shop .pk-filter__aside.is-open {
    opacity: 1;
    visibility: visible;
    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: 20px 0;
  }

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

  .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 .pk-prod__attributes {
  font-size: 12px;
  font-weight: 400;
  color: rgba(7, 36, 69, 0.75);
  display: inline-flex;
  gap: 8px;
  margin: 0;
  margin-bottom: 7px;
  padding: 0;
  list-style: none;
}

.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);
}

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

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

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

@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;
}
