/** Shopify CDN: Minification failed

Line 612:0 Unexpected "}"

**/
/* ============================
   TABLET 768–1024px (iPad e.d.)
   UPDATED: Februari 2026 - ASPECT-RATIO APPROACH
   ============================ */
@media (min-width:768px) and (max-width:1024px) {

  /* === -STYLE VARIABLES TABLET === */
  :root {
    /* Grid spacing - één variabele voor gap EN zijruimte */
    --tablet-grid-gap: clamp(16px, 2.5vw, 28px);

    /* Card - breder op tablet dus minder portrait dan desktop */
    --tablet-card-aspect: 0.78;
    --tablet-card-padding: clamp(12px, 1.8vw, 20px);
    --tablet-card-radius: clamp(10px, 1.4vw, 16px);

    /* Image neemt 55% van card hoogte */
    --tablet-image-height: 55%;

    /* Fonts proportioneel */
    --tablet-title-font: clamp(13px, 1.6vw, 18px);
    --tablet-vendor-font: clamp(11px, 1.3vw, 15px);
    --tablet-stars-font: clamp(10px, 1.2vw, 14px);

    /* Spacing tussen tekst elementen */
    --tablet-text-gap: clamp(4px, 0.6vw, 8px);

    /* Button */
    --tablet-btn-size: clamp(28px, 3.5vw, 38px);
    --tablet-btn-pos: clamp(8px, 1.2vw, 14px);
  }

  /* Container - override Prestige .container margins */
  .smellish-product-grid.container{
    width: 100% !important;
    max-width: 1024px !important;
    margin: 0 auto !important;
    margin-inline: auto !important;
    padding: 0 !important;
    padding-inline: 0 !important;
    padding-bottom: 40px !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Titel + toolbar */
  .prod-overzicht .prod-title{
    text-align: center;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 600;
    margin: 14px 0 6px;
    color:#1a1a1a;
  }

  .prod-overzicht .prod-toolbar-v2{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: clamp(12px, 2vw, 20px);
    padding: 0 var(--tablet-grid-gap);
    margin: 10px 0 0;
  }
  .prod-overzicht .toolbar-left{  justify-self: start; }
  .prod-overzicht .toolbar-center{justify-self: center;}
  .prod-overzicht .toolbar-right{ justify-self: end;  }

  .prod-overzicht .prod-searchbox{ max-width: 320px; width: 100%; }
  .prod-overzicht .prod-filter-toggle{ padding: 10px 16px; border-radius: 10px; }

  .prod-overzicht .prod-gender-labels{ gap: 12px; }
  .prod-overzicht .prod-gender-labels .gender-label{
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .prod-overzicht .prod-gender-labels .gender-label.active{
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
  }

  .active-filters-wrapper,
  .active-filters-above-grid{
    justify-content: center;
    padding: 8px var(--tablet-grid-gap);
  }

  /* === GRID - 3 kolommen (881-1024px) === */
  .smellish-product-grid .grid,
  #product-grid.grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: var(--tablet-grid-gap) !important;
    width: 100% !important;
    margin: 0 auto !important;
    margin-inline: auto !important;
    padding: 0 var(--tablet-grid-gap) !important;
    padding-inline: var(--tablet-grid-gap) !important;
    box-sizing: border-box !important;
  }
  .smellish-product-grid .grid .grid__item{ min-width: 0 !important; }

  /* === PRODUCT CARD -  STYLE === */
  .product-card{
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: var(--tablet-card-aspect);
    background: #F8F6F2;
    border-radius: var(--tablet-card-radius);
    padding: var(--tablet-card-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: box-shadow .25s;
    box-sizing: border-box;
    margin: 0;
  }
  @media (hover: hover) {
    .product-card:hover{ box-shadow: 0 4px 14px rgba(0,0,0,.08); }
  }

  /* === IMAGE - PERCENTAGE VAN CARD ( ~52%) === */
  .product-image{
    width: 100%;
    height: var(--tablet-image-height);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .product-image img{
    max-height: 100%;
    max-width: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  /* === TYPOGRAPHY -  STYLE === */
  .product-title{
    margin: var(--tablet-text-gap) 0;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: var(--tablet-title-font);
    line-height: 1.3;
    color:#000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
  .product-vendor{
    margin: 0 0 var(--tablet-text-gap) 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: var(--tablet-vendor-font);
    line-height: 1.3;
    color:#666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  /* === STARS - STYLE === */
  .jdgm-widget.jdgm-preview-badge{
    display:flex;
    justify-content:center;
    margin: 0;
  }
  .jdgm-prev-badge__stars{
    font-size: var(--tablet-stars-font) !important;
    gap: 1px;
  }
  .jdgm-star{
    font-size: var(--tablet-stars-font) !important;
    color:#9E7A4D !important;
  }

  /* === PLUS BUTTON - STYLE === */
  .product-card-add{
    position:absolute;
    top: var(--tablet-btn-pos);
    right: var(--tablet-btn-pos);
    z-index:10;
  }
  .add-to-calendar{
    width: var(--tablet-btn-size);
    height: var(--tablet-btn-size);
    border-radius: 50%;
    background:#9E7A4D;
    color:#fff;
    border:0;
    font-size: clamp(16px, 2vw, 20px);
    font-weight:600;
    box-shadow:0 2px 6px rgba(0,0,0,.15);
    transition: transform .2s ease, background .2s ease;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  @media (hover: hover) {
    .add-to-calendar:hover {
      background: var(--sm-btn-bg-hover, #FFFDFB);
      color: var(--sm-btn-text-hover, #111111);
      transform: scale(var(--sm-scale-subtle, 1.02));
      box-shadow: var(--sm-btn-shadow-hover, 0 12px 32px rgba(17, 17, 17, 0.35));
    }
  }
  .add-to-calendar:active {
    transform: scale(0.97);
  }

  /* Succes animatie */
  @keyframes addToCalendarSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
  }
  @keyframes addToCalendarPulse {
    0% { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(158, 122, 77, 0.3); }
    100% { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
  }
  .add-to-calendar.adding {
    animation: addToCalendarSpin 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               addToCalendarPulse 0.5s ease-out forwards;
    pointer-events: none;
  }
  .add-to-calendar.added {
    background-color: #2E7D32;
    pointer-events: none;
    font-size: 0;
    position: relative;
  }
  .add-to-calendar.added::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 700;
    color: #fff;
  }
}
/* === Actieve filters (chips/tags) === */
.active-filters-wrapper,
.active-filters-above-grid,
.active-filters,
.active-filters-inline-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.active-filters-wrapper,
.active-filters-above-grid {
  justify-content: center;
  margin: 10px 0;
}
.active-filters-inline-row {
  justify-content: flex-start;
  padding: 12px 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.active-filter-tags {
  margin-top: 6px;
}
#active-filters-above .filter-tag,
.filter-tag,
.prod-overzicht .active-filters > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  background: #f5f5f5;
  color: #1a1a1a;
  cursor: pointer;
  text-decoration: none;
  gap: 8px;
  border: none;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  line-height: 1;
}
@media (hover: hover) {
  .filter-tag:hover,
  #active-filters-above .filter-tag:hover {
    background: #e0e0e0;
    color: var(--sm-secondary, #9E7A4D);
  }
  .filter-tag:hover .tag-remove,
  #active-filters-above .filter-tag:hover .tag-remove {
    color: var(--sm-secondary, #9E7A4D);
  }
}
.filter-tag .tag-remove,
#active-filters-above .filter-tag .tag-remove {
  font-size: 13px;
  font-weight: 400;
  color: #1a1a1a;
  margin-left: 6px;
  transition: color 0.2s;
}
.filter-tag:focus {
   outline: 2px solid var(--sm-secondary, #9E7A4D);
   outline-offset: 2px;
}
/* Wis alle filters knop */
.clear-filters,
.clear-filters-button,
.clear-filters-toolbar {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 12px;
  margin: 12px 0 18px 0;
  transition: background 0.2s, color 0.2s;
}
@media (hover: hover) {
  .clear-filters:hover,
  .clear-filters-button:hover,
  .clear-filters-toolbar:hover {
    background: #f0f0f0;
    color: var(--sm-secondary, #9E7A4D);
  }
}
.clear-filters .filter-x,
.clear-filters-button .filter-x,
.clear-filters-toolbar .filter-x {
  font-size: 16px;
  font-weight: bold;
  margin-right: 6px;
  color: inherit;
  line-height: 1;
}

/* === Filter Panel === */
.filter-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 660px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 6px rgba(0,0,0,0.1);
  z-index: 10000;
  display: none;
  flex-direction: column;
  padding-top: 74px;
  overflow: hidden;
  box-sizing: border-box;
}
.filter-panel.open {
  display: flex;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 20px;
  padding-left: 70px;
  font-size: 32px;
  align-items: center;
}
.filter-title {
  font-size: 22px;
  font-weight: 700;
}
#close-filter-panel {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  padding: 0 70px 0 0;
  line-height: 1;
}
.filter-content {
  flex: 1;
  overflow-y: auto;
}
.filter-inner {
  padding: 0 20px 100px 20px;
  max-width: 560px;
  margin: 0 auto;
  align-items: center;
}
.filter-content label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.6;
  margin: 16px 0 14px 26px;
  cursor: pointer;
}
.filter-content input[type="checkbox"] {
  transform: scale(1.15);
  accent-color: #1a1a1a;
  cursor: pointer;
}
#apply-filters {
  position: sticky;
  bottom: 0;
  width: calc(100% - 48px);
  margin: 24px auto 16px;
  padding: 14px;
  font-weight: bold;
  font-size: 15px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}
@media (hover: hover) {
  #apply-filters:hover {
    background: var(--sm-btn-bg-hover, #FFFDFB);
    color: var(--sm-btn-text-hover, #111111);
    transform: translateY(-2px) scale(var(--sm-scale-subtle, 1.02));
    box-shadow: var(--sm-btn-shadow-hover, 0 12px 32px rgba(17, 17, 17, 0.35));
  }
}
#apply-filters:active {
  transform: scale(0.97);
}
.filter-toggle {
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
@media (hover: hover) {
  .filter-toggle:hover {
    background: #f8f8f8;
  }
}
.hidden {
  display: none;
}

/* <details> en <summary> styling */
details summary {
  padding: 48px 16px;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  transition: background 0.2s;
  cursor: pointer;
}
@media (hover: hover) {
  details summary:hover {
    background: #f9f9f9;
  }
}
details[open] summary {
  border-bottom: 1px solid #eee;
}
.filter-inner details:nth-of-type(4) {
  border-bottom: 1px solid #eee;
}
details[open] summary::after {
  content: "▲";
  font-size: 12px;
  margin-left: auto;
}
details summary::after {
  content: "▼";
  font-size: 12px;
  margin-left: auto;
}
details {
  margin-bottom: 0;
  padding: 0;
  border: none;
}

/* Filter zoekbalk boven filteropties */
.filter-search-wrapper {
  position: relative;
  width: 100%;
  height: 48px;
}
.filter-search {
  width: 100%;
  padding: 10px 10px 10px 38px;
  font-size: 15px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="11" cy="11" r="8"/%3E%3Cline x1="21" y1="21" x2="16.65" y2="16.65"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 18px;
}
.filter-clear-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}
.filter-labels-wrapper {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Filter badge (aantal geselecteerd) */
.filter-badge {
  background: #dd3d56;
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 600;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

/* Overlay */
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  z-index: 90;
  display: none;
}
.filter-panel.open + .filter-overlay {
  display: block;
}

/* Extra details */
#active-filters-above .filter-tag {
  cursor: pointer;
  transition: background 0.2s;
}
#active-filters-above .filter-tag .tag-remove {
  pointer-events: none;
}
.active-filters-inline {
  padding: 10px 0;
  gap: 6px;
  display: flex;
  flex-wrap: wrap;
}
#filter-count.prod-overzicht-result-count {
  display: none !important;
}
.filter-apply-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 16px 0;
  text-align: center;
  z-index: 20;
  border-top: 1px solid #eee;
}
.apply-filters-sticky {
  display: inline-block;
  min-width: 240px;
  font-size: 16px;
}
}

/* === 2 kolommen voor smallere tablets (768-880px) === */
@media (min-width:768px) and (max-width:880px) {
  .smellish-product-grid .grid,
  #product-grid.grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
  .product-card,
  #product-grid.grid .product-card {
    aspect-ratio: 0.82 !important;
  }
}

/* === Final overrides: Prestige theme specificity fix === */
@media (min-width:768px) and (max-width:1024px) {
  /* Override Prestige .container logical margins */
  section.smellish-product-grid.container {
    width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  /* Override Prestige .product-card display:grid */
  .smellish-product-grid .product-card,
  #product-grid.grid .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    aspect-ratio: var(--tablet-card-aspect) !important;
    max-width: none !important;
    padding: var(--tablet-card-padding) !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  #product-grid.grid .product-image {
    height: var(--tablet-image-height) !important;
  }

  #product-grid.grid .product-image img {
    width: auto !important;
    height: auto !important;
    max-width: 95%;
    max-height: 100%;
  }
}
