/* Beauty Company search + product cards — only on body.bf-new (?new=1) */

body.bf-new {
  --bf-purple: #871c67;
  --bf-ink: #1b1b1b;
  --bf-muted: #898989;
  --bf-line: #ebebeb;
  --bf-green: #399b35;
  --bf-sale: #5879B9;
  --bf-blush: #f5ebf3;
  --bf-orange: #e6860a;
  --bf-red: #d23b3b;
  --bf-font: "Euclid Circular B", "Poppins", var(--font-body, sans-serif);
}

body.bf-new #header-content {
  position: relative;
}

body.bf-new #header-search {
  max-width: 460px;
  position: static;
}

body.bf-new #header-search.active:before {
  top: 100%;
}

body.bf-new #header-search-input,
body.bf-new #subheader-search-input {
  height: 42px;
  border: 1px solid var(--bf-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--bf-ink);
  font-family: var(--bf-font);
  font-size: 14px;
  font-weight: 500;
  padding: 0 44px 0 18px !important;
}

body.bf-new #header-search-input::placeholder,
body.bf-new #subheader-search-input::placeholder {
  color: #a3a3a3;
  font-weight: 400;
}

body.bf-new #header-search .search-button,
body.bf-new #subheader-search .search-button {
  width: 42px;
  background: transparent !important;
  border: 0 !important;
  color: #6f6f6f;
  box-shadow: none;
}

body.bf-new #header-search .search-button i,
body.bf-new #subheader-search .search-button i {
  color: #6f6f6f;
  font-size: 16px;
}

body.bf-new .subheader-holder,
body.bf-new #subheader {
  overflow: visible !important;
}

body.bf-new #search-results,
body.bf-new #search-results.search-results-left {
  display: block !important;
  float: none !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  transform: none !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 18px 20px 16px !important;
  border-radius: 0 0 12px 12px;
  border: 1px solid #ebebeb;
  border-top: 1px solid #ebebeb;
  box-shadow: 0 16px 40px rgba(20, 16, 30, 0.12);
  background: #fff;
  z-index: 40;
}

body.bf-new #subheader-search {
  position: relative;
  overflow: visible !important;
  max-width: none;
  z-index: 30;
}

body.bf-new #subheader-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  display: block;
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  box-shadow: 0 12px 28px rgba(20, 16, 30, 0.12);
  background: #fff;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: min(70vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.bf-new #subheader-search-results.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.bf-new .bf-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0;
  width: 100%;
  align-items: start;
}

body.bf-new .bf-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  padding-right: 40px;
  border-bottom: 1px solid #ebebeb;
}

body.bf-new .bf-search__count {
  margin: 0;
  color: #000;
  font-family: var(--bf-font);
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
}

body.bf-new .bf-search__count-num {
  color: var(--bf-purple);
}

body.bf-new .bf-search__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #21363D;
  font-family: var(--bf-font);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

body.bf-new .bf-search__all i {
  color: var(--bf-purple);
}

body.bf-new .bf-search__all:hover {
  color: var(--bf-purple);
}

body.bf-new .bf-search__all--mob {
  display: none;
}

body.bf-new .bf-search__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 58px;
  row-gap: 0;
}

body.bf-new .bf-search__terms {
  padding-left: 24px;
  border-left: 1px solid #ebebeb;
  align-self: stretch;
}

body.bf-new .bf-search__terms-title {
  margin: 0 0 28px;
  color: #21363D;
  font-family: var(--bf-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

body.bf-new .bf-search__term {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: #4a4a4a;
  font-family: var(--bf-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

body.bf-new .bf-search__term:hover {
  color: var(--bf-purple);
}

body.bf-new .bf-search__term i {
  flex: 0 0 16px;
  width: 16px;
  color: #8a8a8a;
  font-size: 13px;
  text-align: center;
}

body.bf-new .bf-search__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

body.bf-new .bf-search__item:hover {
  background: #fafafa;
}

@media (min-width: 992px) {
  body.bf-new .bf-search__item {
    padding: 12px 8px;
    border-radius: 0;
    border-top: 1px solid #ebebeb;
  }

  body.bf-new .bf-search__item:nth-child(-n+2) {
    border-top: 0;
  }

  body.bf-new .bf-search__item:hover {
    border-radius: 8px;
  }

  body.bf-new .bf-search__item:hover,
  body.bf-new .bf-search__item:hover + .bf-search__item + .bf-search__item {
    border-top-color: transparent;
  }
}

body.bf-new .bf-search__thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

body.bf-new .bf-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.bf-new .bf-search__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.bf-new .bf-search__title {
  color: #282248;
  font-family: var(--bf-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

body.bf-new .bf-search__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-family: var(--bf-font);
  font-size: 13px;
  line-height: 1.3;
}

body.bf-new .bf-search__now {
  color: #871C67;
  font-size: 15px;
  font-weight: 600;
}

body.bf-new .bf-search__old {
  color: #717171;
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
}

body.bf-new .bf-search__empty {
  padding: 18px 12px 14px;
  text-align: center;
  color: var(--bf-muted);
  font-family: var(--bf-font);
  font-size: 13px;
}

@media (max-width: 991px) {
  body.bf-new #subheader-search {
    overflow: visible !important;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
  }

  body.bf-new #subheader-search:before {
    display: none;
  }

  body.bf-new #subheader-search-input {
    background: #f5ebf3 !important;
    color: #871c67 !important;
    border-color: transparent !important;
  }

  body.bf-new .bf-search {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body.bf-new .bf-search__terms {
    order: -1;
    padding: 0 0 12px;
    border-left: 0;
    border-bottom: 1px solid #ebebeb;
  }

  body.bf-new .bf-search__head {
    margin: 0;
    padding: 12px 0 8px;
    border-bottom: 0;
  }

  body.bf-new .bf-search__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  body.bf-new .bf-search__item {
    border-radius: 0;
    padding: 12px 0;
    border-top: 1px solid #ebebeb;
  }

  body.bf-new .bf-search__item:first-child {
    border-top: 0;
    padding-top: 4px;
  }

  body.bf-new .bf-search__item:hover {
    background: transparent;
  }

  body.bf-new .bf-search__all--desk {
    display: none !important;
  }

  body.bf-new .bf-search__all--mob {
    display: inline-flex;
    margin-top: 10px;
  }
}

body.bf-new .bf-card-col {
  display: flex;
}

body.bf-new .bf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--bf-line);
  border-radius: 10px;
  padding: 10px 12px 12px;
  font-family: var(--bf-font);
  color: var(--bf-ink);
  text-align: left;
}

body.bf-new .bf-card__bar {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
  padding: 4px 4px 0;
}
body.bf-new .bf-card__bar i {
	padding:7px;
  background:#fff;
  border:1px solid #F0F0F0;
  border-radius:4px;
  color:#000;
  font-weight:bold;
}
body.bf-new .bf-card__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  font-family: var(--bf-font);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
}

body.bf-new .bf-card__badge--label {
  background: var(--bf-blush);
  color: var(--bf-purple);
  font-weight: 500;
  min-height: 26px;
  padding: 0 10px;
}

body.bf-new .bf-card__badge--sale {
  position: absolute;
  left: 12px;
  top: 40px;
  z-index: 2;
  background: #5879B9;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  min-height: 28px;
  padding: 0 11px;
}
body.bf-new .bf-card__badge--sale.not-absolute {
	position:static;
}
body.bf-new .bf-card__wish {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b5b5b5;
  text-decoration: none;
  font-size: 15px;
}

body.bf-new .bf-card__wish:hover {
  color: var(--bf-purple);
}

body.bf-new .bf-card__img {
  position: relative;
  display: block;
  margin: 4px 0 12px 4px;
  aspect-ratio: 1;
}

body.bf-new .bf-card__img .bf-card__img-alt {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.bf-new .bf-card:hover .bf-card__img-alt {
  opacity: 1;
}

body.bf-new .bf-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius:4px;
}

body.bf-new .bf-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 4px;
}

body.bf-new .bf-card__brand {
  margin: 0 0 5px;
  color: var(--bf-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

body.bf-new .bf-card__title {
  color: #871C67;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.bf-new .bf-card__title:hover {
  text-decoration: underline;
}

body.bf-new .bf-card__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

body.bf-new .bf-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
  position:relative;
}
body.bf-new .bf-card__dot:before {
	content:'';
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity:.4;
}
body.bf-new .bf-card__stock--in { color: #399b35; }
body.bf-new .bf-card__stock--low { color: var(--bf-orange); }
body.bf-new .bf-card__stock--out { color: var(--bf-red); }

body.bf-new .bf-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px -16px 0;
  padding: 10px 16px 0;
  border-top: 1px solid #f0f0f0;
}

body.bf-new .bf-card__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

body.bf-new .bf-card__now {
  color: #000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

body.bf-new .bf-card__old {
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
}

body.bf-new .bf-card__cart {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--bf-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

body.bf-new .bf-card__cart i {
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

body.bf-new .bf-card__cart:hover {
  background: #2f8630;
  color: #fff;
}

body.bf-new .bf-card__cart--out {
  opacity: 0.4;
}

body.bf-new .bf-card__form {
  display: flex;
  margin: 0;
}

body.bf-new .swiper-slide .bf-card {
  margin: 0;
  height: calc(100% - 4px);
}

body.bf-new select.fancy-select.elem-input-3x {
  border-radius: 10px;
}

/* Kleur filter (163275): colour swatch between checkbox and label */
body.bf-new .custom-filter-col[data-filter-id="163275"] .filter-value label {
  position: relative;
  padding-left: 48px;
}

body.bf-new .custom-filter-col[data-filter-id="163275"] .filter-value label::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: var(--bf-swatch, #fff);
  transform: translateY(-50%);
}

body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948969"] + label { --bf-swatch: #C8102E; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948970"] + label { --bf-swatch: #E8A0BF; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948971"] + label { --bf-swatch: #E3BCA3; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948972"] + label { --bf-swatch: #7B4B35; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948973"] + label { --bf-swatch: #E8682C; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948974"] + label { --bf-swatch: #F2D64B; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948975"] + label { --bf-swatch: #6FA36B; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948976"] + label { --bf-swatch: #3C6DB4; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948977"] + label { --bf-swatch: #8C5BA8; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948978"] + label { --bf-swatch: #9A9A9A; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948979"] + label { --bf-swatch: #1B1B1B; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948980"] + label { --bf-swatch: #FFFFFF; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948981"] + label { --bf-swatch: linear-gradient(135deg, #fff 45%, #d9d9d9 50%, #fff 55%); }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948982"] + label { --bf-swatch: linear-gradient(135deg, #f8e9a6, #e0be62 55%, #cfa94f); }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948983"] + label { --bf-swatch: linear-gradient(135deg, #fafafa, #d6d6d6 55%, #bdbdbd); }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948982"] + label::after { border-color: #e3c66f; }
body.bf-new .custom-filter-col[data-filter-id="163275"] input[value="948983"] + label::after { border-color: #d4d4d4; }

/* Zoekknop terug in de zoekbalk (#header-search is position:static voor de full-width dropdown) */
@media (min-width: 992px) {
  body.bf-new #header-search {
    display: flex !important;
    align-items: center;
  }
}
body.bf-new #header-search .search-button {
  position: relative;
  right: auto;
  height: 42px;
  margin-left: -42px;
  flex: 0 0 42px;
}
body.bf-new #header-search-input {
  flex: 1 1 auto;
  min-width: 0;
}
