body {
  font-family: "Raleway", arial, sans-serif;
  font-weight: 300;
  
}

/* Hero background responsive */
.hero {
  position: relative;
  min-height: 300px;           /* was 200, nu hoger */
  height: clamp(320px, 52vh, 480px); /* ~dubbel zo hoog */
}
.hero-img {
  position: absolute;
  inset: 0;
  bottom: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}

/* Logo met witte rand */
.hero-logo {
  height: 64px;
  width: auto;
  border: 2px solid #fff;
  border-radius: 0px;
  background: rgba(255,255,255,1);
  padding: 0;
}
@media (min-width: 768px) {
  .hero-logo { height: 90px; }
}

/* Locatie inline met pin */
.hero-location {
  font-family: "Raleway", arial, sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  display: block;
  align-items: center;
  gap: .5rem;
  font-size: 1.0rem;  /* iets groter */
}

/* Besteldatum */
.hero-date {
  display: inline-block;
  margin-top: .5rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  border-radius: .75rem;
  padding: .6rem 1rem;
  font-size: 1.1rem;
  font-family: "Raleway", arial, sans-serif;
  font-weight: 300;
  
}

/* Duidelijke datum-badge, gecentreerd op mobiel, rechts op desktop */
.hero-date {
  background: rgba(0,0,0,.6);
  color: #fff;
  border-radius: .75rem;
  padding: .6rem 1rem;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .hero-top { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .hero-date { align-self: stretch; text-align: center; }
}

.product-card .stepper .qty { 
  min-width: 20px; 
  display:inline-block; 
  text-align:center; 
}

.mini-cart #cartCount { 
  font-size: .75rem; 
}

/* Huttopia groen */
:root {
  --huttopia-green: #006b3c; /* pas aan naar juiste kleurcode */
}

/* Winkelmand button */
.btn-huttopia {
  background-color: var(--huttopia-green);
  color: #fff;
  border: 2px solid #fff;
  font-weight: 600;
  padding: .5rem 1rem;
}
.btn-huttopia:hover,
.btn-huttopia:focus {
  background-color: #005a32; /* donkerdere variant */
  color: #fff;
  border-color: #fff;
}

/* Zorg dat badge netjes binnen knop blijft */
#btnCart .badge {
  font-size: .7rem;
}

.prod-cat {
  font-family: "Raleway", arial, sans-serif;
  font-weight: 300;
  text-transform: lowercase;
}

/* Kaart mag niks laten “lekken” */
.product-card{
  border-radius: .75rem;
  overflow: hidden;                /* <— belangrijk */
}

/* Image wrapper met ratio en clipping */
.product-img-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;             /* default: liggend */
  background: #fff;
  overflow: hidden;                 /* <— belangrijk */
}

/* Afbeelding vult wrapper altijd */
.product-img{
  position: absolute;               /* <— fixeert Safari/Android issues */
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: contain;                /* crop netjes binnen tegel */
  display: block;
}
.product-price {
  position: absolute; bottom: 0rem; left: .5rem;
  background: rgba(255,255,255,.92);
  color: #111; border-radius: .5rem;
  padding: .2rem .5rem; font-size: .8rem;
  border: 1px solid rgba(0,0,0,.08);
  z-index: 1;
  font-size: 14pt; 
}

.allergens_holder {
  margin-bottom: 10px;
}
/* Cutoff-badge blijft binnen beeld */
.cutoff-badge{
  position: absolute; top: .5rem; left: .5rem;
  background: rgba(255,255,255,.92);
  color: #111; border-radius: .5rem;
  padding: .2rem .5rem; font-size: .8rem;
  border: 1px solid rgba(0,0,0,.08);
  z-index: 1;
}

/* Mobiel: vierkant en iets compacter */
@media (max-width: 575.98px){
  .product-img-wrap{ aspect-ratio: 5 / 3; }
  .product-card .card-body{ padding: .6rem; }
  .cutoff-badge{ font-size: .72rem; padding: .15rem .45rem; }
}

/* iOS zoomt als form controls <16px zijn */
input, select, textarea, button { font-size: 16px; }

/* Stepper-knoppen blijven compact maar ≥16px */

.stepper {
  display: inline-flex;
  align-items: center;        /* verticaal centreren */
  justify-content: center;
  gap: .35rem;                /* afstand tussen knoppen en qty */
}

.stepper .btn {
  font-family: "Raleway", arial, sans-serif;
  font-weight: 300;
  font-size: 24px;            /* override btn-sm */
  width: 2.2rem;              /* vaste breedte voor mooie balans */
  height: 2.2rem;             /* vaste hoogte, gelijk aan font-size qty */
  overflow: hidden;
  line-height: 1;
  touch-action: manipulation; /* voorkom dbl-tap zoom/pan */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Het getal tussen de knoppen: leesbaar en stabiel */
.stepper .qty {
  font-family: "Raleway", arial, sans-serif;
  text-align: center;
  font-weight: 300;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;          /* zelfde breedte als knoppen */
  height: 2.2rem;             /* zelfde hoogte */
}

.opacity-40 {
  opacity: 0.4;
}




