/* ADH tokens belong to the existing site design system. */
.amt-language-switcher,
.amt-language-dialog {
  --amt-ls-blue: var(--amt-blue, #0038a8);
  --amt-ls-ink: var(--amt-carbide, #1b1f24);
  --amt-ls-muted: var(--amt-text-muted, #59616b);
  --amt-ls-paper: var(--amt-white, #fff);
  --amt-ls-soft: var(--amt-silver, #f0f2f5);
  --amt-ls-border: var(--amt-border, #d7dbe0);
  color: var(--amt-ls-ink);
  font-family: var(--bde-body-font-family, Manrope, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.5;
  text-align: start;
}
.amt-language-switcher { position: relative; flex: 0 0 auto; }
.amt-language-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--amt-radius-sm, 4px);
  color: var(--amt-ls-ink);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  transition: color var(--amt-motion-fast, 180ms), background-color var(--amt-motion-fast, 180ms);
}
.amt-language-trigger::-webkit-details-marker { display: none; }
.amt-language-trigger::marker { content: ""; }
.amt-language-trigger > .amt-language-icon { color: var(--amt-ls-blue); }
.amt-language-icon { display: block; flex: 0 0 auto; width: 20px; height: 20px; }
.amt-language-chevron .amt-language-icon { width: 16px; height: 16px; }
.amt-language-trigger-name { max-width: 144px; overflow: hidden; text-overflow: ellipsis; }
.amt-language-trigger-code { display: none; }
.amt-language-trigger:hover,
.amt-language-trigger[aria-expanded="true"],
.amt-language-switcher[open] > .amt-language-trigger {
  color: var(--amt-ls-blue);
  background: var(--amt-ls-soft);
}
.amt-language-trigger:focus-visible,
.amt-language-close:focus-visible,
.amt-language-link:focus-visible,
.amt-language-search:focus-visible {
  outline: 2px solid var(--amt-ls-blue);
  outline-offset: 3px;
}
.amt-language-panel {
  display: flex;
  flex-direction: column;
  width: 560px;
  max-width: calc(100vw - 32px);
  max-height: min(640px, calc(100dvh - 112px));
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--amt-ls-border);
  border-radius: var(--amt-radius-md, 8px);
  background: var(--amt-ls-paper);
  box-shadow: var(--amt-shadow-menu, 0 18px 52px rgba(27,31,36,.16));
}
.amt-language-switcher[open] > .amt-language-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 300;
}
.amt-language-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  padding: 16px 16px 8px 24px;
}
.amt-language-title {
  margin: 0;
  color: var(--amt-ls-ink);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.amt-language-title:focus { outline: none; }
.amt-language-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--amt-radius-sm, 4px);
  color: var(--amt-ls-ink);
  background: transparent;
  cursor: pointer;
}
.amt-language-close:hover { color: var(--amt-ls-blue); background: var(--amt-ls-soft); }
.amt-language-search-wrap { position: relative; margin: 0 24px 16px; flex: 0 0 auto; }
.amt-language-search-icon { position: absolute; inset-inline-start: 16px; top: 16px; color: var(--amt-ls-muted); pointer-events: none; }
.amt-language-search {
  display: block;
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  padding-inline-start: 48px;
  border: 1px solid var(--amt-ls-border);
  border-radius: var(--amt-radius-sm, 4px);
  background: var(--amt-ls-paper);
  color: var(--amt-ls-ink);
  font: inherit;
  font-size: 16px;
  box-sizing: border-box;
}
.amt-language-search::placeholder { color: var(--amt-ls-muted); opacity: 1; }
.amt-language-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 20px; scrollbar-gutter: stable; }
.amt-language-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.amt-language-item { min-width: 0; margin: 0; padding: 0; }
.amt-language-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: var(--amt-radius-sm, 4px);
  color: var(--amt-ls-ink);
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color var(--amt-motion-fast, 180ms), color var(--amt-motion-fast, 180ms);
}
.amt-language-link:hover,
.amt-language-link[aria-current="true"] { color: var(--amt-ls-blue); background: var(--amt-ls-soft); text-decoration: none; }
.amt-language-names { display: flex; flex-direction: column; min-width: 0; }
.amt-language-native { font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.amt-language-english { color: var(--amt-ls-muted); font-size: 12px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.amt-language-check { flex: 0 0 20px; color: var(--amt-ls-blue); }
.amt-language-empty { margin: 8px; color: var(--amt-ls-muted); }
.amt-language-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.amt-language-panel [hidden] { display: none !important; }
.amt-language-dialog {
  position: fixed;
  inset: auto;
  width: max-content;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: var(--amt-radius-md, 8px);
  background: transparent;
}
.amt-language-dialog:not([open]) { display: none; }
.amt-language-dialog::backdrop { background: transparent; }
.amt-language-dialog > .amt-language-panel { width: min(560px, calc(100vw - 32px)); max-height: var(--amt-ls-available-height, 640px); }
html.amt-language-modal-open { overflow: hidden; }
/* Scoped to the header containing this component; existing page CTAs are untouched. */
.amt-header-shell .amt-header-main-inner,
.amt-header-shell .amt-header-main-inner[data-amt-language-header] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
.amt-header-main-inner .amt-header-actions,
.amt-header-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  overflow: visible !important;
}
.amt-header-actions > .bde-shortcode { display: block; flex: 0 0 auto; width: auto; }
/* The homepage has a transparent header over a film; its navigation uses white. */
body:has(.amt-cinema-page:not([hidden])) .amt-header-actions .amt-language-trigger { color: var(--amt-silver-text, #e1e4e8); }
body:has(.amt-cinema-page:not([hidden])) .amt-header-actions .amt-language-trigger > .amt-language-icon { color: currentColor; }
body:has(.amt-cinema-page:not([hidden])) .amt-header-actions .amt-language-trigger:hover,
body:has(.amt-cinema-page:not([hidden])) .amt-header-actions .amt-language-trigger[aria-expanded="true"] { color: var(--amt-white, #fff); background: rgba(255,255,255,.12); }
body:has(.amt-cinema-page:not([hidden])) .amt-header-actions .amt-language-trigger:focus-visible { outline-color: var(--amt-white, #fff); }
@media (max-width: 1279px) {
  .amt-language-trigger-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .amt-language-trigger-code { display: inline; }
  .amt-language-trigger { padding-inline: 8px; gap: 6px; }
}
@media (max-width: 1119px) {
  .amt-header-main-inner[data-amt-language-header] .amt-header-actions { order: 2; margin-inline-start: auto; gap: 8px; }
  .amt-header-main-inner[data-amt-language-header] .amt-header-menu-slot { order: 3; flex: 0 0 44px; }
  .amt-header-main-inner[data-amt-language-header] .amt-lp-header-nav { order: 1; }
}
@media (max-width: 767px) {
  .amt-language-dialog { width: 100%; height: var(--amt-ls-viewport-height, 100dvh); border-radius: 0; }
  .amt-language-dialog > .amt-language-panel { width: 100%; max-width: none; height: 100%; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
  .amt-language-heading { padding: max(12px, env(safe-area-inset-top)) 16px 8px; }
  .amt-language-search-wrap { margin: 0 16px 16px; }
  .amt-language-scroll { flex: 1 1 auto; padding: 4px 8px max(20px, env(safe-area-inset-bottom)); }
  .amt-language-list { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .amt-language-link { min-height: 64px; padding-inline: 16px; }
  .amt-language-native { font-size: 16px; }
  .amt-language-switcher[open] > .amt-language-panel { position: fixed; inset: 76px 16px auto; width: auto; max-height: calc(100dvh - 92px); }
  .amt-header-main-inner[data-amt-language-header] .amt-lp-header-quote { padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 479px) {
  .amt-header-main-inner[data-amt-language-header] .amt-header-actions:has(.amt-lp-header-quote) { flex: 0 1 auto; }
  .amt-header-actions:has(.amt-lp-header-quote) .amt-language-chevron { display: none; }
  .amt-header-main-inner[data-amt-language-header] .amt-lp-header-quote { flex: 0 1 auto; min-width: 0; padding: 8px 10px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .amt-language-trigger,
  .amt-language-link { transition: none; }
}

/* ========================================================
   DEFINITIVE SEGMENTED LANGUAGE SWITCHER ("ПОЛЗУНОК")
   For both Inner White Header and Home Transparent Header
   ======================================================== */
.amt-lang-switcher {
  display: inline-flex !important;
  align-items: center !important;
  background: #E2E8F0 !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 9999px !important;
  padding: 3px !important;
  gap: 2px !important;
  height: 38px !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  flex-shrink: 0 !important;
}

body.home .amt-lang-switcher {
  background: rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 9999px !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.16) !important;
}

body:not(.home) .amt-lang-switcher,
.amt-header-shell--light .amt-lang-switcher {
  background: #E2E8F0 !important;
  border: 1px solid #CBD5E1 !important;
}

.amt-lang-switcher a,
.amt-lang-switcher .amt-lang-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  padding: 0 12px !important;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  color: #334155 !important;
  background: transparent !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

body.home .amt-lang-switcher a,
body.home .amt-lang-switcher .amt-lang-btn {
  color: rgba(255, 255, 255, 0.88) !important;
}

body:not(.home) .amt-lang-switcher a:not(.active),
body:not(.home) .amt-lang-switcher .amt-lang-btn:not(.active),
.amt-header-shell--light .amt-lang-switcher a:not(.active),
.amt-header-shell--light .amt-lang-switcher .amt-lang-btn:not(.active) {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

.amt-lang-switcher a:hover:not(.active),
.amt-lang-switcher .amt-lang-btn:hover:not(.active) {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  background: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

body.home .amt-lang-switcher a:hover:not(.active),
body.home .amt-lang-switcher .amt-lang-btn:hover:not(.active) {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

/* Active language button: High Contrast, Crisp White letters on ADH Blue */
.amt-lang-switcher a.active,
.amt-lang-switcher .amt-lang-btn.active,
.amt-lang-switcher a[aria-current="page"],
body .amt-lang-switcher a.active,
body .amt-lang-switcher .amt-lang-btn.active,
body:not(.home) .amt-lang-switcher a.active,
body:not(.home) .amt-lang-switcher .amt-lang-btn.active,
.amt-header-shell--light .amt-lang-switcher a.active,
.amt-header-shell--light .amt-lang-switcher .amt-lang-btn.active,
header .amt-lang-switcher a.active,
header .amt-lang-switcher .amt-lang-btn.active {
  background: #0038A8 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 6px rgba(0, 56, 168, 0.4) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Header CTA Button: Guaranteed No White Rim, No Cutoff, Proper Auto Width */
.amt-header-cta,
.amt-header-shell .amt-header-cta,
body.home .amt-header-cta,
body:not(.home) .amt-header-cta,
.amt-header-shell--light .amt-header-cta,
.bde-f-text-link-23851-111 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  background: #FF5000 !important;
  color: #FFFFFF !important;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 6px !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.amt-header-cta:hover,
body.home .amt-header-cta:hover,
body:not(.home) .amt-header-cta:hover,
.amt-header-shell--light .amt-header-cta:hover,
.bde-f-text-link-23851-111:hover {
  background: #E04600 !important;
  color: #FFFFFF !important;
  border: none !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

/* Mobile & Tablet Header (< 1120px) */
@media (max-width: 1119px) {
  .amt-header-cta,
  body .amt-header-cta,
  body.home .amt-header-cta,
  body:not(.home) .amt-header-cta,
  .amt-header-shell--light .amt-header-cta,
  .bde-f-text-link-23851-111,
  .amt-header-actions .amt-header-cta {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 768px) {
  .amt-lang-switcher {
    height: 32px !important;
    padding: 2px !important;
    gap: 2px !important;
    border-radius: 9999px !important;
  }
  .amt-lang-switcher a,
  .amt-lang-switcher .amt-lang-btn {
    height: 26px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    border-radius: 9999px !important;
  }
}

/* Tablet Portrait & Tall Screens (iPad Pro 1032x1376, Surface Pro 960x1440, etc.) */
@media (min-width: 769px) and (max-width: 1119px) and (min-height: 800px),
       (max-aspect-ratio: 1/1) and (min-width: 769px) and (min-height: 800px) {
  .amt-cinema-hero,
  .amt-cinema-hero.amt-home-hero,
  .bde-f-container-2-585,
  #cinema-top {
    min-height: 100svh !important;
    justify-content: flex-start !important;
    padding-top: clamp(100px, 12vh, 180px) !important;
    padding-bottom: 40px !important;
  }
  .amt-cinema-hero-in {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
    padding-left: clamp(24px, 4vw, 48px) !important;
    padding-right: clamp(24px, 4vw, 48px) !important;
  }
  .amt-cinema-hero-h1 {
    font-size: clamp(38px, 4.8vw, 62px) !important;
    line-height: 1.05 !important;
    margin-top: 16px !important;
    margin-bottom: 20px !important;
  }
  .amt-cinema-hero-row-p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    max-width: 55ch !important;
    margin-bottom: 22px !important;
  }
  .amt-cinema-hero-ctas {
    margin-bottom: 28px !important;
  }
}

/* Short Viewports / Compact Landscape (1440x650, 1024x650, Laptops <= 760px height) */
@media (max-height: 760px) and (min-width: 769px) {
  .amt-cinema-hero,
  .amt-cinema-hero.amt-home-hero,
  .bde-f-container-2-585,
  #cinema-top {
    min-height: 100svh !important;
    justify-content: flex-end !important;
    padding-bottom: 12px !important;
  }
  .amt-cinema-hero-in {
    padding-top: 54px !important;
    padding-bottom: 8px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .amt-cinema-kicker-stack,
  .bde-f-container-2-568 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
  }
  .amt-cinema-hero-h1 {
    font-size: clamp(32px, 3.8vw, min(48px, 7.5vh)) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.03em !important;
    margin-top: 4px !important;
    margin-bottom: 10px !important;
  }
  .amt-cinema-hero-row-p {
    font-size: 13px !important;
    line-height: 1.35 !important;
    max-width: 58ch !important;
    margin-bottom: 12px !important;
  }
  .amt-cinema-hero-ctas,
  .amt-cinema-ctas {
    margin-bottom: 12px !important;
    gap: 8px !important;
  }
  .amt-cinema-hero-ctas .amt-btn,
  .amt-cinema-hero-ctas .amt-cinema-btn,
  .amt-cinema-ctas a,
  .amt-cinema-hero-ctas a,
  .bde-f-container-link-2-579,
  .bde-f-text-link-2-580 {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    font-size: 13px !important;
    padding: 0 16px !important;
  }
  .amt-cinema-stats-slot {
    margin-top: 8px !important;
  }
  .amt-fact__value,
  .bde-f-text-29081-100,
  .bde-f-text-29081-103,
  .bde-f-text-29081-106,
  .bde-f-text-29081-109 {
    font-size: 24px !important;
    line-height: 1.1 !important;
    margin-bottom: 1px !important;
  }
  .amt-fact__label,
  .bde-f-text-29081-101,
  .bde-f-text-29081-104,
  .bde-f-text-29081-107,
  .bde-f-text-29081-110 {
    font-size: 9.5px !important;
    line-height: 1.2 !important;
  }
  .amt-wa-widget {
    bottom: 12px !important;
    right: 12px !important;
    transform: scale(0.85);
    transform-origin: bottom right;
  }
}

/* All lines of Hero Title are 100% SOLID WHITE (Matches official adh.com.ua 1:1) */
.amt-cinema-hero-h1,
.amt-cinema-hero-h1 span,
.amt-cinema-hero-h1-ln,
.amt-cinema-hero-h1-ln span,
.amt-cinema-accent,
.amt-cinema-hero-h1-accent {
  color: #FFFFFF !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 2px 24px rgba(10, 26, 63, 0.6) !important;
  font-weight: 800 !important;
}


/* ========================================================
   DESKTOP HEADER PHONE NUMBER (>= 1120px)
   Prominent, clearly visible, elegant, matches header
   ======================================================== */
.amt-header-phone {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 16px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  box-sizing: border-box !important;
  border-radius: 9999px !important;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.amt-header-phone__icon {
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  color: #FF5000 !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.amt-header-phone:hover .amt-header-phone__icon {
  transform: scale(1.15) rotate(-10deg) !important;
}

/* 1. Cinema Hero Header (Transparent state at top of homepage) */
body.home .amt-header-shell:not(.amt-cinema-scrolled) .amt-header-phone {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.38) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}
body.home .amt-header-shell:not(.amt-cinema-scrolled) .amt-header-phone:hover {
  background: rgba(255, 255, 255, 0.26) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* 2. Scrolled Header on home & White Header on all inner pages */
body.home .amt-header-shell.amt-cinema-scrolled .amt-header-phone,
body:not(.home) .amt-header-phone,
.amt-header-shell--light .amt-header-phone {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
body.home .amt-header-shell.amt-cinema-scrolled .amt-header-phone:hover,
body:not(.home) .amt-header-phone:hover,
.amt-header-shell--light .amt-header-phone:hover {
  background: #FFFFFF !important;
  border-color: #0038A8 !important;
  color: #0038A8 !important;
  -webkit-text-fill-color: #0038A8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(0, 56, 168, 0.12) !important;
}

/* ========================================================
   STRICT HIDE ON MOBILE & TABLET (< 1120px)
   Completely removed from the top header! Zero clutter!
   ======================================================== */
@media (max-width: 1119px) {
  .amt-header-phone,
  body .amt-header-phone,
  body.home .amt-header-phone,
  body:not(.home) .amt-header-phone,
  .amt-header-shell--light .amt-header-phone,
  .amt-header-actions .amt-header-phone {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

/* ========================================================
   MOBILE DRAWER PHONE CARD
   Sits neatly after categories and before quote buttons
   ======================================================== */
.amt-mobile-drawer-phone-card {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}
.amt-mobile-drawer-phone-card__btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgba(0, 56, 168, 0.07) 0%, rgba(255, 80, 0, 0.08) 100%) !important;
  border: 1.5px solid rgba(0, 56, 168, 0.18) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.amt-mobile-drawer-phone-card__btn:active,
.amt-mobile-drawer-phone-card__btn:hover {
  background: linear-gradient(135deg, rgba(0, 56, 168, 0.12) 0%, rgba(255, 80, 0, 0.14) 100%) !important;
  border-color: #0038A8 !important;
  transform: scale(0.99) !important;
}
.amt-mobile-drawer-phone-card__icon-wrap {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  background: #FF5000 !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(255, 80, 0, 0.35) !important;
}
.amt-mobile-drawer-phone-card__icon {
  width: 18px !important;
  height: 18px !important;
  color: #FFFFFF !important;
}
.amt-mobile-drawer-phone-card__info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex-grow: 1 !important;
  padding: 0 12px !important;
  text-align: left !important;
}
.amt-mobile-drawer-phone-card__badge {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #59616B !important;
  line-height: 1.2 !important;
}
.amt-mobile-drawer-phone-card__number {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.2 !important;
}
.amt-mobile-drawer-phone-card__action {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  background: #0038A8 !important;
  color: #FFFFFF !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 5px rgba(0, 56, 168, 0.25) !important;
}

/* Completely remove WhatsApp widget everywhere */
.amt-wa-widget,
.bde-globalblock-23853-175,
[aria-label="WhatsApp contact"],
[aria-label="Контакт у WhatsApp"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
}

/* ========================================================
   CINEMA HERO HEADING (H1) - PERFECT TYPOGRAPHY & NO CLIPPING
   Ensures "Листообрабатывающее оборудование, собственного производства."
   fits cleanly without truncating long Russian words or breaking awkwardly.
   ======================================================== */
.amt-cinema-hero-h1 {
  max-width: none !important;
  width: 100% !important;
}

.amt-cinema-hero-h1-ln {
  display: block !important;
  width: max-content !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* Desktop (>= 1120px) */
@media (min-width: 1120px) {
  .amt-cinema-hero-h1 {
    font-size: clamp(34px, 3.5vw, 56px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    margin-top: 18px !important;
    margin-bottom: 22px !important;
  }
  .amt-cinema-hero-h1-ln {
    white-space: nowrap !important;
  }
}

/* Tablet (769px - 1119px) */
@media (min-width: 769px) and (max-width: 1119px) {
  .amt-cinema-hero-h1 {
    font-size: clamp(28px, 3.8vw, 44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    margin-top: 14px !important;
    margin-bottom: 18px !important;
  }
  .amt-cinema-hero-h1-ln {
    white-space: nowrap !important;
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  .amt-cinema-hero-h1 {
    font-size: clamp(22px, 5.8vw, 30px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    margin-top: 4px !important;
    margin-bottom: 10px !important;
  }
  .amt-cinema-hero-h1-ln:nth-child(1),
  .amt-cinema-hero-h1-ln:nth-child(2) {
    white-space: nowrap !important;
  }
  .amt-cinema-hero-h1-ln:nth-child(3) {
    white-space: normal !important;
  }
}


/* ========================================================
   ADH MACHINE TOOL (adh.com.ua) - LEAD MODAL STYLING
   High-end, responsive, conversion-optimized pop-up
   ======================================================== */

.adh-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
  box-sizing: border-box;
}

.adh-modal-overlay.adh-modal-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.adh-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.adh-modal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(0, 56, 168, 0.25), 0 10px 30px rgba(15, 23, 42, 0.15);
  padding: 32px 32px 28px 32px;
  box-sizing: border-box;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0F172A;
}

.adh-modal-overlay.adh-modal-active .adh-modal-container {
  transform: translateY(0) scale(1);
}

.adh-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  border: none;
  border-radius: 50%;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}

.adh-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.adh-modal-header {
  margin-bottom: 22px;
  padding-right: 32px;
}

.adh-modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0038A8;
  background: rgba(0, 56, 168, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.adh-modal-title {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.adh-modal-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #64748B;
}

.adh-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adh-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .adh-modal-row {
    grid-template-columns: 1fr;
  }
}

.adh-modal-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.adh-modal-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.adh-modal-input,
.adh-modal-textarea {
  width: 100%;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #0F172A;
  background: #F8FAFC;
  outline: none;
  transition: all 0.2s ease;
}

.adh-modal-input:focus,
.adh-modal-textarea:focus {
  border-color: #0038A8;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 56, 168, 0.12);
}

.adh-modal-input.adh-input-invalid,
.adh-modal-textarea.adh-input-invalid {
  border-color: #EF4444;
  background: #FEF2F2;
}

.adh-modal-textarea {
  resize: vertical;
  min-height: 70px;
}

/* Quick chips */
.adh-modal-chips-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 2px 0;
}

.adh-modal-chips-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.adh-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adh-modal-chip {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.adh-modal-chip:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.adh-modal-chip.adh-chip-active {
  background: #0038A8;
  color: #FFFFFF;
  border-color: #0038A8;
}

.adh-modal-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  box-sizing: border-box;
  margin-top: 6px;
  background: linear-gradient(135deg, #FF5000 0%, #E04000 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(255, 80, 0, 0.35);
  font-family: inherit;
}

.adh-modal-submit-btn:hover {
  background: linear-gradient(135deg, #FF6018 0%, #EA4800 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 80, 0, 0.45);
}

.adh-modal-submit-btn:active {
  transform: scale(0.99);
}

.adh-modal-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.adh-btn-arrow {
  transition: transform 0.2s ease;
}

.adh-modal-submit-btn:hover .adh-btn-arrow {
  transform: translateX(3px);
}

.adh-modal-privacy {
  margin: 6px 0 0 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: #94A3B8;
  text-align: center;
}

.adh-modal-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* Success View */
.adh-modal-view-success {
  text-align: center;
  padding: 20px 8px 10px 8px;
}

.adh-success-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: #E8F5E9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adh-success-title {
  margin: 0 0 10px 0;
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
}

.adh-success-desc {
  margin: 0 auto 24px auto;
  font-size: 14.5px;
  line-height: 1.5;
  color: #64748B;
  max-width: 380px;
}

.adh-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
}

.adh-success-tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: #0088CC;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.adh-success-tg-btn:hover {
  background: #0077B5;
  transform: translateY(-1px);
}

.adh-success-close-btn {
  padding: 10px 16px;
  background: #F1F5F9;
  color: #475569;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.adh-success-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Mobile fine-tuning */
@media (max-width: 600px) {
  .adh-modal-container {
    padding: 24px 20px 20px 20px;
    border-radius: 16px;
  }
  .adh-modal-title {
    font-size: 20px;
  }
  .adh-modal-desc {
    font-size: 13px;
  }
}

/* ========================================================
   UNIVERSAL WHITE HEADER DROPDOWN MEGA-MENU RELIABILITY FIX
   ======================================================== */
.bde-menu-23851-116 .breakdance-dropdown,
.amt-desktop-menu-builder .breakdance-dropdown {
  --dropdown-offset-y: 100%;
  --dropdown-custom-offset-y: 0px;
}

.bde-menu-23851-116 .breakdance-dropdown--open > .breakdance-dropdown-floater,
.amt-desktop-menu-builder .breakdance-dropdown--open > .breakdance-dropdown-floater {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (min-width: 1120px) {
  .bde-menu-23851-116 .breakdance-dropdown:hover > .breakdance-dropdown-floater,
  .amt-desktop-menu-builder .breakdance-dropdown:hover > .breakdance-dropdown-floater {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .bde-menu-23851-116 .breakdance-dropdown:hover .breakdance-menu-link-arrow:after,
  .bde-menu-23851-116 .breakdance-dropdown--open .breakdance-menu-link-arrow:after,
  .amt-desktop-menu-builder .breakdance-dropdown:hover .breakdance-menu-link-arrow:after,
  .amt-desktop-menu-builder .breakdance-dropdown--open .breakdance-menu-link-arrow:after {
    transform: rotate(180deg) !important;
  }
}

/* ========================================================
   UNIVERSAL SEAMLESS MOBILE ADAPTIVITY ACROSS ALL PAGES
   ======================================================== */
@media (max-width: 1119px) {
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Header shell & row */
  .amt-header-shell .amt-header-main-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: clamp(10px, 3vw, 16px) !important;
    padding-right: clamp(10px, 3vw, 16px) !important;
    min-height: 56px !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }

  /* Left: Brand logo + Tagline stack lockup */
  .amt-header-logo-link {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 1 auto !important;
    max-width: calc(100% - 140px) !important;
    text-decoration: none !important;
    min-width: 0 !important;
  }

  .amt-header-logo-link .amt-logo {
    height: 28px !important;
    max-width: 58px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }

  .amt-ua-distributor-lockup,
  .amt-header-tagline-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .amt-ua-distributor-divider {
    display: block !important;
    width: 1px !important;
    height: 26px !important;
    flex-shrink: 0 !important;
    margin: 0 1px !important;
  }
  body.home .amt-ua-distributor-divider {
    background: rgba(255, 255, 255, 0.22) !important;
  }
  body:not(.home) .amt-ua-distributor-divider,
  .amt-header-shell--light .amt-ua-distributor-divider {
    background: #D1D5DB !important;
  }

  .amt-header-tagline-stack {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 7.2px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }
  body.home .amt-header-tagline-stack,
  body.home .amt-header-tagline-stack span {
    color: rgba(255, 255, 255, 0.85) !important;
  }
  body:not(.home) .amt-header-tagline-stack,
  body:not(.home) .amt-header-tagline-stack span,
  .amt-header-shell--light .amt-header-tagline-stack,
  .amt-header-shell--light .amt-header-tagline-stack span {
    color: #374151 !important;
  }

  /* Right: Language Switcher right next to Hamburger Button */
  .amt-header-actions {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }

  .amt-lang-switcher {
    height: 30px !important;
    padding: 2px !important;
    gap: 2px !important;
    border-radius: 9999px !important;
  }

  .amt-lang-switcher a,
  .amt-lang-switcher .amt-lang-btn {
    height: 26px !important;
    padding: 0 7px !important;
    font-size: 10.5px !important;
    border-radius: 9999px !important;
  }

  /* Hamburger toggle container */
  .amt-header-menu-slot {
    order: 3 !important;
    flex: 0 0 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .amt-desktop-menu-builder {
    display: none !important;
  }

  .amt-mobile-menu-builder {
    display: block !important;
    flex: 0 0 44px !important;
  }

  /* Hide header phone and CTA button in mobile header */
  .amt-header-phone,
  .amt-header-cta {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }
}

/* Small screen micro-adjustments (<= 480px, iPhone SE, etc.) */
@media (max-width: 480px) {
  .amt-header-tagline-stack {
    font-size: 6.8px !important;
    line-height: 1.12 !important;
  }
  .amt-ua-distributor-lockup {
    gap: 6px !important;
  }
  .amt-ua-distributor-divider {
    height: 22px !important;
  }
  .amt-lang-switcher a,
  .amt-lang-switcher .amt-lang-btn {
    padding: 0 5px !important;
    font-size: 10px !important;
  }
}


