/* =========================================================
   Componente: Buscador de dominios WHMCS + oferta "Dominio + Hosting"
   Se carga solo donde está el bloque "Buscador de dominios Tecreamos" o [tc_buscador_dominios].
   ========================================================= */
.tcd {
    --tcd-petroleo: #B9151B;
    --tcd-oscuro: #0D2730;
    --tcd-limon: #B9151B;
    --tcd-menta: #FCEBEC;
    --tcd-gris: #5B6472;
    --tcd-borde: #E3E7EE;
    --tcd-rojo: #B9151B;
    --tcd-grad: linear-gradient(135deg, #D9262D 0%, #B9151B 100%);
    --tcd-grad-hover: linear-gradient(135deg, #B9151B 0%, #8E0E13 100%);
    --tcd-pet-grad: linear-gradient(135deg, #123A46 0%, #0D2730 100%);
    --tcd-pet-grad-hover: linear-gradient(135deg, #0D2730 0%, #071318 100%);
    --tcd-verde: #15954B;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    font-family: var(--tc-fuente, "Inter", sans-serif);
    color: var(--tcd-oscuro);
    box-sizing: border-box;
}
.tcd *, .tcd *::before, .tcd *::after { box-sizing: border-box; }
:where(.tcd) p { margin: 0; }
:is(.entry-content, .is-root-container) .tcd p { margin-bottom: 0; }
:is(.entry-content, .is-root-container) .tcd :is(ol, ul) { margin: 0; padding: 0; }
.tcd .screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ---------- Tarjeta y barra de búsqueda ---------- */
.tcd-card {
    max-width: 960px;
    margin: 0 auto;
    padding: 22px;
    background: #FFFFFF;
    border: 1px solid var(--tcd-borde);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(17, 24, 39, .08);
}
.tcd-bar {
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 6px;
    background: #F7F8FA;
    border: 1.5px solid var(--tcd-borde);
    border-radius: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.tcd-bar:focus-within {
    border-color: var(--tcd-petroleo);
    box-shadow: 0 0 0 4px rgba(185, 21, 27, .12);
}
.tcd-pre {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    height: 48px;
    margin-right: 10px;
    padding: 0 14px;
    background: #0D2730;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
}

/* Aviso "Busca tu dominio" con flecha que rebota (se oculta al escribir) */
.tcd-card { position: relative; }
.tcd-form:has(.tcd-hint) { padding-top: 54px; }
.tcd-hint {
    position: absolute;
    top: 12px;
    left: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    transition: opacity .25s;
}
.tcd-hint-txt {
    padding: 4px 11px;
    background: var(--tcd-grad);
    border-radius: 999px;
    color: #FFFFFF;
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}
.tcd-hint-arrow {
    display: inline-flex;
    margin-top: 1px;
    color: var(--tcd-oscuro);
    animation: tcd-hint 1.1s ease-in-out infinite;
}
.tcd-hint-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes tcd-hint { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
.tcd.is-typed .tcd-hint { opacity: 0; }
.tcd .tcd-sld {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 0 6px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--tcd-oscuro);
    font-size: 18px;
    font-weight: 600;
    outline: 0;
}
.tcd .tcd-sld::placeholder { color: #A9B3B9; font-weight: 500; }
.tcd .tcd-tld {
    flex: 0 0 auto;
    width: auto;
    height: 48px;
    margin: 0 6px 0 0;
    padding: 0 34px 0 14px;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9151B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 14px;
    border: 1px solid var(--tcd-borde);
    border-radius: 10px;
    color: var(--tcd-oscuro);
    font-size: 16px;
    font-weight: 600;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.tcd .tcd-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    height: 48px;
    margin: 0;
    padding: 0 6px 0 20px;
    background: var(--tcd-grad);
    border: 0;
    border-radius: 10px;
    color: #FFFFFF;
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: none;
}
.tcd .tcd-btn:hover, .tcd .tcd-btn:focus-visible { background: var(--tcd-grad-hover); }
.tcd-btn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #FFFFFF;
    border-radius: 8px;
}
.tcd-btn-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--tcd-rojo); stroke-width: 2.6; stroke-linecap: round; }
.tcd.is-loading .tcd-btn { opacity: .75; pointer-events: none; }
.tcd.is-loading .tcd-btn-ico svg { animation: tcd-spin 1s linear infinite; }
@keyframes tcd-spin { to { transform: rotate(360deg); } }

.tcd-msg:empty { display: none; }
.tcd-msg {
    margin-top: 12px;
    color: var(--tcd-gris);
    font-size: 14px;
    text-align: center;
}
.tcd-msg.is-error { color: var(--tcd-rojo); }

/* ---------- Resultado ---------- */
.tcd-result {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
}
.tcd-result[hidden] { display: none; }
.tcd-result.is-ok { background: #EFFAF3; border: 1px solid #BFE5CC; }
.tcd-result.is-no { background: #FDF0F0; border: 1px solid #F4CACA; }
.tcd-r-ico {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
}
.is-ok .tcd-r-ico { background: var(--tcd-verde); }
.is-no .tcd-r-ico { background: var(--tcd-rojo); }
.tcd-r-txt { flex: 1 1 auto; min-width: 0; }
.tcd-r-dom {
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 20px;
    font-weight: 600;
    word-break: break-all;
}
.tcd-r-st { margin-top: 2px; font-size: 14px; font-weight: 600; }
.is-ok .tcd-r-st { color: var(--tcd-verde); }
.is-no .tcd-r-st { color: var(--tcd-rojo); }
.tcd-r-price { margin-top: 2px; color: var(--tcd-gris); font-size: 13px; }
.tcd-r-price strong { color: var(--tcd-oscuro); }
.tcd a.tcd-only {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #FFFFFF;
    border: 1.5px solid var(--tcd-oscuro);
    border-radius: 10px;
    color: var(--tcd-oscuro) !important;
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .2s;
}
.tcd a.tcd-only:hover { background: var(--tcd-oscuro); color: #FFFFFF !important; }
.tcd a.tcd-only svg, .tcd a.tcd-choose svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Extensiones destacadas ---------- */
.tcd-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.tcd .tcd-chip {
    margin: 0;
    padding: 6px 13px;
    background: #FFFFFF;
    border: 1px solid var(--tcd-borde);
    border-radius: 999px;
    color: var(--tcd-oscuro);
    font-family: var(--tc-fuente, "Inter", sans-serif);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.tcd .tcd-chip strong { font-weight: 600; }
.tcd .tcd-chip:hover { border-color: var(--tcd-petroleo); }
.tcd .tcd-chip.is-on { background: var(--tcd-menta); border-color: var(--tcd-petroleo); color: #9E1015; }
.tcd-chips-note { color: var(--tcd-gris); font-size: 12px; }

/* ---------- Antes de buscar: 3 pasos + gancho ---------- */
.tcd-intro { max-width: 960px; margin: 22px auto 0; }
.tcd-intro[hidden] { display: none; }
.tcd-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tcd-step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
    margin: 0;
    padding: 16px 18px;
    background: #FFFFFF;
    border: 1px solid #E3E7EE;
    border-radius: 14px;
}
.tcd-step-n {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--tcd-grad);
    border-radius: 50%;
    color: #FFFFFF;
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 15px;
    font-weight: 600;
}
.tcd-step-t {
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}
.tcd-step-s { margin-top: 2px !important; color: var(--tcd-gris); font-size: 13px; line-height: 1.4; }
.tcd-hook {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px !important;
    padding: 11px 16px;
    background: #FCEBEC;
    border: 1px solid #F6D4D6;
    border-radius: 12px;
    color: var(--tcd-oscuro);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.tcd-hook strong { color: var(--tcd-petroleo); font-weight: 600; white-space: nowrap; }
.tcd-hook-ico { display: inline-flex; flex: 0 0 auto; color: var(--tcd-petroleo); }
.tcd-hook-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 767px) {
    .tcd-chips { gap: 6px; margin-top: 12px; }
    .tcd .tcd-chip { padding: 5px 10px; font-size: 12px; }
    .tcd-chips-note { flex-basis: 100%; text-align: center; }
    .tcd-steps { grid-template-columns: 1fr; gap: 8px; }
    .tcd-step { padding: 11px 14px; }
    .tcd-step-n { width: 28px; height: 28px; font-size: 13px; }
    .tcd-step-t { font-size: 14px; }
    .tcd-hook { justify-content: flex-start; font-size: 13px; text-align: left; }
}

/* ---------- Oferta con hosting ---------- */
.tcd-upsell { margin-top: 34px; }
.tcd-upsell[hidden] { display: none; }
.tcd-up-head { text-align: center; }
.tcd-up-title {
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.5px;
}
.tcd-up-sub { margin-top: 4px; color: var(--tcd-gris); font-size: 15px; }
.tcd-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 960px;
    margin: 18px auto 20px;
    padding: 11px 16px;
    background: #FCEBEC;
    border: 1px solid #F6D4D6;
    border-radius: 12px;
    color: var(--tcd-oscuro);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.tcd-more-ico {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--tcd-grad);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 14px;
    animation: tcd-bounce 1.8s ease-in-out infinite;
}
@keyframes tcd-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .tcd-hint-arrow, .tcd-more-ico, .tcd.is-loading .tcd-btn-ico svg { animation: none; } }

.tcd-more-m { display: none; }
@media (max-width: 767px) {
    .tcd-more-d { display: none; }
    .tcd-more-m { display: inline; }
}

/* Pestañas: solo en celular */
.tcd-tabs { display: none; }

/* Acordeón (escritorio y tablet) */
.tcd-cat {
    margin: 0 0 12px;
    background: #FFFFFF;
    border: 1px solid #E3E7EE;
    border-radius: 16px;
    overflow: hidden;
}
.tcd-cat > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.tcd-cat > summary::-webkit-details-marker { display: none; }
.tcd-cat > summary:hover { background: #F7F8FA; }
.tcd-cat-name {
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 17px;
    font-weight: 600;
}
.tcd-cat-count {
    padding: 3px 10px;
    background: var(--tcd-menta);
    border-radius: 999px;
    color: var(--tcd-petroleo);
    font-size: 12px;
    font-weight: 600;
}
.tcd-cat-ico {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: auto;
    background: #F3F6F8;
    border-radius: 50%;
}
.tcd-cat-ico::before, .tcd-cat-ico::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    background: var(--tcd-petroleo);
    border-radius: 2px;
    transition: transform .2s;
}
.tcd-cat-ico::after { transform: rotate(90deg); }
.tcd-cat[open] .tcd-cat-ico { background: var(--tcd-grad); }
.tcd-cat[open] .tcd-cat-ico::before, .tcd-cat[open] .tcd-cat-ico::after { background: #FFFFFF; }
.tcd-cat[open] .tcd-cat-ico::after { transform: rotate(0deg); }

.tcd-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 4px 22px 22px;
}
.tcd-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 18px 18px;
    background: #FFFFFF;
    border: 1px solid #E3E7EE;
    border-radius: 14px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tcd-plan:hover { border-color: var(--tcd-petroleo); box-shadow: 0 12px 28px rgba(17, 24, 39, .08); transform: translateY(-2px); }
.tcd-plan.is-rec { border: 2px solid var(--tcd-petroleo); }
.tcd-rec {
    position: absolute;
    top: -11px;
    left: 16px;
    padding: 3px 10px;
    background: var(--tcd-grad);
    border-radius: 999px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
}
.tcd-pn {
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 17px;
    font-weight: 600;
}
.tcd-pp { margin-top: 8px; color: var(--tcd-gris); font-size: 12px; }
.tcd-pp strong {
    color: var(--tcd-oscuro);
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -.4px;
}
.tcd-pf { flex: 1 1 auto; margin-top: 6px; color: var(--tcd-gris); font-size: 13px; line-height: 1.45; }
.tcd-feat {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.tcd-feat li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    min-height: 64px;
    padding: 7px 3px;
    background: #F7F8FA;
    border: 1px solid #E3E7EE;
    border-radius: 10px;
    text-align: center;
}
.tcd-feat svg { width: 16px; height: 16px; fill: none; stroke: var(--tcd-petroleo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tcd-feat strong {
    color: var(--tcd-oscuro);
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.2px;
    overflow-wrap: anywhere;
}
.tcd-feat strong span { color: inherit; font-size: inherit; }
.tcd-feat > li > span { max-width: 100%; color: var(--tcd-gris); font-size: 10px; line-height: 1.2; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.tcd a.tcd-choose {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 6px 6px 6px 16px;
    background: var(--tcd-pet-grad);
    border-radius: 10px;
    color: #FFFFFF !important;
    font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}
.tcd a.tcd-choose svg {
    width: 32px;
    height: 32px;
    padding: 8px;
    background: rgba(255, 255, 255, .16);
    border-radius: 8px;
}
.tcd a.tcd-choose:hover { background: var(--tcd-pet-grad-hover); }
.tcd .is-rec a.tcd-choose { background: var(--tcd-grad); }
.tcd .is-rec a.tcd-choose:hover { background: var(--tcd-grad-hover); }

@media (max-width: 1024px) {
    .tcd-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Celular: pestañas + carrusel ---------- */
@media (max-width: 767px) {
    .tcd-card { padding: 14px; border-radius: 16px; }
    .tcd-bar { flex-wrap: wrap; padding: 6px; gap: 6px 0; }
    .tcd-pre { height: 46px; margin-right: 0; padding: 0 12px; font-size: 15px; }
    .tcd-form:has(.tcd-hint) { padding-top: 50px; }
    .tcd-hint { top: 10px; left: 84px; }
    .tcd .tcd-sld { flex: 1 1 calc(100% - 80px); height: 46px; padding: 0 10px; font-size: 17px; }
    .tcd .tcd-tld { flex: 0 0 auto; height: 46px; }
    .tcd .tcd-btn { flex: 1 1 auto; justify-content: space-between; height: 46px; }
    .tcd-result { flex-wrap: wrap; padding: 14px; }
    .tcd-r-txt { flex: 1 1 calc(100% - 58px); }
    .tcd-r-dom { font-size: 17px; }
    .tcd a.tcd-only { width: 100%; justify-content: center; }
    .tcd-up-title { font-size: 22px; }
    .tcd-more { font-size: 13px; text-align: left; }

    .tcd-tabs {
        display: flex;
        gap: 8px;
        margin: 0 -16px 14px;
        padding: 2px 16px 6px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .tcd-tabs::-webkit-scrollbar { display: none; }
    .tcd .tcd-tab {
        flex: 0 0 auto;
        margin: 0;
        padding: 9px 14px;
        background: #FFFFFF;
        border: 1px solid #E3E7EE;
        border-radius: 999px;
        color: var(--tcd-oscuro);
        font-family: var(--tc-fuente-titulos, "Lexend", sans-serif);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
    }
    .tcd .tcd-tab.is-on { background: var(--tcd-oscuro); border-color: var(--tcd-oscuro); color: #FFFFFF; }

    .tcd-cat { display: none; margin: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; }
    .tcd-cat.is-tab { display: block; }
    .tcd-cat > summary { display: none; }
    .tcd-plans {
        display: flex;
        gap: 12px;
        margin: 0 -16px;
        padding: 14px 16px 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 16px;
        scrollbar-width: none;
    }
    .tcd-plans::-webkit-scrollbar { display: none; }
    .tcd-plan { flex: 0 0 82%; scroll-snap-align: start; }
    .tcd-plan:only-child { flex-basis: 100%; }
    .tcd-plan:hover { transform: none; }
    .tcd-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
    .tcd-dots span { width: 7px; height: 7px; background: #E3E7EE; border-radius: 999px; transition: width .2s, background .2s; }
    .tcd-dots span.is-on { width: 20px; background: var(--tcd-petroleo); }
}
@media (min-width: 768px) {
    .tcd-cat { display: block !important; }
    .tcd-dots { display: none; }
}

/* =========================================================
   Ajustes Tecreamos
   ========================================================= */
/* Los párrafos del tema no deben quitar los márgenes propios del buscador */
:is(.entry-content, .is-root-container) .tcd .tcd-more { margin: 20px auto 22px; }
:is(.entry-content, .is-root-container) .tcd .tcd-up-sub { margin-top: 6px; }
:is(.entry-content, .is-root-container) .tcd .tcd-pp { margin-top: 8px; }
:is(.entry-content, .is-root-container) .tcd .tcd-pf { margin-top: 6px; }
:is(.entry-content, .is-root-container) .tcd .tcd-r-st,
:is(.entry-content, .is-root-container) .tcd .tcd-r-price { margin-top: 2px; }
:is(.entry-content, .is-root-container) .tcd .tcd-msg { margin-top: 12px; }

/* Textos con el peso de Tecreamos (títulos 600, textos 400-500) */
.tcd-up-title { font-size: 28px; letter-spacing: -.3px; color: var(--tc-c-navy, #111827); }
.tcd-pn, .tcd-cat-name, .tcd-step-t, .tcd-r-dom { letter-spacing: -.1px; color: var(--tc-c-navy, #111827); }
.tcd-pp strong { letter-spacing: -.3px; }
.tcd .tcd-btn, .tcd a.tcd-choose, .tcd a.tcd-only { font-weight: 600; letter-spacing: .1px; }
.tcd-pre { font-weight: 600; }
.tcd-feat strong { font-weight: 600; font-family: var(--tc-fuente, "Inter", sans-serif); }
.tcd-step-s, .tcd-pf, .tcd-up-sub, .tcd-r-price { font-weight: 400; }

/* Pasos: misma altura y títulos en una línea */
.tcd-steps { align-items: stretch; }
.tcd-step { align-content: center; }
.tcd-step-t { font-size: 15px; }

/* Aviso "Planes de hosting desde…": en una línea en computador */
.tcd-hook { flex-wrap: nowrap; }
.tcd-hook > span:last-child { min-width: 0; }
@media (min-width: 1025px) {
    .tcd-hook > span:last-child { white-space: nowrap; }
}
@media (max-width: 1024px) {
    .tcd-hook { text-wrap: balance; }
}

/* Aviso "Hay más planes" del mismo ancho que las categorías */
:is(.entry-content, .is-root-container) .tcd .tcd-more { max-width: none; }

/* Con un resultado a la vista ya no hace falta el espacio del aviso "Busca tu dominio" */
.tcd:has(.tcd-result:not([hidden])) .tcd-hint { display: none; }
.tcd:has(.tcd-result:not([hidden])) .tcd-form:has(.tcd-hint) { padding-top: 22px; }
@media (max-width: 767px) {
    .tcd:has(.tcd-result:not([hidden])) .tcd-form:has(.tcd-hint) { padding-top: 14px; }
}

/* Aviso "Planes de hosting desde…": ícono pegado al texto en todas las pantallas */
.tcd-hook > span:last-child { flex: 0 1 auto; text-align: left; }

/* Tablet: pasos en columna (número arriba) para que los títulos no se corten */
@media (min-width: 768px) and (max-width: 1024px) {
    .tcd-step { grid-template-columns: 1fr; justify-items: center; row-gap: 8px; padding: 16px 14px; text-align: center; }
    .tcd-step-n { grid-row: auto; }
}
