/*
 Theme Name: Interico Child
 Theme URI: https://example.com/
 Description: Child theme voor Interico
 Author: Bennie-Jan Minnema :)
 Template: interico
 Version: 1.0.0
*/

/* === 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-title {
  font-size: 2.2rem;
  margin: 0 0 0.05rem; /* bijna geen ruimte onder de titel */
}

.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: wrap;
  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-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tile-filter-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #999;
}

/* Chips voor formaat */
.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-filter-chip:hover {
  border-color: #c7b8a4;
  background: #f2e6d8;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.03);
}

/* actief: donkerblauw/petrol */
.tile-filter-chip.is-active {
  background: #00404f;
  color: #fff;
  border-color: #00404f;
}

/* Select voor kleur */
.tile-filter-select {
  min-width: 180px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  background: #fff;
}

/* Grid met kaarten */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

/* Kaarten */
.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-card__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.tile-card__image img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.tile-card__body {
  padding: 1rem 1.15rem 1.25rem;
}

.tile-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.tile-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: #777;
}

.tile-card__meta--secondary {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #999;
}

.tile-card__meta-item + .tile-card__meta-item {
  margin-left: 0.4rem;
}

.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-filter-group--size {
    width: 100%;
  }
}

















/* === 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: 2fr 2.1fr 1.2fr;
  gap: 3rem;
  align-items: flex-start;
}

/* 1. FOTO + DOT-SLIDER */

.tile-single-media {
  min-width: 0;
}

/* FOTOFRAME MET VASTE VERHOUDING (1:1) */
.tile-single-image-frame {
  position: relative;
  width: 100%;
  padding-top: 100%;        /* 1:1 – maak hier 75% van voor 4:3, enz. */
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.15); /* zwevende schaduw */
  background: #e9e2d7;      /* subtiele achtergrond voor het laden */
}

/* AFBEELDING VULLT HET FRAME EN WORDT GE-CROPT */
.tile-single-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  transition: opacity 0.18s ease;
}

}

.tile-single-image.is-fading {
  opacity: 0.3;
}

/* 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: 10%;
  right: 10%;
  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.9rem;
}

.tile-image-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: none;
  background: #c7c0b4;
  cursor: pointer;
  box-shadow: 0 0 0 0 transparent;
  transition: background 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.tile-image-dot.is-active {
  background: #111;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

/* 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;
}



/* === FIX MAATVOERINGEN – volledige override === */

.tile-variant-column {
  position: relative;
  margin-left: auto;          /* kolom tegen de rechterkant van het grid */
  max-width: 260px;
  padding-left: 2.5rem;       /* ruimte tussen lijn en varianten */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* onze eigen verticale scheidingslijn */
.tile-variant-column::before {
  content: "";
  position: absolute;
  left: 1.4rem;               /* iets naar binnen, zodat tekst links kan staan */
  top: 0.2rem;
  bottom: 0.2rem;
  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;
}

/* basis heading (wordt op desktop verderop nog gedraaid) */
.tile-variant-heading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  margin: 0 0 1rem;
  text-align: left;
}

/* lijst: varianten onder elkaar, netjes verdeeld */
.tile-variant-column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 0.8rem;
  overflow: visible;
}

/* 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: #00404f;         /* petrolkleur 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: horizontale lijn + carrousel === */
@media (max-width: 800px) {

  /* FOTO → INFO → MAATVOERINGEN ONDER ELKAAR */
  .tile-single-main {
    display: block;          /* grid uitschakelen, gewoon blokken onder elkaar */
  }

  .tile-single-media,
  .tile-single-info {
    margin-top: 1.8rem;   /* speel eventueel met 1.5rem / 2rem */
  }
  .tile-variant-column {
    width: 100%;
  }
  .tile-variant-column {
    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;
  }

  /* titel op de lijn, rechts uitgelijnd */
  .tile-variant-heading {
    text-align: right;
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
  }

  /* varianten in een rij, scrollbaar */
  .tile-variant-column-list {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    gap: 1.5rem;
    padding: 0.6rem 0 0.4rem;
    margin: 0 -1rem;
    scrollbar-width: none;
  }
  .tile-variant-column-list::-webkit-scrollbar {
    display: none;
  }

  .tile-variant-card {
    padding: 0.3rem 0.45rem;
  }

  /* sliderbalkje onder de kaartjes op mobiel */
  .tile-variant-mobile-pager {
    display: block;
    position: relative;
    height: 18px;
    margin: 0.1rem 1rem 0.2rem;
  }

  .tile-variant-mobile-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #d5cdc3;
  }

  .tile-variant-mobile-knob {
    position: absolute;
    top: 50%;
    left: 0;
    width: 40px;
    height: 14px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #111;
  }
}

/* === DESKTOP: label "MAATVOERINGEN" verticaal naast de lijn === */
@media (min-width: 1024px) {
  .tile-variant-heading {
    position: absolute;
    left: 10rem;                    /* zelfde lijn-x als de border */
    top: 50%;
    transform-origin: left center;
    /* eerst naar links, dan draaien zodat hij links van de lijn komt */
    transform: translate(-110%, -50%) rotate(-90deg);
    margin: 0;
    padding: 0;

    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
}








/* === KLEUR MULTI-DROPDOWN === */

.tile-color-multiselect {
  position: relative;
  display: inline-block;
}

/* De “select” zelf */
.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-color-multiselect-label {
  white-space: nowrap;
}

.tile-color-multiselect-arrow {
  font-size: 0.7rem;
  margin-left: 0.6rem;
}

/* Panel met opties – standaard UIT */
.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);
  display: none !important;          /* <– forceer dicht */
  z-index: 25;
  max-width: 320px;
}

/* Als dropdown open is → panel tonen */
.tile-color-multiselect.is-open .tile-color-multiselect-panel {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* De kleur-“chips” */
.tile-color-option {
  border-radius: 999px;
  border: 1px solid #ddcfc0;
  background: #fdf7f0;              /* zelfde basis als formaat-chips */
  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;
}

.tile-color-option:hover {
  border-color: #c7b8a4;
  background: #f2e6d8;
}

/* actief ook donkerblauw */
.tile-color-option.is-active {
  background: #00404f;
  color: #fff;
  border-color: #00404f;
}


/* Klein beetje ruimte op mobiel */
@media (max-width: 768px) {
  .tile-color-multiselect-panel {
    max-width: 100%;
  }
}


