.midas-tire-home-actions {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: stretch;
}

.midas-tire-hero-actions {
  position: relative;
  z-index: 5;
  width: min(100%, 36rem) !important;
  margin: 0.85rem auto 0 !important;
  justify-self: center;
}

.midas-tire-home-actions > a {
  display: inline-flex !important;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.75rem !important;
  border: 2px solid transparent;
  border-radius: 2px;
  text-align: center;
  text-decoration: none !important;
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.025em;
  line-height: 1.15 !important;
  text-transform: uppercase;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.midas-tire-home-actions > a:hover {
  transform: translateY(-1px);
}

.midas-tire-home-actions > a:focus-visible {
  outline: 3px solid #168fc8;
  outline-offset: 3px;
}

.midas-tire-home-actions .midas-tire-rebates-link {
  border-color: #f5c400 !important;
  background: #f5c400 !important;
  color: #080909 !important;
}

.midas-tire-home-actions .midas-tire-rebates-link:hover {
  border-color: #ffdc38 !important;
  background: #ffdc38 !important;
  color: #080909 !important;
}

.midas-tire-home-actions .midas-tire-search-link {
  border-color: #0c1b31 !important;
  background: #0c1b31 !important;
  color: #fff !important;
}

.midas-tire-home-actions .midas-tire-search-link:hover {
  border-color: #18365f !important;
  background: #18365f !important;
  color: #fff !important;
}

@media (max-width: 48rem) {
  .midas-tire-home-actions {
    grid-template-columns: 1fr;
  }

  .midas-tire-home-actions > a {
    min-height: 44px;
    font-size: 0.74rem !important;
  }

  .midas-tire-hero-actions {
    width: min(100%, 22rem) !important;
    margin-top: 0.7rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .midas-tire-home-actions > a {
    transition: none;
  }
}
