.gm-language { justify-self: end; position: relative; }
.gm-language summary { cursor: pointer; font-size: 11px; letter-spacing: 2px; padding: 12px 0; }
.gm-language div { position: absolute; inset-inline-end: 0; background: #141414; border: 1px solid #777d85; min-width: 8rem; padding: .4rem .9rem; }
.gm-language a { display: block; padding: .5rem 0; }
.gm-language [aria-current=page] { font-weight: 700; }
.gm-preview-notice { position: fixed; z-index: 100; left: 50%; bottom: 1rem; transform: translateX(-50%); max-width: min(80vw, 32rem); padding: .8rem 1rem; background: #080808; color: #fff; border: 1px solid #777d85; }
.gm-nojs { display: flex; flex-wrap: wrap; gap: .7rem 1rem; padding: 9rem 8% 1rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.gm-spa-static table { width: 100%; border-collapse: collapse; text-align: start; }
.gm-spa-static :is(th, td) { padding: .5rem; border-block-end: 1px solid #777d85; }
.gm-spa-static :is(th, td) { text-align: start; overflow-wrap: anywhere; }
.gm-spa-static { max-width: 42rem; }
@media (max-width: 600px) {
  .hero .bottom { right: max(8%, 82px); }
}

/* GM 5.2: presentation for narrow touch viewports. */
@media (max-width: 640px), (max-width: 900px) and (max-height: 500px) and (pointer: coarse) {
  :root { --gm-touch-top: calc(58px + env(safe-area-inset-top, 0px)); }
  html { scroll-padding-block: calc(var(--gm-touch-top) + 8px) 64px; }

  body #head {
    box-sizing: border-box;
    min-height: var(--gm-touch-top);
    padding: env(safe-area-inset-top, 0px) max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  }
  body #head.compact { background: #080808e8; }
  body #head .home442 img { width: clamp(90px, 30vw, 125px); max-height: 48px; object-fit: contain; }
  body #head :is(#toggle, #lang > summary) { min-height: 44px; }
  body #head #toggle { column-gap: 6px; }

  body .gm-footer.gm-final {
    padding: 32px max(16px, env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left));
    text-align: center;
  }
  .gm-footer.gm-final .signature {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-bottom: 16px;
    margin-bottom: 25px;
  }
  .gm-footer.gm-final .signature h2 { margin-block: 4px; }
  .gm-footer.gm-final .gm-foot-grid { gap: 16px; }
  .gm-footer.gm-final .gm-foot-grid h3 { margin-block: 0 6px; }
  .gm-footer.gm-final .gm-foot-grid a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .gm-footer.gm-final .gm-foot-grid .cta { max-width: 24rem; margin: 5px auto; }
  .gm-footer.gm-final .corporate442 { margin-top: 18px; padding: 16px 0 10px; }
  .gm-footer.gm-final .legal45 { justify-content: center; gap: 0 12px; margin: 10px 0; }
  .gm-footer.gm-final :is(.legal45 a, .cookie-settings43, .careers442, .social43, summary) {
    min-height: 44px;
    align-content: center;
    overflow-wrap: anywhere;
  }
  .gm-footer.gm-final .gm-legal-notices { max-width: 34rem; margin-inline: auto; }
  .gm-footer.gm-final .gm-legal-notices details[open] > :not(summary) { text-align: start; }

  body .spa-config { padding: 44px max(12px, 5%) 48px; }
  .spa-config .config-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .spa-config :is(fieldset, .price-panel) { min-width: 0; }
  .spa-config .numbers { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(3px, 1.2vw, 8px); }
  .spa-config .numbers button { min-width: 0; padding-inline: 0; }
  .spa-config :is(.choices button, #request, #waterToggle) { min-height: 44px; }
  .spa-config .price-panel #request { white-space: normal; text-align: center; }
  .spa-config .price-panel #total { overflow-wrap: anywhere; }

  body #gm-wa.cta {
    bottom: max(12px, calc(8px + env(safe-area-inset-bottom, 0px)));
    right: max(12px, calc(8px + env(safe-area-inset-right, 0px)));
  }
  html body #gm-wa.cta { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
  html body #gm-wa.cta svg { width: 27px !important; height: 27px !important; }
  .gm-preview-notice { bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
}

html body #gm-wa.cta.gm-wa-clear-content { visibility: hidden; pointer-events: none; }
