/* cookie-banner.css: ported 1:1 from foodforjoe.es CSS modules (hash suffixes removed). */

/* ── CookieBanner ── */
.CookieBanner_cookieBanner {
  border:none;
  padding:0 20px 18px;
  width:calc(100% - 20px);
  max-width:560px;
  color:var(--color-green);
  font-family:var(--font-family-serif-light);
  font-size:16px;
  font-style:normal;
  font-weight:200;
  line-height:23px;
  letter-spacing:.01em;
  text-align:center;
  background:var(--color-light-beige);
  box-shadow:0 4px 4px rgba(0,0,0,.25);
  border-radius:10px;
  opacity:0;
  transition:opacity .3s ease-in-out,overlay allow-discrete .3s ease-in-out,display allow-discrete .3s ease-in-out;
}

.CookieBanner_cookieBanner[open] {
  opacity:1;
}

@starting-style {
  .CookieBanner_cookieBanner[open] {
    opacity:0;
  }
}

.CookieBanner_cookieBanner::-webkit-backdrop {
  background-color:rgba(0,0,0,.5);
}

.CookieBanner_cookieBanner::backdrop {
  background-color:rgba(0,0,0,.5);
}

.CookieBanner_image {
  width:150px;
  height:auto;
}

.CookieBanner_cookieBanner a {
  text-decoration:underline;
  color:var(--color-green);
}

.CookieBanner_customize {
  margin:20px auto 0;
}

.CookieBanner_buttons {
  width:100%;
  display:flex;
  justify-content:space-between;
  margin-top:10px;
  row-gap:10px;
  column-gap:20px;
  flex-wrap:wrap;
}

.CookieBanner_buttons>button {
  flex:1 1;
  padding:0;
  min-width:200px;
}

.CookieBanner_editConsent {
  margin-top:40px;
}

.CookieBanner_tabs {
  z-index:1;
  position:relative;
  border-radius:3px;
  padding:0;
  border:none;
  margin:0;
  transform:translateY(-1px);
}

.CookieBanner_tabs>* {
  padding:0;
  border:none;
  margin:-1px -1px 0;
  background-color:var(--color-white);
  top:0;
}

.CookieBanner_tabs>*>* {
  font-size:15px;
  padding:10px 20px;
}

.CookieBanner_text {
  transition:all .9s cubic-bezier(.4,0,.2,1);
  position:relative;
  text-align:left;
  padding:50px 1em 1em;
  background:var(--color-white);
  margin-top:-39px;
  border-radius:3px;
  height:calc-size(auto);
  max-height:calc(100dvh - 400px);
  overflow-y:scroll;
  font-size:15px;
}

.CookieBanner_text h2,
.CookieBanner_text h3,
.CookieBanner_text h4 {
  margin-bottom:.5em;
}

.CookieBanner_text p {
  margin-bottom:1.5em;
}

.CookieBanner_text a {
  color:var(--color-green);
  text-decoration:underline;
}

.CookieBanner_goBack {
  display:flex;
  align-items:center;
  cursor:pointer;
  gap:.3em;
  margin-bottom:2em;
}

.CookieBanner_goBack svg {
  transform:rotate(180deg);
  height:1em;
}

.CookieBanner_editConsentSection {
  display:flex;
  width:-moz-fit-content;
  width:fit-content;
  flex-direction:column;
  gap:.5em;
  margin:20px auto;
  align-items:flex-start;
}

.CookieBanner_editConsentSection>label {
  display:flex;
  gap:10px;
  align-items:center;
}

.CookieBanner_editConsentButtons {
  flex-wrap:wrap;
  display:flex;
  column-gap:20px;
  row-gap:10px;
  margin-top:20px;
}

.CookieBanner_editConsentButtons>button {
  flex:1 1;
}
