/* SputnikovoeTV.by — local mobile Header repair.
   Only .header.stv-header-scope and #sputnik-navigation.stv-header-scope are affected.
   Desktop layout is deliberately left to the existing Header CSS. */

.header.stv-header-scope .stv-mobile-contact-trigger,
#sputnik-navigation.stv-header-scope .stv-mobile-tab-home {
  display: none !important;
}

@media (max-width: 767px) {
  /* Header bounds: clip accidental overflow inside the Header only. */
  html body .header.stv-header-scope,
  html body #sputnik-navigation.stv-header-scope {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  /* Address strip stays visible. The service slogan is hidden on phones. */
  html body .header.stv-header-scope .header-top {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  html body .header.stv-header-scope .header-top-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    box-sizing: border-box !important;
  }
  html body .header.stv-header-scope .slogan {
    display: none !important;
  }
  html body .header.stv-header-scope .header-addresses {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 3px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }
  html body .header.stv-header-scope .header-address-line {
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  html body .header.stv-header-scope .header-address-line .header-inline-icon {
    flex: 0 0 14px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    margin-top: 1px !important;
  }
  html body .header.stv-header-scope .header-address-line span {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* Logo + phone button on one row; AI search occupies the next full row. */
  html body .header.stv-header-scope .header-bottom,
  html body .header.stv-header-scope .header-bottom > .header-shell {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  html body .header.stv-header-scope .header-main {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 9px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 12px 11px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  html body .header.stv-header-scope .header-main > .logo {
    display: flex !important;
    flex: 1 1 0% !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 52px) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  html body .header.stv-header-scope .stv-logo-link {
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  html body .header.stv-header-scope .stv-logo-svg {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 58px !important;
  }
  html body .header.stv-header-scope .stv-mobile-contact-trigger {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dce7f5 !important;
    border-radius: 14px !important;
    background: #f3f8ff !important;
    color: #0877e8 !important;
    box-shadow: 0 3px 12px rgba(17,70,130,.08) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  html body .header.stv-header-scope .stv-mobile-contact-trigger svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
  }
  html body .header.stv-header-scope .stv-mobile-contact-trigger[aria-expanded="true"] {
    background: #087cff !important;
    border-color: #087cff !important;
    color: #fff !important;
  }

  /* The operating-hours row is intentionally absent from the mobile layout. */
  html body .header.stv-header-scope .header-main > .header-center {
    display: flex !important;
    flex: 0 0 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 7px !important;
    box-sizing: border-box !important;
  }
  html body .header.stv-header-scope .header-main > .header-center > .shedule {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  html body .header.stv-header-scope .header-main > .header-tel {
    display: none !important;
  }

  /* Preserve the existing online badge when the mobile JS inserts it. */
  html body .header.stv-header-scope .stv-online-request-badge {
    display: inline-flex !important;
    align-self: flex-start !important;
    align-items: center !important;
    justify-content: flex-start !important;
    max-width: 100% !important;
    min-height: 31px !important;
    margin: 0 0 1px !important;
    padding: 7px 11px !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  /* AI search must fit exactly inside the available header width. */
  html body .header.stv-header-scope .search_header,
  html body .header.stv-header-scope .search_header form {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  html body .header.stv-header-scope .search_header form {
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: 48px !important;
    height: 50px !important;
    padding: 3px !important;
    overflow: hidden !important;
    border: 1px solid #dce5f0 !important;
    border-radius: 14px !important;
    background: #fff !important;
  }
  html body .header.stv-header-scope .search_header form input[type="search"],
  html body .header.stv-header-scope .search_header form input[type="text"],
  html body .header.stv-header-scope .search_header form input:not([type]),
  html body .header.stv-header-scope .search_header form .form-control {
    display: block !important;
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 10px 0 12px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #172235 !important;
    font-size: 15px !important;
    line-height: normal !important;
    text-overflow: ellipsis !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
  html body .header.stv-header-scope .search_header form input::placeholder {
    color: #8994a5 !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }
  html body .header.stv-header-scope .search_header form button[type="submit"],
  html body .header.stv-header-scope .search_header form button:not([type]),
  html body .header.stv-header-scope .search_header form input[type="submit"],
  html body .header.stv-header-scope .search_header form .btn {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #087cff !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html body .header.stv-header-scope .search_header form button[type="submit"] svg,
  html body .header.stv-header-scope .search_header form button:not([type]) svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
  }

  /* Contact drawer generated by stv-mobile-one-solution-2026.js. */
  html body .header.stv-header-scope .header-bottom > .stv-mobile-contact-panel {
    display: none !important;
  }
  html body .header.stv-header-scope .header-bottom > .stv-mobile-contact-panel.is-open {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 14px 14px !important;
    box-sizing: border-box !important;
    border-top: 1px solid #e9eff7 !important;
    background: #fff !important;
    box-shadow: 0 12px 22px rgba(15,40,70,.08) !important;
  }
  html body .header.stv-header-scope .header-bottom > .stv-mobile-contact-panel .header-tel {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 10px !important;
  }
  html body .header.stv-header-scope .header-bottom > .stv-mobile-contact-panel .phone-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 7px !important;
  }
  html body .header.stv-header-scope .header-bottom > .stv-mobile-contact-panel .phone-line {
    justify-content: center !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }
  html body .header.stv-header-scope .header-bottom > .stv-mobile-contact-panel .phone-line > a {
    font-size: 15px !important;
    white-space: nowrap !important;
  }
  html body .header.stv-header-scope .header-bottom > .stv-mobile-contact-panel .header-messengers {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 2px auto 0 !important;
  }

  /* Three separate navigation columns: Home / Catalog / Cart. */
  html body #sputnik-navigation.stv-header-scope {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 120 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  html body #sputnik-navigation.stv-header-scope .top-bar-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 10px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  html body #sputnik-navigation.stv-header-scope .nav-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 60px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  html body #sputnik-navigation.stv-header-scope .stv-mobile-nav-grid {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 60px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 4px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 60px !important;
    box-sizing: border-box !important;
  }
  html body #sputnik-navigation.stv-header-scope .stv-mobile-tab-home,
  html body #sputnik-navigation.stv-header-scope .mob-menu-btn,
  html body #sputnik-navigation.stv-header-scope .header-actions,
  html body #sputnik-navigation.stv-header-scope .stv-mobile-nav-grid > .stv-mobile-tab-home,
  html body #sputnik-navigation.stv-header-scope .stv-mobile-nav-grid > .mob-menu-btn,
  html body #sputnik-navigation.stv-header-scope .stv-mobile-nav-grid > .header-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    gap: 4px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    margin: 0 !important;
    padding: 4px 2px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #475569 !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transform: none !important;
  }
  html body #sputnik-navigation.stv-header-scope .stv-mobile-tab-home {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  html body #sputnik-navigation.stv-header-scope .mob-menu-btn {
    grid-column: 2 !important;
    grid-row: 1 !important;
    cursor: pointer !important;
  }
  html body #sputnik-navigation.stv-header-scope .header-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }
  html body #sputnik-navigation.stv-header-scope .stv-mobile-nav-grid > .stv-mobile-tab-home {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  html body #sputnik-navigation.stv-header-scope .stv-mobile-nav-grid > .mob-menu-btn {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  html body #sputnik-navigation.stv-header-scope .stv-mobile-nav-grid > .header-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }
  html body #sputnik-navigation.stv-header-scope .stv-mobile-tab-home svg,
  html body #sputnik-navigation.stv-header-scope .mob-menu-btn svg,
  html body #sputnik-navigation.stv-header-scope #msMiniCart .stv-mobile-cart-svg {
    display: block !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
  }
  html body #sputnik-navigation.stv-header-scope .stv-mobile-tab-home > span,
  html body #sputnik-navigation.stv-header-scope .mob-menu-btn .mobile-catalog-label,
  html body #sputnik-navigation.stv-header-scope #msMiniCart .modern-mini-cart-label,
  html body #sputnik-navigation.stv-header-scope #msMiniCart .sputnik-cart-v2__label {
    display: block !important;
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  html body #sputnik-navigation.stv-header-scope .mob-menu-btn {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html body #sputnik-navigation.stv-header-scope .header-actions,
  html body #sputnik-navigation.stv-header-scope .header-cart,
  html body #sputnik-navigation.stv-header-scope #msMiniCart {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  html body #sputnik-navigation.stv-header-scope #msMiniCart a,
  html body #sputnik-navigation.stv-header-scope .header-cart > a {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 4px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  html body #sputnik-navigation.stv-header-scope #msMiniCart .stv-mobile-cart-icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    flex: 0 0 22px !important;
    overflow: visible !important;
    color: #1e293b !important;
  }
  html body #sputnik-navigation.stv-header-scope #msMiniCart .stv-mobile-cart-count,
  html body #sputnik-navigation.stv-header-scope #msMiniCart .modern-mini-cart-count,
  html body #sputnik-navigation.stv-header-scope #msMiniCart .sputnik-cart-v2__count {
    position: absolute !important;
    top: -4px !important;
    right: -8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #2563eb !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    z-index: 5 !important;
  }
  html body #sputnik-navigation.stv-header-scope .mobile-menu {
    position: absolute !important;
    top: 100% !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 10010 !important;
    display: block !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 12px 30px rgba(15,23,42,.12) !important;
    transform: translateY(-5px) !important;
  }
  html body #sputnik-navigation.stv-header-scope .mobile-menu.is-active {
    max-height: 75vh !important;
    overflow: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 8px !important;
    border-color: #e3e9f1 !important;
    transform: translateY(0) !important;
  }
  html body #sputnik-navigation.stv-header-scope .top-menu {
    display: none !important;
  }
}

/* ================================================================
   MOBILE FIX — validated against the live Header/Footer chunks
   2026-11-25. Only the mobile header row, search capsule, badge and
   cart icon fallback are affected. Logo geometry and nav grid stay intact.
   ================================================================ */

/* Desktop: keep the online badge out of the desktop Header layout. */
@media (min-width: 768px) {
  html body .header.stv-header-scope .stv-online-request-badge {
    display: none !important;
  }
}

@media (max-width: 767px) {
  /* Restore the 12px side insets on the logo / phone row. */
  html body .header.stv-header-scope .header-bottom > .header-shell.header-main {
    padding: 10px 12px 11px !important;
  }

  /* Green 24/7 request badge between logo/phone row and AI search. */
  html body .header.stv-header-scope .header-main > .header-center > .stv-online-request-badge {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 1 auto !important;
    align-self: flex-start !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    max-width: calc(100% - 30px) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 15px 10px !important;
    padding: 6px 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #ccebd1 !important;
    border-radius: 20px !important;
    background: #eefaf0 !important;
    color: #14532d !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-shadow: none !important;
    cursor: pointer !important;
  }

  html body .header.stv-header-scope .stv-online-request-badge__dot {
    display: inline-block !important;
    flex: 0 0 8px !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #22c55e !important;
    box-shadow: none !important;
  }

  /* Search form: use normal flex flow; the Footer's absolute button rule
     is overridden by this more-specific selector. */
  html body .header.stv-header-scope form#stv-ai-search-form {
    position: relative !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .header.stv-header-scope form#stv-ai-search-form input#stv-ai-search-input,
  html body .header.stv-header-scope form#stv-ai-search-form input[name="q"] {
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 8px 0 50px !important;
    box-sizing: border-box !important;
  }

  html body .header.stv-header-scope form#stv-ai-search-form button[type="submit"],
  html body .header.stv-header-scope form#stv-ai-search-form button.stv-ai-search-submit {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  html body .header.stv-header-scope form#stv-ai-search-form button[type="submit"] svg,
  html body .header.stv-header-scope form#stv-ai-search-form button.stv-ai-search-submit svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }

  /* CSS-only cart icon fallback for cases where the mobile JS icon is absent. */
  html body #sputnik-navigation.stv-header-scope #msMiniCart a:not(:has(.stv-mobile-cart-icon))::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9h14l-1.1 11H6.1L5 9Z'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E") !important;
  }

  html body #sputnik-navigation.stv-header-scope #msMiniCart a:not(:has(.stv-mobile-cart-icon)) .modern-mini-cart-count,
  html body #sputnik-navigation.stv-header-scope #msMiniCart a:not(:has(.stv-mobile-cart-icon)) .sputnik-cart-v2__count {
    top: 8px !important;
    right: calc(50% - 26px) !important;
  }
}
