.ic-mobile-menu {
  display: none;
}

#formulario-cotacao {
  scroll-margin-top: 20px;
}

.ic27-dialog[open] ~ .ic27-fab {
  display: none;
}

@media (max-width: 760px) {
  .ic27-header.ic-menu-ready .ic27-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 16px;
  }

  .ic27-header.ic-menu-ready .ic27-brand {
    gap: 8px;
    min-width: 0;
  }

  .ic27-header.ic-menu-ready .ic27-brand img {
    width: 72px;
    flex-shrink: 0;
  }

  .ic27-header.ic-menu-ready .ic27-brand span {
    font-size: clamp(12px, 3.5vw, 15px);
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .ic27-header.ic-menu-ready .ic-mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 49px;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid #c6d8e2;
    border-radius: 8px;
    background: #fff;
    color: #143754;
    font: 700 13px/1.25 system-ui, sans-serif;
  }

  .ic27-header.ic-menu-ready nav {
    display: none;
    grid-column: 1 / -1;
  }

  .ic27-header.ic-menu-ready.ic-menu-open nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-top: 5px;
  }

  .ic27-header.ic-menu-ready nav a {
    min-width: 0;
    min-height: 44px;
    border-radius: 8px;
    padding: 8px 9px;
    background: #f0f6f8;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  .ic27-header.ic-menu-ready.ic-menu-open nav a[data-ic-open],
  .ic27-header.ic-menu-ready.ic-menu-open nav a[data-open-cotacao] {
    display: inline-flex;
  }

  .ic27-header.ic-menu-ready .ic-mobile-menu:focus-visible {
    outline: 3px solid #226086;
    outline-offset: 2px;
  }

  .th-home #home {
    padding-block: 28px 20px;
  }

  .th-home #home .th-hero-grid {
    gap: 16px;
  }

  .th-home #home h1 {
    font-size: clamp(32px, 9.65vw, 54px);
    line-height: 1.055;
    letter-spacing: -.045em;
    text-wrap: pretty;
  }

  .th-home #home .th-hero-description {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.48;
  }

  .th-home #home .th-actions {
    margin: 17px 0 9px;
    gap: 8px;
  }

  .th-home #home .th-button {
    min-height: 46px;
    flex: 1 1 121px;
    padding: 9px 8px;
    font-size: 14px;
  }

  .th-home #home .th-validity {
    font-size: 12px;
  }

  .th-home #home .th-hero-media img {
    max-height: 235px;
    aspect-ratio: 2.3 / 1;
    object-position: center 37%;
  }

  .th-home nav.th-quick-links {
    margin-top: 13px;
  }

  .th-home nav.th-quick-links a {
    min-height: 46px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .th-home #precos.ic500-home-prices {
    margin-top: 22px;
  }

  .th-home #precos .th-tables-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-home #precos .th-tables-nav a {
    font-size: 13px;
    padding: 7px 8px;
  }

  .th-home section[id],
  .th-home #tabela-atual {
    scroll-margin-top: 12px;
  }

  .th-home .ic500 .ic500-table th,
  .th-home .ic500 .ic500-table td {
    padding: 10px 9px;
  }

  .ic27-table-region {
    max-width: 100%;
    overscroll-behavior-inline: contain;
  }

  .ic27-legacy main img,
  .ic27-legacy article img {
    max-width: 100%;
    height: auto;
  }

  .ic27-fab {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 99980;
    min-height: 44px;
    padding: 10px 15px;
    white-space: nowrap;
    font-size: 13px;
  }

  .ic27-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .ic27-dialog {
    width: min(100% - 16px, 530px);
    max-width: none;
    max-height: calc(100dvh - max(20px, env(safe-area-inset-top)));
    margin: auto auto max(8px, env(safe-area-inset-bottom));
    border-radius: 17px;
  }

  .ic27-dialog-head {
    padding: 8px 12px 8px 16px;
  }

  .ic27-dialog-head .ic27-close {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-content: center;
  }

  .ic27-dialog-body .ic27-form {
    padding: 14px 14px 20px;
  }

  .ic27-dialog-body .ic27-field {
    min-width: 0;
    font-size: 12px;
  }

  .ic27-dialog-body .ic27-field input,
  .ic27-dialog-body .ic27-field select {
    min-height: 44px;
    padding-inline: 8px;
  }

  .ic27-dialog-body .ic27-fields {
    gap: 10px;
  }
}

@media (max-width: 355px) {
  .ic27-dialog-body .ic27-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .ic27-header.ic-menu-ready .ic27-brand img {
    width: 60px;
  }

  .th-home #home .th-button {
    flex-basis: 115px;
  }
}
