/* AE domain search hero — /ae/domain-search */
.ae-domain-hero.modern-domain-banner-section {
    min-height: auto;
    padding-top: calc(var(--hostcry-header-height, 72px) + 32px);
    padding-bottom: 48px;
}

.ae-domain-hero .domain-banner-content-modern {
    padding: 32px 0 16px;
}

.ae-domain-hero .domain-main-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.ae-domain-hero .domain-description {
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 640px;
}

.ae-domain-hero .domain-form-warp {
    background: rgba(255, 255, 255, 0.08);
    padding: 24px;
    margin-bottom: 20px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Search bar — unified white pill + pink CTA */
.ae-domain-search-bar {
    display: flex;
    align-items: stretch;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto 22px;
    background: #fff;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.ae-domain-search-bar__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    border-radius: 10px;
}

.ae-domain-search-bar__input::placeholder {
    color: #94a3b8;
}

.ae-domain-search-bar__btn {
    flex-shrink: 0;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #eb2b63, #c91f52);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(235, 43, 99, 0.35);
    white-space: nowrap;
}

.ae-domain-search-bar__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(235, 43, 99, 0.45);
    color: #fff;
}

/* TLD grid — exactly 4 featured extensions, no scroll */
.ae-tld-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
}

.ae-tld-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    text-align: center;
    min-height: 88px;
}

.ae-tld-pill:hover,
.ae-tld-pill:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    outline: none;
}

.ae-tld-pill__ext {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}

.ae-tld-pill__price {
    font-size: 15px;
    font-weight: 700;
    color: #6ee7b7;
    line-height: 1.2;
}

.ae-tld-pill__renew {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
    text-decoration: none;
}

.ae-domain-hero .domain-trust-message {
    margin-top: 18px;
}

.ae-domain-hero .domain-trust-message span {
    font-size: 13px;
}

.ae-domain-hero .domain-additional-info {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .ae-tld-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ae-tld-pill {
        min-height: 76px;
        padding: 12px 8px;
    }

    .ae-tld-pill__ext {
        font-size: 15px;
    }

    .ae-domain-search-bar {
        flex-direction: column;
        padding: 8px;
    }

    .ae-domain-search-bar__btn {
        padding: 14px 20px;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .ae-domain-hero .domain-form-warp {
        padding: 16px 12px;
    }
}
