/* +7 Telecom Design Lab — final visual QA layer.
   Keeps the Signal Line direction while closing responsive and failure-state gaps. */

body::before,
body::after {
  content: none !important;
  display: none !important;
}

/* A service outage should read as a recoverable state, not replace the site shell. */
#loadErrorBanner {
  top: 16px !important;
  left: 50% !important;
  right: auto !important;
  width: min(620px, calc(100vw - 32px)) !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(240, 68, 82, .24) !important;
  border-radius: 16px !important;
  color: #7b2430 !important;
  background: rgba(255, 247, 248, .96) !important;
  box-shadow: 0 18px 48px rgba(7, 26, 49, .16) !important;
  backdrop-filter: blur(16px) !important;
  transform: translateX(-50%) !important;
  text-align: left !important;
}

#loadErrorBanner button {
  min-height: 36px !important;
  margin-left: 10px !important;
  border: 1px solid rgba(240, 68, 82, .22) !important;
  border-radius: 10px !important;
  color: #fff !important;
  background: #f04452 !important;
}

.catalog-page .cat-tile span,
.catalog-page .cat-tile b {
  overflow-wrap: anywhere;
}

.avail-st.ask { white-space: nowrap; }
.drawer-foot .checkout,
.modal .submit { min-height: 48px; }

@media (max-width: 680px) {
  /* Высота и отступы первого экрана на телефоне переехали в
     public/hero-section.css (11.08.2026; 06.08 они недолго жили в
     storefront.v3.css). Здесь они стояли с !important, потому что
     перебивали два слоя выше и один ниже. */

  

  #loadErrorBanner {
    top: auto !important;
    bottom: 82px !important;
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
  }

  #loadErrorBanner button { margin-left: 0 !important; }
  .avail-st.ask { white-space: normal; }
}

@media (max-width: 390px) {

}

@media (prefers-reduced-motion: reduce) {
  #loadErrorBanner { backdrop-filter: none !important; }
}
