.ea-mobile-manager, .ea-search-toggle { display: none; }
@media (max-width: 767px) {
  .header .header-inner, header.ea-search-header > div {
    display: grid !important;
    grid-template-columns: 40px minmax(70px, 1fr) 80px 48px;
    align-items: center;
    gap: 6px !important;
    padding-left: 12px;
    padding-right: 12px;
  }
  .header .header-left, header.ea-search-header details.group { grid-column: 1; grid-row: 1; }
  .header .header-actions, header.ea-search-header > div > div.ml-auto { display: contents !important; }
  .header .header-actions .ea-smart-search, header.ea-search-header .ea-smart-search {
    grid-column: 2; grid-row: 1; width: 100%; min-width: 0; max-width: none; margin: 0; height: 42px;
  }
  .header .logo, header.ea-search-header > div > a[data-testid="link-logo"] { grid-column: 3; grid-row: 1; justify-self: center; min-width: 0; }
  .header .logo { width: 80px; }
  .header .logo img { left: 50%; transform: translate(-50%, -50%); }
  .header .logo img, header.ea-search-header > div > a[data-testid="link-logo"] img { width: 80px; max-width: 80px; height: auto; }
  .header .ea-smart-search input, header.ea-search-header .ea-smart-search input { padding-left: 9px; }
  .header .ea-smart-search input::placeholder, header.ea-search-header .ea-smart-search input::placeholder { font-size: 11px; }
  .header .ea-smart-search button, header.ea-search-header .ea-smart-search button { width: 30px; }
  .header .ea-mobile-manager, header.ea-search-header .ea-manager-contact {
    grid-column: 4; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; width: 48px; height: 44px; margin: 0; color: #ffda00; text-decoration: none;
  }
  .header .ea-mobile-manager svg, header.ea-search-header .ea-manager-icon svg { width: 20px; height: 20px; }
  .header .ea-mobile-manager span { color: #fff; font: 600 9px/1 system-ui, sans-serif; }
  header.ea-search-header .ea-manager-label { display: block; order: 2; color: #fff; font: 600 9px/1 system-ui, sans-serif; text-align: center; }
  header.ea-search-header .ea-manager-label { font-size: 0; }
  header.ea-search-header .ea-manager-label::after { content: 'Менеджер'; font-size: 9px; }
  header.ea-search-header .ea-manager-label br { display: none; }
  header.ea-search-header .ea-manager-arrow { display: none; }
  header.ea-search-header .ea-manager-icon { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: none; color: #ffda00; }
  header.ea-search-header details.group { display: block; }
  .header .header-inner, header.ea-search-header > div {
    width: 100%; max-width: none; margin: 0; padding-left: 12px; padding-right: 12px;
    grid-template-columns: 40px 44px minmax(0, 1fr) 48px;
    position: relative;
  }
  .header .logo, header.ea-search-header > div > a[data-testid="link-logo"] {
    grid-column: auto; grid-row: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  }
  .header .ea-mobile-manager, header.ea-search-header .ea-manager-contact { grid-column: 4; }
  .header .ea-search-toggle, header.ea-search-header .ea-search-toggle { justify-self: start; }
  .header .ea-search-toggle, header.ea-search-header .ea-search-toggle {
    grid-column: 2; grid-row: 1; justify-self: start; display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0; border: 0;
    border-radius: 14px; background: transparent; color: #fff; cursor: pointer;
  }
  .header .header-actions .ea-smart-search, header.ea-search-header .ea-smart-search {
    display: none; grid-column: auto; grid-row: auto; position: absolute; top: 100%; left: 50%; right: auto;
    transform: translateX(-50%); width: calc(100vw - 24px); max-width: 480px; height: 48px; margin-top: 8px;
    background: #242424; border-color: rgba(255,255,255,.2); z-index: 55;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .header .header-actions .ea-smart-search.ea-search-open, header.ea-search-header .ea-smart-search.ea-search-open { display: flex; }
  .header .ea-smart-search button, header.ea-search-header .ea-smart-search button { order: -1; width: 44px; }
  .header .ea-smart-search input, header.ea-search-header .ea-smart-search input { padding-left: 0; padding-right: 12px; }
}

@media (max-width: 767px) { #expressauto-consultant { display: none !important; } }

@media (max-width: 767px) {
  .ea-floating-search {
    position: fixed; right: 12px; bottom: max(96px, calc(96px + env(safe-area-inset-bottom, 0px)));
    z-index: 2147483000; display: grid; place-items: center; width: 52px; height: 52px;
    padding: 0; border: 0; border-radius: 50%; background: #ffda00; color: #171717;
    box-shadow: 0 6px 24px #0005; cursor: pointer;
  }
  .ea-floating-search:focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
}

@media (min-width: 768px) { .ea-floating-search { display: none; } }

@media (max-width: 767px) {
  .header .header-actions .ea-smart-search.ea-search-floating-open,
  header.ea-search-header .ea-smart-search.ea-search-floating-open {
    position: fixed; top: auto; bottom: max(160px, calc(160px + env(safe-area-inset-bottom, 0px)));
    left: 50%; right: auto; margin: 0;
  }
}

@media (max-width: 767px) {
  .header:has(.ea-search-floating-open), header.ea-search-header:has(.ea-search-floating-open) {
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
}

.ea-mobile-search { display: none; }
@media (max-width: 767px) {
  .ea-search-toggle, .ea-floating-search,
  .header .header-actions .ea-smart-search, header.ea-search-header .ea-smart-search { display: none !important; }
  .ea-mobile-search {
    position: fixed; right: 12px; bottom: max(var(--ea-keyboard-bottom, 96px), calc(96px + env(safe-area-inset-bottom, 0px)));
    z-index: 2147483000; display: flex; align-items: center; width: 52px; height: 52px;
    margin: 0; padding: 0; overflow: hidden; box-sizing: border-box;
    border: 1px solid transparent; border-radius: 26px; background: #ffda00; color: #171717;
    box-shadow: 0 6px 24px #0005;
    transition: width .3s cubic-bezier(.22,1,.36,1), background-color .25s, border-color .25s, box-shadow .25s;
  }
  .ea-mobile-search.is-open {
    width: min(420px, calc(100vw - 24px)); background: #202020; color: #ffda00;
    border-color: #ffffff24; box-shadow: 0 8px 32px #0006;
  }
  .ea-mobile-search button {
    flex: 0 0 50px; display: grid; place-items: center; width: 50px; height: 50px;
    padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  }
  .ea-mobile-search input {
    flex: 1 1 auto; width: 0; min-width: 0; height: 100%; padding: 0 14px 0 0;
    border: 0; outline: none; background: transparent; color: #fff; font: 400 16px/1.4 system-ui, sans-serif;
    opacity: 0; visibility: hidden; transition: opacity .15s;
  }
  .ea-mobile-search.is-open input { opacity: 1; visibility: visible; }
  .ea-mobile-search input::placeholder { color: #ffffff80; }
  .ea-mobile-search button:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
}
@media (prefers-reduced-motion: reduce) { .ea-mobile-search, .ea-mobile-search input { transition: none; } }

@media (max-width: 767px) {
  .ea-mobile-search { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transition: width .3s cubic-bezier(.22,1,.36,1), top .18s ease-out, background-color .25s, border-color .25s, box-shadow .25s; }
}

@media (max-width: 767px) {
  body:has([data-testid="cookie-notice"]) .ea-mobile-search:not(.is-open) { bottom: calc(176px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 767px) {
  section:has(+ #services) > .wrap { padding-bottom: 136px; }
  .prose-ea table[data-ea-cards] { display: block; width: 100%; border: 0; border-collapse: collapse; }
  .prose-ea table[data-ea-cards] thead { display: none; }
  .prose-ea table[data-ea-cards] tbody { display: grid; gap: 12px; }
  .prose-ea table[data-ea-cards] tr {
    display: block; padding: 14px 16px; border-radius: 16px;
    background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 10px 24px -16px rgba(0,0,0,.25);
  }
  .prose-ea table[data-ea-cards] td {
    display: grid; grid-template-columns: minmax(84px, 38%) 1fr; gap: 10px; align-items: start;
    padding: 7px 0; border: 0; border-top: 1px solid rgba(0,0,0,.06); font-size: 14px; line-height: 1.45; white-space: normal;
  }
  .prose-ea table[data-ea-cards] td[data-ea-title] {
    display: block; padding: 0 0 8px; border: 0; font-weight: 700; font-size: 15px; color: #121212;
  }
  .prose-ea table[data-ea-cards] td[data-ea-label]::before {
    content: attr(data-ea-label); color: #6b6b6b; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; padding-top: 2px;
  }
  .prose-ea table[data-ea-cards] td.cell-short { white-space: normal; }
}
