:root { --layout-accent: var(--teal); }
/* Shared header/footer geometry based on Kroma AI. Theme colors and content stay local. */
header.layout-header, header.layout-header.is-scrolled { width: 100%; margin: 0; padding: 0; border-radius: 0; }
.layout-header > .container { width: min(100% - 48px, 1296px); max-width: 1296px; padding-inline: 0; }
header.layout-header .layout-header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; width: 100%; height: auto; min-height: 80px; margin: 0 auto; padding: 0;
  border: 0; border-radius: 0; box-shadow: none !important; background: transparent !important;
}
header.layout-header > .layout-header-inner { width: min(100% - 48px, 1296px); max-width: 1296px; }
.layout-header .layout-header-brand { display: inline-flex; align-items: center; justify-self: start; gap: 10px; margin: 0; padding: 0; }
.layout-header .layout-header-brand img { object-fit: contain; }
.layout-header .layout-header-nav { justify-self: center; margin: 0; }
.layout-header .layout-header-links { display: flex !important; align-items: center; justify-content: center; gap: 4px; padding: 0; margin: 0; list-style: none; }
.layout-header .layout-header-links li { margin: 0; padding: 0; }
.layout-header .layout-header-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0;
  text-transform: none; white-space: nowrap; border-radius: 0; background: transparent;
}
.layout-header .layout-header-link.active { background: transparent; color: var(--layout-accent); }
.layout-header .layout-header-link::before, .layout-header .layout-header-link::after { display: none; }
.layout-header .layout-header-actions { display: flex; align-items: center; justify-self: end; gap: 8px; }
.layout-header .layout-header-login {
  display: inline-flex !important; align-items: center; justify-content: center;
  justify-self: end; gap: 8px; min-height: 48px; margin: 0; padding: 12px 24px;
  border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.layout-header .layout-header-toggle { display: none !important; margin: 0; }

footer.layout-footer { padding: 72px 0 28px; margin: 0; border-radius: 0; }
.layout-footer > .zz-stars, .layout-footer::before, .layout-footer::after { display: none; }
footer.layout-footer .layout-footer-wrapper { padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
footer.layout-footer .layout-footer-container { width: min(100% - 48px, 1296px); max-width: 1296px; margin-inline: auto; padding-inline: 0; }
footer.layout-footer .layout-footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, .95fr) minmax(0, 1.2fr);
  gap: 40px; margin: 0; padding: 0;
}
footer.layout-footer .layout-footer-grid > .layout-footer-column {
  min-width: 0; width: auto; max-width: none; margin: 0; padding: 0 !important;
}
.layout-footer .layout-footer-brand > a { display: inline-flex; align-items: center; gap: 10px; margin: 0 !important; padding-block: 2px; }
.layout-footer .layout-footer-brand > a > img { object-fit: contain; }
.layout-footer .layout-footer-brand p { max-width: 310px; margin: 20px 0 0 !important; font-size: .925rem; line-height: 1.8; }
footer.layout-footer .layout-footer-heading { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: 8px 0 20px; padding: 0; }
footer.layout-footer .layout-footer-links { list-style: none; margin: 0; padding: 0; }
footer.layout-footer .layout-footer-links li { list-style: none; margin: 0; padding: 0; }
footer.layout-footer .layout-footer-links a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0; font-size: .9rem; line-height: 1.5; }
.layout-footer .layout-footer-links a::before { display: none; }
footer.layout-footer .footer-contacts { list-style: none; margin: 0; padding: 0; font-size: .875rem; line-height: 1.6; }
footer.layout-footer .footer-contacts li { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 16px; padding: 0; }
footer.layout-footer .footer-contacts li:last-child { margin-bottom: 0; }
footer.layout-footer .footer-contacts li > :first-child:not(a) {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
}
footer.layout-footer .footer-contacts a, footer.layout-footer .footer-contacts li > span:last-child { min-width: 0; padding-top: 6px; font-size: inherit; line-height: inherit; overflow-wrap: anywhere; }
footer.layout-footer .footer-contacts li > span:last-child:not(:first-child) { display: block; width: auto; height: auto; flex: initial; }
footer.layout-footer .layout-footer-payments {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; margin-top: 36px; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 0;
}
.layout-footer .layout-footer-payments > span { font-size: .9rem; font-weight: 700; }
footer.layout-footer .layout-footer-payment-logos { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 0 0 16px; border-top: 0; }
footer.layout-footer .layout-footer-payment-logos img { display: block; width: 63px; height: 36px; object-fit: contain; }
footer.layout-footer .layout-footer-payment-logos .pay-card { display: grid; place-items: center; width: 63px; height: 36px; }
footer.layout-footer .layout-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding: 24px 0 0; font-size: .8rem; line-height: 1.8; }
footer.layout-footer .layout-footer-bottom p { margin: 0; text-align: center; font-size: inherit; line-height: inherit; overflow-wrap: anywhere; }
@media (max-width: 1199px) {
  footer.layout-footer .layout-footer-grid { gap: 28px; }
  .layout-header .layout-header-link { padding-inline: 12px; }
}
@media (max-width: 1024px) {
  header.layout-header .layout-header-inner { grid-template-columns: 1fr auto; gap: 16px; min-height: 68px; }
  .layout-header .layout-header-nav, .layout-header .layout-header-links,
  .layout-header .layout-header-login { display: none !important; }
  .layout-header .layout-header-toggle { display: inline-flex !important; align-items: center; justify-content: center; justify-self: end; width: 44px; height: 44px; padding: 0; border-radius: 12px; }
  footer.layout-footer .layout-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (max-width: 767px) {
  header.layout-header > .container, header.layout-header > .layout-header-inner,
  footer.layout-footer .layout-footer-container { width: calc(100% - 32px); }
  footer.layout-footer { padding-top: 48px; }
  footer.layout-footer .layout-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  footer.layout-footer .layout-footer-heading { margin-top: 0; margin-bottom: 12px; }
}

header.layout-header { --scroll-header-bg: rgba(255, 255, 255, .98); }

/* Scroll behavior: leave with the page, then return as a persistent header. */
header.layout-header.scroll-header-enabled {
  position: fixed !important; inset: 0 0 auto !important; z-index: 1030 !important;
  transform: translateY(var(--scroll-header-offset, 0px)) !important;
  transition: none !important;
}
header.layout-header.scroll-header-returned {
  transform: translateY(0) !important;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1) !important;
  background: var(--scroll-header-bg, var(--hdr-bg-scrolled, #fff));
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}
.layout-header-spacer { flex-shrink: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  header.layout-header.scroll-header-returned { transition: none !important; }
}
.layout-header .layout-header-brand img,
.hdr-drawer .hdr-brand img,
.mobile-menu-top .header-logo img,
.offcanvas-header .brand img {
  width: 72px;
  height: 72px;
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

footer.layout-footer .layout-footer-brand img,
footer.layout-footer .footer-logo img,
footer.layout-footer .footer-brand-link img {
  max-width: 58px;
  max-height: 38px;
  object-fit: contain;
}
