/* The Royal Bakery: cookie banner. Non-blocking, bottom-left on wide screens, full width on phones. */
.kw-consent {
  position: fixed; z-index: 80; left: 18px; bottom: var(--kw-consent-floor, 12px);
  width: min(470px, calc(100vw - 36px));
  color: var(--ink, #1b1612); background: var(--paper-light, #fbf4e2);
  border: 2px solid var(--oxblood, #7a1f1f); outline: 1px solid var(--gold, #d4a017); outline-offset: -7px;
  box-shadow: 4px 4px 0 var(--ink, #1b1612), 0 18px 40px -18px rgba(60, 30, 10, .55);
  font-family: var(--body, Georgia, serif); font-size: 15px; line-height: 1.5;
}
.kw-consent[hidden] { display: none; }
.kw-consent.is-in { animation: kwConsentIn .32s ease-out both; }
@keyframes kwConsentIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.kw-consent__inner { padding: 16px 20px 18px; }
.kw-consent__kicker {
  margin: 0 0 2px; font-family: var(--heraldic, Georgia, serif); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep, #9c7410);
}
.kw-consent__title {
  margin: 0 0 6px; font-family: var(--display, Georgia, serif); font-size: 21px; font-weight: 800; line-height: 1.2;
  color: var(--oxblood, #7a1f1f);
}
.kw-consent__title:focus { outline: none; }
.kw-consent__title:focus-visible { outline: 2px dashed var(--oxblood, #7a1f1f); outline-offset: 3px; }
.kw-consent__body, .kw-consent__status { margin: 0 0 12px; }
.kw-consent__status { font-style: italic; color: var(--ink-soft, #3b322a); font-size: 14px; }
.kw-consent a { color: var(--oxblood, #7a1f1f); text-decoration: underline; text-underline-offset: 2px; }
.kw-consent a:focus-visible { outline: 2px solid var(--oxblood, #7a1f1f); outline-offset: 2px; }
.kw-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Both choices look exactly alike: same size, colour and weight. */
.kw-consent__btn {
  min-height: 44px; padding: 10px 12px; margin: 0; cursor: pointer;
  font-family: var(--heraldic, Georgia, serif); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  color: var(--paper-light, #fbf4e2); background: var(--oxblood, #7a1f1f);
  border: 2px solid var(--ink, #1b1612); border-radius: 0; box-shadow: 2px 2px 0 var(--gold, #d4a017);
}
.kw-consent__btn:hover { background: var(--oxblood-deep, #521212); }
.kw-consent__btn:focus-visible { outline: 3px solid var(--gold, #d4a017); outline-offset: 2px; }

/* The footer link that reopens the banner. */
.kw-cookie-prefs { color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.kw-cookie-prefs:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.kw-cookie-prefs-line { margin: 10px 0 0; font-size: 13px; }

@media (max-width: 720px) {
  .kw-consent { left: 8px; right: 8px; width: auto; font-size: 14px; }
  .kw-consent__inner { padding: 12px 14px 14px; }
  .kw-consent__title { font-size: 18px; }
  .kw-consent__kicker { display: none; }
  .kw-consent__body { margin-bottom: 10px; }
  /* Keep the King's bell visible above the banner while it is open. */
  .kw-consent-open .kwc-bell { transform: translateY(calc(-1 * var(--kw-consent-h, 0px))); }
}
@media (max-width: 340px) { .kw-consent__actions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .kw-consent.is-in { animation: none; }
}
@media print { .kw-consent { display: none !important; } }
