@media (max-width: 1200px) {
  #header {
    min-height: 64px;
    height: 64px;
    padding: 0 20px;
    transition: none;
  }

  #header .right {
    gap: 8px;
  }

  #header .right i.fa-bars {
    display: inline-grid;
    background: transparent;
  }
}

@media (max-width: 850px) {
  #find-domain {
    min-height: 390px;
    height: auto;
    margin: 0;
    padding: 58px 16px 62px;
  }

  #find-domain #find-domain-text #big-font {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.04;
  }

  #find-domain #find-domain-text #small-font {
    font-size: 1rem;
    line-height: 1.45;
  }

  #tld-price {
    margin: 0;
    padding: 56px 20px 64px;
  }

  #tld-price .tld-price-top {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  #tld {
    height: auto;
    min-height: 176px;
    margin-right: -20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  #tld-price #tld-list {
    width: max-content;
    min-height: 166px;
    justify-content: flex-start;
  }

  #tld-price #tld-list li {
    width: 210px;
    min-width: 210px;
    scroll-snap-align: start;
  }

  #contact-us {
    min-height: 190px;
    padding: 42px 28px;
  }

  #footer {
    height: auto;
  }

  #footer #footer-domain-space-and-nav-list,
  #footer #icann-info {
    width: min(100% - 40px, 1180px);
  }

  #footer #icann-info {
    margin: 0 auto;
    padding-bottom: 28px;
  }
}

@media (max-width: 450px) {
  #header {
    min-height: 58px;
    height: 58px;
    padding: 0 14px;
  }

  #header .left .logo-and-name img {
    height: 24px;
  }

  #header .right .sign-in a {
    min-width: 76px;
    min-height: 44px;
    width: auto;
    padding: 0 12px;
    border-color: var(--axyn-border-strong);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
  }

  #header .shopping-cart,
  #header .right i.fa-bars {
    min-width: 44px;
    min-height: 44px;
  }

  #find-domain {
    min-height: 350px;
    padding: 46px 14px 52px;
  }

  #find-domain #find-domain-text {
    margin-bottom: 24px;
  }

  #find-domain #find-domain-text #big-font {
    min-width: 0;
    margin: 0;
    font-size: clamp(1.85rem, 9vw, 2.35rem);
    line-height: 1.04;
  }

  #find-domain #find-domain-text #small-font {
    width: auto;
    height: auto;
    margin-top: 10px;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .axyn-search-label,
  div.search-input {
    width: 100%;
  }

  div.search-input {
    height: 54px;
    padding-left: 14px;
    border-radius: 12px;
    font-size: 1rem;
  }

  div.search-input .fa-search,
  div.search-input .fa-circle-xmark {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0 3px 0 0;
    font-size: 1rem;
  }

  #tld-price {
    padding: 46px 16px 54px;
  }

  #tld-price #tld-pricing {
    width: auto;
    font-size: 1.85rem;
  }

  #tld-price #explain {
    height: auto;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  #tld-price .view-more a {
    width: auto;
    height: auto;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  #tld {
    min-height: 154px;
    margin-right: -16px;
  }

  #tld-price #tld-list {
    min-height: 144px;
    margin-top: 22px;
    gap: 12px;
  }

  #tld-price #tld-list li {
    width: 160px;
    min-width: 160px;
    height: 140px;
    margin: 0;
  }

  #tld-price #tld-list li .tld-img {
    height: 88px;
  }

  #tld-price #tld-list li .tld-price .currentPrice {
    font-size: 1.08rem;
  }

  #search-result {
    top: -36px;
    margin-bottom: 16px;
  }

  #search-result > div {
    width: calc(100% - 28px);
    padding: 16px;
  }

  #search-result ul li {
    min-height: 64px;
    gap: 12px;
    padding: 8px 0;
  }

  #search-result ul li .domain-info {
    padding-left: 0;
  }

  #search-result ul li .domain-info .price {
    gap: 10px;
  }

  #search-result ul li .flag {
    min-width: 44px;
    min-height: 44px;
    padding-right: 0;
    justify-content: center;
  }

  #contact-us {
    min-height: 0;
    height: auto;
    padding: 38px 20px;
    gap: 24px;
    align-items: flex-start;
  }

  #contact-us #textInfo #help {
    margin-bottom: 6px;
    font-size: 1.75rem;
  }

  #contact-us #textInfo #tell,
  #contact-us #contact-info,
  #contact-us #contact-info div span {
    font-size: 0.94rem;
  }

  #footer #footer-domain-space-and-nav-list,
  #footer #icann-info {
    width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
  }

  #footer #footer-domain-space-and-nav-list {
    padding-top: 22px;
  }

  #footer #footer-nav-list ul {
    gap: 0;
  }

  #footer #footer-nav-list ul li a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
  }

  #footer #icann-info {
    margin-left: auto;
    padding-bottom: 22px;
  }

  #footer #icann-info span,
  #footer #icann-info #icann-anchor a {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}

@media (prefers-reduced-transparency: reduce) {
  #header {
    background: var(--axyn-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --axyn-border: #64748b;
    --axyn-border-strong: #334155;
  }

  #header,
  #footer,
  #tld-price #tld-list li,
  #search-result > div,
  div.search-input {
    border-width: 2px;
  }
}
