/*
 * Domain registration, pricing and transfer page entry stylesheet.
 *
 * The register-domain overrides preserve the updated production composition
 * while improving its density and usability across desktop, tablet and mobile.
 */

@import url('../15-domains.css?v=20260822.6') layer(pages);

@layer overrides {
  /*
   * Register-domain desktop composition
   */

  @media (min-width: 1051px) {
    .sh-domain-hero--register .sh-domain-hero__inner {
      min-height: 100vh;
      min-height: 100svh;
      justify-content: center;
      padding-top: calc(var(--sh-site-header-height) + 2rem);
      padding-bottom: 3.5rem;
    }

    .sh-domain-hero--register .sh-domain-hero__content {
      width: min(100%, 43.75rem);
    }

    .sh-domain-hero--register .sh-domain-hero__title {
      max-width: 42rem;
      text-wrap: balance;
    }

    .sh-domain-hero--register .sh-domain-hero__lead {
      width: min(100%, 36.5rem);
      text-wrap: pretty;
    }

    .sh-domain-hero--register .sh-domain-search {
      width: min(100%, 39rem);
    }

    .sh-domain-hero--register .sh-domain-trust {
      max-width: 46rem;
    }

    .sh-domain-hero--register .sh-domain-price-chips {
      max-width: 46rem;
      flex-wrap: nowrap;
    }

    .sh-domain-hero--register .sh-domain-price-chips > li {
      min-width: 0;
    }

    .sh-domain-hero--register .sh-domain-price-chip {
      min-width: 0;
      padding-inline: 1.125rem;
    }
  }

  /*
   * Compact desktop and laptop viewports
   */

  @media (min-width: 1051px) and (max-width: 1719px) {
    .sh-domain-hero--register .sh-domain-hero__inner {
      padding-top: calc(var(--sh-site-header-height) + 1.5rem);
      padding-bottom: 2.75rem;
    }

    .sh-domain-hero--register .sh-domain-hero__eyebrow {
      margin-bottom: 1.125rem;
    }

    .sh-domain-hero--register .sh-domain-hero__lead {
      margin-top: 1rem;
      line-height: 1.6;
    }

    .sh-domain-hero--register .sh-domain-search {
      margin-top: 1.5rem;
    }

    .sh-domain-hero--register .sh-domain-trust {
      margin-top: 1.375rem;
    }

    .sh-domain-hero--register .sh-domain-price-chips {
      margin-top: 1rem;
    }
  }

  @media (min-width: 1051px) and (max-height: 800px) {
    .sh-domain-hero--register .sh-domain-hero__inner {
      padding-top: calc(var(--sh-site-header-height) + 1rem);
      padding-bottom: 2rem;
    }

    .sh-domain-hero--register .sh-domain-hero__eyebrow {
      margin-bottom: 0.875rem;
    }

    .sh-domain-hero--register .sh-domain-hero__lead {
      margin-top: 0.875rem;
      line-height: 1.55;
    }

    .sh-domain-hero--register .sh-domain-search {
      margin-top: 1.125rem;
    }

    .sh-domain-hero--register .sh-domain-trust {
      margin-top: 1rem;
    }

    .sh-domain-hero--register .sh-domain-price-chips {
      margin-top: 0.875rem;
    }
  }

  /*
   * Tablet composition
   */

  @media (min-width: 641px) and (max-width: 900px) {
    .sh-domain-tld-grid--deals,
    .sh-domain-feature-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sh-domain-hero--register .sh-domain-hero__content {
      width: min(100%, 42rem);
    }

    .sh-domain-hero--register .sh-domain-search {
      width: min(100%, 38rem);
    }
  }

  /*
   * Register-domain mobile hero
   *
   * Keep the production header and updated artwork while avoiding the generic
   * stacked form, trust-list and one-column chip behaviour.
   */

  @media (max-width: 640px) {
    .sh-domain-hero--register {
      min-height: 100svh;
    }

    .sh-domain-hero--register .sh-domain-hero__background {
      background-position: 64% center;
    }

    .sh-domain-hero--register .sh-domain-hero__overlay {
      background:
        linear-gradient(
          180deg,
          rgba(4, 6, 15, 0.9) 0%,
          rgba(4, 6, 15, 0.82) 38%,
          rgba(4, 6, 15, 0.68) 70%,
          rgba(4, 6, 15, 0.82) 100%
        ),
        linear-gradient(
          90deg,
          rgba(4, 6, 15, 0.88),
          rgba(4, 6, 15, 0.34)
        );
    }

    .sh-domain-hero--register .sh-domain-hero__inner {
      justify-content: flex-start;
      padding-top: 7.5rem;
      padding-bottom: 3.75rem;
    }

    .sh-domain-hero--register .sh-domain-hero__eyebrow {
      gap: 0.625rem;
      margin-bottom: 1.125rem;
    }

    .sh-domain-hero--register .sh-domain-hero__eyebrow-meta {
      display: inline;
      font-size: 0.6875rem;
    }

    .sh-domain-hero--register .sh-domain-hero__title {
      width: 100%;
      max-width: none;
      font-size: clamp(2rem, 8.4vw, 2.25rem);
      line-height: 1.06;
      letter-spacing: -0.035em;
      text-wrap: wrap;
    }

    .sh-domain-hero--register .sh-domain-hero__title-line {
      white-space: nowrap;
    }

    .sh-domain-hero--register .sh-domain-hero__lead {
      width: min(100%, 34rem);
      margin-top: 1.25rem;
      font-size: 1rem;
      line-height: 1.65;
      text-wrap: pretty;
    }

    .sh-domain-hero--register .sh-domain-search {
      width: 100%;
      margin-top: 1.625rem;
    }

    .sh-domain-hero--register .sh-domain-trust {
      align-items: center;
      flex-direction: row;
      gap: 0.75rem 1rem;
      margin-top: 1.5rem;
      font-size: 0.8125rem;
    }

    .sh-domain-hero--register .sh-domain-trust__item {
      min-width: 0;
    }

    .sh-domain-hero--register .sh-domain-trust__divider {
      display: none;
    }

    .sh-domain-hero--register .sh-domain-price-chips {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.75rem;
      margin-top: 1.25rem;
    }

    .sh-domain-hero--register .sh-domain-price-chips > li {
      min-width: 0;
      width: 100%;
    }

    .sh-domain-hero--register .sh-domain-price-chip {
      width: 100%;
      min-width: 0;
      justify-content: space-between;
      gap: 0.5rem;
      padding: 0.75rem 1rem;
    }

    .sh-domain-hero--register
      .sh-domain-price-chip__extension {
      font-size: 0.9375rem;
    }

    .sh-domain-hero--register .sh-domain-price-chip__price {
      font-size: 0.75rem;
      white-space: nowrap;
    }

    .sh-domain-section__inner {
      padding-block: 4.5rem;
    }

    .sh-domain-section__header {
      padding-bottom: 1.625rem;
    }

    .sh-domain-tld-grid--deals,
    .sh-domain-feature-grid,
    .sh-domain-requirement-grid {
      margin-top: 2rem;
    }

    .sh-domain-faq .sh-domain-section__inner {
      padding-block: 4.5rem 5rem;
    }
  }

  /*
   * Keep the register search horizontal at normal mobile widths.
   */

  @media (max-width: 480px) {
    .sh-domain-hero--register .sh-domain-search {
      align-items: center;
      flex-direction: row;
      gap: 0.5rem;
      padding: 0.4375rem 0.4375rem 0.4375rem 0.875rem;
      border-radius: var(--sh-radius-pill);
    }

    .sh-domain-hero--register .sh-domain-search__icon {
      display: grid;
      width: 2.5rem;
      height: 2.5rem;
    }

    .sh-domain-hero--register .sh-domain-search__input {
      width: auto;
      min-width: 0;
      min-height: 2.75rem;
      flex: 1;
      padding-inline: 0.25rem;
      font-size: 0.9375rem;
    }

    .sh-domain-hero--register .sh-domain-search__submit {
      width: auto;
      min-height: 2.75rem;
      padding-inline: 1.125rem;
      font-size: 0.875rem;
      white-space: nowrap;
    }

    .sh-domain-hero--register .sh-domain-price-chips > li {
      width: 100%;
    }

    .sh-domain-hero--register .sh-domain-price-chip {
      width: 100%;
    }
  }

  /*
   * Compact phones
   */

  @media (max-width: 380px) {
    .sh-domain-hero--register .sh-domain-hero__inner {
      padding-top: 7rem;
    }

    .sh-domain-hero--register .sh-domain-hero__title {
      font-size: clamp(1.875rem, 9.2vw, 2.125rem);
    }

    .sh-domain-hero--register .sh-domain-hero__lead {
      font-size: 0.9375rem;
      line-height: 1.6;
    }

    .sh-domain-hero--register .sh-domain-search {
      padding-left: 0.6875rem;
    }

    .sh-domain-hero--register .sh-domain-search__icon {
      width: 2.125rem;
      height: 2.125rem;
    }

    .sh-domain-hero--register .sh-domain-search__input {
      font-size: 0.875rem;
    }

    .sh-domain-hero--register .sh-domain-search__submit {
      padding-inline: 0.875rem;
      font-size: 0.8125rem;
    }

    .sh-domain-hero--register .sh-domain-trust {
      align-items: flex-start;
      gap: 0.625rem 0.875rem;
      font-size: 0.75rem;
    }

    .sh-domain-hero--register .sh-domain-price-chip {
      padding-inline: 0.75rem;
    }

    .sh-domain-hero--register
      .sh-domain-price-chip__extension {
      font-size: 0.875rem;
    }

    .sh-domain-hero--register .sh-domain-price-chip__price {
      font-size: 0.6875rem;
    }
  }

  /*
   * Very narrow devices may not have enough room for the complete first line.
   * Restore natural wrapping rather than allowing horizontal overflow.
   */

  @media (max-width: 340px) {
    .sh-domain-hero--register .sh-domain-hero__title-line {
      white-space: normal;
    }
  }
}