/*
 * Shared public-site shell.
 *
 * This file is intentionally loaded after both the current v2 styles and any
 * legacy page bundle. Keep these rules scoped to the direct site header and
 * footer so older interior-page components cannot restyle the shared shell.
 */

body.website-demo > .site-header,
body.website-demo > .site-footer {
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0;
}

body.website-demo > .site-header *,
body.website-demo > .site-footer * {
  box-sizing: border-box;
}

body.website-demo > .site-header a,
body.website-demo > .site-footer a {
  color: inherit;
  text-decoration: none;
}

body.website-demo > .site-header .container,
body.website-demo > .site-footer .container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
  padding: 0;
}

/* Header */
body.website-demo > .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgb(216 225 220 / 0.68);
  background: var(--white);
  color: var(--ink);
}

body.website-demo > .site-header .header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  min-height: 72px;
  margin-block: 0;
}

body.website-demo > .site-header .brand,
body.website-demo > .site-footer .brand {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: "Overused Grotesk", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

body.website-demo > .site-header .brand img,
body.website-demo > .site-footer .brand img {
  display: block;
  width: 42px;
  height: 42px;
  max-width: none;
  object-fit: contain;
}

body.website-demo > .site-header .brand-name,
body.website-demo > .site-footer .brand-name {
  margin-left: -3px;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

body.website-demo > .site-header .desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  min-height: 72px;
  margin: 0;
  padding: 0;
}

body.website-demo > .site-header .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

body.website-demo > .site-header .nav-link,
body.website-demo > .site-header .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink-2);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

body.website-demo > .site-header .nav-link:hover,
body.website-demo > .site-header .nav-link[aria-current="page"],
body.website-demo > .site-header .nav-trigger:hover,
body.website-demo > .site-header .nav-trigger[aria-expanded="true"] {
  color: var(--blue);
}

body.website-demo > .site-header .nav-trigger .icon {
  width: 16px;
  height: 16px;
}

body.website-demo > .site-header .mega-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  display: block;
  width: 590px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

body.website-demo > .site-header .nav-item:hover .mega-menu,
body.website-demo > .site-header .nav-item:focus-within .mega-menu,
body.website-demo > .site-header .nav-item.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

body.website-demo > .site-header .mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

body.website-demo > .site-header .mega-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 6px;
}

body.website-demo > .site-header .mega-link:hover {
  background: var(--soft);
}

body.website-demo > .site-header .mega-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cddbf9;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
}

body.website-demo > .site-header .mega-link strong,
body.website-demo > .site-header .mega-link small {
  display: block;
}

body.website-demo > .site-header .mega-link strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-family: "Overused Grotesk", Arial, sans-serif;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}

body.website-demo > .site-header .mega-link small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

body.website-demo > .site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

body.website-demo > .site-header .language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: var(--muted);
}

body.website-demo > .site-header .language-control > .icon {
  width: 16px;
  height: 16px;
  color: currentColor;
  pointer-events: none;
}

body.website-demo > .site-header .language-control > .language-chevron {
  position: absolute;
  inset-inline-end: 1px;
  width: 12px;
  height: 12px;
}

body.website-demo > .site-header .language-control select {
  appearance: none;
  min-height: 40px;
  margin: 0;
  padding: 7px 18px 7px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink-2);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}

body.website-demo > .site-header .login-link {
  margin: 0;
  padding: 9px 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

body.website-demo > .site-header .login-link:hover {
  color: var(--blue);
}

body.website-demo > .site-header .button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  max-width: none;
  margin: 0;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  box-shadow: none;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

body.website-demo > .site-header .button--primary,
body.website-demo > .site-header .header-cta,
body.website-demo > .site-header .header-actions > .button {
  min-height: 44px;
  padding: 10px 18px;
  border-color: #1a73e8;
  border-radius: 6px;
  background: #1a73e8;
  color: var(--white);
  box-shadow: none;
}

body.website-demo > .site-header .button--primary:hover,
body.website-demo > .site-header .header-cta:hover,
body.website-demo > .site-header .header-actions > .button:hover {
  border-color: #1765cc;
  background: #1765cc;
  color: var(--white);
  transform: none;
}

body.website-demo > .site-header .header-cta .icon,
body.website-demo > .site-header .header-actions > .button .icon {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  transition: none;
}

body.website-demo > .site-header .header-cta:hover .icon,
body.website-demo > .site-header .header-actions > .button:hover .icon {
  transform: none;
}

body.website-demo > .site-header .button--secondary {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--ink);
}

body.website-demo > .site-header .button--secondary:hover {
  border-color: var(--ink);
  background: var(--soft);
  color: var(--ink);
}

body.website-demo > .site-header .menu-button {
  appearance: none;
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
  color: var(--ink);
  cursor: pointer;
}

body.website-demo > .site-header .mobile-nav {
  display: none;
}

/* Footer */
body.website-demo > .site-footer {
  width: 100%;
  margin: 0;
  padding: 74px 0 28px;
  background: #102320;
  color: var(--white);
}

body.website-demo > .site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 1fr;
  gap: 54px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 58px;
}

body.website-demo > .site-footer .footer-brand .brand {
  margin-bottom: 22px;
  color: var(--white);
}

body.website-demo > .site-footer .footer-brand p {
  max-width: 280px;
  margin: 0 0 14px;
  color: #b9c8c3;
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-line;
}

body.website-demo > .site-footer .footer-brand .footer-slogan {
  color: #dce5e2;
}

body.website-demo > .site-footer .footer-brand .footer-brand-note {
  color: #9cafaa;
}

body.website-demo > .site-footer .footer-column h2 {
  margin: 0 0 20px;
  color: #86a199;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.website-demo > .site-footer .footer-column nav {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.website-demo > .site-footer .footer-column a {
  color: #dce5e2;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

body.website-demo > .site-footer .footer-column a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.website-demo > .site-footer .social-links {
  display: flex;
  gap: 8px;
}

body.website-demo > .site-footer .social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #40534d;
  border-radius: var(--radius);
  color: #dce5e2;
  font-size: 14px;
  font-weight: 750;
}

body.website-demo > .site-footer .social-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.website-demo > .site-footer .store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body.website-demo > .site-footer .store-badge {
  display: grid;
  place-items: center;
  width: 160px;
  height: 50px;
  margin: 0;
  padding: 0;
}

body.website-demo > .site-footer .store-badge img {
  display: block;
  width: auto;
  height: auto;
  max-width: 134px;
  max-height: 42px;
  object-fit: contain;
}

body.website-demo > .site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #40534d;
  color: #9cafaa;
  font-size: 14px;
  line-height: 1.5;
}

body.website-demo > .site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  order: 3;
  margin-left: auto;
  text-align: right;
}

body.website-demo > .site-footer .footer-legal a,
body.website-demo > .site-footer .footer-legal button,
body.website-demo > .site-footer .back-top {
  color: #9cafaa;
}

body.website-demo > .site-footer .footer-legal a:hover,
body.website-demo > .site-footer .footer-legal button:hover,
body.website-demo > .site-footer .back-top:hover {
  color: var(--white);
}

body.website-demo > .site-footer .footer-legal button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

body.website-demo > .site-footer .back-top {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  order: 2;
  width: 38px;
  height: 38px;
  border: 1px solid #40534d;
  border-radius: var(--radius);
}

body.website-demo > .site-footer .back-top .icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 1120px) {
  body.website-demo > .site-header .desktop-nav,
  body.website-demo > .site-header .login-link,
  body.website-demo > .site-header .header-actions > .button {
    display: none;
  }

  body.website-demo > .site-header .header-inner {
    grid-template-columns: 1fr auto;
  }

  body.website-demo > .site-header .language-control {
    display: inline-flex;
  }

  body.website-demo > .site-header .menu-button {
    display: grid;
  }

  body.website-demo > .site-header .mobile-nav {
    position: fixed;
    inset: 72px 0 0;
    z-index: 49;
    margin: 0;
    padding: 24px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  body.website-demo > .site-header .mobile-nav.is-open {
    display: block;
  }

  body.website-demo > .site-header .mobile-nav-group {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  body.website-demo > .site-header .mobile-nav-group > span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
  }

  body.website-demo > .site-header .mobile-nav-group a {
    display: block;
    padding: 10px 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 650;
  }

  body.website-demo > .site-header .mobile-nav-actions {
    display: grid;
    gap: 10px;
    padding-top: 24px;
  }

  body.website-demo > .site-header .mobile-nav-actions .button {
    display: inline-flex;
    width: 100%;
  }

  body.website-demo > .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.website-demo > .site-header .container,
  body.website-demo > .site-footer .container {
    width: min(calc(100% - 32px), var(--content));
  }

  body.website-demo > .site-header .header-inner {
    min-height: 66px;
    gap: 14px;
  }

  body.website-demo > .site-header .brand,
  body.website-demo > .site-footer .brand {
    font-size: 27px;
  }

  body.website-demo > .site-header .brand img,
  body.website-demo > .site-footer .brand img {
    width: 38px;
    height: 38px;
  }

  body.website-demo > .site-header .language-control select {
    font-size: 13px;
  }

  body.website-demo > .site-header .mobile-nav {
    inset: 66px 0 0;
  }

  body.website-demo > .site-footer {
    padding-top: 58px;
  }

  body.website-demo > .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  body.website-demo > .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  body.website-demo > .site-footer .footer-legal {
    align-self: stretch;
    width: 100%;
    margin-left: 0;
  }

  body.website-demo > .site-footer .back-top {
    align-self: flex-end;
  }
}

[dir="rtl"] body.website-demo > .site-header .brand,
[dir="rtl"] body.website-demo > .site-footer .brand {
  font-family: "Overused Grotesk", Arial, sans-serif;
}

[dir="rtl"] body.website-demo > .site-header .brand-name,
[dir="rtl"] body.website-demo > .site-footer .brand-name {
  margin-right: -3px;
  margin-left: 0;
}

[dir="rtl"] body.website-demo > .site-header .mega-menu {
  right: 50%;
  left: auto;
  transform: translate(50%, 8px);
}

[dir="rtl"] body.website-demo > .site-header .nav-item:hover .mega-menu,
[dir="rtl"] body.website-demo > .site-header .nav-item:focus-within .mega-menu,
[dir="rtl"] body.website-demo > .site-header .nav-item.is-open .mega-menu {
  transform: translate(50%, 0);
}

/* Privacy controls */
.cookie-banner,
.cookie-dialog,
.consent-feedback,
.cookie-noscript {
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0;
}

.cookie-banner[hidden],
.consent-feedback[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  width: min(780px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  padding: 22px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 60px rgb(23 44 41 / 0.16);
  color: var(--ink);
}

.cookie-banner-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #c8d8ff;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
}

.cookie-banner-icon .icon {
  width: 20px;
  height: 20px;
}

.cookie-banner h2,
.cookie-dialog h2 {
  margin: 0;
  font-family: "Overused Grotesk", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: 0;
}

.cookie-banner h2 {
  font-size: 20px;
  line-height: 1.2;
}

.cookie-banner p {
  max-width: 510px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-policy-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.cookie-policy-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-policy-link .icon {
  width: 14px;
  height: 14px;
}

.cookie-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}

.cookie-banner .button,
.cookie-dialog .button {
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
  white-space: nowrap;
}

.cookie-banner .button--primary,
.cookie-dialog .button--primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.cookie-banner .button--primary:hover,
.cookie-dialog .button--primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: none;
}

.cookie-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 28px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 90px rgb(23 44 41 / 0.22);
  color: var(--ink);
}

.cookie-dialog::backdrop {
  background: rgb(23 44 41 / 0.46);
  backdrop-filter: blur(2px);
}

.cookie-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.cookie-dialog-eyebrow {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cookie-dialog h2 {
  font-size: 28px;
  line-height: 1.12;
}

.cookie-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.cookie-dialog-close:hover {
  background: var(--soft);
}

.cookie-dialog-close .icon {
  width: 18px;
  height: 18px;
}

.cookie-dialog-intro,
.cookie-retention {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.consent-list {
  margin-top: 22px;
  border-bottom: 1px solid var(--line);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.consent-row strong,
.consent-row span {
  display: block;
}

.consent-row strong {
  font-size: 16px;
}

.consent-row div > span {
  max-width: 390px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.consent-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.consent-status--active {
  border-color: #b8d9cd;
  background: #eaf5f0;
  color: var(--green);
}

.cookie-dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.consent-feedback {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(430px, calc(100% - 48px));
  margin: 0;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.cookie-noscript {
  display: block;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.cookie-noscript p {
  margin: 0;
}

/* Error pages */
.error-page {
  min-height: min(720px, calc(100svh - 72px));
  padding: clamp(72px, 10vw, 150px) 0;
  background: linear-gradient(90deg, var(--white) 0 61%, var(--soft) 61% 100%);
}

.error-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.error-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.error-copy h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Overused Grotesk", Arial, sans-serif;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: 0;
}

.error-copy > p:not(.error-kicker) {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.error-visual {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: 40px;
  border-left: 1px solid var(--line);
}

.error-visual-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #c8d8ff;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
}

.error-visual-mark .icon {
  width: 26px;
  height: 26px;
}

.error-code {
  margin-top: 28px;
  color: var(--ink);
  font-family: "Overused Grotesk", Arial, sans-serif;
  font-size: clamp(88px, 11vw, 150px);
  font-weight: 650;
  line-height: 0.8;
}

.error-visual p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .cookie-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cookie-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .error-page {
    background: var(--white);
  }

  .error-page-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .error-visual {
    min-height: 0;
    padding: 36px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 20px;
  }

  .cookie-banner-icon {
    display: none;
  }

  .cookie-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .cookie-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 22px;
  }

  .consent-row {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-dialog-actions .button {
    width: 100%;
  }

  .error-page {
    padding: 64px 0;
  }

  .error-copy h1 {
    font-size: 50px;
  }

  .error-copy > p:not(.error-kicker) {
    font-size: 16px;
  }

  .error-actions {
    display: grid;
  }

  .error-actions .button {
    width: 100%;
  }
}

[dir="rtl"] .cookie-banner {
  right: auto;
  left: 24px;
}

[dir="rtl"] .consent-feedback {
  right: 24px;
  left: auto;
}

[dir="rtl"] .error-visual {
  border-right: 1px solid var(--line);
  border-left: 0;
}

@media (max-width: 820px) {
  [dir="rtl"] .error-visual {
    border-top: 1px solid var(--line);
    border-right: 0;
  }
}

@media (max-width: 560px) {
  [dir="rtl"] .cookie-banner {
    right: 12px;
    left: 12px;
  }
}

@media print {
  .cookie-banner,
  .cookie-dialog,
  .consent-feedback,
  .cookie-noscript,
  [data-cookie-settings] {
    display: none !important;
  }
}
