/* Service pages (resources/js/pages/service.tsx) — builds on the shared blocks in home.css */
.ht-page-hero,
.ht-servers,
.ht-content-section {
    --ht-ink: #0f2341;
    --ht-muted: #5b6678;
    --ht-border: #e7ecf2;
    --ht-soft: #f8fafb;
    --ht-teal: var(--color-primary, #135360);
    --ht-teal-dark: var(--color-secondary, #0e404a);
    --ht-teal-light: var(--tier_teal, #27abb8);
    font-family: var(--font-primary);
}

.ht-btn--outline {
    border: 1.5px solid var(--ht-teal);
    color: var(--ht-teal);
}

.ht-btn--outline:hover {
    background: var(--ht-teal);
    color: #fff;
}

/* ---- Hero ---- */
.ht-page-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 90px;
    background: linear-gradient(135deg, #f4fafb 0%, #eef6f7 50%, #f8fafb 100%);
}

.ht-page-hero::before {
    content: '';
    position: absolute;
    top: -220px;
    right: -160px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 171, 184, 0.14) 0%, transparent 65%);
    pointer-events: none;
}

.ht-page-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: center;
    margin: 0 auto;
}

.ht-page-hero--center .ht-page-hero__grid {
    grid-template-columns: 1fr;
    max-width: 820px;
    text-align: center;
}

.ht-page-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(19, 83, 96, 0.08);
    color: var(--ht-teal);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ht-page-hero h1 {
    margin: 0 0 18px;
    color: var(--ht-ink);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    text-wrap: balance;
}

.ht-page-hero__subtitle {
    margin: 0;
    color: var(--ht-muted);
    font-size: 18px;
    line-height: 1.65;
}

.ht-page-hero__bullets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ht-page-hero--center .ht-page-hero__bullets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ht-page-hero__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ht-ink);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.45;
}

.ht-page-hero__bullets i {
    margin-top: 2px;
    color: var(--ht-teal-light);
}

.ht-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
}

.ht-page-hero--center .ht-page-hero__actions {
    justify-content: center;
}

.ht-page-hero__from {
    color: var(--ht-muted);
    font-size: 15px;
}

.ht-page-hero__from strong {
    color: var(--ht-ink);
    font-size: 20px;
}

.ht-page-hero__media img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

/* ---- Pricing controls ---- */
.ht-pricing-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: -16px 0 40px;
}

.ht-segmented {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--ht-border);
    border-radius: 50px;
    background: #fff;
}

.ht-segmented button {
    display: inline-block;
    width: auto;
    padding: 10px 20px;
    border: 0;
    border-radius: 50px;
    background: none;
    color: var(--ht-muted);
    font-size: 14.5px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease;
}

.ht-segmented button:hover {
    color: var(--ht-teal);
}

.ht-segmented button.is-active {
    background: var(--ht-teal);
    color: #fff;
}

.ht-segmented--small button {
    padding: 8px 16px;
    font-size: 13.5px;
}

/* Server plans section (VPS, dedicated) */
.ht-servers {
    padding: 100px 0 110px;
    background: var(--ht-soft);
}

/* ---- Coupon banner ---- */
.ht-coupon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 860px;
    margin: -10px auto 30px;
    padding: 16px 16px 16px 20px;
    border-radius: 16px;
    background: linear-gradient(120deg, var(--ht-teal-dark) 0%, var(--ht-teal) 60%, #1a6b7b 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(14, 64, 74, 0.22);
    text-align: left;
}

/* Ticket notches */
.ht-coupon::before,
.ht-coupon::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ht-soft);
    transform: translateY(-50%);
}

.ht-coupon::before {
    left: -9px;
}

.ht-coupon::after {
    right: -9px;
}

.ht-coupon__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-third, #ffc107);
    font-size: 22px;
}

.ht-coupon__copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.ht-coupon__copy strong {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.ht-coupon__copy span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.ht-coupon__code {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 6px 6px 6px 16px;
    border: 1.5px dashed rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.ht-coupon__code code {
    padding: 0;
    background: none;
    color: var(--color-third, #ffc107);
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ht-coupon__code button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin-left: 6px;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--ht-teal);
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.ht-coupon__code button:hover {
    background: #e8f6f7;
}

/* ---- VPS plan rows ---- */
.ht-vps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
}

.ht-vps-plan {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 210px;
    gap: 26px;
    align-items: center;
    padding: 22px 22px 22px 26px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ht-vps-plan:hover {
    border-color: rgba(39, 171, 184, 0.45);
    box-shadow: 0 18px 40px rgba(15, 35, 65, 0.09);
    transform: translateY(-2px);
}

.ht-vps-plan.is-featured {
    border: 2px solid var(--ht-teal);
}

.ht-vps-plan__head h3 {
    margin: 0;
    color: var(--ht-ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.ht-vps-plan__head p {
    margin: 4px 0 0;
    color: var(--ht-muted);
    font-size: 13px;
}

.ht-vps-plan__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ht-vps-plan__badges:empty {
    display: none;
}

.ht-vps-plan__badge,
.ht-vps-plan__save {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.ht-vps-plan__badge {
    background: var(--color-third, #ffc107);
    color: var(--ht-teal-dark);
    text-transform: uppercase;
}

.ht-vps-plan__badge.is-muted {
    background: #fdecea;
    color: #b42318;
}

.ht-vps-plan__save {
    background: #e7f6ee;
    color: #15803d;
}

.ht-vps-plan__specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px 18px;
    margin: 0;
    padding: 0 0 0 26px;
    border-left: 1px dashed var(--ht-border);
    list-style: none;
}

.ht-vps-plan__specs li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ht-vps-plan__spec-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eaf6f7;
    color: var(--ht-teal);
    font-size: 16px;
}

.ht-vps-plan__specs b {
    display: block;
    color: var(--ht-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.ht-vps-plan__specs small {
    display: block;
    color: var(--ht-muted);
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ht-vps-plan__buy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-left: 22px;
    border-left: 1px dashed var(--ht-border);
}

.ht-vps-plan__price del {
    display: block;
    color: #98a2b3;
    font-size: 13.5px;
}

.ht-vps-plan__price p {
    margin: 0;
    color: var(--ht-muted);
    font-size: 14px;
}

.ht-vps-plan__price strong {
    color: var(--ht-teal);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.ht-vps-plan__price span {
    margin-left: 3px;
}

.ht-vps-plan__cta {
    justify-content: center;
    width: 100%;
}

.ht-vps-plan__features {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px dashed var(--ht-border);
    list-style: none;
}

.ht-vps-plan__features li {
    color: var(--ht-muted);
    font-size: 13.5px;
}

.ht-vps-plan__features i {
    margin-right: 5px;
    color: var(--ht-teal-light);
}

.ht-vps-plan.is-sold-out {
    background: #fbfcfd;
}

.ht-vps-plan.is-sold-out .ht-vps-plan__price strong {
    color: #98a2b3;
}

@media (max-width: 1199px) {
    .ht-vps-plan {
        grid-template-columns: minmax(0, 1fr) 220px;
    }

    .ht-vps-plan__specs {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 18px 0 0;
        border-top: 1px dashed var(--ht-border);
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .ht-coupon {
        flex-wrap: wrap;
        margin-top: 0;
    }

    .ht-coupon__copy {
        flex-basis: calc(100% - 68px);
    }

    .ht-coupon__code {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .ht-vps-plan {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .ht-vps-plan__specs {
        grid-row: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ht-vps-plan__buy {
        padding: 16px 0 0;
        border-top: 1px dashed var(--ht-border);
        border-left: 0;
    }
}

/* ---- Content sections ---- */
.ht-content-section {
    padding: 100px 0;
    background: #fff;
}

.ht-content-section.is-tinted {
    background: var(--ht-soft);
}

.ht-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0 auto;
}

.ht-feature-item {
    padding: 30px 28px;
    border: 1px solid var(--ht-border);
    border-radius: 16px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ht-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 35, 65, 0.08);
}

.ht-feature-item .ht-icon-tile img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.ht-feature-item h3 {
    margin: 20px 0 8px;
    color: var(--ht-ink);
    font-size: 18.5px;
    font-weight: 700;
    line-height: 1.3;
}

.ht-feature-item p {
    margin: 0;
    color: var(--ht-muted);
    font-size: 15px;
    line-height: 1.6;
}

.ht-text-block {
    max-width: 900px;
    margin: 0 auto;
}

/* With an image the block uses the full container, like the other sections; text-only blocks stay narrow. */
.ht-text-block.has-image {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 72px;
    max-width: none;
    align-items: center;
}

.ht-text-block.has-image .ht-text-block__image {
    justify-self: center;
    max-width: 560px;
}

.ht-text-block .ht-lead + .ht-lead {
    margin-top: 14px;
}

.ht-text-block__image {
    width: 100%;
    border-radius: 18px;
}

.ht-check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.ht-check-list li {
    display: flex;
    gap: 10px;
    color: var(--ht-ink);
    font-size: 15.5px;
    line-height: 1.5;
}

.ht-check-list i {
    margin-top: 3px;
    color: var(--ht-teal-light);
}

.ht-table-wrap {
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--ht-border);
    border-radius: 16px;
    background: #fff;
}

.ht-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.ht-table th {
    padding: 16px 22px;
    background: var(--ht-soft);
    color: var(--ht-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.ht-table td {
    padding: 15px 22px;
    border-top: 1px solid var(--ht-border);
    color: var(--ht-ink);
    white-space: nowrap;
}

.ht-table td:first-child {
    font-weight: 700;
}

.ht-table tbody tr:hover td {
    background: #fbfdfd;
}

.ht-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ht-steps li {
    padding: 30px 28px;
    border: 1px solid var(--ht-border);
    border-radius: 16px;
    background: #fff;
}

.ht-steps__number {
    color: var(--ht-teal-light);
    font-size: 32px;
    font-weight: 800;
}

.ht-steps h3 {
    margin: 14px 0 8px;
    color: var(--ht-ink);
    font-size: 18.5px;
    font-weight: 700;
}

.ht-steps p {
    margin: 0;
    color: var(--ht-muted);
    font-size: 15px;
    line-height: 1.6;
}

.ht-contact-grid,
.ht-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin: 0 auto;
}

.ht-contact-card,
.ht-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid var(--ht-border);
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

a.ht-contact-card:hover,
.ht-link-card:hover {
    border-color: rgba(19, 83, 96, 0.3);
    box-shadow: 0 14px 32px rgba(15, 35, 65, 0.07);
}

.ht-contact-card small,
.ht-link-card small {
    display: block;
    color: var(--ht-muted);
    font-size: 13px;
}

.ht-contact-card strong,
.ht-link-card strong {
    display: block;
    color: var(--ht-ink);
    font-size: 16px;
    line-height: 1.4;
    word-break: break-word;
}

.ht-link-card__arrow {
    margin-left: auto;
    color: var(--ht-teal);
}

.ht-search-block {
    max-width: 860px;
    margin: 0 auto;
}

.ht-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 24px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 35, 65, 0.08);
}

.ht-search-form > i {
    color: var(--ht-teal);
    font-size: 20px;
}

.ht-search-form input[type='text'] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ht-ink);
    font-size: 17px;
    outline: none;
}

.ht-search-form .ht-btn {
    flex: 0 0 auto;
    width: auto;
    height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 12px;
}


/* Search blocks sit right under the hero, so they need less room. */
.ht-content-section:has(.ht-search-block) {
    padding: 56px 0;
}

/* ---- Showcase hero (hosting pages) ---- */
.ht-showcase {
    --ht-ink: #0f2341;
    --ht-muted: #565e58;
    --ht-teal: var(--color-primary, #135360);
    position: relative;
    overflow: hidden;
    padding: 84px 0 96px;
    background: #fff;
    font-family: var(--font-primary);
}

.ht-showcase__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 72px;
    align-items: center;
}

.ht-showcase__eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--ht-teal);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

.ht-showcase h1 {
    margin: 0 0 30px;
    color: var(--ht-ink);
    font-size: 66px;
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -1.5px;
}

.ht-showcase h1 span {
    color: var(--ht-teal);
}

.ht-showcase__points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-showcase__points li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--ht-muted);
    font-size: 18px;
    line-height: 1.6;
}

.ht-showcase__points i {
    width: 22px;
    flex-shrink: 0;
    color: var(--ht-teal);
    font-size: 20px;
    text-align: center;
}

.ht-showcase__from {
    margin: 30px 0 0;
    color: var(--ht-ink);
    font-size: 17px;
}

.ht-showcase__from b {
    font-weight: 600;
}

.ht-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.ht-showcase__btn,
.ht-showcase__link {
    display: inline-flex;
    align-items: center;
    height: 64px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.ht-showcase__btn {
    gap: 20px;
    padding: 0 10px 0 24px;
    background: var(--ht-teal);
    color: #fff;
}

.ht-showcase__btn:hover {
    background: var(--color-secondary, #0e404a);
    color: #fff;
}

.ht-showcase__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 15px;
    transition: transform 0.3s ease;
}

.ht-showcase__btn:hover .ht-showcase__btn-icon {
    transform: rotate(45deg);
}

.ht-showcase__link {
    padding: 0 26px;
    border: 1px solid #e3e6e8;
    color: #3a423c;
    font-size: 16px;
}

.ht-showcase__link:hover {
    border-color: var(--ht-teal);
    color: var(--ht-teal);
}

/* Photo with an offset colour block behind it and floating status cards. */
.ht-showcase__media {
    position: relative;
    padding: 18px 0 0 32px;
}

.ht-showcase__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 416px;
    height: 558px;
    border-radius: 28px;
    background: var(--ht-teal);
    /* Slides in behind the photo, then drifts gently (same motion as the reference hero). */
    animation:
        ht-showcase-slide 1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s both,
        ht-showcase-drift 6s ease-in-out 1.2s infinite;
}

@keyframes ht-showcase-slide {
    from {
        opacity: 0;
        transform: translate(26px, 26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ht-showcase-drift {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-8px, 6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ht-showcase__accent {
        animation: none;
    }
}

.ht-showcase__media img {
    position: relative;
    display: block;
    width: 100%;
    height: 590px;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 30px 60px rgba(15, 35, 65, 0.18);
}

/* ---- Black Friday banner (BLACK_FRIDAY=1): frameless cut-out image with a countdown over its lower edge ---- */
.ht-promo-image {
    position: relative;
    width: 100%;
}

.ht-promo-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Countdown right under the image, no box: four number tiles. */
.ht-promo-countdown {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: -4% auto 0;
    font-family: var(--font-primary);
    text-align: center;
    white-space: nowrap;
}

.ht-promo-countdown__clock {
    display: grid;
    grid-template-columns: repeat(4, 64px);
    gap: 10px;
}

.ht-promo-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ht-promo-countdown__unit b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(160deg, #1a6b7b 0%, var(--color-secondary, #0e404a) 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.ht-promo-countdown__unit small {
    color: #5b6678;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Showcase hero: the wide banner gets the larger column */
.ht-showcase__grid.is-promo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
}

.ht-page-hero__promo {
    align-self: center;
}

@media (max-width: 991px) {
    .ht-showcase__grid.is-promo {
        grid-template-columns: 1fr;
    }

    .ht-showcase__promo,
    .ht-page-hero__promo {
        max-width: 620px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {

    .ht-promo-countdown__clock {
        grid-template-columns: repeat(4, 52px);
        gap: 8px;
    }

    .ht-promo-countdown__unit b {
        width: 52px;
        height: 46px;
        border-radius: 12px;
        font-size: 22px;
    }

    .ht-promo-countdown__unit small {
        font-size: 10px;
    }
}

/* ---- Rich content sections (highlights, control panel, locations, compare) ---- */
.ht-content-section.is-dark {
    background: var(--cta-two-bg, linear-gradient(180deg, #135360 0%, #0e404a 100%));
}

.ht-feature-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ht-highlights {
    display: grid;
    grid-template-columns: repeat(var(--highlight-columns, 3), minmax(0, 1fr));
    gap: 22px;
}

.ht-highlight {
    padding: 32px 28px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
}

.is-dark .ht-highlight {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.ht-highlight__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(19, 83, 96, 0.08);
    color: var(--ht-teal);
    font-size: 24px;
}

.is-dark .ht-highlight__icon {
    background: rgba(39, 171, 184, 0.18);
    color: #7fd6df;
}

.ht-highlight h3 {
    margin: 22px 0 10px;
    color: var(--ht-ink);
    font-size: 20px;
    font-weight: 700;
}

.ht-highlight p {
    margin: 0;
    color: var(--ht-muted);
    font-size: 15.5px;
    line-height: 1.65;
}

.is-dark .ht-highlight h3 {
    color: #fff;
}

.is-dark .ht-highlight p {
    color: rgba(255, 255, 255, 0.72);
}

/* Control panel */
.ht-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.ht-panel__window {
    overflow: hidden;
    border: 1px solid var(--ht-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(15, 35, 65, 0.1);
}

.ht-panel__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ht-border);
    background: var(--ht-soft);
}

.ht-panel__bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #e3e7eb;
}

.ht-panel__bar span:first-child {
    background: #f87171;
}

.ht-panel__bar span:nth-child(2) {
    background: #fbbf24;
}

.ht-panel__bar span:nth-child(3) {
    background: #34d399;
}

.ht-panel__bar b {
    margin-left: 10px;
    color: var(--ht-ink);
    font-size: 14px;
}

.ht-panel__apps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 24px;
}

.ht-panel__app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    border: 1px solid var(--ht-border);
    border-radius: 14px;
    color: var(--ht-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.ht-panel__app:hover {
    transform: translateY(-3px);
    border-color: rgba(19, 83, 96, 0.3);
}

.ht-panel__app span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(19, 83, 96, 0.08);
    color: var(--ht-teal);
    font-size: 20px;
}

/* Locations */
.ht-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.ht-location {
    display: flex;
    gap: 20px;
    padding: 28px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
}

.ht-location__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--ht-teal);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ht-location h3 {
    margin: 4px 0 8px;
    color: var(--ht-ink);
    font-size: 19px;
    font-weight: 700;
}

.ht-location h3 i {
    margin-right: 4px;
    color: var(--ht-teal-light);
    font-size: 15px;
}

.ht-location p {
    margin: 0;
    color: var(--ht-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Compare plans */
.ht-compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
}

.ht-compare {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 15px;
}

.ht-compare th,
.ht-compare td {
    padding: 15px 20px;
    border-top: 1px solid var(--ht-border);
    color: var(--ht-ink);
    text-align: center;
}

.ht-compare thead th {
    border-top: 0;
    text-transform: none;
    background: var(--ht-soft);
    font-size: 17px;
    font-weight: 700;
}

.ht-compare thead th small {
    display: block;
    margin-top: 4px;
    color: var(--ht-teal);
    font-size: 14px;
    font-weight: 600;
}

.ht-compare thead th.is-featured {
    background: var(--ht-teal);
    color: #fff;
}

.ht-compare thead th.is-featured small {
    color: var(--color-third, #ffc107);
}

.ht-compare th[scope='row'],
.ht-compare thead th:first-child {
    color: var(--ht-muted);
    font-weight: 600;
    text-align: left;
}

.ht-compare thead th:first-child {
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.ht-compare tbody tr:hover td,
.ht-compare tbody tr:hover th {
    background: #fbfdfd;
}

.ht-compare .fa-circle-check {
    color: var(--ht-teal-light);
}

.ht-compare .fa-minus {
    color: #c0c7d1;
}

.ht-compare__actions .ht-btn {
    justify-content: center;
    padding: 11px 18px;
    font-size: 14px;
}

/* ---- Domain hero (search built in) ---- */
.ht-domain-hero {
    --ht-ink: #0f2341;
    --ht-muted: #5b6678;
    --ht-border: #e7ecf2;
    --ht-teal: var(--color-primary, #135360);
    --ht-teal-light: var(--tier_teal, #27abb8);
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
    background: radial-gradient(ellipse at 50% 0%, #1a6b7b 0%, #0f4752 45%, #0a3139 100%);
    color: #fff;
    font-family: var(--font-primary);
    text-align: center;
}

.ht-domain-hero__glow {
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(39, 171, 184, 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.ht-domain-hero__float {
    position: absolute;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    animation: ht-domain-float 7s ease-in-out infinite;
}

.ht-domain-hero__float--1 { top: 18%; left: 6%; }
.ht-domain-hero__float--2 { top: 44%; left: 11%; animation-delay: -1.5s; }
.ht-domain-hero__float--3 { top: 70%; left: 5%; animation-delay: -3s; }
.ht-domain-hero__float--4 { top: 86%; left: 15%; animation-delay: -4.5s; }
.ht-domain-hero__float--5 { top: 16%; right: 7%; animation-delay: -2s; }
.ht-domain-hero__float--6 { top: 40%; right: 11%; animation-delay: -3.5s; }
.ht-domain-hero__float--7 { top: 66%; right: 5%; animation-delay: -5s; }
.ht-domain-hero__float--8 { top: 85%; right: 14%; animation-delay: -0.5s; }

@keyframes ht-domain-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.ht-domain-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.ht-domain-hero__eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    color: #7fd6df;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ht-domain-hero h1 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.ht-domain-hero h1 span {
    color: #7fd6df;
}

.ht-domain-hero__subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
}

.ht-domain-hero__checks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    margin: 26px 0 34px;
    padding: 0;
    list-style: none;
}

.ht-domain-hero__checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.ht-domain-hero__checks i {
    color: #7fd6df;
}

.ht-domain-hero__search {
    display: flex;
    align-items: center;
    padding: 8px 8px 8px 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.ht-domain-hero__prefix {
    color: #98a2b3;
    font-size: 17px;
    font-weight: 500;
}

.ht-domain-hero__search input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 56px;
    margin: 0 12px 0 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ht-ink);
    font-size: 18px;
    outline: none;
    box-shadow: none;
}

.ht-domain-hero__search button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    width: auto;
    height: 56px;
    padding: 0 30px;
    border: 0;
    border-radius: 12px;
    background: var(--ht-teal);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.ht-domain-hero__search button:hover {
    background: #0a3139;
}

.ht-domain-hero__search button:disabled {
    opacity: 0.8;
}

.ht-domain-hero .ht-domain-result {
    text-align: left;
}

.ht-domain-hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.ht-domain-hero__chips button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ht-domain-hero__chips button:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
}

.ht-domain-hero__chips b {
    color: #fff;
}

.ht-domain-hero__transfer {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.ht-domain-hero__transfer a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- Domain transfer form (domain name + EPP code) ---- */
.ht-transfer-form {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.ht-transfer-form__field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 10px 16px 8px;
    border-radius: 12px;
    background: #f4f7f9;
    cursor: text;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.ht-transfer-form__field:focus-within {
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--ht-teal-light);
}

.ht-transfer-form__label {
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ht-transfer-form__control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ht-transfer-form__control > i {
    color: var(--ht-teal);
    font-size: 16px;
}

.ht-transfer-form__control input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 34px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ht-ink);
    font-size: 17px;
    font-weight: 500;
    outline: none;
    box-shadow: none;
}

.ht-transfer-form__control input::placeholder {
    color: #98a2b3;
    font-weight: 400;
}

.ht-transfer-form__toggle {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: none;
    color: #98a2b3;
    transition: color 0.2s ease, background 0.2s ease;
}

.ht-transfer-form__toggle:hover {
    background: #e7ecf2;
    color: var(--ht-teal);
}

.ht-transfer-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-height: 64px;
    padding: 0 30px;
    border: 0;
    border-radius: 12px;
    background: var(--ht-teal);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.ht-transfer-form__submit:hover {
    background: #0a3139;
}

.ht-transfer-hero__help {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.ht-transfer-hero__help i {
    margin-right: 4px;
    color: #7fd6df;
}

@media (max-width: 767px) {
    .ht-transfer-form {
        grid-template-columns: 1fr;
    }

    .ht-transfer-form__submit {
        min-height: 54px;
    }
}

/* ---- Popular extensions ---- */
.ht-tld-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ht-tld-card {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 28px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ht-tld-card:hover {
    transform: translateY(-4px);
    border-color: rgba(19, 83, 96, 0.25);
    box-shadow: 0 18px 40px rgba(15, 35, 65, 0.08);
}

.ht-tld-card__name {
    color: var(--ht-teal);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.ht-tld-card__note {
    margin: 10px 0 0;
    color: var(--ht-muted);
    font-size: 15px;
}

.ht-tld-card__price {
    margin: 22px 0 0;
    color: var(--ht-muted);
    font-size: 15px;
}

.ht-tld-card__price strong {
    color: var(--ht-ink);
    font-size: 30px;
    font-weight: 800;
}

.ht-tld-card__renew {
    margin: 4px 0 0;
    color: var(--ht-muted);
    font-size: 14px;
}

.ht-tld-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    margin-top: 22px;
    border: 1.5px solid var(--ht-teal);
    border-radius: 10px;
    background: #fff;
    color: var(--ht-teal);
    font-size: 15.5px;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease;
}

.ht-tld-card__cta:hover {
    background: var(--ht-teal);
    color: #fff;
}

.ht-feature-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Six per row (operating systems); a short last row is centred. */
.ht-feature-grid--6 {
    --per-row: 6;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ht-feature-grid--6 > .ht-feature-item {
    flex: 0 0 calc((100% - (var(--per-row) - 1) * 22px) / var(--per-row));
    min-width: 0;
    padding: 24px 12px 22px;
    text-align: center;
}

.ht-feature-grid--6 .ht-feature-item h3 {
    margin: 14px 0 0;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ht-feature-grid--6 .ht-icon-tile {
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 1199px) {
    .ht-domain-hero h1 {
        font-size: 52px;
    }

    .ht-domain-hero__float {
        display: none;
    }

    .ht-feature-grid--5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ht-feature-grid--6 {
        --per-row: 4;
    }
}

@media (max-width: 767px) {
    .ht-feature-grid--6 {
        --per-row: 3;
    }
}

@media (max-width: 480px) {
    .ht-feature-grid--6 {
        --per-row: 2;
    }
}

@media (max-width: 991px) {
    .ht-tld-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .ht-domain-hero {
        padding: 64px 0 72px;
    }

    .ht-domain-hero h1 {
        font-size: 38px;
        letter-spacing: -0.8px;
    }

    .ht-domain-hero__subtitle {
        font-size: 16px;
    }

    .ht-domain-hero__search {
        flex-wrap: wrap;
        padding: 10px;
    }

    .ht-domain-hero__prefix {
        display: none;
    }

    .ht-domain-hero__search input {
        height: 50px;
        margin: 0 8px;
    }

    .ht-domain-hero__search button {
        justify-content: center;
        width: 100%;
        height: 50px;
    }

    .ht-tld-grid,
    .ht-feature-grid--5 {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ht-domain-hero__float {
        animation: none;
    }
}

/* ---- Order button states ---- */
.ht-btn--disabled {
    justify-content: center;
    background: #eef1f4;
    color: #98a2b3;
    cursor: not-allowed;
}

.ht-check-list--compact {
    gap: 8px;
    margin-top: 16px;
}

.ht-check-list--compact li {
    font-size: 14.5px;
}

/* ---- TLD table filter ---- */
.ht-table-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 360px;
    margin: -16px auto 24px;
    padding: 0 18px;
    border: 1px solid var(--ht-border);
    border-radius: 50px;
    background: #fff;
}

.ht-table-filter i {
    color: var(--ht-muted);
}

.ht-table-filter input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    background: none;
    color: var(--ht-ink);
    font-size: 15px;
    outline: none;
}

.ht-table-wrap {
    max-height: 560px;
}

.ht-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.ht-table__empty {
    color: var(--ht-muted) !important;
    font-weight: 400 !important;
    text-align: center;
}

/* ---- Domain search results ---- */
.ht-domain-result:empty {
    display: none;
}

.ht-domain-result {
    margin-top: 20px;
}

.ht-domain-result__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid var(--ht-border);
    border-radius: 16px;
    background: #fff;
}

.ht-domain-result__card > i {
    font-size: 26px;
}

.ht-domain-result__card.is-available {
    border-color: rgba(21, 128, 61, 0.35);
    background: #f3fbf6;
}

.ht-domain-result__card.is-available > i {
    color: #15803d;
}

.ht-domain-result__card.is-taken > i {
    color: #dc2626;
}

.ht-domain-result__card > div {
    flex: 1;
    min-width: 200px;
}

.ht-domain-result__card strong {
    display: block;
    color: var(--ht-ink);
    font-size: 16.5px;
    word-break: break-all;
}

.ht-domain-result__card span {
    color: var(--ht-muted);
    font-size: 14.5px;
}

.ht-domain-result__price {
    color: var(--ht-teal);
    font-size: 18px;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
    .ht-showcase__grid {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 48px;
    }

    .ht-showcase h1 {
        font-size: 54px;
    }

    .ht-showcase__accent {
        width: 360px;
        height: 500px;
    }

    .ht-showcase__media img {
        height: 530px;
    }
}

@media (max-width: 991px) {
    .ht-showcase {
        padding: 64px 0 72px;
    }

    .ht-showcase__grid {
        grid-template-columns: 1fr;
    }

    .ht-showcase__media {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .ht-showcase h1 {
        font-size: 40px;
        letter-spacing: -0.8px;
    }

    .ht-showcase__points li {
        font-size: 16px;
    }

    /* Both buttons share one row, splitting it evenly. */
    .ht-showcase__actions {
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 32px;
    }

    .ht-showcase__btn,
    .ht-showcase__link {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        height: 54px;
        font-size: 15px;
        white-space: nowrap;
    }

    .ht-showcase__btn {
        gap: 10px;
        padding: 0 8px 0 14px;
        justify-content: space-between;
    }

    .ht-showcase__btn-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .ht-showcase__link {
        padding: 0 12px;
    }

    .ht-showcase__media {
        padding: 14px 0 0 20px;
    }

    .ht-showcase__accent {
        width: 75%;
        height: 88%;
        border-radius: 22px;
    }

    .ht-showcase__media img {
        height: 440px;
        border-radius: 20px;
    }

}

/* Narrow phones (iPhone SE and smaller): a little tighter so both labels still fit. */
@media (max-width: 360px) {
    .ht-showcase__btn,
    .ht-showcase__link {
        font-size: 14px;
    }

    .ht-showcase__btn {
        padding-left: 10px;
    }

    .ht-showcase__btn-icon {
        width: 30px;
        height: 30px;
    }

    .ht-showcase__link {
        padding: 0 8px;
    }
}

@media (max-width: 1199px) {
    .ht-feature-grid--4,
    .ht-highlights:not(.ht-highlights--3) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ht-panel {
        gap: 48px;
    }
}

/* Three cards stay on one row until there's no room, then stack (no orphan card). */
@media (max-width: 767px) {
    .ht-highlights--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199px) {
    .ht-page-hero h1 {
        font-size: 40px;
    }

    .ht-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ht-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .ht-page-hero {
        padding: 60px 0 70px;
    }

    .ht-page-hero__grid,
    .ht-text-block.has-image {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ht-page-hero__media {
        max-width: 480px;
    }

    .ht-servers,
    .ht-content-section {
        padding: 80px 0;
    }
}

@media (max-width: 575px) {
    .ht-feature-grid--4,
    .ht-highlights {
        grid-template-columns: 1fr;
    }

    .ht-panel__apps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 18px;
    }

    .ht-location {
        padding: 22px;
    }
}

@media (max-width: 575px) {
    .ht-page-hero h1 {
        font-size: 32px;
    }

    .ht-page-hero__subtitle {
        font-size: 16px;
    }

    .ht-page-hero__bullets {
        grid-template-columns: 1fr;
    }

    .ht-servers,
    .ht-content-section {
        padding: 64px 0;
    }

    .ht-feature-grid {
        grid-template-columns: 1fr;
    }

    .ht-search-form {
        flex-wrap: wrap;
        padding: 12px;
    }

    .ht-search-form > i {
        display: none;
    }

    .ht-search-form input[type='text'] {
        padding: 0 8px;
    }

    .ht-search-form .ht-btn {
        width: 100%;
        justify-content: center;
    }

    .ht-table th,
    .ht-table td {
        padding: 12px 16px;
    }
}

/* "Add to Cart" form in the domain search result: keep the theme's full-width submit style off it. */
.ht-domain-result__cart {
    margin: 0;
}

.ht-domain-result__cart .ht-btn {
    width: auto;
    border: 0;
}

/* ---- Dedicated server catalog: filters + server cards ---- */
.ht-catalog {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    text-align: left;
}

.ht-catalog__filters {
    position: sticky;
    top: 110px;
    padding: 26px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 35, 65, 0.05);
}

.ht-catalog__filters-toggle {
    display: none;
}

.ht-filter {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px dashed var(--ht-border);
}

.ht-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ht-filter__title {
    margin: 0 0 14px;
    color: var(--ht-ink);
    font-size: 17px;
    font-weight: 700;
}

.ht-filter__head .ht-filter__title {
    margin: 0;
}

.ht-filter__select {
    position: relative;
    display: block;
    margin: 0;
}

.ht-filter__select select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 14px;
    border: 1px solid #d9e1e8;
    border-radius: 10px;
    background: #fff;
    color: var(--ht-ink);
    font-size: 15px;
    cursor: pointer;
    appearance: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ht-filter__select select:focus {
    border-color: var(--ht-teal-light);
    box-shadow: 0 0 0 3px rgba(39, 171, 184, 0.15);
}

.ht-filter__select > i {
    position: absolute;
    top: 50%;
    right: 15px;
    color: var(--ht-muted);
    font-size: 12px;
    pointer-events: none;
    transform: translateY(-50%);
}

.ht-filter__currency {
    display: inline-flex;
    padding: 3px;
    border-radius: 8px;
    background: #eef2f5;
}

.ht-filter__currency button {
    width: auto;
    padding: 3px 9px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--ht-muted);
    font-size: 12px;
    font-weight: 700;
}

.ht-filter__currency button.is-active {
    background: #fff;
    color: var(--ht-teal);
    box-shadow: 0 1px 3px rgba(15, 35, 65, 0.12);
}

.ht-filter__check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--ht-ink);
    font-size: 15px;
    cursor: pointer;
}

.ht-filter__check:last-child {
    margin-bottom: 0;
}

/* The theme hides native checkboxes; these use the browser's own, tinted to the theme. */
.ht-filter__check input {
    position: static;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: 1;
    accent-color: var(--ht-teal);
    cursor: pointer;
}

.ht-filter__check small {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: 20px;
    background: #eef2f5;
    color: var(--ht-muted);
    font-size: 12px;
    font-weight: 600;
}

.ht-filter__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border: 1px solid var(--ht-teal);
    border-radius: 10px;
    background: #fff;
    color: var(--ht-teal);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.ht-filter__reset:hover:not(:disabled) {
    background: var(--ht-teal);
    color: #fff;
}

.ht-filter__reset:disabled {
    border-color: var(--ht-border);
    color: #98a2b3;
    cursor: default;
}

/* Two-thumb range slider */
.ht-range {
    padding: 0 9px;
}

.ht-range__bubbles {
    position: relative;
    height: 26px;
    margin-top: 12px;
}

.ht-range__bubbles span {
    position: absolute;
    top: 0;
    padding: 2px 7px;
    border-radius: 5px;
    background: var(--ht-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
}

.ht-range__track {
    position: relative;
    height: 4px;
    margin: 8px 0;
    border-radius: 4px;
    background: #e3e9ee;
}

.ht-range__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 4px;
    background: var(--ht-teal-light);
}

.ht-range__track input {
    position: absolute;
    top: 50%;
    left: -9px;
    width: calc(100% + 18px);
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    pointer-events: none;
    appearance: none;
    outline: none;
}

.ht-range__track input::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid var(--ht-teal);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 35, 65, 0.2);
    cursor: grab;
    pointer-events: auto;
    appearance: none;
}

.ht-range__track input::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid var(--ht-teal);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 35, 65, 0.2);
    cursor: grab;
    pointer-events: auto;
}

.ht-range__track input:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(39, 171, 184, 0.3);
}

.ht-range__ticks {
    position: relative;
    height: 26px;
    margin-top: 8px;
}

.ht-range__ticks span {
    position: absolute;
    top: 6px;
    color: var(--ht-muted);
    font-size: 11px;
    white-space: nowrap;
    transform: translateX(-50%);
}

.ht-range__ticks span::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 1px;
    height: 5px;
    background: #b9c3cc;
}

/* Results */
.ht-catalog__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ht-catalog__bar p {
    margin: 0;
    color: var(--ht-ink);
    font-size: 17px;
    font-weight: 600;
}

.ht-catalog__sort {
    width: 220px;
}

.ht-catalog__sort select {
    height: 44px;
}

.ht-server-card {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr) 200px;
    gap: 28px;
    margin-bottom: 18px;
    padding: 14px 24px 14px 14px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(15, 35, 65, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ht-server-card:hover {
    border-color: rgba(39, 171, 184, 0.45);
    box-shadow: 0 18px 40px rgba(15, 35, 65, 0.1);
    transform: translateY(-2px);
}

.ht-server-card__plan {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border-radius: 12px;
    background: linear-gradient(160deg, #eaf6f7 0%, #f4fafb 100%);
}

.ht-server-card__plan h3 {
    margin: 0;
    color: var(--ht-ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ht-server-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ht-server-card__tags span {
    padding: 2px 10px;
    border: 1px solid rgba(39, 171, 184, 0.6);
    border-radius: 6px;
    background: #fff;
    color: var(--ht-teal);
    font-size: 12px;
    font-weight: 700;
}

.ht-server-card__price {
    margin-top: auto;
    padding-top: 18px;
}

.ht-server-card__price small {
    color: var(--ht-muted);
    font-size: 14px;
}

.ht-server-card__price p {
    margin: 4px 0 0;
    color: var(--ht-muted);
    font-size: 15px;
}

.ht-server-card__price del {
    display: block;
    color: #98a2b3;
    font-size: 14px;
}

.ht-server-card__price strong {
    color: var(--ht-ink);
    font-size: 26px;
    font-weight: 800;
}

.ht-server-card__config {
    align-self: center;
    padding: 14px 0;
}

.ht-server-card__config h4 {
    margin: 0 0 16px;
    color: var(--ht-ink);
    font-size: 19px;
    font-weight: 700;
}

.ht-server-card__config ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-server-card__config li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--ht-muted);
    font-size: 14.5px;
    line-height: 1.45;
}

.ht-server-card__config li i {
    flex: 0 0 16px;
    color: var(--ht-teal-light);
    text-align: center;
}

.ht-server-card__config li b {
    color: var(--ht-ink);
    font-weight: 600;
}

.ht-server-card__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    text-align: right;
}

.ht-server-card__location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--ht-ink);
    font-size: 14px;
    font-weight: 600;
}

.ht-catalog-flag {
    flex: 0 0 auto;
    width: 24px;
    height: 15px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(15, 35, 65, 0.12);
}

.ht-server-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
}

.ht-server-card__stock span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ht-server-card__stock.is-in {
    color: #15803d;
}

.ht-server-card__stock.is-in span {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.ht-server-card__stock.is-out {
    color: #b42318;
}

.ht-server-card__stock.is-out span {
    background: #f04438;
}

.ht-server-card__cta {
    justify-content: center;
    width: 100%;
}

.ht-server-card.is-sold-out .ht-server-card__plan {
    background: #f3f5f7;
}

.ht-catalog__empty {
    padding: 56px 24px;
    border: 1px dashed #cfd8e0;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.ht-catalog__empty > i {
    color: var(--ht-teal-light);
    font-size: 34px;
}

.ht-catalog__empty h3 {
    margin: 14px 0 6px;
    color: var(--ht-ink);
    font-size: 20px;
    font-weight: 700;
}

.ht-catalog__empty p {
    margin: 0 0 20px;
    color: var(--ht-muted);
}

@media (max-width: 1199px) {
    .ht-catalog {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 24px;
    }

    .ht-server-card {
        grid-template-columns: 230px minmax(0, 1fr);
        padding-right: 20px;
    }

    .ht-server-card__config ul {
        grid-template-columns: 1fr;
    }

    .ht-server-card__side {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0 4px 8px;
        border-top: 1px dashed var(--ht-border);
        text-align: left;
    }

    .ht-server-card__stock {
        margin: 0 auto 0 0;
    }

    .ht-server-card__cta {
        width: auto;
    }
}

@media (max-width: 991px) {
    .ht-catalog {
        grid-template-columns: 1fr;
    }

    .ht-catalog__filters-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        height: 50px;
        padding: 0 18px;
        border: 1px solid var(--ht-border);
        border-radius: 12px;
        background: #fff;
        color: var(--ht-ink);
        font-size: 16px;
        font-weight: 700;
    }

    .ht-catalog__filters-toggle b {
        padding: 0 8px;
        border-radius: 20px;
        background: var(--ht-teal);
        color: #fff;
        font-size: 12px;
    }

    .ht-catalog__filters-toggle .fa-chevron-down {
        margin-left: auto;
        font-size: 13px;
        transition: transform 0.2s ease;
    }

    .ht-catalog__filters-toggle .fa-chevron-down.is-open {
        transform: rotate(180deg);
    }

    .ht-catalog__filters {
        position: static;
        display: none;
    }

    .ht-catalog__filters.is-open {
        display: block;
    }
}

@media (max-width: 767px) {
    .ht-server-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
    }

    .ht-server-card__config {
        padding: 4px 8px;
    }

    .ht-server-card__side {
        padding: 14px 8px 4px;
    }

    .ht-server-card__cta {
        width: 100%;
    }

    .ht-catalog__bar {
        flex-wrap: wrap;
    }

    .ht-catalog__sort {
        width: 100%;
    }
}

/* ---- Legal documents (terms, privacy, refunds) ---- */
.ht-doc-hero {
    --ht-ink: #0f2341;
    padding: 64px 0 56px;
    background: linear-gradient(180deg, #eaf5f6 0%, #f6fafb 100%);
    font-family: var(--font-primary);
    text-align: center;
}

.ht-doc-hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-primary, #135360);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ht-doc-hero h1 {
    margin: 0 0 12px;
    color: var(--ht-ink);
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -1px;
}

.ht-doc-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: #5b6678;
    font-size: 17px;
    line-height: 1.6;
}

.ht-content-section:has(.ht-doc) {
    padding-top: 48px;
}

.ht-doc {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    text-align: left;
}

.ht-doc__index {
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 22px 18px;
    border: 1px solid var(--ht-border);
    border-radius: 16px;
    background: #fff;
}

.ht-doc__index-title {
    margin: 0 0 10px;
    padding: 0 8px;
    color: var(--ht-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ht-doc__index ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: clause;
}

.ht-doc__index li {
    counter-increment: clause;
}

.ht-doc__index a {
    display: flex;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--ht-ink);
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease;
}

.ht-doc__index a::before {
    content: counter(clause, decimal-leading-zero);
    flex: 0 0 auto;
    color: var(--ht-teal-light);
    font-weight: 700;
}

.ht-doc__index a:hover {
    background: #eaf6f7;
    color: var(--ht-teal);
}

.ht-doc__body {
    padding: 40px 44px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
}

.ht-doc__intro {
    margin: 0 0 16px;
    color: var(--ht-ink);
    font-size: 16.5px;
    line-height: 1.75;
}

.ht-doc__clause {
    padding: 30px 0;
    border-bottom: 1px solid var(--ht-border);
    scroll-margin-top: 110px;
}

.ht-doc__clause:first-of-type {
    padding-top: 0;
}

.ht-doc__clause:last-of-type {
    border-bottom: 0;
}

.ht-doc__clause h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--ht-ink);
    font-size: 22px;
    font-weight: 700;
}

.ht-doc__clause h2 span {
    color: var(--ht-teal-light);
    font-size: 15px;
    font-weight: 800;
}

.ht-doc__clause p,
.ht-doc__list li {
    color: #3f4a5c;
    font-size: 15.5px;
    line-height: 1.75;
}

.ht-doc__clause p {
    margin: 0 0 12px;
}

.ht-doc__subhead {
    margin: 18px 0 8px;
    color: var(--ht-ink);
    font-size: 16.5px;
    font-weight: 700;
}

.ht-doc__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 14px;
    padding: 0;
    list-style: none;
}

.ht-doc__list li {
    position: relative;
    padding-left: 22px;
}

.ht-doc__list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ht-teal-light);
}

.ht-doc__table {
    overflow-x: auto;
    margin: 8px 0 14px;
    border: 1px solid var(--ht-border);
    border-radius: 12px;
}

.ht-doc__table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.ht-doc__table th,
.ht-doc__table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--ht-border);
    text-align: left;
}

.ht-doc__table th {
    background: var(--ht-soft);
    color: var(--ht-ink);
    font-weight: 700;
}

.ht-doc__table tr:last-child td {
    border-bottom: 0;
}

.ht-doc__note {
    display: flex;
    gap: 10px;
    margin: 26px 0 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: #eaf6f7;
    color: var(--ht-ink);
    font-size: 15px;
}

.ht-doc__note i {
    margin-top: 3px;
    color: var(--ht-teal);
}

.ht-doc__note a {
    color: var(--ht-teal);
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .ht-doc {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ht-doc__index {
        position: static;
        max-height: none;
    }
}

@media (max-width: 575px) {
    .ht-doc-hero h1 {
        font-size: 34px;
    }

    .ht-doc__body {
        padding: 26px 20px;
    }

    .ht-doc__clause h2 {
        font-size: 19px;
    }
}

/* ---- Custom HTML section (page editor) ---- */
.ht-html-block {
    max-width: 860px;
    margin: 0 auto;
    color: #3f4a5c;
    font-size: 16.5px;
    line-height: 1.75;
    text-align: left;
}

.ht-html-block > :first-child {
    margin-top: 0;
}

.ht-html-block h2,
.ht-html-block h3,
.ht-html-block h4 {
    margin: 1.6em 0 0.6em;
    color: var(--ht-ink, #0f2341);
    font-weight: 700;
    line-height: 1.3;
}

.ht-html-block h2 {
    font-size: 28px;
}

.ht-html-block h3 {
    font-size: 22px;
}

.ht-html-block h4 {
    font-size: 18px;
}

.ht-html-block p,
.ht-html-block ul,
.ht-html-block ol,
.ht-html-block blockquote,
.ht-html-block figure,
.ht-html-block table {
    margin: 0 0 1.1em;
}

.ht-html-block ul,
.ht-html-block ol {
    padding-left: 1.4em;
}

.ht-html-block ul {
    list-style: disc;
}

.ht-html-block ol {
    list-style: decimal;
}

.ht-html-block a {
    color: var(--ht-teal, #135360);
    font-weight: 600;
    text-decoration: underline;
}

.ht-html-block blockquote {
    padding: 14px 20px;
    border-left: 4px solid var(--ht-teal-light, #27abb8);
    border-radius: 0 10px 10px 0;
    background: #eef7f8;
}

.ht-html-block img,
.ht-html-block video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.ht-html-block iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 12px;
}

.ht-html-block table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.ht-html-block th,
.ht-html-block td {
    padding: 10px 14px;
    border: 1px solid var(--ht-border, #e7ecf2);
    text-align: left;
}

.ht-html-block th {
    background: #f6f9fb;
    color: var(--ht-ink, #0f2341);
}

.ht-html-block code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #eef2f5;
    font-size: 0.9em;
}
