@font-face {
  font-family: 'Cabin Sketch';
  src: url('../fonts/CabinSketch-Regular.ttf')
}

@font-face {
  font-family: 'VTKS-Chalk';
  src: url('../fonts/vtks chalk 79.ttf');
}

/* Full-bleed signage page: ignore theme chrome that steals viewport space. */
body.page-template-pricelist,
body.page-pricelist {
  margin: 0 !important;
  padding: 0 !important;
  background: #000 !important;
}

body.page-template-pricelist .wp-site-blocks,
body.page-pricelist .wp-site-blocks {
  padding: 0 !important;
}

body.page-template-pricelist .wp-block-separator,
body.page-pricelist .wp-block-separator,
body.page-template-pricelist .skip-link,
body.page-pricelist .skip-link {
  display: none !important;
}

.pricelist_background {
  background-color: black;
  transition: filter 5s ease;
  position: fixed;
  inset: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden !important;
  z-index: 1;
}

.pricelist {
  /* Explicit column scaffold is filled by aanbod.js so categories never split
     and never fall under the fold (CSS columns / flex-wrap both failed in Chromium). */
  --pricelist-columns: 5;
  --pricelist-gap: 1.2vh;
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  font-family: 'Cabin Sketch';
  /* Prefer vh so 16:9 4K keeps similar density to 1080p; inline size= can still override. */
  font-size: min(1vw, 1.8vh);
  line-height: 1.25;
  color: white;
  overflow: hidden !important;
  max-width: 100%;
  max-height: 100%;
}

.pricelist-cols {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  column-gap: var(--pricelist-gap);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.pricelist-col {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  /* Flex column so NIX18 can pin to the bottom with margin-top: auto. */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pricelist-col > .category {
  /* Never shrink — flex-shrink was crushing categories into overlapping text. */
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.8em;
  position: relative;
  min-width: 0;
  overflow: hidden;
}


@media screen and (max-width: 1080px) {
  .pricelist {
    font-size: min(3vw, 2.2vh);
  }
}


.category-name {
  font-weight: normal;
  font-family: 'VTKS-Chalk';
  /* Scale with .pricelist font-size so fit-to-viewport can shrink headers too */
  font-size: 1.85em;
  line-height: 1;
  position: relative;
  text-transform: uppercase;
  /*color: gray;*/
  margin-top: 0;
  margin-bottom: 0.35em;
}

.category-name-text,
.lang-swap {
  display: grid;
}

.lang-swap .lang-nl,
.lang-swap .lang-en {
  grid-area: 1 / 1;
  transition: opacity 0.8s ease-in-out;
}

.lang-swap.is-nl .lang-nl,
.lang-swap.is-en .lang-en {
  opacity: 1;
}

.lang-swap.is-nl .lang-en,
.lang-swap.is-en .lang-nl {
  opacity: 0;
}

.lang-swap.lang-same .lang-nl,
.lang-swap.lang-same .lang-en {
  transition: none;
}

.lang-swap.lang-same .lang-nl {
  opacity: 1;
}

.lang-swap.lang-same .lang-en {
  opacity: 0;
}

.product {
  /*display: flex;
  flex-direction: row;
  column-gap: 10px;*/
  position: relative;
}

.alcohol_container {
  font-size: 0.65em;
  color: #dfdfdf;
  background-color: #2d2d2d;
  color: white;
  border-radius: 10px;
  padding: 0px 0.15em 0px 0.15em;
}

.alcohol_txt {
  white-space: nowrap;
}

.product-name {
  flex: 1;
  display: flex;
  column-gap: 8px;
  align-items: center;
}

.pricelist-col .product-background {
  min-width: 0;
}

.pricelist-col .product-name {
  min-width: 0;
}

.pricelist-col .name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pricelist-col > .category.nix18 {
  /* Last in the rightmost column; margin-top:auto pins it bottom-right
     without compressing siblings (siblings are flex-shrink: 0). */
  margin-top: auto !important;
  margin-left: auto;
  margin-right: 0.4em;
  margin-bottom: 0.4em;
  align-self: flex-end;
  flex: 0 0 auto;
  width: auto;
  max-width: min(100%, 420px);
  position: relative;
  right: auto;
  bottom: auto;
  overflow: visible;
}

:where(.wp-site-blocks)>*,
:root :where(.is-layout-flow)>* {
  margin-block-start: unset !important;
}

html::-webkit-scrollbar {
  display: none;
}

html,
body {
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  overscroll-behavior: none;
}

.divider {
  position: absolute;
  height: 2px;
  width: 100%;
  top: 50%;
  left: 0px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 1) 100%);
}

.allergies {
  display: flex;
  flex-direction: row;
  column-gap: 3px;
}

.allergy_icon,
.uitloper {
  width: 0.75em;
}

/*.beer_of_the_month {
  position: absolute;
  background-color: #444;
  color: white;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  transform: rotate(25deg);
  right: 0;
  margin-right: 2vw;
  opacity: 1;
  box-shadow: 0px 0px 50px 0px black;
  z-index: 1;
  font-weight: bold;
  font-size: clamp(0.5625rem, 0.3424rem + 1.3261vw, 1.125rem);
}*/
.beer_of_the_month{
  position: absolute;
  background-color: #444;
  color: white;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  right: 0;
  opacity: 1;
  box-shadow: 0px 0px 50px 0px black;
  z-index: 1;
  font-weight: bold;
  font-size: clamp(0.5625rem, 0.3424rem + 1.3261vw, 1.125rem);
  left: 0;
  top: 0;
  text-align: center;
  text-transform: uppercase;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: -15px;
}

/*.product.botm {
  background-color: beige;
  color: black;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}*/
.product-background {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  position: relative;
}
.product-background.botm
{
  background-color: beige;
  color: black;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/*.product:has(> .product-name[data-stock="0"]) {
  opacity: 0.5;
}

.product:has(> .product-name[data-stock="0"]):after {
  border: 1px solid white;
  width: 100%;
  content: ' ';
  position: absolute;
  top: 50%;
}*/
.product.outofstock {
  opacity: 0.5;
}

.product.outofstock:after {
  border: 1px solid white;
  width: 100%;
  content: ' ';
  position: absolute;
  top: 50%;
}

.nix18_container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 20px;
}

.nix18_img {
  max-width: 50%;
  flex: 1 1 auto;
}

.nix18_txt {
  max-width: 100%;
  text-align: center;
  flex: 1 1 auto;
  font-size: 1.5rem;
}

.category.nix18 {
  background-color: beige;
  color: black;
  padding: 25px;
  border-radius: 20px;
  margin: 20px;
  max-width: 450px;
  box-sizing: border-box;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

.category_icon_extra_container {
  display: flex;
  align-content: center;
  margin-left: 10px;
}

.category_icon.extra {
  width: 0.75em;
}
.product.botm .category_icon.extra{
  filter: invert(100%);
}

.category_icon_background {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

.pricelist_background_image {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}

.pricelist_background_image_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  opacity: 0.85;
}

.pricelist_background_image img {
  width: 100vw;
  height: 100vh;
}

.stock_left {
  font-size: 0.6em;
  color: gray;
}

.euro-sign {
  margin-right: 0.3vh;
}

[data-venue*="pricedeal"] .product-price,
[data-venue*="pricedeal"] .divider {
  display: none;
}
[data-display=""] {
  display: none;
}
.category.sponsors {
  /* In column flow (packed last) so it sits above NIX18 instead of overlapping it. */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0.6em 0 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
}

sponsor-wrapper {
  background-color: rgb(255, 255, 255);
  padding: 0.8vh 1.2vw;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  gap: 1vh 1.2vw;
}

sponsor {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

sponsor-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

sponsor-image img {
  height: clamp(22px, 3.2vh, 44px);
  width: auto;
  max-width: min(22vw, 140px);
  object-fit: contain;
}