/*
 Theme Name: Bennie's by Art
 Theme URI: https://example.com/
 Description: Style voor de "by Art" websites in de vorm van een child theme, basis | Interico
 Author: Bennie-Jan Minnema 
 Template: interico
 Version: 2.0.8
*/

/* === Tegelcollectie – basislayout === */

.tile-collection-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3rem;  /* iets minder ruimte bovenaan de hele pagina */
}

/* Titel + intro */
.tile-collection-wrapper .tile-collection-title {
  font-size: 2.2rem;
  margin: 0 0 0.05rem; /* bijna geen ruimte onder de titel */
}

.tile-collection-wrapper .tile-collection-intro {
  max-width: 640px;
  color: #777;
  font-size: 0.95rem;
  margin: 0; /* haalt standaard p-marge weg */
}

/* Header en filter écht dicht bij elkaar */
.tile-collection-wrapper .tile-collection-header {
  margin: 0 0 0.1rem !important;
  padding-top: 0 !important;
  padding-bottom: 0.2rem !important;
}

/* Filterbalk boven de grid */
.tile-collection-wrapper .tile-filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 1.1rem !important;   /* geen extra ruimte boven de filterbalk */
  padding-top: 0 !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 1px solid #eee;
}


.tile-collection-wrapper .tile-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}


.tile-collection-wrapper .tile-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tile-collection-wrapper .tile-filter-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #999;
}

/* Chips voor formaat */
.tile-collection-wrapper .tile-filter-chip {
  border: 1px solid #ddcfc0;
  background: #fdf7f0;              /* zachtere tint */
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.tile-collection-wrapper .tile-filter-chip:hover {
  border-color: #c7b8a4;
  background: #f2e6d8;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.03);
}

/* actief: pastelroze */
.tile-collection-wrapper .tile-filter-bar .tile-filter-chip.is-active {
  background: #b9625d !important;
  color: #fff !important;
  border-color: #b9625d !important;

}

/* Select voor kleur */
.tile-collection-wrapper .tile-filter-select {
  min-width: 180px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  background: #fff;
}

/* Mobiele sluitknop voor filters */
.tile-collection-wrapper .tile-filter-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 0.35rem;
  border-radius: 10px;
  border: 1px solid #d9cbbb;
  background: #fff7ef;
  color: #3a3a3a;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tile-collection-wrapper .tile-filter-close:hover {
  background: #f2e6d8;
  border-color: #c7b8a4;
}

/* === Homepage sliders === */
/* Child-theme forceerhoogtes verwijderd zodat Interico fullwidth defaults gelden. */

#gallery-slider .portfolio-box {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 125%;
  overflow: hidden;
}

#gallery-slider .portfolio-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  #gallery-slider .portfolio-box {
    padding-top: 100%;
  }
}

/* Grid met kaarten */
.tile-collection-wrapper .tile-grid {
  display: grid;
  grid-template-columns: repeat(var(--tile-grid-columns, 4), minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .tile-collection-wrapper .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tile-collection-wrapper .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tile-collection-wrapper .tile-grid {
    grid-template-columns: 1fr;
  }
}

/* Kaarten */
.tile-collection-wrapper .tile-card,
.tile-collection-wrapper .bba-tile-card {
  background: #faf7ee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile-collection-wrapper .tile-card__link,
.tile-collection-wrapper .bba-tile-card .tile-card__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tile-collection-wrapper .tile-card:hover,
.tile-collection-wrapper .bba-tile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.tile-collection-wrapper .tile-card__image img,
.tile-collection-wrapper .bba-tile-card .tile-card__image img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.tile-collection-wrapper .tile-card__body,
.tile-collection-wrapper .bba-tile-card .tile-card__body {
  padding: 1rem 1.15rem 1.25rem;
}

.tile-collection-wrapper .tile-card__title,
.tile-collection-wrapper .bba-tile-card .tile-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.tile-collection-wrapper .tile-card__meta,
.tile-collection-wrapper .bba-tile-card .tile-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: #777;
}

.tile-collection-wrapper .tile-card__meta--secondary,
.tile-collection-wrapper .bba-tile-card .tile-card__meta--secondary {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #999;
}

.tile-collection-wrapper .tile-card__meta-item + .tile-card__meta-item,
.tile-collection-wrapper .bba-tile-card .tile-card__meta-item + .tile-card__meta-item {
  margin-left: 0.4rem;
}

.tile-collection-wrapper .tile-card__meta-separator,
.tile-collection-wrapper .bba-tile-card .tile-card__meta-separator {
  margin: 0 0.35rem;
  color: #ccc;
}

/* Responsief */
@media (max-width: 768px) {
  .tile-collection-wrapper {
    padding-top: 1.5rem;
  }

  .tile-collection-wrapper .tile-filter-bar {
    align-items: flex-start;
  }

  .tile-collection-wrapper .tile-filter-group--size {
    width: 100%;
  }
}

/* === MOBIEL FILTER FAB (zwevende knop) === */
.tile-collection-wrapper .tile-filter-fab {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: #b9625d;              /* pastelroze cirkel */
  color: #fff;
  display: none;                     /* alleen op mobiel tonen */
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  z-index: 50;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.tile-collection-wrapper .tile-filter-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  background: #c9736e;
}

.tile-collection-wrapper .tile-filter-fab-icon {
  width: 22px;
  height: 22px;
}

/* === Single tegelpagina (portfolio) === */

.tile-single-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 2.5rem 3rem 3.5rem;
}

/* HEADER */

.tile-single-header {
  margin-bottom: 0;
}

.tile-single-breadcrumb {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  margin: 0 0 0.35rem;
}

.tile-single-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.tile-single-breadcrumb a:hover {
  text-decoration: underline;
}

.tile-single-breadcrumb-sep {
  margin: 0 0.3rem;
}

.tile-single-title {
  font-size: 2.1rem;
  margin: 0 0 0.3rem;
}

.tile-single-intro {
  max-width: 620px;
  font-size: 0.95rem;
  color: #777;
  margin: 0;
}

/* GRID: FOTO – INFO – MAATVOERINGEN */

.tile-single-main {
  display: grid;
  grid-template-columns: minmax(460px, 1.7fr) 170px minmax(520px, 2.5fr);
  gap: 1.15rem;
  align-items: flex-start;
}

/* fallback setpoint: zonder varianten gebruikt info de volledige vrije breedte */
.tile-single-main.no-variants {
  grid-template-columns: minmax(460px, 1.7fr) minmax(560px, 2.8fr);
  gap: 1.35rem;
}

.tile-single-main.no-variants .tile-single-info {
  grid-column: 2;
}

/* 1. FOTO + SLIDER -------------------------------------------------- */

.tile-single-media {
  min-width: 0;
}

/* container voor pijlen + frame */
.tile-single-slider {
  position: relative;
}


/* FOTOFRAME MET VASTE VERHOUDING (1:1) */
.tile-single-image-frame {
  position: relative;
  width: 100%;
  padding-top: 100%;              /* 1:1 ratio */
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.15);
  background: #e9e2d7;
}

/* AFBEELDING – groter + mooi gecentreerd + fade */
.tile-single-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: 24px;
  transition: opacity 0.45s ease;
}


/* pijltjes links/rechts – super minimalistisch */
.tile-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.18);  /* donkere overlay */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
  opacity: 0;                         /* bijna onzichtbaar standaard */
}

.tile-single-slider:hover .tile-slider-arrow {
  opacity: 1;                         /* pas zichtbaar bij hover op foto */
}

.tile-slider-arrow--prev {
  left: 0.9rem;
}

.tile-slider-arrow--next {
  right: 0.9rem;
}

.tile-slider-arrow-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.tile-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-50%) scale(1.05);
}

/* dot-slider onder de foto ----------------------------------------- */

.tile-image-pager {
  margin-top: 1.2rem;
  position: relative;
  padding: 0.4rem 0.8rem 0.2rem;
}

.tile-image-track {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: #e1dacf;
  border-radius: 999px;
}

.tile-image-dots {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.tile-image-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #d1c7bb;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  opacity: 0.7;
}

.tile-image-dot:hover {
  opacity: 1;
}

.tile-image-dot.is-active {
  background: #b9625d;
  opacity: 1;
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(185, 98, 93, 0.25);
}

/* 2. TEGELINFORMATIE – open layout, geen kaart eromheen */

.tile-single-info {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.tile-info-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  margin: 0 0 0.5rem;
}

/* bovenste lijn onder de heading */

.tile-info-rows {
  border-top: 1px solid #eee0d0;
}

/* rijen met info */

.tile-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f2e7d9;
}

.tile-info-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b0a291;
}

.tile-info-value {
  font-size: 0.95rem;
  color: #333;
}

.tile-offer-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: #fff7ef;
  border: 1px solid #eadccc;
}

.tile-offer-section {
  margin-top: 2rem;
}

.tile-offer-heading {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.tile-offer-intro {
  margin: 0 0 1rem;
  color: #666;
  font-size: 0.95rem;
}

.tile-offer-feedback {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

.tile-offer-feedback--success {
  background: #e8f6ef;
  color: #2d6a4f;
}

.tile-offer-feedback--error {
  background: #fdecec;
  color: #a01f1f;
}

.tile-offer-form {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile-offer-field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #555;
}

.tile-offer-field--full {
  grid-column: 1 / -1;
}

.tile-offer-label {
  font-weight: 600;
  color: #777;
}

.tile-offer-input,
.tile-offer-select,
.tile-offer-textarea {
  border-radius: 12px;
  border: 1px solid #d9cbbb;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.tile-offer-quantity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 0.75rem;
  align-items: stretch;
}

.tile-offer-quantity .tile-offer-input,
.tile-offer-quantity .tile-offer-select {
  height: 100%;
  min-height: 44px;
}

.tile-offer-textarea {
  resize: vertical;
}

.tile-offer-submit {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  background: #b9625d;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  grid-column: 1 / -1;
  justify-self: flex-start;
}

.tile-offer-submit:hover {
  background: #c9736e;
  transform: translateY(-1px);
}



/* === FIX MAATVOERINGEN – volledige override === */

.tile-variant-column {
  position: relative;
  margin-left: 0;             /* strakker naast gallery */
  max-width: 170px;
  padding-left: 1.4rem;       /* compactere ruimte naast gallery */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* onze eigen verticale scheidingslijn */
.tile-variant-column::before {
  content: "";
  position: absolute;
  left: 1.02rem;              /* iets naar binnen, zodat tekst links kan staan */
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e3d9cc;
}

/* alle kleine horizontale streepjes uit het thema uitzetten */
.tile-variant-column-list::before,
.tile-variant-column-list::after,
.tile-variant-card-wrapper::before,
.tile-variant-card-wrapper::after {
  content: none !important;
}

/* lijst: varianten onder elkaar, netjes verdeeld */
.tile-variant-column-list {
  list-style: none;
  padding: 0.45rem 0.15rem 0.45rem 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.8rem;
  overflow-y: auto;
  max-height: 100%;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scrollbar-color: #b9a38a transparent;
}

.tile-variant-column-list::-webkit-scrollbar {
  width: 10px;
}

.tile-variant-column-list::-webkit-scrollbar-track {
  background: transparent;
}

.tile-variant-column-list::-webkit-scrollbar-thumb {
  background: #c4ad93;
  border-radius: 999px;
}

.tile-variant-scroll-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #d6c4b3;
  border-radius: 999px;
  background: linear-gradient(180deg, #fbf5ee 0%, #efe3d6 100%);
  color: #7f6c57;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.3rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile-variant-scroll-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.12);
}

.tile-variant-progress {
  display: none;
  position: absolute;
  left: 1.4rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e3d9cc;
}

.tile-variant-progress-dot {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b9625d;
  transform: translate(-50%, 0);
}

.tile-variant-column.has-variant-scroll {
  position: relative;
}

.tile-variant-fade {
  position: absolute;
  left: 1.4rem;
  right: 0.3rem;
  height: 42px;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.24s ease;
}

.tile-variant-fade--top {
  top: 0;
  background: linear-gradient(180deg, rgba(244, 236, 227, 0.94) 0%, rgba(244, 236, 227, 0) 100%);
}

.tile-variant-fade--bottom {
  bottom: 0;
  background: linear-gradient(0deg, rgba(244, 236, 227, 0.94) 0%, rgba(244, 236, 227, 0) 100%);
}

/* variantkaartjes: thumbnail boven, maat eronder */
.tile-variant-card {
  width: auto;
  align-self: flex-start;
  border: none;
  border-radius: 18px;
  background: transparent;
  padding: 0.35rem 0.6rem;      /* ±10px “rand” */
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
}

.tile-variant-card:hover {
  background: rgba(0, 0, 0, 0.02);
  transform: translateY(-1px);
}

.tile-variant-card.is-active {
  background: #b9625d;         /* pastelkleur highlight */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.tile-variant-card.is-active .tile-variant-size-label {
  color: #fff;
}

/* thumbnail zelf */
.tile-variant-thumb {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  background: #e5ddd2;
  margin-bottom: 0.45rem;
}

.tile-variant-thumb-inner {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* tekst onder de foto */
.tile-variant-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tile-variant-size-label {
  font-size: 0.95rem;
  color: #333;
}

/* mobiele slider standaard uit op desktop */
.tile-variant-mobile-pager {
  display: none;
}

/* === MOBIEL: tegelpagina + varianten in 3-koloms grid === */
@media (max-width: 800px) {

  /* FOTO → INFO → MAATVOERINGEN ONDER ELKAAR  */
  .tile-single-main {
    display: block;          /* desktop-grid uitzetten */
  }

  .tile-single-media,
  .tile-single-info {
    margin-top: 1.8rem;
  }

  /* kolom onder de info, over de hele breedte */
  .tile-variant-column {
    width: 100%;
    margin-top: 1.5rem;
    margin-left: 0;
    max-width: none;
    padding-left: 0;
    padding-top: 1.2rem;
  }

  /* lijn wordt horizontaal boven de kaartjes */
  .tile-variant-column::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    height: 1px;
  }

  /* mobiel: terug naar overzichtelijke 3-koloms variantgrid */
  .tile-variant-column-list {
    list-style: none;
    margin: 0;
    padding: 0.6rem 0 0.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.05rem;
    justify-items: center;
    align-items: flex-start;
    overflow: visible;
    max-height: none;
  }

  .tile-variant-scroll-btn,
  .tile-variant-progress,
  .tile-variant-fade {
    display: none;
  }

  .tile-variant-card {
    width: 100%;
    padding: 0.35rem 0.5rem;
  }

  .tile-offer-form {
    grid-template-columns: 1fr;
  }

  .tile-offer-card {
    padding: 1rem;
  }

  .tile-offer-quantity {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 0.55rem;
  }

  /* mobiele sliderbalk niet meer nodig */
  .tile-variant-mobile-pager {
    display: none;
  }
}



/* === KLEUR MULTI-DROPDOWN === */

.tile-size-multiselect {
  position: relative;
  display: inline-block;
}

.tile-size-multiselect-toggle {
  min-width: 190px;
  padding: 0.45rem 0.75rem 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #ddcfc0;
  background: #fdf7f0;
  font-size: 0.9rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.tile-size-multiselect-label {
  white-space: nowrap;
}

.tile-size-multiselect-arrow {
  font-size: 0.7rem;
  margin-left: 0.6rem;
}

.tile-size-multiselect-panel {
  position: absolute;
  left: 0;
  margin-top: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: #f6eee4;
  border-radius: 16px;
  border: 1px solid #eee0d0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 25;

  width: 100%;
  min-width: 190px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;

  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
}

.tile-size-multiselect.is-open .tile-size-multiselect-panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s;
}

.tile-size-option {
  border-radius: 999px;
  border: 1px solid #ddcfc0;
  background: #fff;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tile-size-option:hover {
  background: #f2e6d8;
  border-color: #c7b8a4;
}

.tile-size-option.is-active {
  background: #b9625d;
  border-color: #b9625d;
  color: #fff;
}

.tile-collection-wrapper .tile-color-multiselect {
  position: relative;
  display: inline-block;
}

/* De “select” zelf */
.tile-collection-wrapper .tile-color-multiselect-toggle {
  min-width: 190px;
  padding: 0.45rem 0.75rem 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #ddcfc0;
  background: #fdf7f0;
  font-size: 0.9rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.tile-collection-wrapper .tile-color-multiselect-label {
  white-space: nowrap;
}

.tile-collection-wrapper .tile-color-multiselect-arrow {
  font-size: 0.7rem;
  margin-left: 0.6rem;
}

/* Panel met opties – standaard verborgen maar wél animeerbaar */
.tile-collection-wrapper .tile-color-multiselect-panel {
  position: absolute;
  left: 0;
  margin-top: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: #f6eee4;
  border-radius: 16px;
  border: 1px solid #eee0d0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 25;

  /* zelfde breedte als de toggle */
  width: 100%;
  min-width: 190px;
  box-sizing: border-box;

  /* één kolom, alles onder elkaar */
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;

  /* animatie-basis */
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
}

/* Als dropdown open is → tonen + animeren */
.tile-collection-wrapper .tile-color-multiselect.is-open .tile-color-multiselect-panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s;
}


/* De kleur-“chips” */
.tile-collection-wrapper .tile-color-option {
  border-radius: 999px;
  border: 1px solid #ddcfc0;
  background: #fdf7f0;
  padding: 0.2rem 0.7rem;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;

  /* volle breedte + centreren */
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}


.tile-collection-wrapper .tile-color-option:hover {
  border-color: #c7b8a4;
  background: #f2e6d8;
}

/* actief ook pastel */
.tile-collection-wrapper .tile-color-option.is-active {
  background: #b9625d;
  color: #fff;
  border-color: #b9625d;

}


/* Klein beetje ruimte op mobiel */
@media (max-width: 768px) {
  .tile-collection-wrapper .tile-color-multiselect-panel {
    max-width: 100%;
  }
}

/* Oude slider-pijlen onder de foto verbergen */
.tile-single-media .flex-direction-nav,
.tile-single-media .owl-nav,
.tile-single-media .owl-prev,
.tile-single-media .owl-next {
  display: none !important;
}

/* === MOBIEL: filterbalk onder header, FAB rechts onder === */
@media (max-width: 800px) {

  /* FAB alleen op mobiel tonen */
  .tile-collection-wrapper .tile-filter-fab {
    display: flex;
  }

  /* Filterbalk vast bovenin, onder de header */
  .tile-collection-wrapper .tile-filter-bar {
    position: fixed;
    left: 0;
    right: 0;
    /* hoogte van je header ongeveer – evt. finetunen */
    top: 5.8rem;

    background: #f6eee4;
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);

    display: flex;
    flex-direction: column;
    gap: 1rem;

    border-bottom: none;

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.22s ease,
      opacity 0.22s ease;
    z-index: 40;
    max-height: none;
    overflow-y: visible;
  }

  /* Als wrapper .filters-open krijgt → balk in beeld */
  .tile-collection-wrapper.filters-open .tile-filter-bar {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Kleine "pressed" animatie voor de FAB als hij actief is */
  .tile-collection-wrapper.filters-open .tile-filter-fab {
    background: #c9736f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: scale(0.96);
  }


  .tile-collection-wrapper .tile-filter-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.55rem;
  }

  .tile-collection-wrapper .tile-filter-pills {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .tile-collection-wrapper .tile-filter-pills .tile-filter-chip {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 140px;
    text-align: center;
  }

  .tile-collection-wrapper .tile-filter-group .tile-filter-label {
    flex-basis: 100%;
    margin-bottom: 0.1rem;
  }
  /* ietsje extra ruimte boven de chips zodat ze de rand niet raken */
  .tile-collection-wrapper .tile-filter-chip {
    margin-top: 0.2rem;
  }

  /* Type: label + 3 chips netjes naast elkaar onder dat label */
  .tile-collection-wrapper .tile-filter-group--type {
    justify-content: flex-start;
  }

  .tile-collection-wrapper .tile-filter-close {
    display: inline-flex;
  }

  .tile-collection-wrapper .tile-filter-group--type .tile-filter-chip {
    margin-right: 0.4rem;
  }


  .tile-collection-wrapper .tile-filter-group .tile-color-multiselect {
    width: 100%;
  }

  .tile-collection-wrapper .tile-filter-group .tile-color-multiselect-toggle {
    width: 100%;
    justify-content: space-between;
  }
  /* Kleur-dropdown mag de volle breedte pakken */
  .tile-collection-wrapper .tile-filter-group--color {
    align-items: flex-start;
  }

  .tile-collection-wrapper .tile-color-multiselect {
    width: 100%;
  }

  .tile-collection-wrapper .tile-color-multiselect-toggle {
    width: 100%;
    justify-content: space-between;
  }

  /* Zorg dat de kleur-dropdown binnen het scherm blijft */
  .tile-collection-wrapper .tile-color-multiselect-panel {
    max-height: 260px;
    overflow-y: auto;
  }
}

/* Formaat dropdown gebruikt dezelfde styling als kleur-dropdown */
.tile-collection-wrapper .js-size-dropdown.tile-color-multiselect {
  position: relative;
  display: inline-block;
}

@media (max-width: 800px) {
  .tile-collection-wrapper .tile-filter-group--size {
    align-items: flex-start;
  }

  .tile-collection-wrapper .tile-filter-group--size .tile-color-multiselect,
  .tile-collection-wrapper .tile-filter-group--color .tile-color-multiselect {
    width: 100%;
  }

  .tile-collection-wrapper .tile-filter-group--size .tile-color-multiselect-toggle,
  .tile-collection-wrapper .tile-filter-group--color .tile-color-multiselect-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .tile-collection-wrapper .tile-filter-group--type {
    justify-content: center;
    gap: 0.55rem;
  }

  .tile-collection-wrapper .tile-filter-group--type .tile-filter-chip {
    flex: 1 1 calc(33.333% - 0.55rem);
    min-width: 0;
    text-align: center;
    margin-right: 0 !important;
  }

  .tile-collection-wrapper .tile-filter-close {
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 999px;
    font-size: 1.4rem;
    border: 1px solid #ddcfc0;
    background: #fdf7f0;
  }
}


.tile-collection-wrapper [data-filter-value].is-hidden {
  display: none !important;
}


/* === v1.2.2 hotfix: mobiel formulier, variant-label en dealprijs === */

.tile-single-wrapper .tile-offer-section,
.tile-single-wrapper .tile-offer-card,
.tile-single-wrapper .tile-offer-form {
  position: relative;
}

@media (max-width: 800px) {
  .tile-single-wrapper .tile-offer-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .tile-single-wrapper .tile-offer-field,
  .tile-single-wrapper .tile-offer-field--full {
    grid-column: 1 / -1;
  }

  .tile-single-wrapper .tile-offer-quantity {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .tile-single-wrapper .tile-offer-submit {
    width: 100%;
    justify-self: stretch;
    background: #b9625d;
    color: #fff;
  }

  .tile-single-wrapper .tile-offer-submit:hover {
    background: #c9736e;
  }

  /* swipe op galerij intact laten */
  .tile-single-wrapper .tile-single-media,
  .tile-single-wrapper .tile-single-media .slides,
  .tile-single-wrapper .tile-single-media .owl-stage-outer,
  .tile-single-wrapper .tile-single-media .flickity-viewport {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
}

/* variant-label buiten de variantkolom plaatsen */
.tile-single-wrapper .tile-variant-column {
  position: relative;
  overflow: visible;
}

/* dealprijs weergave: collectie + single */
.tile-collection-wrapper .tile-price-old,
.tile-single-wrapper .tile-price-old {
  color: #b64141;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #c75151;
  opacity: 0.9;
}

.tile-collection-wrapper .tile-price-deal,
.tile-single-wrapper .tile-price-deal {
  color: #b9625d;
  font-weight: 700;
}


/* === vervolgfixes baseline: mobiel filters + single offerte + varianten === */
@media (max-width: 800px) {
  .tile-collection-wrapper .tile-filter-close {
    margin-top: 1rem;
  }

  .tile-collection-wrapper .tile-color-multiselect-panel {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
    margin-top: 0.55rem;
    display: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .tile-collection-wrapper .tile-color-multiselect.is-open .tile-color-multiselect-panel {
    display: grid;
  }

  .tile-single-wrapper .tile-offer-field--half {
    grid-column: 1 / -1;
  }
}

@media (min-width: 801px) {
  .tile-single-wrapper .tile-offer-field--half {
    grid-column: auto;
  }
}


/* === v2.0.1 single variant scroll polish + intern series === */
.tile-single-wrapper .tile-single-main.has-variants {
  align-items: stretch;
}

.tile-single-wrapper .tile-variant-column {
  align-self: stretch;
  min-height: 0;
}

.tile-single-wrapper .tile-variant-column-list {
  overscroll-behavior: contain;
}

.tile-single-wrapper .tile-single-info .js-detail-row-static-series .tile-info-label {
  color: #9a8a78;
}


.tile-single-wrapper .tile-variant-scroll-btn,
.tile-single-wrapper .tile-variant-progress,
.tile-single-wrapper .tile-variant-progress-dot {
  display: none !important;
}


.tile-variant-fade.is-hidden {
  opacity: 0;
}

.tile-single-wrapper .tile-variant-column:not(.has-scroll-overflow) .tile-variant-fade {
  opacity: 0;
}

/* === Fullwidth shortcode button style (matches Interico header menu) === */
a.bba-button-bar {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100%;
  min-height: 70px;
  padding: 0.75rem 1rem;
  text-align: center;
  margin: 0 !important;
  border-radius: 0;
  border-bottom: 0 !important;
  background: transparent;
  color: #333 !important;
  font-size: 1.1em;
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.2;
  text-decoration: none !important;
  transition: color 0.15s ease-out;
}

a.bba-button-bar::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #7d6741;
  opacity: 0;
  transition: 0.2s ease-in-out;
}

a.bba-button-bar span {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

a.bba-button-bar:hover,
a.bba-button-bar:focus {
  color: #7d6741 !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

a.bba-button-bar:hover::after,
a.bba-button-bar:focus::after {
  left: 0;
  width: 100%;
  opacity: 1;
}

/* voorkom onderruimte van WPBakery paragraph wrapper rond de button */
.wpb_wrapper p:has(> a.bba-button-bar) {
  margin-bottom: 0;
}

/* haal standaard WPBakery bottom-margin weg op text column met deze button */
.wpb_text_column.wpb_content_element:has(a.bba-button-bar) {
  margin-bottom: 0 !important;
}