/* Local cookie notice skin. WoodMart still owns display timing and acceptance. */
body #mrc-cookie-notice {
  --mrc-cookie-bottom: 22px;
  position: fixed;
  /* Saved theme CSS pins the old full-width banner with !important. */
  inset: auto auto var(--mrc-cookie-bottom) 22px !important;
  z-index: 390 !important;
  display: block;
  box-sizing: border-box;
  width: 420px;
  max-width: calc(100% - 44px);
  max-height: calc(100dvh - 110px);
  margin: 0;
  padding: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #34465d !important;
  border-radius: 20px;
  background: #162638 !important;
  color: #a9bfd4;
  box-shadow: 0 12px 36px #02091240;
  backdrop-filter: none !important;
  font: 400 14px/1.6 Cabin, Arial, sans-serif;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + var(--mrc-cookie-bottom)));
  transition: transform .24s ease, opacity .2s ease, visibility .24s;
}
body #mrc-cookie-notice.popup-display {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
body #mrc-cookie-notice.popup-hide {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + var(--mrc-cookie-bottom)));
}
#mrc-cookie-notice *, #mrc-cookie-notice *::before, #mrc-cookie-notice *::after { box-sizing: border-box; }
#mrc-cookie-notice .wd-cookies-inner { display: block; text-align: left; }
#mrc-cookie-notice .mrc-cookie-heading { display: flex; align-items: center; gap: 12px; }
#mrc-cookie-notice .mrc-cookie-mark {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border: 1px solid #496247;
  border-radius: 12px;
  background: #233d32;
  color: #b6f182;
}
#mrc-cookie-notice .mrc-cookie-mark svg { display: block; width: 22px; height: 22px; }
#mrc-cookie-notice h2 { margin: 0; padding: 0; color: #f1f5fb; font: 600 18px/1.3 Cabin, Arial, sans-serif; letter-spacing: -.2px; text-transform: none; }
#mrc-cookie-notice .cookies-info-text { margin: 14px 0 20px; padding: 0; color: #a9bfd4; font: inherit; overflow-wrap: anywhere; }
#mrc-cookie-notice .cookies-info-text > :last-child { margin-bottom: 0; }
#mrc-cookie-notice .cookies-info-text a { color: #b6f182; text-decoration: underline; text-underline-offset: 3px; }
#mrc-cookie-notice .cookies-buttons { display: flex; align-items: stretch; justify-content: stretch; gap: 10px; min-height: 44px; margin: 0; padding: 0; }
#mrc-cookie-notice .cookies-buttons > :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  gap: 8px;
  min-width: 0;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #344b60;
  border-radius: 10px;
  background: transparent;
  color: #d7e4f0;
  box-shadow: none;
  font: 500 13px/1.4 Cabin, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  opacity: 1;
  cursor: pointer;
  transition: background-color .16s, border-color .16s, color .16s;
}
#mrc-cookie-notice .cookies-buttons > .cookies-accept-btn { border-color: #b6f182; background: #b6f182; color: #15261b; }
#mrc-cookie-notice .cookies-buttons > :is(a, button)::before, #mrc-cookie-notice .cookies-buttons > :is(a, button)::after { content: none; }
#mrc-cookie-notice .cookies-more-btn svg { flex: none; width: 15px; height: 15px; color: #a9bfd4; }
#mrc-cookie-notice .cookies-buttons > :is(a, button):focus-visible { outline: 2px solid #b6f182; outline-offset: 3px; }
@media (hover: hover) {
  #mrc-cookie-notice .cookies-more-btn:hover { border-color: #58748b; background: #203448; color: #f1f5fb; opacity: 1; }
  #mrc-cookie-notice .cookies-buttons > .cookies-accept-btn:hover { border-color: #cdffa4; background: #cdffa4; color: #102014; }
}
#mrc-cookie-notice .cookies-buttons > .cookies-accept-btn:active { border-color: #a5e271; background: #a5e271; color: #102014; }
@media (max-width: 680px) {
  body #mrc-cookie-notice {
    --mrc-cookie-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    bottom: var(--mrc-cookie-bottom) !important;
    left: max(14px, env(safe-area-inset-left, 0px)) !important;
    right: max(14px, env(safe-area-inset-right, 0px)) !important;
    z-index: 190 !important;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - var(--mrc-cookie-bottom) - 84px - env(safe-area-inset-top, 0px));
    padding: 18px;
    border-radius: 18px;
  }
  body.mrcoda-mobile-navigation:has(.wd-sticky-btn.wd-sticky-btn-shown) #mrc-cookie-notice {
    --mrc-cookie-bottom: calc(72px + env(safe-area-inset-bottom, 0px) + var(--wd-sticky-btn-height, 0px));
    padding-bottom: 18px;
  }
  #mrc-cookie-notice .cookies-info-text { font-size: 13px; margin: 12px 0 18px; }
}
@media (max-width: 360px) {
  #mrc-cookie-notice .cookies-more-btn svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body #mrc-cookie-notice, #mrc-cookie-notice .cookies-buttons > :is(a, button) { transition: none; }
}
