#colors-popup {
  --grey_block: #EBEBEB;
  --warning_red: #D7221F;
  --border_radius: 8px;

  /* color-tints */
  --grijs: #BBBBBB;
  --zwart-wit: linear-gradient(90deg, rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 1) 50%);
  --geel: yellow;
  --groen: green;
  --bruin: brown;
  --blauw: blue;
  --rood: red;
  --violet: violet;
  --oranje: orange;

  border-radius: var(--border_radius);

  max-width: 1400px;
  width: 100%;

  display: none;

  padding: unset;
  margin: unset;
}

#colors-popup [data-fancybox-close].fancybox-close-small {
  display: none !important;
}

#colors-popup .sm-colors-close {
  position: absolute;
  top: 16px;
  right: 16px;

  padding: 4px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;

  background: #FFF;
  border-radius: 64px;
  border: none;
  -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, .25);
          box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, .25);
}

#colors-popup .sm-colors-close svg {
  width: 24px;
  height: 24px;
}

#colors-popup .inner {
  padding: 32px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 32px;

  height: calc(100dvh - 64px);
}

#colors-popup main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;

  -webkit-box-flex: 1;

      -ms-flex-positive: 1;

          flex-grow: 1;
  min-width: 0;

  height: 100%;
}

#colors-popup main .filters {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 32px 1fr 32px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

#colors-popup .inner .filter {
  border-radius: var(--border_radius);
  background: var(--grey_block);

  padding: 16px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
}

#colors-popup .inner .filter-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
}

#colors-popup .inner .filter-label {
  color: #000;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;

  margin-bottom: 0;
}

#colors-popup .inner .filter-description {
  color: #000;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;

  margin-bottom: 0;
}

#colors-popup .inner .filter-input-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;

  background: white;

  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding-right: 16px;
  width: 100%;
}

#colors-popup .inner .filter-input-wrap input {
  border: none;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  outline: none;
  padding: 14px 16px;
  height: 48px;
}

#colors-popup .inner .filter-input-wrap select {
  padding: 14px 16px;
  height: 48px;
}

#colors-popup .inner .filter_custom-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
}

#colors-popup .inner .filter_custom-form .btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 48px;
  height: 48px;
}

#colors-popup .inner .btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;

  padding: 8px;

  border-radius: 5px;
  background: #D7221F;
}

#colors-popup .inner .filter.filter_range [data-filter-by-range],
#colors-popup .inner .filter-mobile.filter_range [data-filter-by-range] {
  border: none;
  outline: none;
  width: 100%;
  appearance: none;
  height: 48px;
  background: white;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#colors-popup .inner .filter-input-wrap.range {
  position: relative;
}

#colors-popup .inner .filter-input-wrap.range [data-chevron] {
  position: absolute;
  right: 16px;

  font-size: 20px;
  pointer-events: none;
}

#colors-popup .inner .filter-input-wrap.range a {
  position: absolute;
  right: 16px;
}

#colors-popup .inner .filter .reset-filter-link, #colors-popup .inner .filter-mobile .reset-filter-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2px;

  color: red;
}

#colors-popup .inner .filter .reset-filter-link:hover {
  text-decoration: none;
}

#colors-popup .inner .filter .reset-filter-link svg {
  width: 16px;
  height: 16px;
}

#colors-popup .inner .sidebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;

  max-width: 160px;
}

#colors-popup .inner .filter.filter_colors {
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

#colors-popup .inner .filter.filter_colors .colors-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 16px 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

#colors-popup .inner .filter.filter_colors .colors-grid .color-item {
  display: block;

  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  margin: 0;

  width: 55px;
  height: 48px;

  border-radius: var(--border_radius);
  background: var(--background);

  opacity: 0.5;
}

#colors-popup .inner .filter.filter_colors .colors-grid .color-item:checked {
  opacity: 1;
  outline: none;
}

#colors-popup .inner .warning {
  border: 1px solid var(--warning_red);
  border-radius: var(--border_radius);
  padding: 16px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
}

#colors-popup .inner .warning header {
  color: var(--warning_red);
  font-weight: 700;
  font-size: 16px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

#colors-popup .inner .warning .warning-text {
  color: #000;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;

  -ms-flex-item-align: stretch;

      -ms-grid-row-align: stretch;

      align-self: stretch;
}

#colors-popup .inner .results-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-radius: var(--border_radius);

  overflow-y: scroll;
  overflow-x: hidden;
}

.results-grid::-webkit-scrollbar {
  display: none;
}

#colors-popup .inner .results-grid .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 5;
}

#colors-popup .inner .results-grid .loading-spinner svg {
  width: 24px;
  height: 24px;
  -webkit-animation: spin 1s ease infinite;
          animation: spin 1s ease infinite;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

#colors-popup .inner .results-grid .result-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;

  background: var(--background);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-decoration: none;

  height: 124px;

  position: relative;
}

#colors-popup .inner .results-grid .result-item .result-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4px;
  gap: 8px;

  transition: all 150ms ease-in-out;
}

#colors-popup .inner .results-grid .result-item .result-buttons i {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-decoration: none;
  font-size: 20px;
  padding: 4px;
  border-radius: 5px;
}

#colors-popup .inner .results-grid .result-item:hover .result-buttons {
  opacity: 1;
  transition: all 150ms ease-in-out;
  text-decoration: none;
}

#colors-popup .inner .results-grid .result-item .zoom {
  position: absolute;
  top: 8px;
  right: 8px;

  font-size: 16px;
  width: 24px;
  height: 24px;

  padding: 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .20);
  border: 1px solid rgba(0, 0, 0, .25);
  color: white;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#colors-popup .inner .results-grid .result-item .zoom:hover {
  text-decoration: none;
}

#colors-popup .inner .results-grid .result-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  gap: 4px;

  padding: 4px 8px;

  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: white;
}

#colors-popup .inner .results-grid .result-title {
  margin: unset;

  color: black;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

#colors-popup .inner .results-grid .result-description {
  margin: unset;

  color: #6c6c6c;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}

#colors-popup .inner .results-grid .result-item:hover [data-select-trigger] {
  background: var(--warning_red);
  transition: all 150ms ease;
}

#colors-popup .inner .results-grid .result-content [data-select-trigger] {
  color: white;
  font-size: 18px;
  height: 32px;
  width: 32px;
  border-radius: 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  transition: all 150ms ease;
  transition-delay: 75ms;
}

@media screen and (width <= 768px) {
  #colors-popup .inner .results-grid .result-content [data-select-trigger] {
    background: var(--warning_red);
  }
}

#colors-popup .inner .results-grid .color-preview {
  background: #EBEBEB;
  border-radius: 8px;
  padding: 24px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;

  -ms-grid-column-span: 4;

  grid-column: span 4;

  position: relative;
}

#colors-popup .inner .results-grid .color-preview .color-preview_close {
  position: absolute;
  top: -8px;
  right: 4px;

  background: white;
  color: #000;
  border-radius: 50%;

  width: 32px;
  height: 32px;
  border: none;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;

  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.07);

          box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.07);
  -webkit-transition: all 150ms ease;
  -o-transition: all 150ms ease;
  transition: all 150ms ease;
}

#colors-popup .inner .results-grid .color-preview .color-preview_close:hover {
  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 150ms ease;
  -o-transition: all 150ms ease;
  transition: all 150ms ease;
}

#colors-popup .inner .results-grid .color-preview .color-preview_close i {
  font-size: 16px;
  line-height: normal;
}

#colors-popup .inner .results-grid .color-preview .preview_images {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 32px 1fr 32px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

#colors-popup .inner .results-grid .color-preview .preview_images .preview_image-wrap {
  max-height: 300px;
  height: 100%;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#colors-popup .inner .results-grid .color-preview .preview_images .preview_image-wrap img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
}

#colors-popup .inner .results-grid .color-preview .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 32px;
}

#colors-popup .inner .results-grid .color-preview .info .info_warning {
  color: #000;
  font-size: 16px;
  line-height: normal;
}

#colors-popup .inner .results-grid .color-preview .info .btn {
  padding: 8px 16px;
  font-size: 16px;
  font-family: "Mulish";
  color: white;
}

#colors-popup .inner .results-grid .color-preview .info .btn svg {
  -webkit-transition: -webkit-transform 150ms ease-in;
  transition: -webkit-transform 150ms ease-in;
  -o-transition: transform 150ms ease-in;
  transition: transform 150ms ease-in;
  transition: transform 150ms ease-in, -webkit-transform 150ms ease-in;
}

#colors-popup .inner .results-grid .color-preview .info .btn:hover svg {
  -webkit-transform: translateX(10%);
      -ms-transform: translateX(10%);
          transform: translateX(10%);
  -webkit-transition: -webkit-transform 150ms ease-out;
  transition: -webkit-transform 150ms ease-out;
  -o-transition: transform 150ms ease-out;
  transition: transform 150ms ease-out;
  transition: transform 150ms ease-out, -webkit-transform 150ms ease-out;
}

#colors-popup .reset-filter-link i {
  font-size: 20px;
}

#colors-popup .reset-filter-link:hover i {
  text-decoration: none;
}

/* Mobile stuff */
#colors-popup .inner .filters.mobile {
  display: none;
  gap: 8px;
}

#colors-popup .inner .filters.mobile .mobile-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#colors-popup .inner .filters.mobile .mobile-title {
  font-size: 1.8em;
  font-weight: bold;
  color: black;
}

#colors-popup .sm-colors-mobile-close {
  background: none;
  border: none;
  outline: none;

  margin: 0;
  padding: 0;
}

#colors-popup .filter-mobile {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px 16px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;

  background: var(--grey_block);
}

#colors-popup .filter-mobile.collapsed .filter-mobile_content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  -webkit-transition: 100ms ease-in;
  -o-transition: 100ms ease-in;
  transition: 100ms ease-in;
}

#colors-popup .filter-mobile.collapsed .filter-label i {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

#colors-popup .filter-mobile .filter-mobile_content {
  max-height: 100%;
  -webkit-transition: 100ms ease-out;
  -o-transition: 100ms ease-out;
  transition: 100ms ease-out;

  padding-top: 8px;
}


#colors-popup .filter-mobile .filter-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  text-decoration: none;
}

#colors-popup .filter-mobile .filter-label i {
  font-size: 10px;
}

#colors-popup .filter-mobile .filter-label:hover {
  text-decoration: none;
}

#colors-popup .filter-mobile.filter_range .filter-input-wrap.range {
  background: unset;
  border: unset;
  padding: unset;
  display: initial;
}

#colors-popup .filter-mobile.filter_range .filter-input-wrap.range [data-mobile-range-filter] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#colors-popup .filter-mobile.filter_range [data-mobile-range-filter] .range-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

#colors-popup .filter-mobile.filter_range [data-mobile-range-filter] .range-group input {
  height: unset;
  flex: unset;
  padding: unset;
  margin: unset;
}

#colors-popup .filter-mobile.filter_range [data-mobile-range-filter] .range-group label {
  margin: 0;

  width: 100%;
  font-size: 16px;
  font-weight: 500;
  color: black;
}

#colors-popup .filter_colors label {
  position: relative;
}

#colors-popup .filter_colors label i {
  position: absolute;
  top: -4px;
  right: -4px;
  opacity: 0;
  background: white;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  transition: all 75ms ease;
}

#colors-popup .filter_colors .color-item:checked ~ i {
  opacity: 1;
  transition: all 75ms ease;
}

#colors-popup .filter-mobile.filter_colors .color-item {
  display: block;

  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;

  width: 48px;
  height: 48px;

  border-radius: var(--border_radius);
  background: var(--background);

  opacity: 1;
}

#colors-popup .filter-mobile.filter_colors .filter_colors-slider {
  width: 100%;
}

#colors-popup .filter-mobile.filter_colors .filter_colors-slider .splide__arrows {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#colors-popup .filter-mobile.filter_colors .filter_colors-slider .splide__arrows .splide__arrow {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);

  border: none;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;

  height: 100%;

  padding: 0 4px;
  margin: 0;

  font-size: 20px;
  color: black;

  pointer-events: all;
}

#colors-popup .filter-mobile.filter_colors .filter_colors-slider .splide__arrows .splide__arrow:disabled {
  display: none;
}

#colors-popup .filter-mobile.filter_colors .filter_colors-slider .splide__arrows .splide__arrow--prev {
  left: 0;
  background: -webkit-gradient(linear, right top, left top, from(rgba(255, 255, 255, 0.2)), color-stop(80%, var(--grey_block)));
  background: -o-linear-gradient(right, rgba(255, 255, 255, 0.2) 0%, var(--grey_block) 80%);
  background: linear-gradient(-90deg, rgba(255, 255, 255, 0.2) 0%, var(--grey_block) 80%);
}

#colors-popup .filter-mobile.filter_colors .filter_colors-slider .splide__arrows .splide__arrow--next {
  right: 0;
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0.2)), color-stop(80%, rgba(255, 255, 255, 1)));
  background: -o-linear-gradient(left, rgba(255, 255, 255, 0.2) 0%, var(--grey_block) 80%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, var(--grey_block) 80%);
}

#colors-popup .color-preview_overlay {
  background: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;

  pointer-events: none;
  visibility: hidden;
}

#colors-popup .color-preview_overlay.active {
  visibility: visible;
  pointer-events: all;
}

#colors-popup .color-preview_mobile {
  position: fixed;
  bottom: 0;
  left: 0; 
  right: 0;
  z-index: 10;

  -webkit-transform: translateY(100%);

      -ms-transform: translateY(100%);

          transform: translateY(100%);

  background: white;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 24px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;

  -webkit-transition: all 150ms ease-in;

  -o-transition: all 150ms ease-in;

  transition: all 150ms ease-in;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#colors-popup .color-preview_mobile.active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: all 150ms ease-out;
  -o-transition: all 150ms ease-out;
  transition: all 150ms ease-out;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

#colors-popup .color-preview_mobile .color-preview_close {
  display: flex;
  align-items: start;
  justify-content: center;
  padding-top: 8px;

  font-size: 22px;
  font-weight: bold;
  color: black;

  position: absolute;
  top: -32px;
  right: 16px;

  background: white;
  border: none;
  border-radius: 24px 24px 0px 0px;

  height: 48px;
  width: 52px;
}

#colors-popup .color-preview_mobile .preview_images .preview_image-wrap {
  height: 250px;
}

#colors-popup .color-preview_mobile .preview_images .preview_image-wrap img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

#colors-popup .color-preview_mobile .preview_images .splide__pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
  gap: 4px;

  margin-top: 8px;
}

#colors-popup .color-preview_mobile .preview_images .splide__pagination button {
  background: transparent;
  border: none;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;

  padding: 0;
}

#colors-popup .color-preview_mobile .preview_images .splide__pagination .splide__pagination__page.is-active {
  color: #D7221F;
}

#colors-popup .color-preview_mobile .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

#colors-popup .color-preview_mobile .info .info_warning {
  margin-bottom: 0;
  color: #000;

  font-family: Mulish;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#colors-popup .color-preview_mobile .info .btn {
  padding: 8px;
  font-size: 16px;
  font-family: "Mulish";
  color: white;
  background: #D7221F;

  width: -webkit-fit-content;

  width: -moz-fit-content;

  width: fit-content;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

#colors-popup .color-preview_mobile .info .btn svg {
  -webkit-transition: -webkit-transform 150ms ease-in;
  transition: -webkit-transform 150ms ease-in;
  -o-transition: transform 150ms ease-in;
  transition: transform 150ms ease-in;
  transition: transform 150ms ease-in, -webkit-transform 150ms ease-in;
}

#colors-popup .color-preview_mobile .info .btn:hover svg {
  -webkit-transform: translateX(10%);
      -ms-transform: translateX(10%);
          transform: translateX(10%);
  -webkit-transition: -webkit-transform 150ms ease-out;
  transition: -webkit-transform 150ms ease-out;
  -o-transition: transform 150ms ease-out;
  transition: transform 150ms ease-out;
  transition: transform 150ms ease-out, -webkit-transform 150ms ease-out;
}


@media screen and (min-width: 992px) {
  #colors-popup .color-preview_mobile {
    display: none;
  }
}

@media (max-width: 992px) {

  #colors-popup .inner .results-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 16px;
  }

  #colors-popup .inner .results-grid .result-item {
    min-width: 0;
    width: 100%;
  }

  #colors-popup .inner .filters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  #colors-popup .sm-colors-close {
    display: none;
  }

  #colors-popup .inner .filters {
    display: none;
  }

  #colors-popup .inner .filters.mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #colors-popup .inner {
    padding: 16px 16px;
    height: 100dvh;
  }
}

@media (max-width: 768px) {
  #colors-popup .inner .sidebar {
    display: none;
  }
}

#color-zoom {
  --border_radius: 8px;

  display: flex;
  padding: unset;
  margin: unset;

  width: 100%;
  height: 100%;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 32px;

  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 150ms ease;
}

#color-zoom.active {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transition: all 150ms ease;
}

#color-zoom .color-zoom_close {
  position: absolute;
  top: -8px;
  right: -8px;

  background: white;
  border: none;
  border-radius: 50%;
  
  width: 32px;
  height: 32px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;

  color: black;
  font-size: 18px;
}

#color-zoom .inner {
  display: flex;
  flex-direction: column;
  gap: 8px;

  padding: 16px 16px;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  max-height: 800px;

  background: white;
  border-radius: 15px;

  position: relative;
  z-index: 10;
}

#color-zoom .inner .color-zoom_preview {
  height: 100%;
  border-radius: 10px;
}

#color-zoom .color-zoom_overlay {
  background: rgba(0,0,0,0.2);
  width: 100%;
  height: 100%;

  position: absolute;
  top: 0;
  left: 0;
}

#color-zoom .inner .select {
  background: #D7221F;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;

  width: fit-content;
  align-self: flex-end;
}

#color-zoom .inner .select:hover {
  opacity: 0.9;
}