/* Flora Atelier – cookie consent banner (design: CookieBanner.dc.html). Built and driven by cookie.js; the consent
   engine underneath is CookieYes. The banner is shown on every page, including Elementor/WooCommerce pages where
   Hello Elementor + the Elementor kit style h2, p, button … globally, so every rule is anchored on #fla-cookie and
   the subtree starts with a hard reset (same approach as shell.css).
   This file is linked with media="print" and switched to "all" by cookie.js; --fla-cookie-ready tells the script
   that the styles are applied. */

#fla-cookie {
  --fla-cookie-ready: 1;
  position: fixed; z-index: 70; left: clamp(16px, 3vw, 32px); right: auto; top: auto; bottom: clamp(16px, 3vw, 32px);
  width: 420px; max-width: none; min-height: 0; max-height: calc(100vh - 48px); overflow: auto; overscroll-behavior: contain;
  margin: 0; padding: 28px 28px 20px; border: 0; border-radius: 0; float: none;
  display: flex; flex-direction: column; gap: 18px;
  background: #F7F3F0; color: #5E524C;
  box-shadow: 0 24px 60px rgba(40, 30, 25, .22), 0 0 0 1px rgba(94, 82, 76, .08);
  font-family: Montserrat, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; font-weight: 400; font-style: normal;
  line-height: normal; letter-spacing: normal; text-transform: none; text-align: left; text-decoration: none;
  -webkit-font-smoothing: antialiased; box-sizing: border-box;
  transition: opacity .3s, visibility .3s;
}
#fla-cookie[hidden] { display: none !important; }
#fla-cookie *, #fla-cookie *::before, #fla-cookie *::after {
  margin: 0; padding: 0; border: 0; border-radius: 0; float: none; min-width: 0; min-height: 0; max-width: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: inherit; text-decoration: none;
  text-shadow: none; color: inherit; background: none; box-shadow: none; outline: 0; opacity: 1;
  transition: none; box-sizing: border-box; -webkit-tap-highlight-color: transparent;
}
#fla-cookie [hidden] { display: none !important; }
#fla-cookie button {
  -webkit-appearance: none; appearance: none; width: auto; white-space: normal; user-select: auto; cursor: pointer;
  flex-shrink: 0;
}
#fla-cookie:focus { outline: 0; }
/* Home page intro curtain (z-index 60): the banner waits underneath and is revealed with the page. */
#fla-cookie.is-under { z-index: 55; }
/* A choice clicked while CookieYes is still loading is applied as soon as it is ready. */
#fla-cookie[aria-busy="true"] { cursor: progress; }
#fla-cookie[aria-busy="true"] .fla-cookie__btns, #fla-cookie[aria-busy="true"] .fla-cookie__more { opacity: .6; pointer-events: none; }
#fla-cookie button:focus-visible { outline: 2px solid #3F3632; outline-offset: 3px; }

/* The full-screen menu (z-index 30) is a focus-trapping overlay: while it is open the banner steps aside instead of
   covering the menu's call-to-action, and returns when the menu closes. */
html.fla-menu-open #fla-cookie { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- parts ---------- */
#fla-cookie .fla-cookie__grab { display: none; align-self: center; width: 40px; height: 4px; border-radius: 2px; background: #D6CBC3; margin: -8px 0 2px; flex-shrink: 0; }

#fla-cookie .fla-cookie__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-shrink: 0; }
#fla-cookie .fla-cookie__title {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 30px; line-height: 1.05; color: #3F3632;
}
#fla-cookie .fla-cookie__title em { font-style: italic; }
#fla-cookie .fla-cookie__back {
  width: 40px; height: 40px; margin: -6px -8px 0 0; background: transparent; color: #5E524C; font-size: 18px; text-align: center;
}

#fla-cookie .fla-cookie__text { font-size: 13px; line-height: 1.75; text-wrap: pretty; flex-shrink: 0; }

#fla-cookie .fla-cookie__cats { display: flex; flex-direction: column; border-top: 1px solid #E2D8D1; flex-shrink: 0; }
#fla-cookie .fla-cookie__cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #E2D8D1; }
#fla-cookie .fla-cookie__cat-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#fla-cookie .fla-cookie__cat-label { font-size: 13px; font-weight: 500; color: #3F3632; }
#fla-cookie .fla-cookie__cat-note { font-size: 12px; line-height: 1.5; color: #8C7D74; }

#fla-cookie .fla-cookie__switch { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #D6CBC3; transition: background .3s; }
#fla-cookie .fla-cookie__switch[aria-checked="true"] { background: #5E524C; }
#fla-cookie .fla-cookie__switch[aria-disabled="true"] { opacity: .55; cursor: default; }
#fla-cookie .fla-cookie__knob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #F7F3F0;
  box-shadow: 0 1px 3px rgba(40, 30, 25, .25); transform: translateX(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
}
#fla-cookie .fla-cookie__switch[aria-checked="true"] .fla-cookie__knob { transform: translateX(20px); }

#fla-cookie .fla-cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex-shrink: 0; }
#fla-cookie .fla-cookie__btn {
  height: 48px; border: 1px solid #5E524C; border-radius: 24px; background: transparent; color: #3F3632;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: center; white-space: nowrap;
  transition: background .3s;
}
#fla-cookie .fla-cookie__btn:hover { background: #EDE5DF; }
#fla-cookie .fla-cookie__btn--solid { background: #5E524C; color: #F7F3F0; }
#fla-cookie .fla-cookie__btn--solid:hover { background: #3F3632; }

#fla-cookie .fla-cookie__more {
  align-self: center; height: 36px; margin-top: -6px; background: transparent; color: #5E524C;
  font-size: 12px; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px;
}

/* ---------- below 640px: full-width bottom sheet with a grab handle ---------- */
@media (max-width: 639.98px) {
  #fla-cookie {
    left: 0; right: 0; bottom: 0; width: auto; max-height: 88vh;
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  }
  #fla-cookie .fla-cookie__grab { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  #fla-cookie, #fla-cookie .fla-cookie__switch, #fla-cookie .fla-cookie__knob, #fla-cookie .fla-cookie__btn { transition: none; }
}

@media print {
  #fla-cookie { display: none !important; }
}
