/* Auto-generated by APG Safe Snippets (frontend). */

/* 2a50eb2c63e1f92f737f3f07: Hero Section */
section.hero {
	max-height: 1000px;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section.hero .wp-block-image.logo_img {
	margin-top: -3rem !important;
}

section.hero .hero_img_container {
	position: relative;
}

section.hero .hero_img_container .hero_img {
	z-index: 1;
	position: relative;
	display: flex;
    justify-content: center;
}

section.hero .hero_img_container .hero_img img {
	max-height: 430px;
    width: auto;
    align-self: center;
} 

section.hero .hero_img_wrapper .blue_background {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
}

@media (max-width: 768px) {
	.hero h1 {
	  font-size: 2.25rem; 
	  line-height: 1.1;
	}
	.hero h2 {
	  font-size: 1.25rem;
  	line-height: 1.4;
	}
	section.hero .logo_img img {
		height: 150px !important;
	}
	section.hero .hero_img img {
		max-height: 350px !important;
		width: auto !important;
	}
	section.hero .hero_img_wrapper .blue_background {
		height: 180px !important;
	}
}

@media (max-width: 580px) {
	section.hero .wp-block-image.logo_img img {
		height: 150px !important;
	}
	section.hero .wp-block-image.hero_img {
		padding-bottom: 10px;
	}
}     


} 

/* 8c61bd0e40b76b416099cc58: Translatepress language switcher */
ul.trp_custom_language_switcher {
	display: flex !important;
    gap: 1rem;
}

ul.trp_custom_language_switcher li {
	list-style: none !important;
}

ul.trp_custom_language_switcher a {
    text-decoration: none !important;
}

/* b3f1b05ca98dde351c263dd1: Base */
button.wp-element-button {
	border-radius: 4px;
	padding: 0.6em 1.2em !important;
}

.no_underline a {
	text-decoration: none !important;
}

.wc-block-mini-cart__quantity-badge .wc-block-mini-cart__badge {
   background: #d5a207 !important;
   color: #eae4dc !important;
}


/* 8fc490d7a89cdbfd6a5d1c73: Header */
header.wp-block-template-part.header_wrapper {
	position: fixed;
	top:0;
	z-index: 99;
    width: 100%;
    transition: all 0.4s ease;
    background-color: transparent !important;
    will-change: background, box-shadow;
    backface-visibility: hidden;
}

#wpadminbar ~ .wp-site-blocks header.wp-block-template-part {
	top: 32px;
}

@media screen and (max-width: 782px) {
    #wpadminbar ~ .wp-site-blocks header.wp-block-template-part {
		top: 46px;
	}
}

/* header + * {
    padding-top:114px !important;
} */

header.wp-block-template-part.header_wrapper.scrolled {
	/* position: revert;
	z-index: auto; */
	/* background-color: #eae4dc !important; */
	
}


header.wp-block-template-part.header_wrapper.scrolled .language_switcher {
	display: none; 
}


header.wp-block-template-part.header_wrapper .sticky_index_marker {
	padding: 0.5rem 0.75rem;
    border-radius: 0 4px 4px 0;
}

header.wp-block-template-part.header_wrapper.scrolled  .sticky_index_marker {
	background-color: #d5a207;
    border-radius: 4px;
	position: fixed;
    top: 10%;
    left: 0;
    transform: translateY(-50%);
    z-index: 100;
    writing-mode: vertical-rl;
    
}

header.wp-block-template-part.header_wrapper.scrolled  .sticky_index_marker span {
	text-orientation: mixed;
    rotate: 180deg; 
}


header.wp-block-template-part.header_wrapper.scrolled .sticky_mini_cart {
	background-color: #eae4dc;
	border: 0.003rem solid #d5a207;
    border-radius: 4px;
	position: fixed;
    top: 5%;
    right: 0;
	z-index: 100;
}

header.wp-block-template-part.header_wrapper.scrolled .sticky_mini_cart .wc-block-mini-cart__button {
	padding: 0.8em 0.8em .25em 0.25em !important;
}

/* a2860b21c2754daf7819e543: Recipes Grid */
/* ─── Grid wrapper ─────────────────────────────────────────── */
.recipes_grid_wrapper {
  width: 100%;
  max-width: 100% !important; /* override constrained layout width */
  padding-inline: 0 !important;
}

/* ─── Grid itself ───────────────────────────────────────────── */
.recipes_grid {
  gap: 1.5rem;
  width: 100%;
}

/* ─── Card ──────────────────────────────────────────────────── */
.recipes_grid .wp-block-post {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipes_grid .wp-block-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ─── Card inner group (removes stacked padding) ────────────── */
.recipes_grid .wp-block-group {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ─── Featured image ────────────────────────────────────────── */
.recipes_grid .wp-block-post-featured-image {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.recipes_grid .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.recipes_grid .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.05);
}

/* ─── Text content area ─────────────────────────────────────── */
.recipes_grid .wp-block-post-title,
.recipes_grid .wp-block-post-date {
  padding-inline: 1.25rem;
}

.recipes_grid .wp-block-post-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 1rem 0 0.35rem;
  letter-spacing: -0.01em;
}

.recipes_grid .wp-block-post-title a {
  text-decoration: none;
  border-radius: 4px;
  padding: 0 4px;
  transition: background 0.25s ease, color 0.25s ease;
}

.recipes_grid .wp-block-post-title a:hover {
  background: #d5a207;
}

.recipes_grid .wp-block-post-date {
  font-size: 0.8rem;
  color: #999;
  padding-bottom: 1.25rem;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .recipes_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .recipes_grid {
    grid-template-columns: 1fr;
  }
}

/* 047bd7cbb275c6d57fd55bf4: Ingredients Diagram */
.ingredient-diagram {
  position: relative;
  max-width: 500px;
}

.jar {
  width: 100%;
  height: auto;
  display: block;
}

/* Base style */
.ingredient {
  position: absolute;
  font-size: 14px;
}

/* Example positions */
.sugar {
  top: 5%;
  left: 29%;
}

.butter {
  top: 5%;
  right: 30%;
}

.cream {
    top: -10%;
    left: 43%;
}

.salt {
  bottom: 55%;
  right: 28%;
}

@media (max-width: 1200px) {
	.butter {
	  right: 28%;
	}
	.salt {
	  right: 23%;
	}
}

@media (max-width: 1000px) {
	.sugar {
	  top: 3%;
	  left: 19%;
	}
	.cream {
		top: -13%;
		left: 40%;
	}
}
@media (min-width: 900px) and (max-width: 1000px) {
	.salt {
	  right: 20%;
	}
	.butter {
		top: 0;
	  right: 23%;
	}
}

@media (min-width: 700px) and (max-width: 899px) {
	.salt {
	  right: 15%;
	}
	.butter {
	  right: 20%;
	}
}

@media (min-width: 400px) and (max-width: 699px) {
	.salt {
	  right: 10%;
	}
	.butter {
	  right: 15%;
	}
}

@media (min-width: 600px) and (max-width: 782px) {
	.ingredient .wp-block-safe-svg-svg-icon.safe-svg-cover .safe-svg-inside.safe-svg-inline {
		width: 50px !important;
    	height: 50px !important;
	}
}

@media (min-width: 400px) and (max-width: 599px) {
	figure.jar img {
		width: 250px !important;
	}
	.ingredient .wp-block-safe-svg-svg-icon.safe-svg-cover .safe-svg-inside.safe-svg-inline {
		width: 40px !important;
    	height: 40px !important;
	}
	.cream {
		top: -13%;
		left: 33%;
	}
	.sugar {
        left: 10%;
    }
	.butter {
	  right: 10%;
	}
}
@media (min-width: 500px) and (max-width: 599px) {
	.salt {
        right: 10%;
	}
	
}

@media (min-width: 450px) and (max-width: 499px) {
	.salt {
        right: 5%;
	}
}
@media (min-width: 400px) and (max-width: 449px) {
	.salt {
        right: 0%;
	}
}

@media (max-width: 399px) {
	figure.jar {
		text-align: left !important;
	}
	figure.jar img {
		width: 200px !important;
	}
	.ingredient p.name {
		font-size: 20px !important;
	}
	
	.ingredient .wp-block-safe-svg-svg-icon.safe-svg-cover .safe-svg-inside.safe-svg-inline {
		width: 40px !important;
    	height: 40px !important;
	}
	.sugar {
        top: 8%;
        left: 5%;
    }
	.cream {
        top: -8%;
    }
}

@media (min-width: 370px) and (max-width: 399px) {
	.cream {
        left: 30%;
    }
	.salt {
        right: 5%;
		bottom: 60%;
	}
}

@media (max-width: 369px) {
	.butter {
		right: 10%;
	}
	.cream {
        left: 30%;
    }
	.salt {
        right: 8%;
		bottom: 60%;
	}
}

/* Animation --- fill icons */
.safe-svg-inline.arrow svg path {
  fill: black;
  clip-path: inset(0 100% 0 0); /* start hidden */
}

.ingredient.sugar  .arrow.animate svg path { animation: draw-ltr 0.6s ease-out forwards; animation-delay: 0.2s; }
.ingredient.cream  .arrow.animate svg path { animation: draw-ttb 0.6s ease-out forwards; animation-delay: 0.6s; }
.ingredient.salt   .arrow.animate svg path { animation: draw-rtl 0.6s ease-out forwards; animation-delay: 1.0s; }
.ingredient.butter .arrow.animate svg path { animation: draw-rtl 0.6s ease-out forwards; animation-delay: 1.4s; }

/* Left-to-right sweep */
@keyframes draw-ltr {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* Right-to-left sweep */
@keyframes draw-rtl {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0%); }
}

/* Top-to-bottom */
@keyframes draw-ttb {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0% 0); }
}

/* Animation --- stroke icons */
/* Initial hidden state - JS will set exact values via inline styles */
.arrow_stroke svg path {
  fill: none;
  stroke: black;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: none;
}

/* Transition enabled after hidden state is painted */
.arrow_stroke.ready svg path {
  transition: stroke-dashoffset 0.8s ease-out;
}

/* Animate to fully visible */
.arrow_stroke.animate svg path {
  stroke-dashoffset: 0;
}

/* b364b713a601369dade70fab: Allergens */
.allergens_grid {
	  justify-items: center;
}

/* Mobile: 2 columns — override minimumColumnWidth via container */
@media (max-width: 480px) {
    .allergens_grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
  

.allergen_circle {
	position: relative !important;
    width: 120px !important;
    height: 120px !important;
    min-height: unset !important;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    box-sizing: border-box;
	display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .allergen_circle {
        width: 120px !important;
        height: 120px !important;
    }
}
/* ── Badge base (shared) ── */
.allergen_circle::after {
    content: '';
    position: absolute;
    top: 3%;
    right: 4%;
    width: 22%;
    height: 22%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 1.5vw, 18px);
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}

/* ── Present: green checkmark ── */
.allergen_circle.present::after {
    content: '✓';
    background-color: #d5a207;
    color: #fff;
	border: 1px solid #ffffff !important;
}

/* ── Absent: red cross ── */
.allergen_circle.absent::after {
    content: '✕';
    background-color: #DBB55C;
    color: #fff;
}


/* ── Allergen circles: present state ── */
.allergen_circle.present {
    border: 2px solid #ffffff !important;
    opacity: 1;
}

/* .allergen_circle.present h3,
.allergen_circle.present p {
    color: #fff !important;
} /*

/* ── Allergen circles: absent state ── */
.allergen_circle.absent {
    outline: 2px solid #ccc !important;
    opacity: 0.7;
}

@media (max-width: 782px) {
	.allergens_product_image a {
	text-align: center;
	}
}


/* 50d901c660e9c6a12da48e21: Gallery */
/* Hide text by default, position card relatively */
.gallery_card {
  position: relative;
  overflow: hidden;
}

/* Overlay + text — hidden by default */
.gallery_card .gallery_text {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
 padding: 1rem; 

  /* Dark overlay */
  background: rgba(0, 0, 0, 0.45);

  /* Hide */
  opacity: 0;
  transition: opacity 0.3s ease;

  /* Override any WP color/link styles if needed */
  color: #fff !important;
}

/* Show on hover */
.gallery_card:hover .gallery_text {
  opacity: 1;
}
