body.czni-page .entry-header,
body.czni-page .page-header,
body.czni-page .entry-title,
body.czni-page .page-title,
body.czni-page .wp-block-post-title {
    display: none !important;
}

body.czni-page #content,
body.czni-page .site-content,
body.czni-page .content-area,
body.czni-page #primary,
body.czni-page .site-main,
body.czni-page main.site-main,
body.czni-page article.page,
body.czni-page .inside-article,
body.czni-page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.czni-page .entry-content > *:first-child,
body.czni-page .inside-article > *:first-child {
    margin-top: 0 !important;
}

.czni-app {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto 60px;
    color: #172033;
    font-size: 16px;
    line-height: 1.68;
}

.czni-app *,
.czni-app *::before,
.czni-app *::after {
    box-sizing: border-box;
}

.czni-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    padding: 4px 0 10px;
    color: #6b7280;
    font-size: 13px;
}

.czni-breadcrumb a {
    color: #4259a8;
    text-decoration: none;
}

.czni-hero {
    padding: 26px 30px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 55%, #f6f4ff 100%);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.czni-eyebrow {
    margin: 0 0 7px !important;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.czni-hero h1 {
    max-width: 920px;
    margin: 0 0 14px;
    color: #101828;
    font-size: clamp(31px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.czni-hero > p:last-child {
    max-width: 930px;
    margin: 0;
    color: #475467;
    font-size: 17px;
}

.czni-tool,
.czni-catalog,
.czni-comparison-table,
.czni-related,
.czni-faq {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
}

.czni-tool-heading {
    margin-bottom: 20px;
}

.czni-tool-heading h2,
.czni-related h2,
.czni-faq > h2 {
    margin: 0 0 7px;
    color: #111827;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.2;
}

.czni-tool-heading p {
    margin: 0;
    color: #667085;
}

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

.czni-fields label,
.czni-filters label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.czni-fields input,
.czni-fields select,
.czni-filters input,
.czni-filters select {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #172033;
    font: inherit;
    font-size: 15px;
    box-shadow: none;
}

.czni-fields input:focus,
.czni-fields select:focus,
.czni-filters input:focus,
.czni-filters select:focus {
    border-color: #6366f1;
    outline: 3px solid rgba(99, 102, 241, 0.15);
}

.czni-button {
    min-height: 48px;
    margin-top: 19px;
    padding: 11px 21px;
    border: 0;
    border-radius: 10px;
    background: #4338ca;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(67, 56, 202, 0.2);
}

.czni-button:hover,
.czni-button:focus {
    background: #3730a3;
}

.czni-result {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    background: #f8faff;
}

.czni-result[hidden] {
    display: none !important;
}

.czni-result-header span {
    display: block;
    margin-bottom: 5px;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.czni-result-header h3 {
    margin: 0 0 19px;
    color: #111827;
    font-size: 25px;
    line-height: 1.25;
}

.czni-metrics,
.czni-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.czni-metrics > div,
.czni-stats > div {
    min-width: 0;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #fff;
}

.czni-metrics strong,
.czni-stats strong {
    display: block;
    overflow-wrap: anywhere;
    color: #111827;
    font-size: 18px;
    line-height: 1.25;
}

.czni-metrics span,
.czni-stats span {
    display: block;
    margin-top: 5px;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
}

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

.czni-plan-grid > div,
.czni-warnings {
    padding: 17px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.czni-plan-grid h4,
.czni-warnings h4,
.czni-products-heading,
.czni-recommendations h4 {
    margin: 0 0 7px;
    color: #1f2937;
}

.czni-plan-grid p,
.czni-warnings ul,
.czni-note {
    margin: 0;
    color: #475467;
}

.czni-warnings {
    margin-top: 15px;
    background: #fffdf5;
    border-color: #fde68a;
}

.czni-warnings ul {
    padding-left: 20px;
}

.czni-products-heading {
    margin-top: 22px;
    font-size: 21px;
}

.czni-recommendations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.czni-recommendations article {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #fff;
}

.czni-recommendations h4 {
    font-size: 15px;
    line-height: 1.4;
}

.czni-recommendations p {
    margin: 0 0 14px;
    color: #667085;
    font-size: 13px;
}

.czni-recommendation-main {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.czni-recommendation-image {
    display: block;
    width: 96px;
    height: 96px;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}

.czni-recommendation-copy {
    min-width: 0;
}

.czni-recommendation-copy h4 {
    overflow-wrap: anywhere;
}

.czni-recommendation-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
}

.czni-recommendations a,
.czni-buy {
    color: #4338ca;
    font-weight: 800;
    text-decoration: none;
}

.czni-note {
    margin-top: 15px;
    padding: 13px 15px;
    border-radius: 9px;
    background: #eef2ff;
    font-size: 14px;
}

.czni-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.czni-content-card {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fff;
}

.czni-content-card h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 20px;
    line-height: 1.3;
}

.czni-content-card p {
    margin: 0;
    color: #526071;
}

.czni-stats {
    margin-bottom: 17px;
}

.czni-filters {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 17px;
    padding: 15px;
    border-radius: 11px;
    background: #f8fafc;
}

.czni-table-wrap,
.czni-comparison-table {
    overflow-x: auto;
}

.czni-products,
.czni-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
}

.czni-products th,
.czni-products td,
.czni-comparison-table th,
.czni-comparison-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.czni-products thead th,
.czni-comparison-table thead th {
    background: #f8fafc;
    color: #475467;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.czni-products tbody tr:last-child td,
.czni-comparison-table tbody tr:last-child td,
.czni-comparison-table tbody tr:last-child th {
    border-bottom: 0;
}

.czni-product-title {
    display: flex;
    min-width: 280px;
    gap: 12px;
    align-items: flex-start;
}

.czni-product-title img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.czni-product-title strong,
.czni-product-title span {
    display: block;
}

.czni-product-title strong {
    color: #1f2937;
    font-size: 14px;
    line-height: 1.4;
}

.czni-product-title span {
    margin-top: 5px;
    color: #667085;
    font-size: 12px;
}

.czni-price,
.czni-buy {
    display: block;
    white-space: nowrap;
}

.czni-price {
    color: #111827;
    font-size: 17px;
}

.czni-buy {
    margin-top: 8px;
    font-size: 13px;
}

.czni-filter-count {
    margin: 12px 0 0;
    color: #667085;
    font-size: 13px;
}

.czni-empty {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
}

.czni-empty h3 {
    margin: 0 0 6px;
}

.czni-empty p {
    margin: 0;
    color: #667085;
}

.czni-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.czni-related-grid a {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    color: #3444a5;
    text-decoration: none;
    font-weight: 700;
}

.czni-related-grid a:hover {
    border-color: #a5b4fc;
    background: #f8faff;
}

.czni-faq details {
    border-bottom: 1px solid #e5e7eb;
}

.czni-faq details:last-child {
    border-bottom: 0;
}

.czni-faq summary {
    padding: 16px 0;
    color: #1f2937;
    font-weight: 800;
    cursor: pointer;
}

.czni-faq details p {
    margin: -4px 0 18px;
    color: #526071;
}

@media (max-width: 900px) {
    .czni-fields,
    .czni-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (max-width: 640px) {
    .czni-app {
        width: min(100% - 20px, 1120px);
        font-size: 15px;
    }

    .czni-hero,
    .czni-tool,
    .czni-catalog,
    .czni-comparison-table,
    .czni-related,
    .czni-faq {
        padding: 18px;
        border-radius: 13px;
    }

    .czni-fields,
    .czni-content-grid,
    .czni-filters,
    .czni-plan-grid,
    .czni-recommendations,
    .czni-related-grid {
        grid-template-columns: 1fr;
    }

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

    .czni-products thead {
        display: none;
    }

    .czni-products,
    .czni-products tbody,
    .czni-products tr,
    .czni-products td {
        display: block;
        width: 100%;
    }

    .czni-products tr {
        margin-bottom: 13px;
        padding: 13px;
        border: 1px solid #e2e8f0;
        border-radius: 11px;
    }

    .czni-products td {
        padding: 8px 0;
        border: 0;
    }

    .czni-product-title {
        min-width: 0;
    }

    .czni-recommendation-main {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .czni-recommendation-image {
        width: 82px;
        height: 82px;
    }
}
