/* Scoped to the enhanced Woodmart banner; no form or theme-wide rules. */
#royal-cookie-banner[hidden],
#royal-cookie-banner [hidden] { display: none !important; }
#royal-cookie-banner {
  position: fixed; inset: auto 20px 20px auto; z-index: 10000;
  width: min(760px, calc(100vw - 40px)); max-height: 70vh; max-height: 70dvh;
  padding: 24px; overflow-y: auto; background: #fff; color: #242424;
  border: 1px solid #d4d4d4; border-radius: 8px;
  box-shadow: 0 6px 32px #0002; transform: none; opacity: 1; visibility: visible;
  font-size: 14px; line-height: 1.55; text-align: left;
}
#royal-cookie-banner .wd-cookies-inner { display: block; padding: 0; margin: 0; max-width: none; }
#royal-cookie-banner h2 { font-size: 20px; line-height: 1.3; margin: 0 0 10px; color: inherit; }
#royal-cookie-banner p { margin: 0 0 14px; }
#royal-cookie-banner a { color: #292929; text-decoration: underline; }
#royal-cookie-banner .cookies-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
#royal-cookie-banner button {
  flex: 1 1 160px; min-height: 44px; padding: 10px 14px; margin: 0;
  border: 1px solid #333; border-radius: 4px; background: #fff; color: #242424;
  box-shadow: none; cursor: pointer; font: inherit; font-weight: 600; text-transform: none;
}
#royal-cookie-banner button:hover { background: #ededed; }
#royal-cookie-banner button[data-royal-consent="accept"] { background: #218044; border-color: #218044; color: #fff; }
#royal-cookie-banner button[data-royal-consent="accept"]:hover { background: #196535; border-color: #196535; }
#royal-cookie-banner button:focus-visible,
#royal-cookie-banner input:focus-visible,
.royal-cookie-reopen button:focus-visible { outline: 3px solid #16718d; outline-offset: 3px; }
#royal-cookie-banner .royal-cookie-option {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0;
  border-top: 1px solid #dedede; cursor: pointer;
}
#royal-cookie-banner .royal-cookie-option input {
  appearance: auto; flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #333;
}
#royal-cookie-banner .royal-cookie-option span span { display: block; font-size: 13px; font-weight: 400; }
#royal-cookie-error { padding-top: 12px; color: #8a271b; }
.royal-cookie-reopen { padding: 12px 20px; text-align: center; }
.royal-cookie-reopen button {
  min-height: 44px; padding: 10px 14px; background: transparent; border: 0;
  color: #333; text-decoration: underline; text-transform: none; cursor: pointer; font-size: 13px;
}
@media (max-width: 600px) {
  #royal-cookie-banner { inset: auto 10px 10px; width: auto; padding: 14px; font-size: 13px; line-height: 1.45; max-height: 65vh; max-height: 65dvh; }
  #royal-cookie-banner h2 { font-size: 17px; margin-bottom: 8px; }
  #royal-cookie-banner p { margin-bottom: 10px; }
  #royal-cookie-banner .cookies-buttons { gap: 8px; }
  #royal-cookie-banner button { flex-basis: calc(50% - 10px); font-size: 13px; }
}
