/*==domeny-page-specific==*/

/* inline search box */
.domain-inline-search {
    max-width: 640px;
    margin: 40px auto 0 auto;
    position: relative;
    z-index: 2;
}

.domain-inline-search .domain-search-box {
    display: grid;
    grid-template-columns: 1fr 150px;
    background: #fff;
    border-radius: 100px;
    padding: 5px;
    border: 2px solid #e5e5e5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.domain-inline-search .domain-search-box:focus-within {
    border-color: #F26C0B;
    box-shadow: 0 4px 20px rgba(242, 108, 11, 0.12);
}

.domain-inline-search .domain-search-box input {
    border: none;
    outline: none;
    padding: 14px 20px 14px 24px;
    font-size: 15px;
    font-family: 'Neue Montreal', 'Inter', sans-serif;
    border-radius: 100px;
    width: 100%;
    background: none;
    color: #000;
}

.domain-inline-search .domain-search-box input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.domain-inline-search .domain-search-btn {
    border-radius: 100px;
    background: #F26C0B;
    border: none;
    color: #fff;
    font-family: 'Neue Montreal', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease;
}

.domain-inline-search .domain-search-btn:hover {
    background: #d95e08;
}

.domain-inline-search .domain-search-btn span {
    position: relative;
    z-index: 2;
}

.domain-inline-search .domain-search-btn .ellipes3-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.domain-inline-search .domain-search-btn .ellipes3-img img {
    width: 105px;
    height: 35px;
}

.domain-inline-search .domain-results {
    margin-top: 16px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

/* popular domains */
.domain-popular-area {
    background: #ffffff;
    padding: 100px 0;
}

.domain-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.domain-popular-item {
    background: #F8F9FA;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.domain-popular-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.domain-tld {
    font-family: 'Eurostile';
    font-weight: 700;
    font-size: 36px;
    color: #F26C0B;
}

.domain-popular-item h4 {
    font-family: 'Eurostile';
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin-top: 10px;
}

.domain-popular-item p {
    font-weight: 400;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 21px;
    margin-top: 6px;
}

.domain-popular-price {
    font-family: 'Eurostile';
    font-weight: 700;
    font-size: 22px;
    color: #000000;
    margin-top: 16px;
}

.domain-popular-price span {
    font-weight: 400;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
}

.domain-popular-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 28px;
    background: #F26C0B;
    color: #ffffff;
    font-family: 'Neue Montreal', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.domain-popular-btn:hover {
    background: #d95e08;
    box-shadow: 0 4px 16px rgba(242, 108, 11, 0.3);
}

/* pricing search */
.domain-pricing-search {
    max-width: 900px;
    margin: 50px auto 0 auto;
    position: relative;
}

.domain-pricing-search input {
    width: 100%;
    padding: 16px 24px 16px 52px;
    border: 2px solid #E5E5E5;
    border-radius: 14px;
    outline: none;
    font-size: 15px;
    font-family: 'Neue Montreal', 'Inter', sans-serif;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.domain-pricing-search input:focus {
    border-color: #F26C0B;
}

.domain-pricing-search input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.domain-pricing-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.3);
    font-size: 16px;
}

/* pricing table */
.domain-pricing-area {
    background: #F8F9FA;
    padding: 100px 0;
}

.domain-pricing-table {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.domain-pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 18px 32px;
    border-bottom: 1px solid #F0F0F0;
    align-items: center;
}

.domain-pricing-row.hidden-row {
    display: none !important;
}

.domain-pricing-row:last-child {
    border-bottom: none;
}

.domain-pricing-head {
    background: #2B2B2B;
}

.domain-pricing-head span {
    font-family: 'Eurostile';
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-pricing-row .domain-ext {
    font-family: 'Eurostile';
    font-weight: 700;
    font-size: 17px;
    color: #F26C0B;
}

.domain-pricing-row .domain-price {
    font-weight: 500;
    font-size: 15px;
    color: #000000;
}

.domain-pricing-row:hover:not(.domain-pricing-head) {
    background: #FAFAFA;
}

/* FAQ */
.domain-faq-area {
    background: #ffffff;
    padding: 100px 0;
}

/* domain check results */
.domain-results {
    max-width: 640px;
    margin: 24px auto 0 auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    animation: domainResultsFadeIn 0.35s ease;
}

@keyframes domainResultsFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.domain-results-header {
    padding: 16px 24px;
    background: #F8F9FA;
    border-bottom: 1px solid #EEEEEE;
    font-size: 14px;
    color: #555555;
}

.domain-results-header strong {
    color: #000000;
}

.domain-results-list {
    max-height: 420px;
    overflow-y: auto;
}

.domain-result-row {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid #F0F0F0;
    gap: 16px;
    transition: background 0.15s ease;
}

.domain-result-row:last-child {
    border-bottom: none;
}

.domain-result-row:hover {
    background: #FAFAFA;
}

.domain-result-status {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.domain-result-status.available {
    background: #E8F5E9;
    color: #2E7D32;
}

.domain-result-status.taken {
    background: #FFEBEE;
    color: #C62828;
}

.domain-result-status.unknown {
    background: #FFF3E0;
    color: #E65100;
}

.domain-result-name {
    flex: 1;
    font-family: 'Eurostile';
    font-weight: 600;
    font-size: 15px;
    color: #000000;
}

.domain-result-label {
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
}

.domain-result-label.available {
    background: #E8F5E9;
    color: #2E7D32;
}

.domain-result-label.taken {
    background: #FFEBEE;
    color: #C62828;
}

.domain-result-label.unknown {
    background: #FFF3E0;
    color: #E65100;
}

.domain-result-price {
    font-family: 'Eurostile';
    font-weight: 700;
    font-size: 15px;
    color: #000000;
    min-width: 70px;
    text-align: right;
}

.domain-result-price span {
    font-weight: 400;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

.domain-result-action {
    flex-shrink: 0;
}

.domain-result-action a,
.domain-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: none;
    color: #F26C0B;
    font-family: 'Neue Montreal', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    border: 1.5px solid #F26C0B;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.domain-result-action a:hover,
.domain-order-btn:hover {
    background: #F26C0B;
    color: #fff;
}

.domain-order-btn:disabled {
    background: #1a1a2e;
    border-color: #1a1a2e;
    color: #fff;
    cursor: default;
}

.domain-result-action a.disabled,
.domain-result-action .disabled {
    background: none;
    border-color: #E0E0E0;
    color: #999;
    pointer-events: none;
}

.domain-result-divider {
    padding: 10px 24px;
    background: #F8F9FA;
    border-bottom: 1px solid #EEEEEE;
    font-family: 'Eurostile';
    font-weight: 600;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* loading spinner */
.domain-search-box.loading .domain-search-btn span {
    visibility: hidden;
}

.domain-search-box.loading .domain-search-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: domainSpin 0.6s linear infinite;
    z-index: 3;
}

@keyframes domainSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* skeleton loading in results */
.domain-result-skeleton {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid #F0F0F0;
    gap: 16px;
}

.skeleton-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: domainShimmer 1.2s ease infinite;
}

.skeleton-bar {
    height: 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: domainShimmer 1.2s ease infinite;
}

.skeleton-bar.w120 { width: 120px; }
.skeleton-bar.w60  { width: 60px; }
.skeleton-bar.w80  { width: 80px; }

@keyframes domainShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* initial hidden state for results */
#domainResults {
    display: none;
}

/* JS-generated helpers */
.skeleton-spacer {
    flex: 1;
}

.domain-error-message {
    padding: 20px 24px;
    text-align: center;
    color: #C62828;
}

@media screen and (max-width: 991px) {
    .domain-inline-search .domain-search-box {
        grid-template-columns: 1fr;
        border-radius: 16px;
        padding: 6px;
    }

    .domain-inline-search .domain-search-box input {
        padding: 14px 18px;
        text-align: center;
    }

    .domain-inline-search .domain-search-btn {
        border-radius: 12px;
        padding: 14px;
        margin-top: 2px;
    }

    .domain-popular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .domain-tld {
        font-size: 28px;
    }

    .domain-popular-price {
        font-size: 18px;
    }

    .domain-pricing-row {
        padding: 14px 18px;
        font-size: 13px;
    }

    .domain-pricing-head span {
        font-size: 12px;
    }

    .domain-pricing-row .domain-ext {
        font-size: 15px;
    }

    .domain-pricing-row .domain-price {
        font-size: 13px;
    }

    .domain-popular-btn {
        padding: 9px 22px;
        font-size: 13px;
    }

    .domain-pricing-search input {
        padding: 14px 18px 14px 44px;
        font-size: 14px;
    }

    .domain-popular-area,
    .domain-pricing-area,
    .domain-faq-area {
        padding: 50px 0;
    }

    .domain-results {
        border-radius: 16px;
    }

    .domain-result-row {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 8px;
    }

    .domain-result-name {
        font-size: 14px;
    }

    .domain-result-price {
        font-size: 14px;
        min-width: auto;
    }

    .domain-result-action a {
        padding: 7px 16px;
        font-size: 12px;
    }
}

@media screen and (max-width: 600px) {
    .domain-pricing-row {
        grid-template-columns: 1fr 1fr;
        gap: 4px 12px;
        padding: 12px 16px;
    }

    .domain-pricing-head {
        grid-template-columns: 1fr 1fr;
    }

    .domain-pricing-head span:nth-child(3),
    .domain-pricing-head span:nth-child(4) {
        display: none;
    }

    .domain-pricing-row .domain-price:nth-child(3),
    .domain-pricing-row .domain-price:nth-child(4) {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .domain-popular-grid {
        grid-template-columns: 100%;
        gap: 12px;
    }

    .domain-popular-item {
        padding: 28px 20px;
    }

    .domain-tld {
        font-size: 24px;
    }

    .domain-popular-price {
        font-size: 16px;
    }

    .domain-pricing-search input {
        padding: 12px 14px 12px 40px;
        font-size: 13px;
    }

    .domain-pricing-search i {
        left: 14px;
    }

}
