/* EGATE CLOUD - PAGINA DE PRECOS V1 */

.domain-pricing .egate-pricing-hero {
    text-align: center;
    padding: 25px 15px 20px;
}

.domain-pricing .egate-pricing-eyebrow {
    color: #00AED5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.domain-pricing .egate-pricing-hero h2 {
    color: #062F43;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 700;
    margin: 14px 0;
    line-height: 1.25;
}

.domain-pricing .egate-pricing-hero p {
    color: #64748b;
    font-size: 14px;
}

/* Cartoes */
.domain-pricing .egate-pricing-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 25px 0 40px;
}

.domain-pricing .egate-pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 20px 12px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(6,47,67,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.domain-pricing .egate-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(6,47,67,0.13);
    border-color: #00AED5;
}

.domain-pricing .egate-pricing-name {
    color: #062F43;
    font-size: 27px;
    font-weight: 800;
}

.domain-pricing .egate-pricing-caption {
    font-size: 11px;
    color: #64748b;
    margin: 8px 0 14px;
}

.domain-pricing .egate-pricing-amount {
    color: #0098BB;
    font-size: 16px;
    font-weight: 700;
}

.domain-pricing .egate-pricing-card small {
    color: #64748b;
    margin-top: 5px;
}

/* Categorias */
.domain-pricing .tld-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 25px;
}

.domain-pricing .tld-filters .badge {
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

/* Tabela */
.domain-pricing #tableDomainPricing {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.domain-pricing #tableDomainPricing thead th {
    background: #062F43;
    color: #ffffff;
    padding: 14px 12px;
    border: none;
}

.domain-pricing #tableDomainPricing tbody td {
    padding: 13px 12px;
    border-bottom: 1px solid #e9eef2;
    vertical-align: middle;
}

.domain-pricing #tableDomainPricing tbody tr:hover {
    background: #f0faff;
}

.domain-pricing #tableDomainPricing tbody td:first-child {
    font-weight: 700;
    color: #062F43;
}

.domain-pricing #tableDomainPricing small {
    color: #718096;
    font-size: 11px;
}

/* Evitar que regras antigas aumentem o selector de moeda */
.domain-pricing form:has(.currency-selector) {
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 991px) {
    .domain-pricing .egate-pricing-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .domain-pricing .egate-pricing-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .domain-pricing .egate-pricing-card {
        min-height: 135px;
        padding: 14px 8px;
    }

    .domain-pricing .egate-pricing-name {
        font-size: 23px;
    }

    .domain-pricing .egate-pricing-amount {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .domain-pricing .egate-pricing-card {
        transition: none;
    }
}

/* EGATE CLOUD - TODOS OS TLDS V2 */

.domain-pricing .egate-all-tlds {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 25px 0 45px;
}

.domain-pricing .egate-all-tld-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(6,47,67,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.domain-pricing .egate-all-tld-card:hover {
    transform: translateY(-4px);
    border-color: #00AED5;
    box-shadow: 0 12px 25px rgba(6,47,67,0.12);
}

.domain-pricing .egate-all-tld-name {
    color: #062F43;
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 8px;
}

.domain-pricing .egate-all-tld-label {
    color: #64748b;
    font-size: 11px;
    margin-bottom: 12px;
}

.domain-pricing .egate-all-tld-price {
    color: #0098BB;
    font-size: 15px;
    font-weight: 700;
}

.domain-pricing .egate-all-tld-card small {
    display: block;
    color: #64748b;
    font-size: 11px;
    margin-top: 5px;
}

.domain-pricing .egate-all-tld-unavailable {
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 1100px) {
    .domain-pricing .egate-all-tlds {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .domain-pricing .egate-all-tlds {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .domain-pricing .egate-all-tlds {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .domain-pricing .egate-all-tld-card {
        transition: none;
    }
}

/* EGATE CLOUD - CORRECCOES DE LAYOUT */

.domain-pricing {
    padding-top: 15px !important;
    padding-bottom: 40px !important;
}

.domain-pricing form {
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.domain-pricing .egate-pricing-hero h2 {
    font-size: clamp(26px, 3vw, 38px) !important;
    line-height: 1.2 !important;
}

.domain-pricing .table-container {
    overflow-x: auto;
}

/* EGATE CLOUD - DESTAQUES COMPACTOS V3 */

.domain-pricing .egate-popular-heading {
    color: #062F43;
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0 18px;
}

.domain-pricing .egate-popular-tlds {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 35px;
}

.domain-pricing .egate-popular-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 135px;
    padding: 16px 10px;
    background: #ffffff;
    border: 1px solid #dce8ee;
    border-radius: 13px;
    box-shadow: 0 5px 16px rgba(6,47,67,.06);
    text-align: center;
    transition: transform .25s, border-color .25s;
}

.domain-pricing .egate-popular-card:hover {
    transform: translateY(-4px);
    border-color: #00AED5;
}

.domain-pricing .egate-popular-name {
    font-size: 25px;
    font-weight: 800;
    color: #062F43;
}

.domain-pricing .egate-popular-label {
    font-size: 11px;
    color: #64748b;
    margin: 7px 0;
}

.domain-pricing .egate-popular-price {
    color: #0098BB;
    font-size: 15px;
    font-weight: 700;
}

.domain-pricing .egate-popular-card small {
    color: #64748b;
    font-size: 11px;
    margin-top: 4px;
}

.domain-pricing .egate-all-heading {
    margin: 20px 0;
}

.domain-pricing .egate-all-heading h3 {
    font-size: 22px;
    font-weight: 700;
    color: #062F43;
}

.domain-pricing .egate-all-heading p {
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 991px) {
    .domain-pricing .egate-popular-tlds {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .domain-pricing .egate-popular-tlds {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .domain-pricing .egate-popular-card {
        transition: none;
    }
}

/* ============================================
   EGATE CLOUD - PREÇOS COMPACTOS V4
   ============================================ */

/* Reduzir espaco superior */
.domain-pricing {
    padding-top: 0 !important;
    padding-bottom: 22px !important;
}

/* Titulo e descricao */
.domain-pricing .egate-pricing-hero {
    padding: 6px 10px 12px !important;
}

.domain-pricing .egate-pricing-hero h2 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin: 7px 0 8px !important;
}

.domain-pricing .egate-pricing-hero p {
    font-size: 12px !important;
    margin: 0 !important;
}

/* Titulo dos destaques */
.domain-pricing .egate-popular-heading {
    font-size: 17px !important;
    margin: 8px 0 10px !important;
}

/* Cinco cartoes */
.domain-pricing .egate-popular-tlds {
    gap: 10px !important;
    margin: 0 0 16px !important;
}

/* Cartoes mais baixos */
.domain-pricing .egate-popular-card {
    min-height: 95px !important;
    padding: 10px 8px !important;
    border-radius: 11px !important;
}

/* Nome do dominio */
.domain-pricing .egate-popular-name {
    font-size: 21px !important;
    line-height: 1.1 !important;
}

/* Descricao */
.domain-pricing .egate-popular-label {
    font-size: 10px !important;
    margin: 4px 0 !important;
}

/* Preco */
.domain-pricing .egate-popular-price {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.domain-pricing .egate-popular-card small {
    font-size: 10px !important;
    margin-top: 2px !important;
}

/* Titulo da tabela */
.domain-pricing .egate-all-heading {
    margin: 10px 0 8px !important;
}

.domain-pricing .egate-all-heading h3 {
    font-size: 18px !important;
    margin-bottom: 4px !important;
}

.domain-pricing .egate-all-heading p {
    font-size: 12px !important;
    margin-bottom: 6px !important;
}

/* Titulo das categorias */
.domain-pricing > h4 {
    font-size: 16px !important;
    margin: 8px 0 !important;
}

/* Filtros compactos */
.domain-pricing .tld-filters {
    gap: 6px !important;
    margin: 8px 0 14px !important;
}

.domain-pricing .tld-filters .badge {
    padding: 6px 10px !important;
    font-size: 11px !important;
}

/* Respeitar o ecra do telemovel */
@media (max-width: 575px) {
    .domain-pricing .egate-pricing-hero h2 {
        font-size: 23px !important;
    }

    .domain-pricing .egate-popular-card {
        min-height: 100px !important;
    }
}

/* FIM PREÇOS COMPACTOS V4 */
