/* Gasthaus Belfort — mobile-first responsive layer
   Mobile is the default. Larger layouts are added with min-width breakpoints. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
a,
label,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
label[for] {
  touch-action: manipulation;
}

input,
select,
textarea {
  max-width: 100%;
  font-size: 16px !important;
}

/* Shared restaurant pages */
.site-page {
  width: 100%;
  padding-top: 76px !important;
}

.site-page.has-promo {
  padding-top: 112px !important;
}

.site-page #header-placeholder nav[data-purpose="main-navigation"],
.site-page > nav.fixed {
  top: 0 !important;
  height: 76px !important;
}

.site-page.has-promo #header-placeholder nav[data-purpose="main-navigation"] {
  top: 36px !important;
}

.site-page #header-placeholder nav[data-purpose="main-navigation"] .h-24,
.site-page > nav.fixed .h-24 {
  height: 76px !important;
}

.site-page #header-placeholder nav[data-purpose="main-navigation"] .max-w-7xl,
.site-page > nav.fixed .max-w-7xl {
  padding-inline: 0.85rem !important;
}

.site-page .belfort-brand {
  gap: 0.55rem;
}

.site-page .belfort-checker {
  width: 30px;
  height: 30px;
  background-size: 15px 15px;
}

.site-page .belfort-brand-copy {
  min-width: 118px;
}

.site-page .belfort-brand-copy strong {
  font-size: 1.2rem;
}

.site-page .belfort-brand-copy small,
.site-page .belfort-brand-copy em {
  font-size: 0.36rem;
}

.site-page #mobile-menu {
  height: 100dvh;
  min-height: 100svh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-page #mobile-menu header {
  flex: none;
  padding: 1rem;
}

.site-page #mobile-menu main {
  min-height: auto;
  justify-content: flex-start;
  padding: 1.25rem 1rem;
}

.site-page #mobile-menu main nav {
  width: 100%;
  max-width: 22rem;
  gap: 0.45rem;
}

.site-page #mobile-menu main nav > a,
.site-page #mobile-menu main nav > div {
  width: 100%;
  margin-top: 0 !important;
}

.site-page #mobile-menu main nav > a,
.site-page #mobile-menu main nav > div a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
}

.site-page #mobile-menu main nav span:not(.material-symbols-outlined) {
  font-size: 1rem !important;
  letter-spacing: 0.16em !important;
}

.site-page #mobile-menu footer {
  flex: none;
  gap: 1rem;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
}

.site-page #mobile-menu footer > div {
  gap: 0.45rem;
}

.site-page #footer-placeholder > footer,
.site-page > footer:not(#mobile-menu footer) {
  padding: 3.5rem 1.25rem 2rem !important;
}

.site-page #footer-placeholder > footer > .grid,
.site-page > footer:not(#mobile-menu footer) > .grid {
  gap: 2.25rem !important;
}

.site-page #footer-placeholder footer .flex.justify-between,
.site-page > footer:not(#mobile-menu footer) .flex.justify-between {
  align-items: flex-start;
  gap: 1rem;
}

.site-page #footer-placeholder footer .flex.justify-between span:last-child,
.site-page > footer:not(#mobile-menu footer) .flex.justify-between span:last-child {
  text-align: right;
}

/* Home */
.page-home .promo-ticker {
  height: 36px !important;
}

.page-home .promo-ticker + section {
  min-height: 750px !important;
  height: auto !important;
  align-items: flex-start;
  padding: 2.2rem 1rem 230px !important;
}

.page-home .promo-ticker + section > .absolute.inset-0 img {
  object-position: 64% center !important;
}

.page-home .promo-ticker + section > .relative.z-10 {
  width: 100% !important;
  padding: 1.6rem 0 0 !important;
}

.page-home .promo-ticker + section h1 {
  width: 100% !important;
  max-width: 36rem;
  font-size: clamp(2.35rem, 12vw, 3.35rem) !important;
  line-height: 0.98 !important;
}

.page-home .promo-ticker + section h1::before {
  margin-bottom: 0.8rem;
  font-size: 0.53rem;
  line-height: 1.55;
  letter-spacing: 0.16em;
}

.page-home .promo-ticker + section h1 span {
  font-size: clamp(1.2rem, 6vw, 1.5rem) !important;
  line-height: 1.2;
}

.page-home .promo-ticker + section p {
  width: 100% !important;
  max-width: 31rem;
  margin-bottom: 1.25rem !important;
  font-size: 0.9rem !important;
}

.page-home .promo-ticker + section .flex.flex-col.sm\:flex-row {
  width: 100%;
  max-width: 21rem;
  gap: 0.65rem !important;
}

.page-home .promo-ticker + section .flex.flex-col.sm\:flex-row a {
  width: 100% !important;
  min-height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem !important;
}

.page-home .promo-ticker + section .flex.flex-col.sm\:flex-row a[href="#menu"] {
  display: none !important;
}

.page-home .hero-offer-band {
  right: 0.75rem;
  left: 0.75rem;
  min-height: 224px;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 1rem 0.85rem 0.8rem;
  border-radius: 16px 16px 0 0;
}

.page-home .offer-message strong {
  font-size: 1.7rem;
}

.page-home .offer-home-benefit {
  min-height: 57px;
  gap: 0.65rem;
  padding: 0.4rem 0.65rem;
}

.page-home .hero-offer-band > .offer-cta {
  display: inline-flex !important;
  min-height: 42px;
}

@media (max-width: 375px) {
  .page-home .offer-message strong {
    font-size: 1.5rem;
  }
}

.page-home .home-specialties {
  padding: 2.5rem 1rem;
}

.page-home .specialties-heading {
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 1rem;
}

.page-home .specialties-heading h2 {
  font-size: 2.15rem;
}

.page-home .specialty-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-home .specialty-card > img {
  height: 210px;
}

.page-home .specialty-card > div {
  min-height: 0;
  padding: 1rem;
}

.page-home .specialty-card a {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  align-self: stretch;
  margin-top: 1rem;
}

.page-home .home-values {
  width: calc(100% - 2rem);
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0;
}

.page-home .home-values > div {
  min-height: 72px;
  padding: 0.8rem 0.35rem;
  border-right: 0;
  border-bottom: 1px solid var(--belfort-line);
}

.page-home .home-values > div:last-child {
  border-bottom: 0;
}

.page-home > section.py-28,
.page-home #menu,
.page-home #reservation,
.page-home #reviews {
  width: calc(100% - 1rem);
  margin-bottom: 1rem;
  padding: 2.25rem 1rem !important;
  border-radius: 14px;
}

.page-home section.py-28 .container,
.page-home #reservation > .container,
.page-home #reviews > .container {
  gap: 2.5rem !important;
}

.page-home section.py-28 h2,
.page-home #menu h2,
.page-home #reservation h2,
.page-home #reviews h2 {
  font-size: clamp(1.9rem, 9vw, 2.35rem) !important;
  line-height: 1.12;
}

.page-home section.py-28 img {
  height: 260px !important;
}

.page-home #menu .grid {
  gap: 2.5rem !important;
}

.page-home #menu h3 {
  margin-bottom: 1.25rem !important;
}

.page-home #menu .space-y-10 {
  --tw-space-y-reverse: 0;
}

.page-home #reservation .grid.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.page-home #reservation .grid.grid-cols-2 {
  grid-template-columns: 1fr;
}

.page-home #form-container,
.page-home #review-form-container {
  min-height: 0 !important;
  padding: 1.25rem !important;
}

.page-home #reviews .grid {
  gap: 2rem !important;
}

.page-home .star-rating {
  display: flex;
  justify-content: space-between;
  max-width: 18rem;
}

.page-home .star-rating .star {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-home .home-coast-signoff {
  min-height: 235px;
}

.page-home .home-coast-signoff > div {
  padding: 1.5rem 1rem;
}

/* Ordering */
.page-order .promo-ticker {
  height: 36px !important;
}

.page-order #bestellen {
  width: 100%;
  padding: 1rem 0.75rem 7rem !important;
}

.page-order #bestellen > .max-w-7xl {
  gap: 1rem !important;
}

.page-order .croatia-order-benefits {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0.35rem 0.75rem;
}

.page-order .croatia-order-benefits > span {
  min-height: 38px;
  justify-content: flex-start;
  font-size: 0.62rem;
}

.page-order .croatia-order-benefits > span + span {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 0;
}

.page-order .category-scroll {
  top: 112px;
  margin-inline: -0.75rem;
  border-radius: 0 !important;
}

.page-order .category-scroll > div {
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
}

.page-order .category-scroll button {
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  letter-spacing: 0.08em !important;
}

.page-order #bestellen section[id] {
  margin-top: 2.75rem !important;
}

.page-order #bestellen section[id] header {
  margin-bottom: 1.25rem !important;
}

.page-order #bestellen section[id] h2 {
  font-size: 2rem !important;
}

.page-order #bestellen .group.glass-card {
  border-radius: 16px !important;
}

.page-order #bestellen .group.glass-card .relative.h-56,
.page-order #bestellen .group.glass-card .relative.md\:h-60 {
  height: 200px !important;
}

.page-order #bestellen .group.glass-card .p-5,
.page-order #bestellen .group.glass-card .md\:p-6 {
  padding: 1rem !important;
}

.page-order #bestellen .group.glass-card button {
  min-height: 50px !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.08em !important;
}

.page-order .mobile-cart-sheet {
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: min(86dvh, 760px) !important;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow: hidden;
}

.page-order .mobile-cart-sheet .p-6 {
  padding: 1rem !important;
}

/* Checkout and thank-you */
.page-checkout > main.max-w-7xl,
.page-thanks > main.max-w-7xl {
  padding: 2.5rem 0.85rem 4rem !important;
}

.page-checkout > main > h1,
.page-thanks > main h1 {
  font-size: clamp(2rem, 9vw, 2.6rem) !important;
  line-height: 1.1;
}

.page-checkout > main > h1 {
  margin-bottom: 1.5rem !important;
}

.page-checkout .checkout-benefit-banner {
  grid-template-columns: 1fr;
  padding: 0.35rem 0.75rem;
}

.page-checkout .checkout-benefit-banner > span {
  min-height: 38px;
  justify-content: flex-start;
}

.page-checkout .checkout-benefit-banner > span + span {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 0;
}

.page-checkout > main .grid.lg\:grid-cols-12 {
  gap: 1rem !important;
}

.page-checkout [data-purpose="checkout-form-section"] .glass-card,
.page-checkout [data-purpose="order-summary-sidebar"] .glass-card,
.page-thanks .print-card {
  padding: 1.25rem !important;
  border-radius: 14px !important;
}

.page-checkout [data-purpose="checkout-form-section"] .grid.grid-cols-2 {
  grid-template-columns: 1fr;
}

.page-checkout [data-purpose="toggle-order-type"] button {
  min-height: 46px;
}

.page-checkout [data-purpose="order-summary-sidebar"] {
  position: static !important;
}

.page-thanks .h-24.w-24 {
  width: 4.5rem;
  height: 4.5rem;
}

.page-thanks #ordered-items-list > div {
  align-items: flex-start;
  gap: 0.75rem;
}

.page-thanks #ordered-items-list .size-16 {
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
}

/* Reviews and legal pages */
.page-reviews > section:first-of-type {
  padding: 2.75rem 1rem 2.25rem !important;
}

.page-reviews > section:first-of-type h1 {
  font-size: 2.25rem !important;
}

.page-reviews > section:nth-of-type(2) {
  padding: 0 1rem 4rem !important;
}

.page-legal > main {
  padding: 1.75rem 0 4rem !important;
}

.page-legal > main > div {
  padding-inline: 0.75rem !important;
}

.page-legal > main header {
  padding: 1.75rem 0 2rem !important;
}

.page-legal > main .space-y-14 {
  --tw-space-y-reverse: 0;
}

.page-legal > main section > div {
  padding: 1.2rem !important;
  border-radius: 12px !important;
}

.page-legal > main section h2 {
  align-items: flex-start;
  font-size: 1.05rem !important;
  line-height: 1.4;
}

.page-legal > main section p,
.page-legal > main section li {
  overflow-wrap: anywhere;
}

/* Cookies */
.site-page #cookie-banner {
  max-height: min(78dvh, 620px);
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}

.site-page #cookie-banner > div,
.page-reviews #cookie-banner,
.page-thanks #cookie-banner {
  gap: 0.85rem;
}

.site-page #cookie-banner button,
.page-reviews #cookie-banner button,
.page-thanks #cookie-banner button {
  min-height: 44px;
  flex: none;
}

.page-reviews #cookie-banner,
.page-thanks #cookie-banner {
  flex-direction: column;
  align-items: stretch;
  padding: 1rem;
}

.site-page #cookie-modal > div {
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.25rem !important;
  border-radius: 14px;
}

#cookie-manage-btn {
  bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
  left: 0.75rem !important;
}

/* Main dashboard */
.page-dashboard #login-screen {
  padding: 0.75rem;
}

.page-dashboard #login-screen > div {
  padding: 1.25rem !important;
}

.page-dashboard #dashboard-app > main > header {
  padding: 0.65rem 0.75rem !important;
}

.page-dashboard #content-container {
  padding: 0.75rem !important;
}

.page-dashboard #content-container > .grid:first-child {
  grid-template-columns: 1fr;
}

.page-dashboard #content-container > .grid:first-child > div {
  min-height: 112px;
  padding: 1rem !important;
}

.page-dashboard #mobile-cards {
  padding: 0.65rem !important;
}

.page-dashboard #mobile-cards > article,
.page-dashboard #mobile-cards > div {
  overflow-wrap: anywhere;
}

.page-dashboard #toast-container {
  right: 0.75rem !important;
  bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
  left: 0.75rem;
  max-width: none !important;
}

/* Alternate dashboard */
.page-dashboard-alt > aside {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  padding: 1rem !important;
}

.page-dashboard-alt > aside > div:first-child {
  margin-bottom: 0.75rem !important;
}

.page-dashboard-alt > aside > button {
  margin-bottom: 0.75rem !important;
}

.page-dashboard-alt > aside nav {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-dashboard-alt > aside nav a {
  min-width: 0;
  padding: 0.7rem !important;
  font-size: 0.76rem;
}

.page-dashboard-alt > aside > div:last-child {
  display: none;
}

.page-dashboard-alt > header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  padding: 0.75rem !important;
}

.page-dashboard-alt > header > div:first-child {
  width: 100% !important;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.page-dashboard-alt > header > div:last-child {
  display: none;
}

.page-dashboard-alt > main {
  margin-left: 0 !important;
  padding: 1rem 0.75rem 3rem !important;
}

.page-dashboard-alt > main .grid.grid-cols-12 {
  display: block !important;
}

.page-dashboard-alt > main .grid.grid-cols-12 > div {
  margin-bottom: 0.65rem;
}

.page-dashboard-alt > main .grid.grid-cols-12.px-6.py-3 {
  display: none !important;
}

@media (min-width: 480px) {
  .page-home .home-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-values > div:nth-child(odd) {
    border-right: 1px solid var(--belfort-line);
  }

  .page-home .home-values > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .page-home #reservation .grid.grid-cols-2,
  .page-checkout [data-purpose="checkout-form-section"] .grid.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-order .croatia-order-benefits,
  .page-checkout .checkout-benefit-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-order .croatia-order-benefits > span,
  .page-checkout .checkout-benefit-banner > span {
    justify-content: center;
  }

  .page-order .croatia-order-benefits > span + span,
  .page-checkout .checkout-benefit-banner > span + span {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }

  .page-dashboard #content-container > .grid:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .page-home .specialty-card > img {
    height: 270px;
  }

  .page-order #bestellen {
    padding-inline: 1.25rem !important;
  }

  .page-order .category-scroll {
    margin-inline: -1.25rem;
  }

  .page-checkout > main.max-w-7xl,
  .page-thanks > main.max-w-7xl {
    padding-inline: 1.5rem !important;
  }

  .page-dashboard #content-container {
    padding: 1.25rem !important;
  }
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 9rem;
  }

  input,
  select,
  textarea {
    font-size: inherit !important;
  }

  .site-page {
    padding-top: 90px !important;
  }

  .site-page.has-promo {
    padding-top: 132px !important;
  }

  .site-page #header-placeholder nav[data-purpose="main-navigation"],
  .site-page > nav.fixed {
    height: 90px !important;
  }

  .site-page.has-promo #header-placeholder nav[data-purpose="main-navigation"] {
    top: 42px !important;
  }

  .site-page #header-placeholder nav[data-purpose="main-navigation"] .h-24,
  .site-page > nav.fixed .h-24 {
    height: 90px !important;
  }

  .site-page .belfort-checker {
    width: 42px;
    height: 42px;
    background-size: 21px 21px;
  }

  .site-page .belfort-brand-copy {
    min-width: 158px;
  }

  .site-page .belfort-brand-copy strong {
    font-size: 1.7rem;
  }

  .site-page .belfort-brand-copy small {
    font-size: 0.52rem;
  }

  .site-page .belfort-brand-copy em {
    font-size: 0.45rem;
  }

  .page-home .promo-ticker {
    height: 42px !important;
  }

  .page-home .promo-ticker + section {
    min-height: 680px !important;
    height: min(74vh, 690px) !important;
    align-items: center;
    padding: 0 0 140px !important;
  }

  .page-home .promo-ticker + section > .relative.z-10 {
    width: min(1180px, calc(100% - 3rem)) !important;
    padding: 1rem 0 3rem !important;
  }

  .page-home .promo-ticker + section h1 {
    width: min(660px, 58vw) !important;
    max-width: none;
    font-size: clamp(3rem, 5.2vw, 5.35rem) !important;
  }

  .page-home .promo-ticker + section h1::before {
    font-size: 0.72rem;
    letter-spacing: 0.29em;
  }

  .page-home .promo-ticker + section h1 span {
    font-size: clamp(1.6rem, 2.7vw, 2.65rem) !important;
  }

  .page-home .promo-ticker + section p {
    width: min(510px, 52vw) !important;
    font-size: clamp(0.98rem, 1.6vw, 1.18rem) !important;
  }

  .page-home .promo-ticker + section .flex.flex-col.sm\:flex-row {
    width: auto;
    max-width: none;
  }

  .page-home .promo-ticker + section .flex.flex-col.sm\:flex-row a {
    width: auto !important;
    min-width: 160px;
  }

  .page-home .promo-ticker + section .flex.flex-col.sm\:flex-row a[href="#menu"] {
    display: flex !important;
  }

  .page-home .hero-offer-band {
    right: 5%;
    left: 5%;
    min-height: 138px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px) auto;
    gap: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 22px 22px 0 0;
  }

  .page-home .offer-message strong {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
  }

  .page-home .offer-home-benefit {
    min-height: 82px;
    gap: 0.9rem;
    padding: 0.65rem 0.9rem;
  }

  .page-home .hero-offer-band > .offer-cta {
    width: auto;
    min-height: 48px;
  }

  .page-home .home-specialties {
    padding: 3.4rem max(1.5rem, calc((100% - 1180px) / 2)) 4rem;
  }

  .page-home .specialties-heading {
    align-items: end;
    flex-direction: row;
  }

  .page-home .specialty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .page-home .specialty-card > img {
    height: 220px;
  }

  .page-home .specialty-card > div {
    min-height: 248px;
    padding: 1rem 1.15rem 1.15rem;
  }

  .page-home .specialty-card a {
    width: auto;
    min-width: 190px;
    align-self: flex-end;
    margin-top: -1.8rem;
  }

  .page-home .home-values {
    width: min(1180px, calc(100% - 3rem));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 3rem;
    padding: 1.4rem 0;
  }

  .page-home .home-values > div,
  .page-home .home-values > div:nth-child(odd) {
    padding: 0 1.4rem;
    border-right: 1px solid var(--belfort-line);
    border-bottom: 0;
  }

  .page-home .home-values > div:last-child {
    border-right: 0;
  }

  .page-home > section.py-28,
  .page-home #menu,
  .page-home #reservation,
  .page-home #reviews {
    width: min(1180px, calc(100% - 3rem));
    margin-bottom: 2rem;
    padding: 3.5rem 3rem !important;
    border-radius: 18px;
  }

  .page-home section.py-28 img {
    height: 420px !important;
  }

  .page-home #form-container,
  .page-home #review-form-container {
    padding: 2rem !important;
  }

  .page-order #bestellen {
    width: min(1320px, calc(100% - 2rem));
    padding: 2rem 1.5rem 4rem !important;
  }

  .page-order .category-scroll {
    top: 132px;
    margin-inline: 0;
  }

  .page-order #bestellen section[id] {
    margin-top: 5rem !important;
  }

  .page-order #bestellen .group.glass-card .relative.h-56,
  .page-order #bestellen .group.glass-card .relative.md\:h-60 {
    height: 15rem !important;
  }

  .page-checkout > main.max-w-7xl,
  .page-thanks > main.max-w-7xl {
    padding: 5rem 2rem 6rem !important;
  }

  .page-checkout [data-purpose="checkout-form-section"] .glass-card,
  .page-checkout [data-purpose="order-summary-sidebar"] .glass-card,
  .page-thanks .print-card {
    padding: 2rem !important;
  }

  .page-reviews > section:first-of-type {
    padding: 4rem 1.5rem !important;
  }

  .page-legal > main {
    padding: 3rem 0 6rem !important;
  }

  .page-legal > main > div {
    padding-inline: 2rem !important;
  }

  .page-legal > main section > div {
    padding: 1.75rem !important;
  }

  .page-dashboard #content-container > .grid:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-order #bestellen {
    padding-top: 3rem !important;
  }

  .page-checkout > main.max-w-7xl,
  .page-thanks > main.max-w-7xl {
    padding-top: 8rem !important;
  }

  .page-dashboard #content-container {
    padding: 2rem !important;
  }

  .page-dashboard #content-container > .grid:first-child {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-dashboard-alt > aside {
    position: fixed !important;
    width: 16rem !important;
    height: 100vh !important;
    padding: 1.5rem !important;
  }

  .page-dashboard-alt > aside > div:first-child {
    margin-bottom: 2rem !important;
  }

  .page-dashboard-alt > aside > button {
    margin-bottom: 1.5rem !important;
  }

  .page-dashboard-alt > aside nav {
    display: flex !important;
  }

  .page-dashboard-alt > aside nav a {
    padding: 0.75rem !important;
    font-size: inherit;
  }

  .page-dashboard-alt > aside > div:last-child {
    display: block;
  }

  .page-dashboard-alt > header {
    position: fixed !important;
    left: 16rem !important;
    width: calc(100% - 16rem) !important;
    height: 4rem !important;
    padding-inline: 2rem !important;
  }

  .page-dashboard-alt > header > div:first-child {
    width: 50% !important;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .page-dashboard-alt > header > div:last-child {
    display: flex;
  }

  .page-dashboard-alt > main {
    margin-left: 16rem !important;
    padding: 6rem 2rem 3rem !important;
  }

  .page-dashboard-alt > main .grid.grid-cols-12 {
    display: grid !important;
  }

  .page-dashboard-alt > main .grid.grid-cols-12 > div {
    margin-bottom: 0;
  }

  .page-dashboard-alt > main .grid.grid-cols-12.px-6.py-3 {
    display: grid !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-page,
  .site-page.has-promo {
    padding-top: 0 !important;
  }
}

/* Original Belfort artwork with transparent background on every brand surface. */
.site-logo {
  display: block;
  flex: none;
  width: 96px;
  height: 74px;
  object-fit: contain;
}

.site-logo--inverse {
  filter: brightness(0) invert(1);
}

.site-logo--menu {
  width: 160px;
  height: 126px;
}

.site-logo--footer {
  width: 184px;
  height: 154px;
}

.site-logo--login {
  width: 70px;
  height: 70px;
}

.site-logo--dashboard {
  width: 108px;
  height: 92px;
}

.site-logo--alt {
  width: 54px;
  height: 54px;
}

.site-logo--avatar {
  width: 46px;
  height: 46px;
}

.dark .page-dashboard-alt .site-logo {
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .site-logo--nav {
    width: 116px;
    height: 88px;
  }
}

@media print {
  .site-logo--inverse {
    filter: none;
  }
}
