* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Inter, Segoe UI, Arial, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}

.brand-logo {
    display: block;
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.main-nav,
.admin-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.main-nav a,
.admin-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: #cbd5e1;
}

.main-nav a:hover,
.admin-nav a:hover {
    background: rgba(148, 163, 184, 0.12);
    color: #fff;
}

.page-content {
    min-height: calc(100vh - 140px);
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    margin-top: 60px;
}

.hero {
    padding: 56px 0 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #1d4ed8;
    color: #eff6ff;
    font-size: 13px;
    margin-bottom: 18px;
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    color: #cbd5e1;
}

.hero h1,
.section h1 {
    font-size: 48px;
    line-height: 1.05;
    margin: 0 0 16px;
}

.hero-actions,
.actions-inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 14px;
    padding: 13px 18px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-secondary {
    background: #1e293b;
    color: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-light {
    background: #f8fafc;
    color: #0f172a;
}

.btn-danger {
    background: #991b1b;
    color: #fff;
}

.btn-success {
    background: #15803d;
    color: #fff;
}

.btn-block {
    width: 100%;
}

.slider-panel,
.panel,
.form-card,
.result-card,
.detail-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.vertical-carousel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
    align-items: center;
}

.carousel-track-wrap {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.45s ease;
}

.carousel-slide {
    min-height: 110px;
    padding: 18px;
    border-radius: 22px;
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.14);
    opacity: 0.45;
    transform: scale(0.92);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.carousel-slide.is-active {
    opacity: 1;
    transform: scale(1.02);
    background: linear-gradient(180deg, #1d4ed8, #1e293b);
}

.carousel-slide h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.carousel-slide p {
    margin: 0 0 12px;
    color: #dbeafe;
}

.carousel-arrow {
    border: none;
    border-radius: 14px;
    padding: 10px 12px;
    background: #1e293b;
    color: #fff;
    cursor: pointer;
}

.price-tag,
.chip {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #dbeafe;
    font-size: 14px;
}

.section {
    padding: 32px 0;
}

.section-muted {
    background: rgba(15, 23, 42, 0.45);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.domain-card,
.stat-card,
.compact {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
}

.compact {
    min-height: unset;
}

.domain-name {
    font-size: 26px;
    font-weight: 800;
}

.domain-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

.domain-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.filter-bar,
.stack-form {
    display: grid;
    gap: 14px;
}

.filter-bar {
    grid-template-columns: minmax(0, 1fr) 240px auto;
    margin-bottom: 24px;
}

.stack-form input,
.stack-form select,
.stack-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #0b1220;
    color: #fff;
}

.pagination-wrap,
.top-gap {
    margin-top: 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

.detail-meta,
.stack-list {
    display: grid;
    gap: 12px;
}

.narrow {
    max-width: 780px;
}

.result-grid,
.stats-grid,
.grid-2,
.admin-two-cols {
    display: grid;
    gap: 16px;
}

.result-grid,
.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.admin-two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hint {
    color: #94a3b8;
}

.alert {
    margin: 16px 0;
    padding: 14px 18px;
    border-radius: 16px;
}

.alert-success {
    background: #052e16;
    color: #dcfce7;
    border: 1px solid #166534;
}

.alert-error {
    background: #450a0a;
    color: #fee2e2;
    border: 1px solid #991b1b;
}

.alert-error ul {
    margin: 0;
    padding-left: 18px;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-body {
    background: #020617;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 24px;
    border-right: 1px solid rgba(148, 163, 184, 0.14);
    background: #0b1220;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-admin {
    font-size: 22px;
}

.admin-container {
    padding: 28px 0;
}

.admin-head {
    margin-bottom: 18px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.98));
    border-radius: 20px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    text-align: left;
    vertical-align: top;
}

.table th {
    background: rgba(30, 41, 59, 0.9);
}

.pre-box {
    white-space: pre-wrap;
    word-break: break-word;
    background: #020617;
    border-radius: 16px;
    padding: 16px;
    overflow: auto;
}

.stat-card {
    min-height: unset;
}

.stat-card strong {
    font-size: 34px;
}

.panel h2 {
    margin-top: 0;
}

ul {
    margin-top: 0;
}

.text-muted {
    color: #94a3b8;
}

.hero-register-box {
    margin-top: 22px;
    max-width: 760px;
}

.hero-register-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.hero-register-form input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.72);
    color: #fff;
    font-size: 15px;
    outline: none;
}

.hero-register-form input::placeholder {
    color: #94a3b8;
}

.hero-register-hint {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1000px) {
    .hero-grid,
    .detail-grid,
    .admin-shell,
    .admin-two-cols {
        grid-template-columns: 1fr;
    }

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

    .filter-bar,
    .result-grid,
    .stats-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .hero-register-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero h1,
    .section h1 {
        font-size: 34px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .header-inner,
    .footer-inner,
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-extended {
    margin-top: 60px;
    border-top: 1px solid rgba(148,163,184,.15);
    padding-top: 28px;
    padding-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 28px;
    align-items: start;
}

.footer-title {
    margin: 0 0 14px;
    font-size: 18px;
    color: #fff;
}

.footer-nav {
    display: grid;
    gap: 10px;
}

.footer-nav a {
    color: #cbd5e1;
    transition: .18s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(148,163,184,.12);
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 9999;
    padding: 0 16px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .25s ease, transform .25s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(180deg, rgba(30,41,59,.96), rgba(15,23,42,.98));
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
}

.cookie-banner__text {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 14px;
}

.cookie-banner__text a {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__accept {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .cookie-banner {
        bottom: 10px;
        padding: 0 10px;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__accept {
        width: 100%;
    }
}

/* ===== Theme toggle ===== */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.22);
    background: rgba(30,41,59,.88);
    color: #e2e8f0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.theme-toggle-btn:hover {
    background: rgba(51,65,85,.95);
    color: #fff;
}

html[data-theme='light'] body {
    background: #f8fafc;
    color: #0f172a;
}

html[data-theme='light'] .site-header {
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(15,23,42,.08);
}

html[data-theme='light'] .brand {
    color: #0f172a;
}

html[data-theme='light'] .main-nav a,
html[data-theme='light'] .admin-nav a {
    color: #334155;
}

html[data-theme='light'] .main-nav a:hover,
html[data-theme='light'] .admin-nav a:hover {
    background: rgba(15,23,42,.06);
    color: #0f172a;
}

html[data-theme='light'] .theme-toggle-btn {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15,23,42,.1);
}

html[data-theme='light'] .theme-toggle-btn:hover {
    background: #f1f5f9;
}

html[data-theme='light'] .lead,
html[data-theme='light'] .hero-register-hint,
html[data-theme='light'] .domain-card p,
html[data-theme='light'] .text-muted,
html[data-theme='light'] .footer-nav a,
html[data-theme='light'] .footer-bottom,
html[data-theme='light'] .footer-extended .text-muted {
    color: #475569;
}

html[data-theme='light'] .slider-panel,
html[data-theme='light'] .panel,
html[data-theme='light'] .form-card,
html[data-theme='light'] .result-card,
html[data-theme='light'] .detail-card,
html[data-theme='light'] .domain-card,
html[data-theme='light'] .stat-card,
html[data-theme='light'] .compact,
html[data-theme='light'] .table,
html[data-theme='light'] .cookie-banner__inner {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    color: #0f172a;
}

html[data-theme='light'] .carousel-slide {
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
}

html[data-theme='light'] .carousel-slide.is-active {
    background: linear-gradient(180deg, #dbeafe, #eff6ff);
}

html[data-theme='light'] .carousel-slide p,
html[data-theme='light'] .price-tag,
html[data-theme='light'] .chip {
    color: #1e3a8a;
}

html[data-theme='light'] .price-tag,
html[data-theme='light'] .chip {
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.18);
}

html[data-theme='light'] .carousel-arrow {
    background: #e2e8f0;
    color: #0f172a;
}

html[data-theme='light'] .stack-form input,
html[data-theme='light'] .stack-form select,
html[data-theme='light'] .stack-form textarea,
html[data-theme='light'] .hero-register-form input {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15,23,42,.12);
}

html[data-theme='light'] .stack-form input::placeholder,
html[data-theme='light'] .stack-form textarea::placeholder,
html[data-theme='light'] .hero-register-form input::placeholder {
    color: #64748b;
}

html[data-theme='light'] .section-muted {
    background: rgba(148,163,184,.12);
}

html[data-theme='light'] .site-footer,
html[data-theme='light'] .footer-extended {
    border-top: 1px solid rgba(15,23,42,.08);
}

html[data-theme='light'] .footer-title,
html[data-theme='light'] .domain-name,
html[data-theme='light'] .hero h1,
html[data-theme='light'] .section h1,
html[data-theme='light'] .section-head h2,
html[data-theme='light'] h1,
html[data-theme='light'] h2,
html[data-theme='light'] h3 {
    color: #0f172a;
}

html[data-theme='light'] .pre-box {
    background: #f1f5f9;
    color: #0f172a;
}

html[data-theme='light'] .table th {
    background: rgba(226,232,240,.85);
}

html[data-theme='light'] .table th,
html[data-theme='light'] .table td {
    border-bottom: 1px solid rgba(15,23,42,.08);
}

html[data-theme='light'] .cookie-banner__text {
    color: #0f172a;
}

html[data-theme='light'] .cookie-banner__text a {
    color: #1d4ed8;
}

@media (max-width: 820px) {
    .theme-toggle-btn {
        width: 100%;
    }
}

/* ===== Theme dropdown ===== */
.theme-dropdown {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.22);
    background: rgba(30,41,59,.88);
    color: #e2e8f0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.theme-toggle-btn:hover {
    background: rgba(51,65,85,.95);
    color: #fff;
}

.theme-toggle-btn__icon,
.theme-option__icon {
    display: inline-flex;
    width: 18px;
    justify-content: center;
}

.theme-dropdown__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.18);
    background: linear-gradient(180deg, rgba(30,41,59,.98), rgba(15,23,42,.99));
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 120;
}

.theme-dropdown.is-open .theme-dropdown__menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.theme-dropdown__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #e2e8f0;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: .18s ease;
}

.theme-dropdown__item:hover {
    background: rgba(148,163,184,.10);
    color: #fff;
}

.theme-dropdown__item.is-active {
    background: rgba(37,99,235,.14);
    color: #dbeafe;
    border: 1px solid rgba(96,165,250,.25);
}

html[data-theme='light'] .theme-toggle-btn {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15,23,42,.1);
}

html[data-theme='light'] .theme-toggle-btn:hover {
    background: #f1f5f9;
}

html[data-theme='light'] .theme-dropdown__menu {
    background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,250,252,.99));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 30px rgba(15,23,42,.12);
}

html[data-theme='light'] .theme-dropdown__item {
    color: #0f172a;
}

html[data-theme='light'] .theme-dropdown__item:hover {
    background: rgba(15,23,42,.06);
}

html[data-theme='light'] .theme-dropdown__item.is-active {
    background: rgba(37,99,235,.08);
    color: #1d4ed8;
    border: 1px solid rgba(37,99,235,.16);
}

/* ===== Admin light theme ===== */
html[data-theme='light'] .admin-body {
    background: #e2e8f0;
    color: #0f172a;
}

html[data-theme='light'] .admin-sidebar {
    background: #ffffff;
    border-right: 1px solid rgba(15,23,42,.08);
}

html[data-theme='light'] .admin-sidebar .panel,
html[data-theme='light'] .admin-head-card,
html[data-theme='light'] .admin-content-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    color: #0f172a;
}

html[data-theme='light'] .admin-topbar .brand-admin,
html[data-theme='light'] .admin-user-box strong,
html[data-theme='light'] .admin-head-card h1,
html[data-theme='light'] .admin-nav a,
html[data-theme='light'] .sidebar-note {
    color: #0f172a !important;
}

html[data-theme='light'] .admin-user-box {
    color: #334155;
}

html[data-theme='light'] .admin-nav a:hover {
    background: rgba(15,23,42,.06);
    color: #0f172a;
}

html[data-theme='light'] .admin-nav a.chip {
    color: #1d4ed8 !important;
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.16);
}

@media (max-width: 820px) {
    .theme-toggle-btn {
        min-width: unset;
        width: 100%;
    }

    .theme-dropdown {
        width: 100%;
    }

    .theme-dropdown__menu {
        left: 0;
        right: 0;
        min-width: unset;
    }
}

/* ===== Catalog upgrade ===== */
.catalog-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.catalog-hero h1 {
    margin: 0 0 10px;
}

.catalog-hero__meta {
    flex-shrink: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(96,165,250,.22);
    color: #dbeafe;
    font-weight: 700;
}

.catalog-toolbar {
    margin-bottom: 26px;
}

.catalog-form {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr) minmax(220px, .8fr) auto;
    gap: 14px;
    align-items: end;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(30,41,59,.92), rgba(15,23,42,.98));
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.catalog-form__field {
    display: grid;
    gap: 8px;
}

.catalog-form__field label {
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 700;
}

.catalog-form__field input,
.catalog-form__field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.2);
    background: #0b1220;
    color: #fff;
}

.catalog-form__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 250px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(30,41,59,.92), rgba(15,23,42,.98));
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.catalog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96,165,250,.28);
    box-shadow: 0 16px 34px rgba(0,0,0,.28);
}

.catalog-card__badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(37,99,235,.14);
    border: 1px solid rgba(96,165,250,.35);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 800;
}

.catalog-badge--muted {
    background: rgba(148,163,184,.10);
    border-color: rgba(148,163,184,.18);
    color: #cbd5e1;
}

.catalog-card__body {
    display: grid;
    gap: 12px;
}

.catalog-card__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    color: #fff;
    word-break: break-word;
}

.catalog-card__description {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.65;
}

.catalog-card__footer {
    margin-top: auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.catalog-card__price {
    font-size: 24px;
    font-weight: 900;
    color: #93c5fd;
}

.catalog-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

html[data-theme='light'] .catalog-form,
html[data-theme='light'] .catalog-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

html[data-theme='light'] .catalog-form__field label,
html[data-theme='light'] .catalog-card__description {
    color: #475569;
}

html[data-theme='light'] .catalog-form__field input,
html[data-theme='light'] .catalog-form__field select {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,.12);
    color: #0f172a;
}

html[data-theme='light'] .catalog-card__title {
    color: #0f172a;
}

html[data-theme='light'] .catalog-hero__meta {
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.16);
    color: #1d4ed8;
}

html[data-theme='light'] .catalog-badge {
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.16);
    color: #1d4ed8;
}

html[data-theme='light'] .catalog-badge--muted {
    background: rgba(148,163,184,.10);
    border-color: rgba(148,163,184,.18);
    color: #475569;
}

html[data-theme='light'] .catalog-card__price {
    color: #1d4ed8;
}

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

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

@media (max-width: 700px) {
    .catalog-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-form {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }
}\n\n\n\n\n\n/* ===== Home auto marquee with arrows ===== */
.hero-wide {
    padding: 28px 0 18px;
}

.hero-wide__panel {
    padding: 34px 28px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(29,78,216,.96), rgba(15,23,42,.98));
    border: 1px solid rgba(96,165,250,.18);
    box-shadow: 0 18px 42px rgba(0,0,0,.26);
}

.hero-wide__panel h1 {
    margin: 0 0 14px;
    font-size: 52px;
    line-height: 1.02;
    max-width: 1000px;
    color: #fff;
}

.hero-wide__panel .lead {
    max-width: 960px;
    margin-bottom: 22px;
    color: #dbeafe;
}

.hero-register-form--wide {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
    margin-top: 14px;
    max-width: 860px;
}

.hero-wide__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.domain-scroller-wrap {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.domain-marquee-scroller {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 6px 2px 10px;
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.domain-marquee-scroller::-webkit-scrollbar {
    display: none;
}

.domain-marquee-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 320px;
    gap: 18px;
    width: max-content;
}

.domain-scroll-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: rgba(30,41,59,.95);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    transition: transform .18s ease, background .18s ease;
}

.domain-scroll-btn:hover {
    background: rgba(51,65,85,.98);
    transform: translateY(-1px);
}

.marquee-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(30,41,59,.92), rgba(15,23,42,.98));
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 10px 30px rgba(0,0,0,.24);
}

.marquee-card__top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.marquee-card__body {
    display: grid;
    gap: 10px;
}

.marquee-card__name {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
    word-break: break-word;
}

.marquee-card__body p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.marquee-card__footer {
    margin-top: auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.marquee-card__footer strong {
    font-size: 24px;
    color: #93c5fd;
}

html[data-theme='light'] .hero-wide__panel {
    background: linear-gradient(135deg, rgba(219,234,254,.98), rgba(248,250,252,.99));
    border: 1px solid rgba(37,99,235,.12);
    box-shadow: 0 18px 42px rgba(15,23,42,.08);
}

html[data-theme='light'] .hero-wide__panel h1 {
    color: #0f172a;
}

html[data-theme='light'] .hero-wide__panel .lead {
    color: #334155;
}

html[data-theme='light'] .domain-scroll-btn {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

html[data-theme='light'] .domain-scroll-btn:hover {
    background: #f1f5f9;
}

html[data-theme='light'] .marquee-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

html[data-theme='light'] .marquee-card__name {
    color: #0f172a;
}

html[data-theme='light'] .marquee-card__body p {
    color: #475569;
}

html[data-theme='light'] .marquee-card__footer strong {
    color: #1d4ed8;
}

@media (max-width: 980px) {
    .hero-wide__panel h1 {
        font-size: 40px;
    }
}

@media (max-width: 760px) {
    .hero-register-form--wide {
        grid-template-columns: 1fr;
    }

    .hero-wide__panel {
        padding: 28px 20px;
    }

    .hero-wide__panel h1 {
        font-size: 34px;
    }

    .domain-marquee-track {
        grid-auto-columns: 280px;
    }

    .domain-scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    .domain-scroller-wrap {
        grid-template-columns: 40px 1fr 40px;
        gap: 8px;
    }

    .domain-marquee-track {
        grid-auto-columns: 86vw;
    }
}\n

/* ===== marquee hotfix ===== */
.domain-marquee-scroller {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.domain-marquee-scroller::-webkit-scrollbar {
    display: none;
}

.domain-marquee-track {
    display: flex !important;
    gap: 18px !important;
    width: max-content !important;
}

.marquee-card {
    flex: 0 0 320px !important;
    width: 320px !important;
}

@media (max-width: 760px) {
    .marquee-card {
        flex-basis: 280px !important;
        width: 280px !important;
    }
}

@media (max-width: 560px) {
    .marquee-card {
        flex-basis: 86vw !important;
        width: 86vw !important;
    }
}\n\n/* ===== Domain detail + catalog enhancement ===== */
.catalog-hero--enhanced {
    margin-bottom: 24px;
}

.catalog-active-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.catalog-card--enhanced {
    position: relative;
    overflow: hidden;
}

.catalog-card--enhanced::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(37,99,235,.9), rgba(96,165,250,.7));
}

.catalog-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-card__meta span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(148,163,184,.10);
    border: 1px solid rgba(148,163,184,.14);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
}

.domain-detail-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    margin-bottom: 26px;
}

.domain-detail-hero__content,
.domain-detail-hero__side {
    display: flex;
}

.domain-detail-hero__content {
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(29,78,216,.94), rgba(15,23,42,.98));
    border: 1px solid rgba(96,165,250,.18);
    box-shadow: 0 18px 42px rgba(0,0,0,.24);
}

.domain-detail-hero__content h1 {
    margin: 0;
    font-size: 54px;
    line-height: 1.02;
    color: #fff;
    word-break: break-word;
}

.domain-detail-hero__content .lead {
    margin: 0;
    color: #dbeafe;
    max-width: 900px;
}

.domain-detail-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.domain-price-box {
    width: 100%;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(30,41,59,.92), rgba(15,23,42,.98));
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    display: grid;
    gap: 14px;
}

.domain-price-box__label {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
}

.domain-price-box__value {
    font-size: 38px;
    font-weight: 900;
    color: #93c5fd;
    line-height: 1.1;
}

.domain-price-box__meta {
    display: grid;
    gap: 10px;
    color: #cbd5e1;
    line-height: 1.6;
}

.domain-detail-grid--enhanced {
    grid-template-columns: 1fr 0.95fr;
}

.domain-detail-text {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 16px;
}

.domain-advantages {
    margin-top: 18px;
}

.domain-advantages h3 {
    margin-bottom: 12px;
}

.domain-advantages__list {
    display: grid;
    gap: 12px;
    padding-left: 20px;
}

.domain-advantages__list li {
    color: #cbd5e1;
    line-height: 1.7;
}

html[data-theme='light'] .catalog-card__meta span {
    background: rgba(148,163,184,.10);
    border-color: rgba(148,163,184,.18);
    color: #475569;
}

html[data-theme='light'] .domain-detail-hero__content {
    background: linear-gradient(135deg, rgba(219,234,254,.98), rgba(248,250,252,.99));
    border: 1px solid rgba(37,99,235,.12);
    box-shadow: 0 18px 42px rgba(15,23,42,.08);
}

html[data-theme='light'] .domain-detail-hero__content h1 {
    color: #0f172a;
}

html[data-theme='light'] .domain-detail-hero__content .lead {
    color: #334155;
}

html[data-theme='light'] .domain-price-box {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

html[data-theme='light'] .domain-price-box__value {
    color: #1d4ed8;
}

html[data-theme='light'] .domain-price-box__meta,
html[data-theme='light'] .domain-detail-text,
html[data-theme='light'] .domain-advantages__list li {
    color: #475569;
}

@media (max-width: 980px) {
    .domain-detail-hero,
    .domain-detail-grid--enhanced {
        grid-template-columns: 1fr;
    }

    .domain-detail-hero__content h1 {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    .domain-detail-hero__content {
        padding: 22px;
    }

    .domain-detail-hero__content h1 {
        font-size: 32px;
    }

    .domain-price-box__value {
        font-size: 30px;
    }
}\n

.catalog-badge--premium {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    border: 1px solid #fbbf24;
    color: #3b2f00;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(245, 158, 11, .28);
    text-transform: uppercase;
    letter-spacing: .3px;
}

.catalog-badge--premium:hover {
    filter: brightness(1.04);
}

html[data-theme='light'] .catalog-badge--premium {
    background: linear-gradient(135deg, #fde047, #f59e0b);
    border: 1px solid #f59e0b;
    color: #3b2f00;
    box-shadow: 0 8px 20px rgba(245, 158, 11, .22);
}

/* ===== Premium card highlight ===== */
.premium-card {
    position: relative;
    border: 1px solid rgba(251, 191, 36, .55) !important;
    box-shadow:
        0 10px 30px rgba(0,0,0,.24),
        0 0 0 1px rgba(250, 204, 21, .18) inset,
        0 0 22px rgba(245, 158, 11, .12);
}

.premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(253, 224, 71, .18);
}

.premium-card:hover {
    border-color: rgba(250, 204, 21, .85) !important;
    box-shadow:
        0 16px 36px rgba(0,0,0,.28),
        0 0 0 1px rgba(250, 204, 21, .24) inset,
        0 0 28px rgba(245, 158, 11, .24);
}

html[data-theme='light'] .premium-card {
    border: 1px solid rgba(245, 158, 11, .55) !important;
    box-shadow:
        0 10px 30px rgba(15,23,42,.08),
        0 0 0 1px rgba(245, 158, 11, .12) inset,
        0 0 20px rgba(245, 158, 11, .10);
}

html[data-theme='light'] .premium-card::after {
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .18);
}

html[data-theme='light'] .premium-card:hover {
    border-color: rgba(245, 158, 11, .8) !important;
    box-shadow:
        0 14px 32px rgba(15,23,42,.12),
        0 0 0 1px rgba(245, 158, 11, .16) inset,
        0 0 24px rgba(245, 158, 11, .16);
}

.catalog-badge--new {
    background: rgba(34,197,94,.14);
    border: 1px solid rgba(74,222,128,.28);
    color: #dcfce7;
    font-weight: 800;
}

html[data-theme='light'] .catalog-badge--new {
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.18);
    color: #15803d;
}

.catalog-form__field--checkbox {
    display: flex;
    align-items: end;
}

.catalog-checkbox {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.2);
    background: #0b1220;
    width: 100%;
    color: #fff;
    font-weight: 700;
}

html[data-theme='light'] .catalog-checkbox {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15,23,42,.12);
}

/* ===== Admin domain flags compact ===== */
.admin-domain-flags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 4px;
}

.admin-domain-flag-line {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.18);
    background: rgba(15,23,42,.42);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
}

.admin-domain-flag-line input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2563eb;
}

html[data-theme='light'] .admin-domain-flag-line {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(15,23,42,.10);
    color: #0f172a;
}

@media (max-width: 640px) {
    .admin-domain-flags {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-domain-flag-line {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ===== Catalog premium checkbox align ===== */
.catalog-form__field--checkbox {
    display: flex;
    align-items: end;
}

.catalog-form__field--checkbox .catalog-checkbox {
    min-height: 48px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.20);
    background: #0b1220;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.catalog-form__field--checkbox .catalog-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2563eb;
    flex-shrink: 0;
}

html[data-theme='light'] .catalog-form__field--checkbox .catalog-checkbox {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15,23,42,.12);
}

@media (max-width: 1080px) {
    .catalog-form__field--checkbox {
        align-items: stretch;
    }
}\n\n/* ===== Admin SEO counters ===== */
.seo-counter {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.seo-counter.is-ok {
    color: #22c55e;
}

.seo-counter.is-warn {
    color: #f59e0b;
}

.seo-counter.is-bad {
    color: #ef4444;
}\n

/* ===== Domain quick flags ===== */
.table-wrap {
    overflow-x: auto;
}

.quick-flags-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.18);
    background: rgba(15,23,42,.38);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.quick-flag input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #2563eb;
}

.quick-flag--premium {
    border-color: rgba(245,158,11,.35);
    background: rgba(245,158,11,.10);
}

.quick-flag--new {
    border-color: rgba(34,197,94,.28);
    background: rgba(34,197,94,.10);
}

.quick-flag--slider {
    border-color: rgba(37,99,235,.28);
    background: rgba(37,99,235,.10);
}

html[data-theme='light'] .quick-flag {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15,23,42,.10);
    color: #0f172a;
}

html[data-theme='light'] .quick-flag--premium {
    background: rgba(245,158,11,.08);
    border-color: rgba(245,158,11,.24);
}

html[data-theme='light'] .quick-flag--new {
    background: rgba(34,197,94,.08);
    border-color: rgba(34,197,94,.22);
}

html[data-theme='light'] .quick-flag--slider {
    background: rgba(37,99,235,.08);
    border-color: rgba(37,99,235,.20);
}

/* ===== Domain quick actions ===== */
.domain-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.domain-actions .btn {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 13px;
}

@media (max-width: 860px) {
    .domain-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .domain-actions .btn {
        width: 100%;
    }
}

/* ===== Domain drag sorting ===== */
.drag-cell {
    text-align: center;
    vertical-align: middle;
    cursor: move;
}

.drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(148,163,184,.10);
    border: 1px solid rgba(148,163,184,.16);
    font-size: 18px;
    font-weight: 700;
}

.sortable-row.is-dragging {
    opacity: .55;
}

html[data-theme='light'] .drag-handle {
    background: rgba(15,23,42,.04);
    border: 1px solid rgba(15,23,42,.10);
}

/* ===== Horizontal promo slider cards ===== */
.promo-slider-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.promo-slider-row::-webkit-scrollbar {
    display: none;
}

.promo-slide-card {
    flex: 0 0 340px !important;
    width: 340px !important;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(30,41,59,.92), rgba(15,23,42,.98));
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.promo-slide-card h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.promo-slide-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
}

.promo-slide-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

html[data-theme='light'] .promo-slide-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

html[data-theme='light'] .promo-slide-card p {
    color: #475569;
}

@media (max-width: 760px) {
    .promo-slide-card {
        flex-basis: 300px !important;
        width: 300px !important;
    }
}

@media (max-width: 560px) {
    .promo-slide-card {
        flex-basis: 86vw !important;
        width: 86vw !important;
    }
}

/* ===== Page content ===== */
.page-content-html {
    line-height: 1.8;
}

.page-content-html h2,
.page-content-html h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.page-content-html p,
.page-content-html ul,
.page-content-html ol {
    margin-top: 0;
    margin-bottom: 16px;
}

.page-content-html ul,
.page-content-html ol {
    padding-left: 22px;
}

/* ===== Page management drag sorting ===== */
.sortable-page-row.is-dragging {
    opacity: .55;
}

/* ===== Page sections ===== */
.sortable-page-row.is-dragging {
    opacity: .55;
}

/* ===== Domain inquiries step 8 ===== */
.domain-card-page {
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
}

.domain-inquiry-card {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 22px;
    padding: 24px;
    background: rgba(15,23,42,.45);
}

.domain-inquiry-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.domain-inquiry-subtitle {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 18px;
}

.domain-inquiry-form {
    display: grid;
    gap: 14px;
}

.domain-inquiry-form input,
.domain-inquiry-form textarea,
.domain-inquiry-form select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.2);
    padding: 12px 14px;
    background: rgba(2,6,23,.35);
    color: inherit;
}

.domain-inquiry-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.domain-form-errors {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(127,29,29,.18);
}

.domain-form-errors ul {
    margin: 0;
    padding-left: 18px;
}

.domain-form-success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(34,197,94,.25);
    background: rgba(20,83,45,.2);
}

html[data-theme='light'] .domain-inquiry-card {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .domain-inquiry-form input,
html[data-theme='light'] .domain-inquiry-form textarea,
html[data-theme='light'] .domain-inquiry-form select {
    background: #ffffff;
    border-color: rgba(15,23,42,.12);
}

@media (max-width: 980px) {
    .domain-card-page {
        grid-template-columns: 1fr;
    }
}

/* ===== FAQ step 9 ===== */
.faq-page-section {
    padding-top: 28px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 18px;
    padding: 0;
    background: rgba(15,23,42,.36);
    overflow: hidden;
}

.faq-question {
    display: block;
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 18px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 20px 20px;
    line-height: 1.8;
    color: #cbd5e1;
}

html[data-theme='light'] .faq-item {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .faq-answer {
    color: #475569;
}

/* ===== FAQ design + menu step ===== */
.faq-page-section {
    padding-top: 32px;
}

.faq-hero {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.32));
    margin-bottom: 22px;
}

.faq-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(37,99,235,.16);
    border: 1px solid rgba(37,99,235,.24);
}

.faq-hero h1 {
    margin-top: 0;
    margin-bottom: 12px;
}

.faq-hero p {
    margin: 0;
    max-width: 820px;
    line-height: 1.8;
    color: #cbd5e1;
}

.faq-accordion {
    display: grid;
    gap: 14px;
}

.faq-accordion-item {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 18px;
    background: rgba(15,23,42,.36);
    overflow: hidden;
}

.faq-accordion-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
}

.faq-accordion-summary::-webkit-details-marker {
    display: none;
}

.faq-accordion-question {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}



.faq-accordion-content {
    padding: 0 22px 22px;
}

.faq-accordion-answer {
    padding-top: 2px;
    line-height: 1.85;
    color: #cbd5e1;
}

.faq-help-box {
    margin-top: 24px;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 24px;
    background: rgba(15,23,42,.3);
}

.faq-help-box h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.faq-help-box p {
    margin-top: 0;
    line-height: 1.8;
    color: #cbd5e1;
}

.faq-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.faq-top-link-wrap {
    padding-top: 10px;
}

.faq-top-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.16);
    text-decoration: none;
}

.faq-footer-menu {
    padding: 12px 0 0;
}

.faq-footer-menu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 10px;
}

.faq-footer-menu-links a {
    text-decoration: none;
}

html[data-theme='light'] .faq-hero,
html[data-theme='light'] .faq-accordion-item,
html[data-theme='light'] .faq-help-box {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .faq-hero p,
html[data-theme='light'] .faq-accordion-answer,
html[data-theme='light'] .faq-help-box p {
    color: #475569;
}

@media (max-width: 768px) {
    .faq-hero,
    .faq-help-box {
        padding: 20px;
    }

    .faq-accordion-summary {
        padding: 18px;
    }

    .faq-accordion-content {
        padding: 0 18px 18px;
    }

    .faq-accordion-question {
        font-size: 16px;
    }
}

/* ===== FAQ icon/admin/footer fix ===== */
.faq-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.24);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #e2e8f0;
    background: rgba(255,255,255,.03);
}

.faq-accordion-item[open] .faq-accordion-icon {
    font-size: 28px;
}

.faq-accordion-item[open] .faq-accordion-icon {
    color: #ffffff;
}

.faq-accordion-item[open] .faq-accordion-icon::before {
    content: none;
}

.faq-accordion-item[open] .faq-accordion-icon::after {
    content: none;
}

.faq-accordion-item[open] .faq-accordion-icon {
    position: relative;
}

.faq-accordion-item[open] .faq-accordion-icon {
    text-indent: -9999px;
}

.faq-accordion-item[open] .faq-accordion-icon::before {
    content: "−";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 0;
    color: inherit;
}

html[data-theme='light'] .faq-accordion-icon {
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(15,23,42,.12);
}

/* ===== FAQ final centered cards fix ===== */
.faq-page-section-v2 {
    padding-top: 32px;
}

.faq-centered-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.faq-hero-v2 {
    text-align: center;
    margin-bottom: 24px;
}

.faq-hero-v2 h1 {
    margin-bottom: 14px;
}

.faq-hero-v2 p {
    max-width: 860px;
    margin: 0 auto;
}

.faq-list-v2 {
    display: grid;
    gap: 16px;
}

.faq-card-v2 {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 20px;
    background: rgba(15,23,42,.36);
    overflow: hidden;
}

.faq-summary-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
}

.faq-summary-v2::-webkit-details-marker {
    display: none;
}

.faq-summary-v2::marker {
    content: "";
    font-size: 0;
}

.faq-left-icon-v2 {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.24);
    background: rgba(255,255,255,.03);
}

.faq-left-icon-v2::before,
.faq-left-icon-v2::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #e2e8f0;
    transform: translate(-50%, -50%);
    border-radius: 999px;
}

.faq-left-icon-v2::before {
    width: 14px;
    height: 2px;
}

.faq-left-icon-v2::after {
    width: 2px;
    height: 14px;
}

.faq-card-v2[open] .faq-left-icon-v2::after {
    display: none;
}

.faq-question-text-v2 {
    display: block;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.45;
    flex: 1 1 auto;
}

.faq-answer-wrap-v2 {
    padding: 0 22px 22px 72px;
}

.faq-answer-v2 {
    line-height: 1.85;
    color: #cbd5e1;
    padding-top: 4px;
}

.faq-help-box-v2 {
    margin-top: 28px;
    text-align: center;
}

.faq-help-box-v2 p {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.faq-help-box-v2 .faq-help-actions {
    justify-content: center;
}

.faq-empty-v2 {
    text-align: center;
}

html[data-theme='light'] .faq-card-v2 {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .faq-answer-v2 {
    color: #475569;
}

html[data-theme='light'] .faq-left-icon-v2 {
    background: #ffffff;
    border-color: rgba(15,23,42,.12);
}

html[data-theme='light'] .faq-left-icon-v2::before,
html[data-theme='light'] .faq-left-icon-v2::after {
    background: #0f172a;
}

@media (max-width: 768px) {
    .faq-summary-v2 {
        padding: 18px;
        gap: 12px;
    }

    .faq-question-text-v2 {
        font-size: 18px;
    }

    .faq-answer-wrap-v2 {
        padding: 0 18px 18px 64px;
    }
}

/* ===== Blog horizontal preview list ===== */
.blog-list-section {
    padding-top: 32px;
}

.blog-list-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.blog-list-head {
    margin-bottom: 22px;
}

.blog-row-list {
    display: grid;
    gap: 16px;
}

.blog-row-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 20px;
    padding: 20px 22px;
    background: rgba(15,23,42,.36);
}

.blog-row-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    line-height: 1.35;
}

.blog-row-excerpt {
    color: #cbd5e1;
    line-height: 1.75;
}

.blog-row-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

html[data-theme='light'] .blog-row-item {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .blog-row-excerpt {
    color: #475569;
}

@media (max-width: 768px) {
    .blog-row-item {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .blog-row-title {
        font-size: 20px;
    }

    .blog-row-action {
        justify-content: flex-start;
    }
}

/* ===== Full blog step 13 ===== */
.blog-page-section {
    padding-top: 32px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.blog-main {
    min-width: 0;
}

.blog-sidebar {
    display: grid;
    gap: 18px;
}

.blog-hero {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.32));
    margin-bottom: 22px;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(37,99,235,.16);
    border: 1px solid rgba(37,99,235,.24);
}

.blog-hero h1 {
    margin-top: 0;
    margin-bottom: 12px;
}

.blog-hero p {
    margin: 0;
    line-height: 1.8;
    color: #cbd5e1;
}

.blog-post-list {
    display: grid;
    gap: 18px;
}

.blog-post-card,
.blog-article-card,
.blog-sidebar-card {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 22px;
    padding: 22px;
    background: rgba(15,23,42,.36);
}

.blog-post-category {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    background: rgba(37,99,235,.16);
    border: 1px solid rgba(37,99,235,.24);
}

.blog-post-title,
.blog-article-title {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.35;
}

.blog-post-title a {
    text-decoration: none;
}

.blog-post-date {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 12px;
}

.blog-post-excerpt {
    color: #cbd5e1;
    line-height: 1.8;
}

.blog-post-actions {
    margin-top: 18px;
}

.blog-sidebar-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
}

.blog-sidebar-list {
    display: grid;
    gap: 12px;
}

.blog-sidebar-list a {
    text-decoration: none;
    line-height: 1.6;
}

.blog-breadcrumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: #94a3b8;
    font-size: 14px;
}

.blog-article-content {
    line-height: 1.9;
    color: #e2e8f0;
    white-space: normal;
}

.blog-related-block {
    margin-top: 24px;
}

.blog-related-block h2 {
    margin-bottom: 16px;
}

html[data-theme='light'] .blog-hero,
html[data-theme='light'] .blog-post-card,
html[data-theme='light'] .blog-article-card,
html[data-theme='light'] .blog-sidebar-card {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .blog-hero p,
html[data-theme='light'] .blog-post-excerpt,
html[data-theme='light'] .blog-article-content {
    color: #475569;
}

@media (max-width: 980px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

/* ===== Blog article beautiful frame ===== */
.blog-article-page-section {
    padding-top: 32px;
}

.blog-article-shell {
    display: grid;
    gap: 18px;
}

.blog-article-hero-card {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.34));
}

.blog-article-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.blog-article-reading-frame {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 10px;
    background: rgba(15,23,42,.30);
    box-shadow: 0 10px 30px rgba(2,6,23,.18);
}

.blog-article-reading-inner {
    border: 1px solid rgba(148,163,184,.10);
    border-radius: 18px;
    padding: 28px 30px;
    background: rgba(2,6,23,.20);
}

.blog-article-reading-inner p {
    margin: 0 0 18px 0;
    line-height: 1.95;
    color: #e2e8f0;
    font-size: 17px;
}

.blog-article-reading-inner p:last-child {
    margin-bottom: 0;
}

.blog-article-bottom-box {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 24px;
    background: rgba(15,23,42,.30);
}

.blog-article-bottom-box h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.blog-article-bottom-box p {
    margin-top: 0;
    line-height: 1.8;
    color: #cbd5e1;
}

.blog-article-bottom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

html[data-theme='light'] .blog-article-hero-card,
html[data-theme='light'] .blog-article-reading-frame,
html[data-theme='light'] .blog-article-bottom-box {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .blog-article-reading-inner {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .blog-article-reading-inner p,
html[data-theme='light'] .blog-article-bottom-box p {
    color: #475569;
}

@media (max-width: 768px) {
    .blog-article-hero-card,
    .blog-article-bottom-box {
        padding: 20px;
    }

    .blog-article-reading-inner {
        padding: 20px;
    }

    .blog-article-reading-inner p {
        font-size: 16px;
    }
}

/* ===== Blog article magazine cover ===== */
.blog-article-cover-mag {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 28px;
    padding: 0;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.34), transparent 34%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 28%),
        linear-gradient(135deg, rgba(30,41,59,.98), rgba(15,23,42,.95) 46%, rgba(2,6,23,.98));
    box-shadow: 0 18px 44px rgba(2,6,23,.22);
}

.blog-article-cover-pattern {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.2));
    pointer-events: none;
}

.blog-article-cover-inner {
    position: relative;
    z-index: 1;
    padding: 34px 34px 38px;
}

.blog-article-cover-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.blog-post-category-mag {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.16);
    color: #ffffff;
    backdrop-filter: blur(6px);
}

.blog-article-cover-date {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.blog-article-cover-title {
    margin: 0 0 16px 0;
    font-size: 42px;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #ffffff;
    max-width: 900px;
}

.blog-article-cover-excerpt {
    max-width: 860px;
    font-size: 18px;
    line-height: 1.85;
    color: #dbeafe;
}

html[data-theme='light'] .blog-article-cover-mag {
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.14), transparent 28%),
        linear-gradient(135deg, #ffffff, #f8fafc 46%, #f1f5f9);
    border-color: rgba(15,23,42,.08);
    box-shadow: 0 18px 44px rgba(15,23,42,.08);
}

html[data-theme='light'] .blog-post-category-mag {
    color: #0f172a;
    background: rgba(255,255,255,.82);
    border-color: rgba(15,23,42,.10);
}

html[data-theme='light'] .blog-article-cover-date {
    color: #334155;
    background: rgba(255,255,255,.82);
    border-color: rgba(15,23,42,.10);
}

html[data-theme='light'] .blog-article-cover-title {
    color: #0f172a;
}

html[data-theme='light'] .blog-article-cover-excerpt {
    color: #334155;
}

@media (max-width: 900px) {
    .blog-article-cover-title {
        font-size: 34px;
    }

    .blog-article-cover-excerpt {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .blog-article-cover-inner {
        padding: 24px 20px 26px;
    }

    .blog-article-cover-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .blog-article-cover-excerpt {
        font-size: 16px;
        line-height: 1.75;
    }
}

/* ===== Domains catalog step 14 ===== */
.domains-catalog-section {
    padding-top: 32px;
}

.domains-catalog-wrap {
    display: grid;
    gap: 22px;
}

.domains-catalog-hero {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.32));
}

.domains-catalog-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(37,99,235,.16);
    border: 1px solid rgba(37,99,235,.24);
}

.domains-catalog-hero h1 {
    margin-top: 0;
    margin-bottom: 12px;
}

.domains-catalog-hero p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.8;
}

.domains-filter-card {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 22px;
    background: rgba(15,23,42,.36);
}

.domains-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.domains-filter-grid label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.domains-filter-grid input,
.domains-filter-grid select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.2);
    padding: 12px 14px;
    background: rgba(2,6,23,.35);
    color: inherit;
}

.domains-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.domains-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.domains-card-v2 {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 22px;
    padding: 22px;
    background: rgba(15,23,42,.36);
    display: grid;
    gap: 12px;
}

.domains-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.domains-card-category,
.domains-card-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(37,99,235,.22);
}

.domains-card-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.25;
    word-break: break-word;
}

.domains-card-price {
    font-size: 24px;
    font-weight: 700;
}

.domains-card-excerpt {
    color: #cbd5e1;
    line-height: 1.75;
}

.domains-card-actions {
    margin-top: 4px;
}

html[data-theme='light'] .domains-catalog-hero,
html[data-theme='light'] .domains-filter-card,
html[data-theme='light'] .domains-card-v2 {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .domains-catalog-hero p,
html[data-theme='light'] .domains-card-excerpt {
    color: #475569;
}

html[data-theme='light'] .domains-filter-grid input,
html[data-theme='light'] .domains-filter-grid select {
    background: #ffffff;
    border-color: rgba(15,23,42,.12);
}

@media (max-width: 1200px) {
    .domains-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .domains-filter-grid {
        grid-template-columns: 1fr;
    }

    .domains-catalog-hero,
    .domains-filter-card,
    .domains-card-v2 {
        padding: 18px;
    }

    .domains-card-title {
        font-size: 22px;
    }
}

/* ===== Home search + beautiful domains filters ===== */
.home-domain-search-section {
    padding-top: 18px;
}

.home-domain-search-card {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 26px;
    padding: 26px;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.18), transparent 30%),
        linear-gradient(180deg, rgba(15,23,42,.56), rgba(15,23,42,.32));
    display: grid;
    gap: 18px;
}

.home-domain-search-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(37,99,235,.16);
    border: 1px solid rgba(37,99,235,.24);
}

.home-domain-search-text h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.home-domain-search-text p {
    margin: 0;
    line-height: 1.8;
    color: #cbd5e1;
}

.home-domain-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
}

.home-domain-search-form input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.2);
    padding: 14px 16px;
    background: rgba(2,6,23,.35);
    color: inherit;
}

.domains-catalog-section-v2 .domains-catalog-wrap {
    gap: 24px;
}

.domains-catalog-hero-v2 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.22), transparent 32%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.16), transparent 28%),
        linear-gradient(180deg, rgba(15,23,42,.56), rgba(15,23,42,.34));
}

.domains-search-shell {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 26px;
    padding: 24px;
    background: rgba(15,23,42,.38);
    box-shadow: 0 12px 30px rgba(2,6,23,.12);
}

.domains-search-main-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.domains-search-main-field label,
.domains-filter-item-v2 label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.domains-search-main-field input,
.domains-filter-item-v2 input,
.domains-filter-item-v2 select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.2);
    padding: 13px 15px;
    background: rgba(2,6,23,.35);
    color: inherit;
}

.domains-search-main-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.domains-filter-grid-v2 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.domains-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.domains-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(37,99,235,.22);
}

.domains-catalog-summary {
    color: #cbd5e1;
    line-height: 1.7;
}

.domains-card-v3 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.12), transparent 30%),
        rgba(15,23,42,.36);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.domains-card-v3:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(2,6,23,.14);
    border-color: rgba(37,99,235,.28);
}

html[data-theme='light'] .home-domain-search-card,
html[data-theme='light'] .domains-search-shell,
html[data-theme='light'] .domains-catalog-hero-v2,
html[data-theme='light'] .domains-card-v3 {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
    box-shadow: none;
}

html[data-theme='light'] .home-domain-search-text p,
html[data-theme='light'] .domains-catalog-summary {
    color: #475569;
}

html[data-theme='light'] .home-domain-search-form input,
html[data-theme='light'] .domains-search-main-field input,
html[data-theme='light'] .domains-filter-item-v2 input,
html[data-theme='light'] .domains-filter-item-v2 select {
    background: #ffffff;
    border-color: rgba(15,23,42,.12);
}

@media (max-width: 1100px) {
    .domains-filter-grid-v2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-domain-search-form,
    .domains-search-main-row {
        grid-template-columns: 1fr;
    }

    .domains-search-main-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .domains-filter-grid-v2 {
        grid-template-columns: 1fr;
    }

    .home-domain-search-card,
    .domains-search-shell {
        padding: 18px;
    }
}

/* ===== Darker select dropdowns for domain filters ===== */
.domains-search-shell select,
.domains-filter-grid-v2 select,
.domains-filter-grid select,
.domains-filter-item-v2 select {
    background-color: #0f172a;
    color: #e2e8f0;
    border-color: rgba(148,163,184,.28);
}

.domains-search-shell select option,
.domains-filter-grid-v2 select option,
.domains-filter-grid select option,
.domains-filter-item-v2 select option {
    background: #0f172a;
    color: #e2e8f0;
}

.domains-search-shell select:focus,
.domains-filter-grid-v2 select:focus,
.domains-filter-grid select:focus,
.domains-filter-item-v2 select:focus {
    outline: none;
    border-color: rgba(59,130,246,.55);
    box-shadow: 0 0 0 3px rgba(59,130,246,.16);
}

html[data-theme='light'] .domains-search-shell select,
html[data-theme='light'] .domains-filter-grid-v2 select,
html[data-theme='light'] .domains-filter-grid select,
html[data-theme='light'] .domains-filter-item-v2 select {
    background: #e2e8f0;
    color: #0f172a;
    border-color: rgba(15,23,42,.14);
}

html[data-theme='light'] .domains-search-shell select option,
html[data-theme='light'] .domains-filter-grid-v2 select option,
html[data-theme='light'] .domains-filter-grid select option,
html[data-theme='light'] .domains-filter-item-v2 select option {
    background: #e2e8f0;
    color: #0f172a;
}

/* ===== Home step 16.1: how to buy domain ===== */
.home-howto-section {
    padding-top: 10px;
}

.home-howto-card {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 26px;
    padding: 26px;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.16), transparent 30%),
        linear-gradient(180deg, rgba(15,23,42,.56), rgba(15,23,42,.34));
}

.home-howto-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-howto-item {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 22px;
    padding: 22px;
    background: rgba(15,23,42,.36);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-howto-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(2,6,23,.14);
    border-color: rgba(37,99,235,.24);
}

.home-howto-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-weight: 700;
    background: rgba(37,99,235,.14);
    border: 1px solid rgba(37,99,235,.22);
}

.home-howto-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

.home-howto-item p {
    margin: 0;
    line-height: 1.75;
    color: #cbd5e1;
}

.home-howto-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

html[data-theme='light'] .home-howto-card,
html[data-theme='light'] .home-howto-item {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .home-howto-item p {
    color: #475569;
}

@media (max-width: 1100px) {
    .home-howto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-howto-card,
    .home-howto-item {
        padding: 18px;
    }

    .home-howto-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Home step 16.2: popular picks ===== */
.home-picks-section {
    padding-top: 10px;
}

.home-picks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-pick-card {
    display: block;
    text-decoration: none;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.12), transparent 30%),
        rgba(15,23,42,.36);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-pick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(2,6,23,.14);
    border-color: rgba(37,99,235,.24);
}

.home-pick-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(37,99,235,.14);
    border: 1px solid rgba(37,99,235,.22);
}

.home-pick-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

.home-pick-card p {
    margin: 0;
    line-height: 1.75;
    color: #cbd5e1;
}

html[data-theme='light'] .home-pick-card {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .home-pick-card p {
    color: #475569;
}

@media (max-width: 1100px) {
    .home-picks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-pick-card {
        padding: 18px;
    }

    .home-picks-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Home step 16.3: main FAQ ===== */
.home-main-faq-section {
    padding-top: 10px;
}

.home-main-faq-list {
    display: grid;
    gap: 16px;
}

.home-main-faq-item {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 22px;
    background: rgba(15,23,42,.36);
    overflow: hidden;
}

.home-main-faq-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.home-main-faq-summary::-webkit-details-marker {
    display: none;
}

.home-main-faq-summary::marker {
    content: "";
    font-size: 0;
}

.home-main-faq-icon {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.24);
    background: rgba(255,255,255,.03);
}

.home-main-faq-icon::before,
.home-main-faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #e2e8f0;
    transform: translate(-50%, -50%);
    border-radius: 999px;
}

.home-main-faq-icon::before {
    width: 14px;
    height: 2px;
}

.home-main-faq-icon::after {
    width: 2px;
    height: 14px;
}

.home-main-faq-item[open] .home-main-faq-icon::after {
    display: none;
}

.home-main-faq-answer {
    padding: 0 22px 22px 70px;
    line-height: 1.85;
    color: #cbd5e1;
}

html[data-theme='light'] .home-main-faq-item {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .home-main-faq-answer {
    color: #475569;
}

html[data-theme='light'] .home-main-faq-icon {
    background: #ffffff;
    border-color: rgba(15,23,42,.12);
}

html[data-theme='light'] .home-main-faq-icon::before,
html[data-theme='light'] .home-main-faq-icon::after {
    background: #0f172a;
}

@media (max-width: 768px) {
    .home-main-faq-summary {
        padding: 18px;
        font-size: 16px;
    }

    .home-main-faq-answer {
        padding: 0 18px 18px 64px;
    }
}

/* ===== Home step 16.4: latest blog posts ===== */
.home-latest-posts-section {
    padding-top: 10px;
}

.home-latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-latest-post-card {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 24px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.12), transparent 30%),
        rgba(15,23,42,.36);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-latest-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(2,6,23,.14);
    border-color: rgba(37,99,235,.24);
}

.home-latest-post-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(37,99,235,.14);
    border: 1px solid rgba(37,99,235,.22);
}

.home-latest-post-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

.home-latest-post-card p {
    margin: 0;
    line-height: 1.75;
    color: #cbd5e1;
}

.home-latest-post-card .btn {
    margin-top: 16px;
}

html[data-theme='light'] .home-latest-post-card {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .home-latest-post-card p {
    color: #475569;
}

@media (max-width: 1100px) {
    .home-latest-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-latest-posts-grid {
        grid-template-columns: 1fr;
    }

    .home-latest-post-card {
        padding: 18px;
    }
}

/* ===== Blog pagination fix ===== */
.domainnow-pagination-wrap {
    margin-top: 24px;
    display: grid;
    gap: 14px;
    justify-items: start;
}

.domainnow-pagination-info {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 15px;
}

.domainnow-pagination-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.domainnow-page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.domainnow-page-btn,
.domainnow-page-number,
.domainnow-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.16);
    background: rgba(15,23,42,.36);
    text-decoration: none;
    color: #e2e8f0;
    line-height: 1;
    white-space: nowrap;
}

.domainnow-page-number.is-active {
    background: rgba(37,99,235,.18);
    border-color: rgba(37,99,235,.30);
    font-weight: 700;
}

.domainnow-page-btn:hover,
.domainnow-page-number:hover {
    border-color: rgba(37,99,235,.30);
    transform: translateY(-1px);
}

.domainnow-page-btn.is-disabled {
    opacity: .45;
    pointer-events: none;
}

html[data-theme='light'] .domainnow-pagination-info {
    color: #475569;
}

html[data-theme='light'] .domainnow-page-btn,
html[data-theme='light'] .domainnow-page-number,
html[data-theme='light'] .domainnow-page-dots {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15,23,42,.08);
}

/* ===== Step 8: inquiries admin UI ===== */
.inquiry-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.inquiry-total-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(37,99,235,.22);
    color: #dbeafe;
    font-weight: 700;
}

.inquiry-table-wrap {
    overflow: auto;
    border-radius: 20px;
}

.inquiry-table {
    min-width: 980px;
}

.inquiry-id-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 56px;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(37,99,235,.10);
    border: 1px solid rgba(37,99,235,.20);
    font-weight: 700;
}

.inquiry-domain-cell,
.inquiry-client-cell,
.inquiry-date-cell,
.inquiry-contact-list {
    display: grid;
    gap: 6px;
}

.inquiry-contact-list a,
.inquiry-contact-list-lg a {
    color: #93c5fd;
    text-decoration: none;
    word-break: break-all;
}

.inquiry-contact-list a:hover,
.inquiry-contact-list-lg a:hover {
    text-decoration: underline;
}

.inquiry-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.inquiry-actions form {
    margin: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(148,163,184,.18);
    background: rgba(15,23,42,.42);
    color: #e2e8f0;
}

.status-new {
    background: rgba(37,99,235,.14);
    border-color: rgba(59,130,246,.28);
    color: #dbeafe;
}

.status-in-progress {
    background: rgba(245,158,11,.14);
    border-color: rgba(245,158,11,.28);
    color: #fde68a;
}

.status-done {
    background: rgba(22,163,74,.14);
    border-color: rgba(34,197,94,.28);
    color: #dcfce7;
}

.status-rejected {
    background: rgba(220,38,38,.14);
    border-color: rgba(239,68,68,.28);
    color: #fecaca;
}

.inquiry-empty-box {
    padding: 18px;
    border-radius: 18px;
    background: rgba(15,23,42,.28);
    color: #cbd5e1;
}

.inquiry-show-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
}

.inquiry-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.inquiry-meta-card {
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 18px;
    padding: 16px;
    background: rgba(15,23,42,.26);
}

.inquiry-meta-label {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 6px;
}

.inquiry-meta-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.inquiry-contact-box {
    margin-top: 18px;
}

.inquiry-contact-list-lg {
    display: grid;
    gap: 8px;
}

.inquiry-message-box {
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 18px;
    padding: 18px;
    background: rgba(2,6,23,.28);
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.inquiry-timeline {
    display: grid;
    gap: 16px;
}

.inquiry-timeline-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
    align-items: start;
}

.inquiry-timeline-dot {
    width: 12px;
    height: 12px;
    margin-top: 6px;
    border-radius: 999px;
    background: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}

.inquiry-timeline-content {
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 18px;
    padding: 16px;
    background: rgba(15,23,42,.26);
}

.inquiry-timeline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.inquiry-timeline-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37,99,235,.10);
    border: 1px solid rgba(37,99,235,.20);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
}

.inquiry-timeline-note {
    margin-top: 10px;
    line-height: 1.8;
    color: #e2e8f0;
}

html[data-theme='light'] .inquiry-total-chip {
    background: rgba(37,99,235,.08);
    border-color: rgba(37,99,235,.18);
    color: #1e3a8a;
}

html[data-theme='light'] .status-badge {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15,23,42,.10);
}

html[data-theme='light'] .status-new {
    background: rgba(37,99,235,.08);
    color: #1e3a8a;
}

html[data-theme='light'] .status-in-progress {
    background: rgba(245,158,11,.10);
    color: #92400e;
}

html[data-theme='light'] .status-done {
    background: rgba(22,163,74,.10);
    color: #166534;
}

html[data-theme='light'] .status-rejected {
    background: rgba(220,38,38,.10);
    color: #991b1b;
}

html[data-theme='light'] .inquiry-empty-box,
html[data-theme='light'] .inquiry-meta-card,
html[data-theme='light'] .inquiry-message-box,
html[data-theme='light'] .inquiry-timeline-content {
    background: #ffffff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme='light'] .inquiry-meta-label {
    color: #64748b;
}

html[data-theme='light'] .inquiry-timeline-note {
    color: #334155;
}

@media (max-width: 1100px) {
    .inquiry-show-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .inquiry-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* === FIX: premium checkbox size in domains catalog filter === */
label:has(input[name="premium"]) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    height: 58px;
    min-height: 58px;
    max-height: 58px;
    margin: 0;
    padding: 0 18px;
    box-sizing: border-box;
    border-radius: 18px;
}

label:has(input[name="premium"]) input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
}

label:has(input[name="premium"]) span,
label:has(input[name="premium"]) strong,
label:has(input[name="premium"]) {
    line-height: 1.2;
}


/* === header logo fix === */
.site-header,
.header,
.header-inner,
.navbar,
.topbar {
    position: relative;
}

.site-header .brand,
.header .brand,
.navbar .brand,
.topbar .brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    max-width: 320px !important;
    text-decoration: none !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.site-header .brand img,
.header .brand img,
.navbar .brand img,
.topbar .brand img,
.brand-logo {
    display: block !important;
    height: 56px !important;
    max-height: 56px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

@media (max-width: 992px) {
    .site-header .brand img,
    .header .brand img,
    .navbar .brand img,
    .topbar .brand img,
    .brand-logo {
        height: 44px !important;
        max-height: 44px !important;
    }
}

.site-header .container,
.header .container,
.navbar .container,
.topbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

.site-header nav,
.header nav,
.navbar nav,
.topbar nav {
    margin-left: auto !important;
}

.site-header ul,
.header ul,
.navbar ul,
.topbar ul {
    align-items: center !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* === auto-fit uploaded logo === */
.site-header,
.header,
.navbar,
.topbar {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.site-header .container,
.header .container,
.navbar .container,
.topbar .container {
    min-height: 88px !important;
    height: 88px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.brand,
.site-header .brand,
.header .brand,
.navbar .brand,
.topbar .brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: min(42vw, 520px) !important;
    min-width: 220px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.brand-logo,
.brand img,
.site-header .brand img,
.header .brand img,
.navbar .brand img,
.topbar .brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 64px !important;
    object-fit: contain !important;
    object-position: left center !important;
    flex-shrink: 1 !important;
}

.site-header nav,
.header nav,
.navbar nav,
.topbar nav {
    margin-left: auto !important;
}

@media (max-width: 992px) {
    .site-header .container,
    .header .container,
    .navbar .container,
    .topbar .container {
        min-height: 76px !important;
        height: 76px !important;
    }

    .brand,
    .site-header .brand,
    .header .brand,
    .navbar .brand,
    .topbar .brand {
        max-width: min(46vw, 360px) !important;
        min-width: 160px !important;
    }

    .brand-logo,
    .brand img,
    .site-header .brand img,
    .header .brand img,
    .navbar .brand img,
    .topbar .brand img {
        max-height: 52px !important;
    }
}

@media (max-width: 576px) {
    .site-header .container,
    .header .container,
    .navbar .container,
    .topbar .container {
        min-height: 68px !important;
        height: 68px !important;
    }

    .brand,
    .site-header .brand,
    .header .brand,
    .navbar .brand,
    .topbar .brand {
        max-width: min(54vw, 240px) !important;
        min-width: 120px !important;
    }

    .brand-logo,
    .brand img,
    .site-header .brand img,
    .header .brand img,
    .navbar .brand img,
    .topbar .brand img {
        max-height: 44px !important;
    }
}



/* === domain tools register page === */
.domain-tools-page .form-hint {
    margin-top: 8px;
    margin-bottom: 0;
}

.domain-tools-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.domain-tools-tab {
    appearance: none;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: inherit;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: .2s ease;
}

.domain-tools-tab.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.domain-tools-panel {
    display: none;
}

.domain-tools-panel.is-active {
    display: block;
}

.domain-tools-tlds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.domain-tools-tld-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37,99,235,.10);
    border: 1px solid rgba(37,99,235,.28);
    font-weight: 600;
    font-size: 14px;
}

.label-like {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 2px;
}

.domain-tools-result-actions {
    margin-top: 18px;
}

.generator-placeholder {
    border: 1px dashed rgba(255,255,255,.15);
    border-radius: 18px;
    padding: 22px;
    background: rgba(255,255,255,.02);
}

.domain-tools-generator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .domain-tools-generator-grid {
        grid-template-columns: 1fr;
    }

    .domain-tools-tabs {
        flex-direction: column;
    }

    .domain-tools-tab {
        width: 100%;
        text-align: center;
    }
}


/* === domain check multi results === */
.domain-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.domain-check-item {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 18px;
    background: rgba(255,255,255,.03);
}

.domain-check-item.is-available {
    border-color: rgba(34,197,94,.35);
    background: rgba(34,197,94,.06);
}

.domain-check-item.is-taken {
    border-color: rgba(255,255,255,.10);
}

.domain-check-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    word-break: break-word;
}

.domain-check-status {
    font-weight: 700;
    margin-bottom: 8px;
}

.small {
    font-size: 13px;
}

@media (max-width: 768px) {
    .domain-check-grid {
        grid-template-columns: 1fr;
    }
}


/* === grouped domain results === */
.domain-result-group {
    margin-top: 22px;
}

.domain-result-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
}

.domain-result-group-head h3 {
    margin: 0;
    font-size: 18px;
}

.domain-result-group-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    background: rgba(255,255,255,.08);
}

.domain-result-group-head.is-available {
    border-color: rgba(34,197,94,.30);
    background: rgba(34,197,94,.08);
}

.domain-result-group-head.is-taken {
    border-color: rgba(148,163,184,.22);
    background: rgba(148,163,184,.06);
}

.domain-result-group-head.is-error {
    border-color: rgba(239,68,68,.28);
    background: rgba(239,68,68,.08);
}

.domain-check-item.is-error {
    border-color: rgba(239,68,68,.28);
    background: rgba(239,68,68,.05);
}




/* === domain check text polish === */
.domain-check-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
}

.domain-check-item.is-available .domain-check-status {
    background: rgba(34,197,94,.14);
    border-color: rgba(34,197,94,.30);
    color: #dcfce7;
}

.domain-check-item.is-taken .domain-check-status {
    background: rgba(148,163,184,.12);
    border-color: rgba(148,163,184,.24);
    color: #e2e8f0;
}

.domain-check-item.is-error .domain-check-status {
    background: rgba(239,68,68,.14);
    border-color: rgba(239,68,68,.28);
    color: #fecaca;
}

.domain-check-name {
    line-height: 1.3;
}

.domain-tools-result-actions .btn,
.domain-check-item .actions-inline .btn {
    min-width: 190px;
}


/* === tld checkbox options === */
.domain-tools-tld-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.domain-tools-tld-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(148,163,184,.18);
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}

.domain-tools-tld-option input {
    margin: 0;
}

.error-text {
    margin-top: 8px;
    color: #fecaca;
    font-size: 14px;
    font-weight: 600;
}

/* === mobile header/navigation hard fix === */
@media (max-width: 768px) {
    .site-header {
        z-index: 500 !important;
    }

    .site-header .container,
    .header .container,
    .navbar .container,
    .topbar .container,
    .header-inner {
        min-height: unset !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .brand,
    .site-header .brand,
    .header .brand,
    .navbar .brand,
    .topbar .brand {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
        overflow: visible !important;
    }

    .brand-logo,
    .brand img,
    .site-header .brand img,
    .header .brand img,
    .navbar .brand img,
    .topbar .brand img {
        max-height: 44px !important;
    }

    .site-header nav,
    .header nav,
    .navbar nav,
    .topbar nav,
    .main-nav {
        width: 100% !important;
        margin-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    .main-nav a,
    .admin-nav a {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .theme-dropdown {
        width: 100% !important;
    }

    .theme-toggle-btn {
        width: 100% !important;
        min-width: 0 !important;
    }

    .theme-dropdown__menu {
        left: 0 !important;
        right: 0 !important;
        min-width: 0 !important;
    }

    .home-domain-search-form,
    .hero-register-form,
    .hero-register-form--wide,
    .hero-wide__links,
    .hero__actions,
    .actions-inline {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .home-domain-search-form .btn,
    .hero-register-form .btn,
    .hero-register-form--wide .btn,
    .hero-wide__links .btn,
    .hero__actions .btn,
    .actions-inline .btn {
        width: 100% !important;
    }

    .home-domain-search-card,
    .hero-wide__panel,
    .form-card,
    .result-card {
        overflow: hidden !important;
    }
}


/* === domainnow mobile compact header dropdown fix === */
.mobile-nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 900 !important;
        backdrop-filter: blur(10px);
    }

    .site-header .container.header-inner,
    .site-header .header-inner {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 44px 44px !important;
        align-items: center !important;
        gap: 10px !important;
        min-height: auto !important;
        height: auto !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .site-header .brand {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .brand-logo,
    .brand img,
    .site-header .brand img {
        max-height: 42px !important;
    }

    .mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border: 1px solid rgba(148, 163, 184, 0.22) !important;
        border-radius: 999px !important;
        background: rgba(15, 23, 42, 0.92) !important;
        color: #ffffff !important;
        cursor: pointer !important;
        font-size: 22px !important;
        line-height: 1 !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
    }

    .mobile-nav-toggle:hover {
        background: rgba(30, 41, 59, 0.96) !important;
    }

    .theme-dropdown {
        width: auto !important;
        justify-self: end !important;
    }

    .theme-toggle-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        justify-content: center !important;
    }

    .theme-toggle-btn__text {
        display: none !important;
    }

    .theme-toggle-btn__icon {
        margin: 0 !important;
        font-size: 20px !important;
    }

    .theme-dropdown__menu {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        min-width: 180px !important;
        z-index: 950 !important;
    }

    .site-header nav,
    .main-nav {
        margin-left: 0 !important;
    }

    .site-header .main-nav {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 12px !important;
        background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98)) !important;
        border: 1px solid rgba(148, 163, 184, 0.18) !important;
        border-radius: 18px !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28) !important;
        z-index: 940 !important;
    }

    .site-header .main-nav.is-open {
        display: flex !important;
    }

    .main-nav a {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px !important;
        text-align: left !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    html[data-theme='light'] .mobile-nav-toggle {
        background: rgba(255, 255, 255, 0.96) !important;
        color: #0f172a !important;
        border-color: rgba(148, 163, 184, 0.3) !important;
    }

    html[data-theme='light'] .site-header .main-nav {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.99)) !important;
        border-color: rgba(148, 163, 184, 0.22) !important;
    }
}

/* === best domains card compact tuning === */
.home-best-domains-section .domain-scroller-wrap {
    max-width: 860px !important;
    gap: 14px !important;
}

.home-best-domains-section .marquee-card {
    flex: 0 0 350px !important;
    width: 350px !important;
    max-width: 100% !important;
    min-height: 260px !important;
    padding: 18px !important;
    border-radius: 22px !important;
}

.home-best-domains-section .marquee-card__top {
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.home-best-domains-section .marquee-card__name {
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
}

.home-best-domains-section .marquee-card__body {
    min-height: 108px !important;
}

.home-best-domains-section .marquee-card__body p {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.home-best-domains-section .marquee-card__footer {
    gap: 12px !important;
    margin-top: 12px !important;
}

.home-best-domains-section .marquee-card__footer strong {
    font-size: 16px !important;
}

.home-best-domains-section .marquee-card__footer .btn {
    min-height: 42px !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
}

.home-best-domains-section .domain-scroll-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 28px !important;
}

@media (max-width: 1100px) {
    .home-best-domains-section .domain-scroller-wrap {
        max-width: 760px !important;
    }

    .home-best-domains-section .marquee-card {
        flex-basis: 320px !important;
        width: 320px !important;
        min-height: 248px !important;
    }
}

@media (max-width: 768px) {
    .home-best-domains-section .domain-scroller-wrap {
        max-width: 100% !important;
        gap: 12px !important;
    }

    .home-best-domains-section .marquee-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 16px !important;
    }

    .home-best-domains-section .marquee-card__name {
        font-size: 17px !important;
    }

    .home-best-domains-section .marquee-card__body {
        min-height: 0 !important;
    }

    .home-best-domains-section .marquee-card__body p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .home-best-domains-section .marquee-card__footer {
        flex-wrap: wrap !important;
    }

    .home-best-domains-section .marquee-card__footer .btn {
        width: 100% !important;
    }

    .home-best-domains-section .domain-scroll-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 24px !important;
    }
}


/* === Header tune: released domains link + compact round theme button === */
@media (min-width: 901px) {
    .header-inner {
        gap: 14px;
    }

    .main-nav {
        gap: clamp(14px, 1.7vw, 26px);
        flex-wrap: nowrap;
    }

    .main-nav a {
        font-size: 15px;
        white-space: nowrap;
    }

    .theme-dropdown {
        flex: 0 0 auto;
        margin-left: 6px;
    }

    .theme-toggle-btn {
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
        padding: 0;
        border-radius: 9999px;
        justify-content: center;
        gap: 0;
    }

    .theme-toggle-btn__text {
        display: none;
    }

    .theme-toggle-btn__icon {
        margin: 0;
        font-size: 20px;
        line-height: 1;
    }
}

@media (min-width: 901px) and (max-width: 1280px) {
    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 14px;
    }
}
