/* ZhostPro - Domain search page (domain-search.tpl). Everything is scoped under .ds */
.ds { --ds-red: var(--color-one, #d3321d); --ds-red-dark: var(--color-one-dark, #b12a18); --ds-ink: #1d2030; --ds-muted: #5b6072; --ds-line: #dcdfe8; --ds-tint: #f5f6fb; --ds-navy: #26357f;
  color: var(--ds-ink); line-height: 1.55; overflow-x: clip; }
.ds *, .ds *::before, .ds *::after { box-sizing: border-box; }
.ds [hidden] { display: none !important; }
:where(.ds) :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
:where(.ds) :where(ul) { list-style: none; }
:where(.ds) a { color: var(--ds-red); }
.ds-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.ds-sec { padding: clamp(44px, 7vw, 84px) 0; text-align: center; }
.ds-sec-tint { background: var(--ds-tint); }
.ds h2 { font-size: clamp(26px, 4.2vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.ds-lead { margin: 12px auto 0; max-width: 560px; font-size: clamp(17px, 2.2vw, 19px); color: var(--ds-muted); }

/* buttons */
.ds-btn-line, .ds-btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ds-btn-line { margin-top: 32px; color: var(--ds-ink); background: #fff; border: 1.5px solid var(--ds-ink); }
.ds-btn-line:hover { background: var(--ds-ink); color: #fff; }
.ds-btn-solid { color: #fff; background: var(--ds-red); border: 1.5px solid var(--ds-red); }
.ds-btn-solid:hover { background: var(--ds-red-dark); border-color: var(--ds-red-dark); color: #fff; }
.ds-btn-red { margin-top: 18px; color: #fff; background: var(--ds-red); border-color: var(--ds-red); }
.ds-btn-red:hover { background: var(--ds-red-dark); border-color: var(--ds-red-dark); color: #fff; }
.ds a:focus-visible, .ds button:focus-visible, .ds input:focus-visible, .ds select:focus-visible, .ds summary:focus-visible { outline: 3px solid #7f8ee0; outline-offset: 2px; }

/* ---------- hero ---------- */
.ds-hero { position: relative; background: #fff; }
.ds-promo { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 16px; text-align: center; font-size: clamp(15px, 2.6vw, 18px); font-weight: 500; color: #fff; text-decoration: none; background: rgba(78, 90, 170, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ds-promo:hover { color: #fff; background: rgba(60, 72, 150, .72); }
.ds-hero-art { height: clamp(160px, 30vw, 230px); background: #eef0fb; }
.ds-hero-art svg { display: block; width: 100%; height: 100%; }
.ds-hero-body { padding-top: clamp(32px, 6vw, 56px); padding-bottom: clamp(36px, 6vw, 64px); text-align: center; }
.ds h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.ds-search { max-width: 760px; margin: clamp(22px, 4vw, 34px) auto 0; text-align: left; }
.ds-search-box { display: flex; align-items: stretch; min-height: 58px; background: #fff; border: 1.5px solid #c7cbd8; border-radius: 12px; overflow: hidden; }
.ds-search-box:focus-within { border-color: var(--ds-navy); box-shadow: 0 0 0 3px rgba(38, 53, 127, .18); }
.ds-search-box input { flex: 1 1 auto; min-width: 0; padding: 0 16px; font: inherit; font-size: 17px; color: var(--ds-ink); background: transparent; border: 0; outline: 0; }
.ds-search-box input::placeholder { color: #8a8fa3; }
.ds-gear { flex: 0 0 auto; width: 52px; color: #3a3f55; background: transparent; border: 0; cursor: pointer; font-size: 18px; }
.ds-gear[aria-expanded="true"] { color: var(--ds-red); }
.ds-go { flex: 0 0 auto; width: 66px; color: #fff; background: var(--ds-red); border: 0; cursor: pointer; font-size: 20px; transition: background .15s; }
.ds-go:hover { background: var(--ds-red-dark); }
.ds-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; color: var(--ds-muted); }
.ds-chip { min-height: 36px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ds-ink); background: #fff; border: 1.5px solid var(--ds-line); border-radius: 999px; cursor: pointer; }
.ds-chip.is-on { color: #fff; background: var(--ds-navy); border-color: var(--ds-navy); }
.ds-small { margin-top: 22px; font-size: 15.5px; color: var(--ds-muted); text-align: center; }
.ds-small a { display: inline-block; margin-top: 6px; font-weight: 500; }

/* ---------- TLD cards ---------- */
.ds-seg { display: inline-flex; gap: 2px; margin-top: 28px; padding: 5px; background: #f0f0f3; border-radius: 12px; }
.ds-seg button { min-height: 40px; padding: 0 20px; font: inherit; font-size: 16px; font-weight: 600; color: #6c7186; background: transparent; border: 0; border-radius: 9px; cursor: pointer; }
.ds-seg button.is-on { color: var(--ds-ink); background: #fff; box-shadow: 0 1px 4px rgba(20, 25, 60, .14); }
.ds-cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 30px; text-align: left; }
.ds-card { display: flex; flex-direction: column; padding: 22px 22px 20px; background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(20, 25, 60, .11); }
.ds-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ds-code, .ds-off { padding: 3px 9px; font-size: 14px; font-weight: 600; color: #fff; border-radius: 5px; }
.ds-code { background: #2e7d7a; }
.ds-off { background: var(--ds-red); }
.ds-card h3 { font-size: 28px; font-weight: 600; line-height: 1.2; }
.ds-tag { margin-top: 6px; font-size: 15px; font-weight: 600; }
.ds-desc { margin-top: 6px; font-size: 16.5px; color: var(--ds-muted); }
.ds-price { margin-top: auto; padding-top: 26px; }
.ds-price strong { display: block; font-size: 27px; font-weight: 700; line-height: 1.2; }
.ds-price small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--ds-muted); }
.ds-check { width: 100%; min-height: 50px; margin-top: 16px; font: inherit; font-size: 16.5px; font-weight: 700; color: var(--ds-red); background: #f3f3f5; border: 0; border-radius: 10px; cursor: pointer; transition: background .15s; }
.ds-check:hover { background: #e8e8ec; }
.ds-none { margin-top: 24px; color: var(--ds-muted); }

/* ---------- free extras ---------- */
.ds-extras { display: grid; grid-template-columns: 1fr; gap: 28px; text-align: left; }
.ds-extras-copy { text-align: center; }
.ds-extras-art { max-width: 300px; margin: 22px auto 0; }
.ds-extras-art svg, .ds-tip-art svg { display: block; width: 100%; height: auto; }
.ds-extras-list { display: grid; gap: 22px; align-content: center; }
.ds-extras-list a { display: block; text-decoration: none; color: var(--ds-ink); }
.ds-extras-list strong { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 600; color: var(--ds-red); }
.ds-extras-list span { display: block; margin-top: 4px; font-size: 16.5px; color: var(--ds-muted); }
.ds-extras-list a:hover strong { text-decoration: underline; }

/* ---------- find a domain band ---------- */
.ds-band { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 44px) clamp(18px, 4vw, 40px); background: #ececef; border-radius: 16px; text-align: center; }
.ds-band .ds-search { margin-top: 22px; }

/* ---------- tiles: why / boost ---------- */
.ds-why, .ds-boost { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 32px; text-align: left; }
.ds-tile { padding: 26px 24px 28px; background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(20, 25, 60, .11); }
.ds-ico { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin-bottom: 14px; color: var(--ds-navy); background: #eceef8; border-radius: 50%; font-size: 34px; }
.ds-ico-sm { width: 60px; height: 60px; font-size: 26px; }
.ds-tile h3 { font-size: 19px; font-weight: 600; }
.ds-tile p { margin-top: 10px; font-size: 17px; color: var(--ds-muted); }
.ds-from { color: var(--ds-ink) !important; }

/* ---------- tips ---------- */
.ds-tips { max-width: 820px; text-align: left; }
.ds-tips h2 { text-align: center; }
.ds-tip { margin-top: clamp(28px, 5vw, 44px); }
.ds-tip-art { max-width: 280px; margin: 0 auto 14px; }
.ds-tip h3 { font-size: 22px; font-weight: 600; }
.ds-tip p { margin-top: 12px; font-size: 17px; color: var(--ds-muted); max-width: 68ch; }

/* ---------- related articles ---------- */
.ds-select { display: block; width: 100%; max-width: 360px; min-height: 48px; margin: 22px auto 0; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ds-ink); background: #fff; border: 1.5px solid var(--ds-line); border-radius: 10px; }
.ds-arts { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 28px; text-align: left; }
.ds-art { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; color: #fff; border-radius: 14px; }
.ds-art-blue { background: #34499f; } .ds-art-green { background: #2b7d62; } .ds-art-orange { background: #c95b1b; }
.ds-art-ico { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 16px; font-size: 26px; background: rgba(255, 255, 255, .18); border-radius: 12px; }
.ds-art h3 { font-size: 21px; font-weight: 600; line-height: 1.25; }
.ds-art p { margin-top: 10px; margin-bottom: 22px; font-size: 16.5px; color: rgba(255, 255, 255, .92); }
.ds-art .ds-btn-solid { margin-top: auto; background: #fff; color: var(--ds-red-dark); border-color: #fff; }
.ds-art .ds-btn-solid:hover { background: #f1f1f5; color: var(--ds-red-dark); }

/* ---------- TLD tables ---------- */
.ds-tables { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 30px; text-align: left; }
.ds-tbl h3 { margin-bottom: 10px; font-size: 20px; font-weight: 600; }
.ds-tbl table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--ds-line); border-radius: 12px; overflow: hidden; }
.ds-tbl th, .ds-tbl td { padding: 13px 16px; font-size: 16.5px; text-align: left; border-bottom: 1px solid #edeff5; }
.ds-tbl thead th { font-size: 14.5px; font-weight: 600; color: var(--ds-muted); background: #f6f7fb; }
.ds-tbl tbody th { font-weight: 600; }
.ds-tbl th:last-child, .ds-tbl td:last-child { text-align: right; }
.ds-tbl tbody tr:last-child th, .ds-tbl tbody tr:last-child td { border-bottom: 0; }
.ds-note { margin-top: 18px; font-size: 14.5px; color: var(--ds-muted); }

/* ---------- FAQ ---------- */
.ds-faq-wrap { max-width: 820px; }
.ds-faq { margin-top: 28px; text-align: left; }
.ds-faq details, .ds-disc { background: #fff; border: 1px solid var(--ds-line); border-radius: 12px; }
.ds-faq details + details { margin-top: 10px; }
.ds-faq summary, .ds-disc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 17.5px; font-weight: 600; cursor: pointer; list-style: none; }
.ds-faq summary::-webkit-details-marker, .ds-disc summary::-webkit-details-marker { display: none; }
.ds-faq summary::after, .ds-disc summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-top: -4px; border: solid var(--ds-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.ds-faq details[open] summary::after, .ds-disc[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.ds-faq details p, .ds-disc p { padding: 0 20px 20px; font-size: 16.5px; color: var(--ds-muted); text-align: left; }
.ds-more { margin-top: 26px; font-size: 17px; }
.ds-more a { font-weight: 600; text-decoration: none; }
.ds-more a:hover { text-decoration: underline; }
.ds-disc { margin-top: 28px; text-align: left; }
.ds-disc summary { font-size: 16px; }

/* ---------- help ---------- */
.ds-help { padding: clamp(40px, 6vw, 64px) 0; text-align: center; background: #fff; border-top: 1px solid var(--ds-line); }
.ds-help h2 { font-size: clamp(24px, 3.4vw, 30px); }
.ds-help p { margin-top: 6px; font-size: 18px; color: var(--ds-muted); }
.ds-btn-wide { margin-top: 22px; width: 100%; max-width: 420px; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) { .ds-cards, .ds-boost { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ds-arts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .ds-cards, .ds-why, .ds-arts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ds-boost { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-extras { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .ds-extras-copy { text-align: left; }
  .ds-extras-copy .ds-lead { margin-left: 0; }
  .ds-extras-art { margin-left: 0; }
  .ds-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .ds-tip { display: grid; grid-template-columns: 240px 1fr; column-gap: 32px; align-items: start; }
  .ds-tip-art { grid-row: 1 / span 3; margin: 0; max-width: none; }
  .ds-tip h3 { margin-top: 4px; }
}
@media (max-width: 420px) { .ds-wrap { padding: 0 16px; } .ds-go { width: 58px; } .ds-gear { width: 46px; } }
@media (prefers-reduced-motion: reduce) { .ds * { transition: none !important; } }
