@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("../fonts/Caveat-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f1e8;
  --bg-grad-a: #f7efe3;
  --bg-grad-b: #e6f0e8;
  --card: #ffffff;
  --card-border: #d9dfd3;
  --text: #1f2a1f;
  --muted: #637261;
  --primary: #285f3b;
  --primary-2: #3d8255;
  --accent: #d87a2d;
  --shadow: 0 20px 45px -30px rgba(25, 40, 25, 0.45);
  --radius: 18px;
  --font-body: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display:
    "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(
      1000px 420px at 85% -5%,
      rgba(216, 122, 45, 0.18),
      transparent 60%
    ),
    radial-gradient(
      1000px 420px at 12% -8%,
      rgba(61, 130, 85, 0.2),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-grad-a), var(--bg-grad-b) 52%, var(--bg));
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-2);
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: #173220;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

html {
  scroll-behavior: smooth;
}

.font-script {
  font-family: var(--font-script);
}

.font-display {
  font-family: var(--font-display) !important;
}

.font-display * {
  font-family: var(--font-display) !important;
}

.layout-container {
  min-height: 100vh;
  animation: page-enter 340ms ease-out both;
}

.site-section {
  width: 100%;
}

.site-shell {
  width: min(1160px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header-stack {
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header {
  padding: 1.4rem 0 0.85rem;
}

.site-header__inner {
  background: linear-gradient(145deg, #234f34, #2f7248);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1rem 1.35rem;
}

.site-header__inner a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.site-header .block-system-branding-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav {
  padding: 0.15rem 0 1rem;
}

.site-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-nav nav > ul,
.site-nav .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-nav .menu a {
  display: inline-block;
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(40, 95, 59, 0.25);
  transition: all 180ms ease;
  font-size: 0.95rem;
}

.site-nav .menu a:hover {
  transform: translateY(-1px);
  background: #fff;
  text-decoration: none;
}

.site-breadcrumb,
.site-highlighted,
.site-help {
  margin-bottom: 1rem;
}

.site-main {
  display: grid;
  grid-template-columns: 1.85fr minmax(240px, 0.65fr);
  gap: 1rem;
}

.site-main--centered {
  grid-template-columns: 1fr;
}

.site-main--no-grid {
  display: block;
}

.site-main--centered .layout-content {
  width: min(900px, 100%);
  margin-inline: auto;
}

.layout-sidebar-first,
.layout-sidebar-second {
  align-self: start;
}

.layout-sidebar-second + .layout-sidebar-first {
  grid-column: 2;
}

.site-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
}

.layout-content .block,
.layout-sidebar-first .block,
.layout-sidebar-second .block {
  margin-bottom: 1.1rem;
}

.layout-content .block:last-child,
.layout-sidebar-first .block:last-child,
.layout-sidebar-second .block:last-child {
  margin-bottom: 0;
}

.layout-content h1.page-title {
  font-size: 64px;
  margin-bottom: 0.6rem;
}

.site-footer {
  padding: 2.5rem 0;
  background: var(--home-dark);
  /* position: relative;
  overflow: hidden; */
}

/* .site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg-recipes.jpg") center/cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
} */

.site-footer__inner {
  background: transparent;
  color: #e6e6e6;
  border-radius: 0;
  padding: 0;
  /* position: relative;
  z-index: 1; */
}

.site-footer a {
  color: #e6e6e6;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.site-footer__mock {
  display: grid;
  gap: 1.6rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer__col h3 {
  margin: 0 0 0.5rem;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.site-footer__col p {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: #cfcfcf;
}

.site-footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: center;
}

.site-footer__inner .region-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2.5rem;
}

.site-footer__inner .region-footer > .block:nth-child(3) {
  grid-column: 1 / -1;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__inner .region-footer > .block:nth-child(3) .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__inner .region-footer > .block:nth-child(3) .menu a {
  color: #e6e6e6;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.site-footer__inner .region-footer > .block:nth-child(4),
.site-footer__inner .region-footer > .block:nth-child(5) {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  align-self: center;
}

.site-footer__inner .region-footer > .block:nth-child(4) {
  text-align: left;
}

.site-footer__inner .region-footer > .block:nth-child(5) {
  text-align: right;
}

.site-footer__inner .region-footer > .block:nth-child(5) .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.2;
}

.site-footer__inner .region-footer > .block:nth-child(5) .menu li + li {
  position: relative;
  padding-left: 0.9rem;
}

.site-footer__inner .region-footer > .block:nth-child(5) .menu li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: url("../images/dot.svg") center/contain no-repeat;
}

.site-footer__inner .region-footer > .block:nth-child(5) .menu a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
}

@media (max-width: 720px) {
  .site-footer__inner .region-footer {
    grid-template-columns: 1fr;
  }

  .site-footer__inner .region-footer > .block:nth-child(3) .menu {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__inner .region-footer > .block:nth-child(4),
  .site-footer__inner .region-footer > .block:nth-child(5) {
    text-align: center;
  }

  .site-footer__inner .region-footer > .block:nth-child(5) .menu {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .site-footer__inner .region-footer > .block:nth-child(5) .menu li + li {
    padding-left: 0;
  }

  .site-footer__inner
    .region-footer
    > .block:nth-child(5)
    .menu
    li
    + li::before {
    display: none;
  }
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__copyright {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 720px) {
  .site-footer__inner {
    padding: 1.6rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    gap: 1rem;
  }
}

input,
textarea,
select {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #bdc8b9;
  padding: 0.56rem 0.7rem;
  background: #fff;
  color: var(--text);
}

.btgca-contact__input,
.btgca-contact__textarea,
.btgca-contact__file {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(58, 58, 58, 0.6);
  border-radius: 0;
  padding: 0.35rem 0;
  background: transparent;
  color: #2c2c2c;
  font-size: 0.9rem;
}

.btgca-contact__file input[type="file"] {
  border: 0;
  padding: 0.35rem 0;
  background: transparent;
  color: #2c2c2c;
  font-size: 0.85rem;
}

.btgca-contact__file input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  border: 0;
  background: var(--primary-500);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btgca-contact__file input[type="file"]::-webkit-file-upload-button {
  margin-right: 0.8rem;
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btgca-contact__file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btgca-contact__file input[type="file"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btgca-contact-form__field .btgca-contact__file-button {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btgca-contact__file-name {
  font-size: 0.85rem;
  color: #2c2c2c;
}

.btgca-contact__input:focus,
.btgca-contact__textarea:focus,
.btgca-contact__file:focus {
  outline: none;
  border-bottom-color: #2c2c2c;
}

.btgca-contact__textarea {
  resize: vertical;
}

.btgca-contact__submit {
  background: #0b7b3e;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 2.2rem;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.btgca-contact__submit:disabled,
.btgca-contact__submit[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btgca-contact-form__field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btgca-contact-form__field--full {
  grid-column: 1 / -1;
}

.btgca-contact-form__actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

.btgca-contact__consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.btgca-contact__consent-input .form-item {
  margin: 0;
}

.btgca-contact__consent-input .form-type-checkbox {
  margin: 0;
}

.btgca-contact__consent-input input[type="checkbox"] {
  margin-top: 0.15rem;
}

.btgca-contact__consent-text {
  font-size: 12px;
  max-height: 4.2em;
  overflow-y: auto;
  line-height: 1.35;
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 60, 0.45) transparent;
}

.btgca-contact__consent-text::-webkit-scrollbar {
  width: 6px;
}

.btgca-contact__consent-text::-webkit-scrollbar-track {
  background: transparent;
}

.btgca-contact__consent-text::-webkit-scrollbar-thumb {
  background: rgba(60, 60, 60, 0.35);
  border-radius: 999px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(216, 122, 45, 0.3);
  border-color: rgba(216, 122, 45, 0.7);
}

input[type="submit"],
button,
.button {
  width: auto;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--accent), #c76419);
  color: #fff;
  font-weight: 700;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
  box-shadow: 0 12px 28px -18px rgba(100, 45, 15, 0.75);
}

input[type="submit"]:hover,
button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 25px -16px rgba(100, 45, 15, 0.82);
  text-decoration: none;
}

input[type="submit"]:disabled:hover,
button:disabled:hover,
.button[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

ul {
  padding-left: 1.1rem;
}

.messages {
  border-radius: 12px;
  border: 1px solid #b8d2c2;
  background: #eef6f0;
  padding: 0.7rem 0.9rem;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .site-main {
    grid-template-columns: 1fr;
  }

  .site-shell {
    width: min(1160px, calc(100% - 1.2rem));
  }

  .site-header__inner,
  .site-card,
  .site-footer__inner {
    border-radius: 14px;
  }
}

/* Recipes listing and detail pages */
.recipes-landing {
  display: block;
}

.view-recipes .recipe-banner,
.view-recipes .recipe-list,
.view-recipes .home-shop {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.recipe-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 4vw, 4rem) 0 clamp(2.8rem, 5vw, 5rem);
  background: #1d1d1d;
}

.recipe-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg-recipes.jpg") center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.recipe-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2.4rem;
  flex-wrap: wrap;
}

.recipe-banner__copy {
  max-width: 470px;
  color: #fff8eb;
}

.recipe-banner__title {
  margin: 0;
  color: #fff8eb;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.recipe-banner__desc {
  margin: 1rem 0 0;
  max-width: 420px;
  color: rgba(255, 248, 235, 0.92);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.recipe-banner__media {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  overflow: visible;
}

.recipe-banner__media::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1/1;
  background: url("../images/recipe-banner-bg.png") center/contain no-repeat;
  z-index: 1;
}

.recipe-banner__main-image {
  position: relative;
  z-index: 3;
  display: block;
  width: 84%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.35));
}

.recipe-banner__mini-list {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.recipe-banner__mini {
  position: absolute;
  width: 68px;
  height: 68px;
  object-fit: cover;
}

.recipe-banner__mini--1 {
  top: 50%;
  left: 2%;
  transform: translate(-50%, -52%);
}

.recipe-banner__mini--2 {
  right: 4%;
  bottom: 23%;
  width: 62px;
  height: 62px;
}

.recipe-banner__mini--3 {
  left: 26%;
  bottom: 8%;
  width: 58px;
  height: 58px;
}

.recipe-banner .home-hero__star {
  z-index: 5;
}

.recipe-list__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem 1.3rem;
  flex-wrap: wrap;
}

.recipe-list__eyebrow {
  margin: 0;
  color: #ffe066;
  font-family: "Caveat", cursive;
  line-height: 1;
}

.recipe-list__title {
  margin: 0.1rem 0 0;
  color: #fff8eb;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.recipe-list__filters .recipes-filters {
  background: transparent;
  border: none;
  padding: 0;
}

@media (max-width: 767px) {
  .recipe-list__filters {
    width: 100%;
  }
}

.recipes-filters .form--inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: end;
}

.recipes-filters .form-item {
  display: grid;
  gap: 0.5rem;
}

.recipes-filters label {
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.recipes-filters select,
.recipes-filters input[type="text"],
.recipes-filters input[type="search"] {
  width: 100%;
  min-width: 0;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
  padding: 0.2rem 1.8rem 0.45rem 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M13 1.5L7 7.5L1 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
  background-size: 14px 9px;
}

.recipes-filters .form-actions {
  display: flex;
  gap: 0.6rem;
}

@media (max-width: 767px) {
  .recipes-filters .form--inline {
    grid-template-columns: 1fr;
  }
}

.recipe-list__pager,
.recipes-landing__pager {
  display: flex;
  justify-content: center;
}

.recipe-list__pager .pager__items,
.recipes-landing__pager .pager__items {
  margin: 0;
}

@media (max-width: 640px) {
  .recipe-banner__media {
    width: min(320px, 92%);
    margin-inline: auto;
  }

  .recipe-banner__mini {
    width: 54px;
    height: 54px;
  }

  .recipe-banner__mini--2 {
    width: 50px;
    height: 50px;
  }

  .recipe-banner__mini--3 {
    width: 46px;
    height: 46px;
  }

  .recipe-list {
    border-top-left-radius: 36% 24px;
    border-top-right-radius: 36% 24px;
  }
}

.recipe-detail,
.product-detail {
  display: grid;
}

.recipe-hero,
.product-hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.recipe-hero__media img,
.product-hero__media img {
  width: 100%;
  border-radius: var(--radius);
}

.recipe-hero__summary,
.product-hero__summary {
  font-size: 1.05rem;
  color: var(--text-muted, #3c3c3c);
}

.product-hero__highlights ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.product-hero__highlights li {
  margin-bottom: 0.4rem;
}

.product-hero__cta a {
  display: inline-block;
  border-radius: 999px;
  background: var(--secondary);
  color: #111;
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.product-hero__cta a:hover {
  color: #111;
  text-decoration: none;
  filter: brightness(0.96);
}

.recipe-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.recipe-meta__item {
  background: rgba(35, 79, 52, 0.08);
  border: 1px solid rgba(35, 79, 52, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.recipe-meta__label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.recipe-section {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.4rem;
}

@media (min-width: 900px) {
  .recipe-hero,
  .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}
