/* ================================
   Kategori-template-titel
   ================================ */

/* Stor, centreret titel med billede som "fill" i bogstaverne */
.post-type-archive-product .vin-archive-title{
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 1;
text-transform: uppercase;
  letter-spacing: -0.05em;
  font-weight: 800;
  background-image: url("https://wineservice.dk/wp-content/uploads/2026/03/En-smuk-vinmark.webp");
  background-size: 50% auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
}



/* ====== CARD ====== */
.post-type-archive-product .champ-card{
  position:relative;
  cursor: pointer;
  background:#D1D4BC;
  border:1px solid #9EA48B;
  border-radius:25px;
  padding:20px;
  box-sizing:border-box;
  width:100%;
  aspect-ratio:1 / 1;
  overflow:visible;
  display:grid;
  grid-template-rows:1fr auto;
  gap:15px;
  font-family:"Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  z-index:2;
}

.post-type-archive-product .champ-top{
  display:flex;
  gap:20px;
  min-height:0;
}

.post-type-archive-product .champ-image{
  position:relative;
  display:flex;
  align-items:flex-end;
}

.post-type-archive-product .champ-image > img{
    height:var(--wine-img-height, 100%);
  width:auto;
  max-width:100%;
  display:block;
  object-fit:contain;
  flex-shrink:0;
  z-index:1;
  transition:transform .25s ease;
}

.post-type-archive-product .champ-card:hover .champ-image > img{
  transform:translateY(-8px);
}

.post-type-archive-product .champ-image::after{
  content:"";
  position:absolute;
  bottom:-5px;
  left:50%;
  transform:translateX(-50%);
  width:90%;
  height:16px;
  background:rgba(0,0,0,.4);
  filter:blur(5px);
  border-radius:50%;
  z-index:0;
  transition:transform .25s ease, filter .25s ease, opacity .25s ease;
}

.post-type-archive-product .champ-card:hover .champ-image::after{
  transform:translateX(-50%) scale(1.05, 1.1);
  background:rgba(0,0,0,.45);
}

.post-type-archive-product .champ-card-content{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
}

.post-type-archive-product .champ-title{
      font-family: "Fraunces", serif;
  font-style: italic;
  font-optical-sizing: none;
  font-size:22px;
  color:#2C241E;
  line-height:1.2;
  letter-spacing:-0.03em;
  font-weight:400;
  margin:0;
  padding-bottom:10px;
  
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}

.post-type-archive-product .champ-title a{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  text-overflow:ellipsis;
  color:inherit;
  text-decoration:none;
}

.post-type-archive-product .champ-desc-wrap{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding-bottom:20px;
}

.post-type-archive-product .champ-desc{
  font-size:14px;
  color:#5A5C51;
  line-height:1.5;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}

.post-type-archive-product .champ-read-more{
  align-self:flex-start;
  padding:0;
  border:0;
  background:none;
  font-size:14px;
  line-height:1;
  font-weight:600;
  color:#5A644A;
  cursor:pointer;
  text-decoration:none;
}

.post-type-archive-product .champ-read-more:hover{
  text-decoration:underline;
  background:none;
  color:#5A644A;
}

.post-type-archive-product .champ-origin{
  display:flex;
  align-items:center;
  gap:6px;
}

.post-type-archive-product .champ-origin img{
  width:18px;
  height:auto;
  border-radius:2px;
  flex-shrink:0;
  margin:0;
}

.post-type-archive-product .champ-origin-text{
  font-weight:400;
  color:#2C241E;
  font-size:14px;
  line-height:1;
}

.post-type-archive-product .champ-bottom{
  display:flex;
  flex-direction:column;
  margin:0;
}

.post-type-archive-product .champ-price-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.post-type-archive-product .champ-price-now{
  font-size:20px;
  font-weight:700;
  line-height:1;
  letter-spacing:-0.03em;
  color:#2C241E;
  font-style:italic;
}

.post-type-archive-product .champ-price-before{
  font-size:20px;
  font-weight:400;
  line-height:1;
  color:#5A5C51;
  letter-spacing:-0.03em;
  text-decoration:line-through;
  text-decoration-thickness:1px;
}

.post-type-archive-product .champ-discount-badge{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  font-size:14px;
  font-weight:700;
  line-height:1;
  border-radius:999px;
  background:#c96148;
  color:#FFF;
  text-transform:uppercase;
  letter-spacing:-0.03em;
  overflow:hidden;
}

.post-type-archive-product .champ-mix-note{
  margin:0;
  font-size:14px;
  font-weight:400;
  color:#2C241E;
  font-style:italic;
  padding-bottom:15px;
}

.post-type-archive-product .champ-qty-cta{
  display:flex;
  align-items:stretch;
  gap:10px;
  flex-wrap:nowrap;
}

.post-type-archive-product .champ-qty-badge{
  display:inline-grid;
  grid-auto-flow:column;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  background:#FFF;
  border:none;
  border-radius:50px;
  font-weight:600;
  line-height:1;
  color:#2C241E;
  user-select:none;
}

.post-type-archive-product .champ-qty-btn{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  background:transparent;
  border:none;
  cursor:pointer;
  font-size:16px;
  color:#2C241E;
  border-radius:8px;
}

.post-type-archive-product .champ-qty-btn:focus-visible{
  outline:2px solid #B23945;
  outline-offset:2px;
}

.post-type-archive-product .champ-qty-value{
  line-height:1;
  text-align:center;
  font-variant-numeric:tabular-nums;
  font-size:16px;
}

.post-type-archive-product input.champ-qty-value{
  width: 36px;
  min-width: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  text-align: center;
  font: inherit;
  color: inherit;
  appearance: textfield;
  -moz-appearance: textfield;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  position: relative;
  z-index: 2;
  cursor: text;
}

.post-type-archive-product input.champ-qty-value::-webkit-outer-spin-button,
.post-type-archive-product input.champ-qty-value::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}


/* safety: ingen WP button-styles på +/- */
.post-type-archive-product .champ-qty-badge .champ-qty-btn,
.post-type-archive-product .champ-qty-badge .champ-qty-btn:focus,
.post-type-archive-product .champ-qty-badge .champ-qty-btn:active,
.post-type-archive-product .champ-qty-badge .champ-qty-btn:hover,
.post-type-archive-product .champ-qty-badge .champ-qty-btn:focus-visible{
  background:transparent !important;
  box-shadow:none !important;
  color:#2C241E;
}

.post-type-archive-product .champ-btn-add{
  flex:1 1 auto;
  width:auto;
  padding:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#5A644A;
  color:#fff;
  font-family:"Fraunces", serif !important;
  font-style:italic;
  font-optical-sizing:none;
  font-weight:400;
  font-size:20px;
  letter-spacing:-0.03em;
  line-height:1;
  border:0;
  border-radius:50px;
  cursor:pointer;
}

.post-type-archive-product .champ-btn-add:hover{
  background:#5A644A !important;
}

/* BADGES */
.post-type-archive-product .champ-badges{
  position:absolute;
  top:20px;
  left:0;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  gap:5px;
  z-index:2;
  pointer-events:none;
}

.post-type-archive-product .champ-badge-circle{
  width:45px;
  height:45px;
  border-radius:50%;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:9px;
  line-height:1.1;
  letter-spacing:.2px;
  text-align:center;
  color:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.18);
  padding:6px;
  pointer-events:auto;
  user-select:none;
  white-space:normal;
  position:relative;
  overflow:hidden;
}
.post-type-archive-product .champ-badge-circle .champ-badge-line{ display:block; }

.post-type-archive-product .champ-badge-red{
  background:#BA1628;
  box-shadow:
    0 8px 18px rgba(146,14,44,.35),
    inset 0 8px 14px rgba(255,255,255,.09),
    inset 0 -10px 18px rgba(0,0,0,.25);
}
.post-type-archive-product .champ-badge-red::after{
  content:"";
  position:absolute;
  inset:1px;
  border:1px dotted rgba(255,255,255,.95);
  border-radius:50%;
  pointer-events:none;
}
.post-type-archive-product .champ-badge-red::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(90px 50px at 50% 5%, rgba(255,255,255,.25), transparent 60%);
  pointer-events:none;
}

.post-type-archive-product .champ-badge-silver{
  background:
    linear-gradient(135deg,
      #fbfbfb 0%, #e7e7e7 12%, #cfcfcf 22%, #f3f3f3 34%,
      #bdbdbd 48%, #f7f7f7 62%, #b1b1b1 78%, #ffffff 100%),
    repeating-linear-gradient(-45deg,
      rgba(255,255,255,.0) 0 6px,
      rgba(0,0,0,.05) 6px 12px);
  background-blend-mode:overlay;
  color:#252525;
  border:1px solid rgba(255,255,255,.7);
  box-shadow:
    0 10px 20px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(0,0,0,.18),
    inset 0 12px 22px rgba(255,255,255,.25),
    inset 0 -14px 22px rgba(0,0,0,.14);
}
.post-type-archive-product .champ-badge-silver::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,.55) 0%,
      rgba(255,255,255,.18) 22%,
      rgba(255,255,255,0) 50%,
      rgba(255,255,255,.12) 72%,
      rgba(255,255,255,0) 100%);
  mix-blend-mode:screen;
  pointer-events:none;
}




.post-type-archive-product .cc-infinite-status{
  min-height: 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:24px;
  font-size:14px;
  color:#8a8075;
  line-height:1.4;
}

.post-type-archive-product .cc-infinite-status.is-loading{
  opacity:1;
}

.post-type-archive-product .cc-infinite-sentinel{
  width:100%;
  height:1px;
}

/* =========================================
   VIN ARCHIVE LAYOUT (Filters left / Grid right)
   ========================================= */

.post-type-archive-product .cc-vin-archive{
  position: relative;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}


.post-type-archive-product .cc-open{
  display:none;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #EAE1D7;
  background: #FFFBF6;
  color: #2C241E;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  cursor:pointer;
}



/* Sidebar */
.post-type-archive-product .cc-vin-sidebar{
  position: sticky;
  top: 110px;
  align-self:start;
  background:#FFFBF6;
  border:1px solid #EAE1D7;
  border-radius: 25px;
  padding: 14px;
  overflow: visible;
}





.post-type-archive-product .cc-close{
  display:none; /* kun mobil */

}

/* Accordion */
.post-type-archive-product .cc-acc{
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 6px 0;
}

.post-type-archive-product .cc-acc:last-child{
  border-bottom: 0;
}

.post-type-archive-product .cc-acc-summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 6px;
}

.post-type-archive-product .cc-acc-summary::-webkit-details-marker{ display:none; }

.post-type-archive-product .cc-acc-title{
  font-size: 16px;
  font-weight: 500;
  color:#2C241E;
  letter-spacing:-0.02em;
}

.post-type-archive-product .cc-acc-right{
  display:flex;
  align-items:center;
  gap:8px;
}

.post-type-archive-product .cc-acc-count{
  font-size: 14px;
  font-weight: 400;
  color:#8a8075;
}

.post-type-archive-product .cc-acc-chev{
  display:flex;
  transition: transform .2s ease;
}

.post-type-archive-product .cc-acc[open] .cc-acc-chev{
  transform: rotate(180deg);
}

.post-type-archive-product .cc-acc-body{
  padding: 0 6px 12px;
}

.post-type-archive-product .cc-acc-search{
  padding: 6px 0 10px;
}

.post-type-archive-product .cc-acc-search-input{
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #EAE1D7;
  background:#fff;
  font-size: 14px;
  color:#2C241E;
  outline: none;
}

.post-type-archive-product .cc-acc-search-input:focus{
  border-color:#5A644A;
  box-shadow: 0 0 0 3px rgba(90,100,74,0.18);
}

/* Options list */
.post-type-archive-product .cc-acc-options{
  max-height: 260px;
  overflow:auto;
  padding-right: 4px;
}

.post-type-archive-product .cc-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 10px;
  border-radius: 14px;
  cursor:pointer;
  user-select:none;
}

.post-type-archive-product .cc-opt:hover{
  background: rgba(90,100,74,0.08);
}

.post-type-archive-product .cc-opt input[type="checkbox"],
.post-type-archive-product .cc-opt input[type="radio"]{
  width:16px;
  height:16px;
  accent-color:#5A644A;
  cursor:pointer;
    flex-shrink: 0;

}

.post-type-archive-product .cc-opt-label{
  font-size: 14px;
  color:#2C241E;
  letter-spacing:-0.02em;
}

/* Loading state på gridwrap */
.post-type-archive-product [data-cc-grid-wrap="1"].is-loading{
  opacity:.55;
  pointer-events:none;
  position:relative;
}

.post-type-archive-product [data-cc-grid-wrap="1"].is-loading::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 18px;
}

/* MOBILE OFFCANVAS FILTERS */
.post-type-archive-product .cc-overlay{
  display:none;
}





/* Link der dækker hele kortet */
.post-type-archive-product .champ-card-link{
  position: absolute;
  inset: 0;
  border-radius: 25px;
  z-index: 1;
  display: block;
}

/* Fjern browserens sorte focus-outline på det usynlige link */
.post-type-archive-product .champ-card-link:focus,
.post-type-archive-product .champ-card-link:focus-visible{
  outline: none;
  box-shadow: none;
}

.post-type-archive-product .champ-top,
.post-type-archive-product .champ-card-content,
.post-type-archive-product .champ-desc-wrap,
.post-type-archive-product .champ-origin,
.post-type-archive-product .champ-image,
.post-type-archive-product .cc-price-box{
  pointer-events: none;
}

/* --- Men CTA + rigtige links skal stadig virke --- */
.post-type-archive-product .champ-title a,
.post-type-archive-product .champ-read-more,
.post-type-archive-product .champ-qty-cta,
.post-type-archive-product .champ-qty-cta *,
.post-type-archive-product .champ-badges,
.post-type-archive-product .champ-badges *,
.post-type-archive-product .product-topright-badge,
.post-type-archive-product .product-topright-badge *{
  pointer-events: auto;
  position: relative;
  z-index: 2;
}



/* ===== TOPBAR (Filtre | Viser x/total + Sortér) ===== */
.post-type-archive-product .cc-vin-layout{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items:start;
    position: relative;
  z-index: 2;
}

.post-type-archive-product .cc-topbar{
  grid-column: 1 / -1;
  display:grid;
  grid-template-columns: 320px 1fr;
  column-gap: 40px;
  align-items:end;


}

.post-type-archive-product .cc-topbar-left{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  gap:20px;
  border-bottom: 1px solid rgba(90, 100, 74, 0.2);
  padding-bottom: 10px;
}


.post-type-archive-product .cc-favorites-link{
  display:inline-flex;
  align-items:center;
  gap:0;
  padding:14px 18px;
  border: 1px solid #EAE1D7;
  border-radius:999px;
  background:#FFFBF6;
  color:#2C241E;
  text-decoration:none;
      font-family: "Fraunces", serif;
  font-style: italic;
  font-optical-sizing: none;
  font-weight:300;
  font-size:18px;
  line-height:1;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease,
    color .25s ease;
}

.post-type-archive-product .cc-favorites-link:hover{


  text-decoration:none;
}

.post-type-archive-product .cc-favorites-link__icon{
  display:none;
}

.post-type-archive-product .cc-favorites-link__label{
  display:inline;
}

.post-type-archive-product .cc-favorites-link__count-wrap{
  display:inline;
  min-width:auto;
  height:auto;
  padding:0;
  margin:0 0 0 5px;
  border:none;
  border-radius:0;
  background:transparent;
  color:inherit;
  font-family:inherit;
  font-size:inherit;
  font-style:inherit;
  font-weight:inherit;
  line-height:inherit;
}

.post-type-archive-product .cc-favorites-link:focus,
.post-type-archive-product .cc-favorites-link:focus-visible{
  outline:none;
}




.post-type-archive-product .cc-topbar-title{
  font-family:"Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color:#2C241E;
}

.post-type-archive-product .cc-topbar-right{
  display:flex;
  align-items: flex-end;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(90, 100, 74, 0.2);
    padding-bottom: 10px;
}

.post-type-archive-product .cc-results{
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color:#8a8075;
  line-height: 1;
}



.post-type-archive-product .cc-clear--sidebar{ display:none; }

/* Mobil bar inde i sidebar (offcanvas) */
.post-type-archive-product .cc-sidebar-mobilebar{
  display:none;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 6px 2px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  margin-bottom: 10px;
}



.post-type-archive-product .cc-price-filter{
  padding: 10px 6px 10px;

}



.post-type-archive-product .cc-price-values{
  font-size: 14px;
  font-weight: 400;
  color:#8a8075;
  letter-spacing:-0.02em;
  margin-bottom: 5px;
}








/* VIGTIGT: ingen padding på selve slideren (den er noUi-target) */
.post-type-archive-product .cc-price-slider{
  padding: 0 !important;
  margin: 10px 2px; /* luft omkring track */
}

/* Track (target) */
.post-type-archive-product .cc-price-slider.noUi-target{
  border: 0;
  border-radius: 999px;
  background: #EAE1D7;
  box-shadow: none;
  height: 10px; /* tykkere track */
}

/* VIGTIGT: noUiSlider layout — base/origin skal matche track-højden */
.post-type-archive-product .cc-price-slider.noUi-target .noUi-base{
  height: 100%;
}

.post-type-archive-product .cc-price-slider.noUi-target .noUi-origin{
  top: 0 !important;
  height: 100% !important;
}

/* Sørg for at “connect” fylder hele højden + rundes pænt */
.post-type-archive-product .cc-price-slider.noUi-target .noUi-connects,
.post-type-archive-product .cc-price-slider.noUi-target .noUi-connect{
  height: 100% !important;
  border-radius: 999px;
}

/* Den grønne streg */
.post-type-archive-product .cc-price-slider.noUi-target .noUi-connect{
  background: #5A644A !important;
}

/* Handles: centreret vertikalt ift track + lidt tykkere border */
.post-type-archive-product .cc-price-slider.noUi-target .noUi-handle{
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;

  border: 2px solid #9EA48B;

  top: 50% !important;
  transform: translateY(-50%) !important;

  right: -10px; /* halvdelen af width */
  margin: 0 !important;
}

.post-type-archive-product .cc-price-slider.noUi-target .noUi-handle:before,
.post-type-archive-product .cc-price-slider.noUi-target .noUi-handle:after{
  display: none !important;
}



















/* chip button */
.post-type-archive-product .cc-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: #5A644A;
  border: none;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
      font-family:"Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  line-height: 1;
  cursor: pointer;
}

.post-type-archive-product .cc-chip:hover{
  background: #5A644A;
}

.post-type-archive-product .cc-chip:focus-visible{
  outline: 2px solid #5A644A;
  outline-offset: 2px;
}

.post-type-archive-product .cc-chip-x{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 0;
  line-height: 0;
  flex: 0 0 22px;
  opacity: 1;               /* vigtig hvis noget oppe i DOM har opacity */
  mix-blend-mode: normal;   /* safety */
}

.post-type-archive-product .cc-chip-x::before,
.post-type-archive-product .cc-chip-x::after{
  content: "";
  position: absolute;
  width: 12px;
  height: 3px;              /* tegnes som 2px… */
  background: #ffffff;      /* helt hvid */
  border-radius: 999px;
  opacity: 1;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform;
}

/* …men skaleres ned, så det VISUELT bliver 1px */
.post-type-archive-product .cc-chip-x::before{
  transform: rotate(45deg) scaleY(0.5) translateZ(0);
}

.post-type-archive-product .cc-chip-x::after{
  transform: rotate(-45deg) scaleY(0.5) translateZ(0);
}




.post-type-archive-product .cc-clear--active{
  margin-left: 0;
  white-space: nowrap;
  padding:0;
  border: none;
  background:transparent;
  color:#c96148;
  font-weight:500;
  font-size: 16px;
  line-height:1;
  cursor:pointer;
  text-decoration: underline;
        font-family:"Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    
}






/* Active filters: title + chips + nulstil skal ligge samlet (ikke helt til højre) */
.post-type-archive-product .cc-active-main{
   display: none;
  align-items: center;
  justify-content: flex-start;   
  gap: 10px;
  flex-wrap: wrap;             
  margin: 0 0 45px;
}

.post-type-archive-product .cc-active-main.is-visible{
  display: flex;
}

.post-type-archive-product .cc-active-title{
  font-size:16px;
  color:#2C241E;
  font-weight:400;
  letter-spacing:-0.01em;
    font-family:"Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}


.post-type-archive-product .cc-active-main-left{
  flex: 0 0 auto;
}

.post-type-archive-product .cc-active-main-right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;               /* <- ikke stræk til højre */
  flex-wrap: wrap;
}



/* container for chips */
.post-type-archive-product .cc-activefilters{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start; 
}


/* ===== Sortér: samme chevron som accordion + roterer kun når dropdown er "åben" ===== */


.post-type-archive-product .cc-sort{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
    position: relative;

}

.post-type-archive-product .cc-sort-label{
  font-size:16px;
  color:#2C241E;
  font-weight:400;
  letter-spacing:-0.02em;
}

.post-type-archive-product .cc-sort-select:focus,
.post-type-archive-product .cc-sort-select:focus-visible{
  outline: none !important;
  box-shadow: none; /* reset først */
}

/* Din samme chevron (samme path/farve) */
.post-type-archive-product .cc-sort::after{
  content:"";
  position:absolute;
  right:16px;
  top:50%;
  width:12px;
  height:7px;
  transform: translateY(-50%);
  background-repeat:no-repeat;
  background-size:12px 7px;
  pointer-events:none;
  transition: transform .2s ease;

  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%227%22%20viewBox%3D%220%200%2012%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M11.5572%200.739574C11.3433%200.524146%2010.996%200.524146%2010.7821%200.739574L5.88862%205.66835L0.994339%200.739574C0.780445%200.524146%200.433153%200.524146%200.219259%200.739574C0.00536537%200.955002%200.00536537%201.30478%200.219259%201.52021L5.45461%206.79283C5.6685%207.00826%206.01579%207.00826%206.22968%206.79283L11.5572%201.52021C11.7711%201.30478%2011.7711%200.955002%2011.5572%200.739574Z%22%20fill%3D%22%232C241E%22/%3E%3C/svg%3E");
}



/* Skjul native select (vi bruger den kun som "datakilde") */
.post-type-archive-product .cc-sort-select{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* Custom dropdown container */
.post-type-archive-product .cc-sort-dd{
  position:relative;
}

/* summary ligner dit pill-input */
.post-type-archive-product .cc-sort-summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  padding: 6px 40px 6px 15px;
  border: 1px solid #9EA48B;
  border-radius: 999px;
  background: transparent;

  color:#2C241E;
  font-weight:500;
  font-size:16px;
  letter-spacing:-0.02em;
  line-height:1.4;
}

.post-type-archive-product .cc-sort-summary::-webkit-details-marker{ display:none; }



/* Dropdown panel */
.post-type-archive-product .cc-sort-panel{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width: 200px;
  background:#FFFBF6;
  border:1px solid #EAE1D7;
  border-radius: 20px;
  padding: 8px;
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

/* Genbrug filter-option look */
.post-type-archive-product .cc-sort-opt{
  width:100%;
  text-align:left;
  border:0;
  background:transparent;
}

/* Aktiv sort */
.post-type-archive-product .cc-sort-opt[aria-pressed="true"]{
  background: #5A644A;
  color:#fff;
}


.post-type-archive-product .cc-sort-opt[aria-pressed="true"] .cc-opt-label{
  color:#fff;
}





.post-type-archive-product .cc-no-results{
  margin: 0;
  padding: 14px 16px;
  background: rgba(201, 97, 72, 0.10);
  border: 1px solid rgba(201, 97, 72, 0.22);
  border-radius: 16px;

  color: #2C241E;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
}


/* =========================
   CATEGORIES (VIN) – scoped
   ========================= */

/* ====== GRID WRAPPER ====== */
.post-type-archive-product .vin-grid{
  display:grid;
  column-gap: 20px;
  row-gap: 40px;
  align-items:stretch;
}

.post-type-archive-product .vin-grid--cols-3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }




@media (max-width:1520px){
    
    
    

.post-type-archive-product .cc-topbar{
  grid-template-columns: 260px 1fr;

}

.post-type-archive-product .cc-vin-layout{
  grid-template-columns: 260px 1fr;
}
}


@media (max-width:1460px){

      .post-type-archive-product .vin-grid--cols-3{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


.post-type-archive-product .cc-topbar{
  grid-template-columns: 320px 1fr;

}

.post-type-archive-product .cc-vin-layout{
  grid-template-columns: 320px 1fr;
}


}

@media (max-width:1170px){
    
    
    

.post-type-archive-product .cc-topbar{
  grid-template-columns: 260px 1fr;

}

.post-type-archive-product .cc-vin-layout{
  grid-template-columns: 260px 1fr;
}
}



@media (max-width:1100px){
    .post-type-archive-product .champ-price-now{
  font-size:18px;
}

.post-type-archive-product .champ-price-before{
  font-size:18px;

}

.post-type-archive-product .champ-discount-badge{
  padding:4px 8px;
}
    
    .post-type-archive-product .champ-desc{
  line-height:1.4;
  -webkit-line-clamp:3;
}
    


}


@media (max-width:1040px){

.post-type-archive-product .cc-vin-layout{
  column-gap: 30px;
  row-gap:40px;
}

.post-type-archive-product .cc-topbar{
  column-gap: 30px;

}

.post-type-archive-product .vin-grid{
  column-gap: 15px;
}


}




@media (max-width:1024px){
.post-type-archive-product .cc-topbar{
  grid-template-columns: 200px 1fr;

}

.post-type-archive-product .cc-vin-layout{
  grid-template-columns: 200px 1fr;
}
  

}


@media (max-width:980px){
.post-type-archive-product .cc-topbar{
  grid-template-columns: 360px 1fr;

}

.post-type-archive-product .cc-vin-layout{
  grid-template-columns: 360px 1fr;
}

      .post-type-archive-product .vin-grid--cols-3{
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  

}

@media (max-width:850px){
.post-type-archive-product .cc-topbar{
  grid-template-columns: 300px 1fr;

}

.post-type-archive-product .cc-vin-layout{
  grid-template-columns: 300px 1fr;
}



}

@media (max-width:767px){







.post-type-archive-product .champ-card:hover .champ-image > img{
  transform:none;
}


.post-type-archive-product .champ-card:hover .champ-image::after{
  transform: translateX(-50%);
  background:rgba(0,0,0,.4);
}






}











@media (max-width:765px){
.post-type-archive-product .cc-topbar{
  grid-template-columns: 250px 1fr;

}

.post-type-archive-product .cc-vin-layout{
  grid-template-columns: 250px 1fr;
}


}


@media (max-width:730px){
.post-type-archive-product .cc-topbar{
  grid-template-columns: 200px 1fr;

}

.post-type-archive-product .cc-vin-layout{
  grid-template-columns: 200px 1fr;
}



}



@media (max-width:700px){
    



    .post-type-archive-product .cc-topbar-left{
        display: none;
        
    }
    
    
.post-type-archive-product .cc-topbar-right{
  align-items: center;
}
    
    

    .post-type-archive-product .cc-vin-layout{
    grid-template-columns: 1fr;
  }
  
  
  .post-type-archive-product .cc-topbar{
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .post-type-archive-product .cc-clear--sidebar{ 
      
      display:inline-flex; 
        margin-left: 0;
  white-space: nowrap;
  padding:0;
  border: none;
  background:transparent;
  color:#c96148;
  font-weight:500;
  font-size: 16px;
  line-height:1;
  cursor:pointer;
  text-decoration: underline;
      
  }
  .post-type-archive-product .cc-sidebar-mobilebar{ display:flex; }
  
  
  .post-type-archive-product .vin-archive-title{
  background-size: 100% auto;
}

 .post-type-archive-product .cc-open{ display:inline-flex; }
  .post-type-archive-product .cc-close{ 
      display:inline-flex; 
          font-size: 28px;
  border: none;
  background:none;
  color:#2C241E;
  font-weight:300;
  cursor:pointer;
  padding:0;
  margin:0;
      
  }
  
  
    body.cc-filters-open{
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  
  
    .post-type-archive-product .cc-vin-layout{
    z-index: auto;
  }
  

  .post-type-archive-product .cc-vin-sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(92vw, 380px);
    transform: translateX(-105%);
    transition: transform .25s ease;
    z-index: 9999;
    overflow:auto;
    border-radius: 0;
  }

  .post-type-archive-product .cc-vin-archive.is-filters-open .cc-vin-sidebar{
    transform: translateX(0);
  }

  .post-type-archive-product .cc-vin-archive.is-filters-open .cc-overlay{
    display:block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 9998;
  }
  
  
  
}






@media (max-width:550px){
.post-type-archive-product .cc-sort-label{
    display:none;
}


}




@media (max-width:475px){
    .post-type-archive-product .cc-results{
        display: none;
    }    
    
    .post-type-archive-product .champ-top{
  gap:15px;
}

    }




@media (max-width:400px){
    .post-type-archive-product .vin-archive-title{
  font-size: 46px;
}


.post-type-archive-product .champ-btn-add{
    font-size: 18px;
    padding: 10px 12px;
  }
  
.post-type-archive-product .champ-qty-badge{
    padding: 8px;
    gap: 8px;
  }


}


@media (max-width:390px){
    
        .post-type-archive-product .champ-top{
  gap:10px;
}
.post-type-archive-product .champ-card{
  gap:10px;
}

.post-type-archive-product .champ-mix-note{
  padding-bottom:10px;
}

.post-type-archive-product .champ-desc-wrap{
  padding-bottom:15px;
}

    .post-type-archive-product .champ-price-now{
  font-size:17px;
}

.post-type-archive-product .champ-price-before{
  font-size:17px;

}

    .post-type-archive-product .champ-desc{
  line-height:1.3;
}

}


@media (max-width:375px){
    

    .post-type-archive-product .champ-price-now{
  font-size:16px;
}

.post-type-archive-product .champ-price-before{
  font-size:16px;

}

    .post-type-archive-product .champ-desc{
  -webkit-line-clamp:2;
}

.post-type-archive-product .champ-price-row{
  gap:8px;

}


.post-type-archive-product .champ-discount-badge{
  font-size:13px;
}

}




@media (max-width:355px){
    .post-type-archive-product .vin-archive-title{
  font-size: 42px;
}

    .post-type-archive-product .champ-desc-wrap{
  padding-bottom:10px;
}

  
  .post-type-archive-product .champ-price-row{
  gap:6px;

}

  
      .post-type-archive-product .champ-price-now{
  font-size:15px;
}

.post-type-archive-product .champ-price-before{
  font-size:15px;

}

.post-type-archive-product .champ-discount-badge{
  font-size:12px;
}

}









