/*
 * Cierzia SaaS theme
 * Visual-only compatibility layer. Loaded after the existing public/admin CSS.
 */
:root {
    --color-primary: #071426;
    --color-primary-hover: #0d1b32;
    --color-primary-soft: #eef2f8;
    --color-secondary: #0d1b32;
    --color-secondary-hover: #162845;
    --color-accent: #7c3aed;
    --color-accent-soft: #f1eafe;
    --color-action: #2563eb;
    --color-action-hover: #3b82f6;
    --color-electric: #2563eb;
    --color-electric-bright: #3b82f6;
    --color-violet: #7c3aed;
    --color-violet-soft: #f1eafe;
    --color-cyan: #06b6d4;
    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-text-subtle: #64748b;
    --color-surface: #fff;
    --color-surface-alt: #f5f7fb;
    --color-surface-soft: #eef2f8;
    --color-surface-inverse: #071426;
    --color-border: #dce3ee;
    --color-border-strong: #c5d0df;
    --color-success: #10b981;
    --color-success-bg: #ecfdf5;
    --color-success-text: #047857;
    --color-warning: #f59e0b;
    --color-warning-bg: #fffbeb;
    --color-warning-text: #92400e;
    --color-danger: #ef4444;
    --color-danger-bg: #fef2f2;
    --color-danger-text: #b91c1c;
    --color-info-bg: #eff6ff;
    --color-info-text: #1d4ed8;
    --gradient-brand: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-dark: radial-gradient(circle at 82% 12%, rgb(37 99 235 / 30%), transparent 34%), linear-gradient(145deg, #071426 0%, #0d1b32 72%, #162845 100%);
    --gradient-surface: linear-gradient(145deg, #fff, #f5f7fb);
    --radius-sm: .75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
    --shadow-sm: 0 1px 2px rgb(7 20 38 / 4%), 0 8px 24px rgb(7 20 38 / 6%);
    --shadow-md: 0 18px 48px rgb(7 20 38 / 11%);
    --shadow-lg: 0 30px 80px rgb(7 20 38 / 18%);
    --shadow-focus: 0 0 0 .25rem rgb(37 99 235 / 16%);
    --transition-fast: 150ms ease;
    --transition-base: 220ms ease;
    --transition-panel: 280ms cubic-bezier(.2, .8, .2, 1);
    --cz-navy: var(--color-primary);
    --cz-blue: var(--color-action);
    --cz-blue-medium: #60a5fa;
    --cz-ice: var(--color-surface-soft);
    --cz-white: var(--color-surface);
    --cz-text: var(--color-text);
    --cz-muted: var(--color-text-muted);
    --cz-success: var(--color-success);
    --cz-warning: var(--color-warning);
    --cz-danger: var(--color-danger);
    --cz-border: var(--color-border);
    --cz-admin-bg: var(--color-surface-alt);
}

html { accent-color: var(--color-action); }
body {
    background: var(--color-surface-alt);
    color: var(--color-text);
    font-family: "Inter", system-ui, sans-serif;
}
h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
    font-family: "Manrope", "Inter", system-ui, sans-serif;
}
h1, h2, h3, h4, h5, h6 { color: var(--color-text); }
small, .small, .text-secondary, .cz-muted { color: var(--color-text-muted) !important; }
:focus-visible { outline-color: var(--color-action); }

/* Buttons */
.btn {
    border-radius: .75rem;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: -.01em;
    min-height: 46px;
    padding: .68rem 1.1rem;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.btn-sm { border-radius: .625rem; min-height: 36px; padding: .42rem .72rem; }
.btn-lg { min-height: 52px; padding: .82rem 1.35rem; }
.btn:hover:not(:disabled) { box-shadow: 0 8px 20px rgb(7 20 38 / 12%); transform: translateY(-1px); }
.btn:active:not(:disabled) { box-shadow: none; transform: translateY(0) scale(.985); }
.btn:focus-visible { box-shadow: var(--shadow-focus); outline: 0; }
.btn:disabled, .btn.disabled { box-shadow: none; cursor: not-allowed; opacity: .55; transform: none; }
.btn-primary, .btn-cz-primary, .cz-cart-pay {
    background: var(--gradient-brand) !important;
    border-color: transparent !important;
    box-shadow: 0 9px 24px rgb(37 99 235 / 22%);
    color: #fff !important;
}
.btn-primary:hover, .btn-cz-primary:hover, .cz-cart-pay:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
}
.btn-cz-secondary, .btn-outline-primary, .btn-outline-secondary {
    background: #fff;
    border-color: var(--color-border-strong);
    color: var(--color-text);
}
.btn-cz-secondary:hover, .btn-outline-primary:hover, .btn-outline-secondary:hover {
    background: var(--color-surface-soft);
    border-color: var(--color-action);
    color: var(--color-action);
}
.btn-danger, .btn-outline-danger:hover { background: var(--color-danger); border-color: var(--color-danger); color: #fff; }
.btn-success { background: var(--color-success); border-color: var(--color-success); }
.btn-warning { background: var(--color-warning); border-color: var(--color-warning); color: #422006; }
.btn-link { box-shadow: none !important; color: var(--color-action); }
.btn.is-loading, .btn[aria-busy="true"] { cursor: wait; opacity: .82; pointer-events: none; }
.btn.is-loading::after, .btn[aria-busy="true"]::after {
    animation: cz-modern-spin .7s linear infinite;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    content: "";
    height: 1rem;
    margin-left: .3rem;
    width: 1rem;
}
@keyframes cz-modern-spin { to { transform: rotate(360deg); } }

/* Forms */
.form-label, label > span:first-child {
    color: var(--color-text);
    font-size: .875rem;
    font-weight: 700;
}
.form-control, .form-select {
    background-color: #fff;
    border: 1px solid var(--color-border-strong);
    border-radius: .75rem;
    color: var(--color-text);
    min-height: 50px;
    padding: .72rem .9rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}
textarea.form-control { min-height: 116px; resize: vertical; }
.form-control:hover:not(:disabled), .form-select:hover:not(:disabled) { border-color: #94a3b8; }
.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: var(--color-action);
    box-shadow: var(--shadow-focus);
    color: var(--color-text);
}
.form-control::placeholder { color: #64748b; opacity: 1; }
.form-control:disabled, .form-select:disabled, .form-control[readonly] {
    background: var(--color-surface-soft);
    color: var(--color-text-muted);
    cursor: not-allowed;
    opacity: 1;
}
.form-control.is-valid, .was-validated .form-control:valid { border-color: var(--color-success); }
.form-control.is-valid:focus, .was-validated .form-control:valid:focus { box-shadow: 0 0 0 .25rem rgb(16 185 129 / 15%); }
.form-control.is-invalid, .was-validated .form-control:invalid { border-color: var(--color-danger); }
.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus { box-shadow: 0 0 0 .25rem rgb(239 68 68 / 14%); }
.valid-feedback, .invalid-feedback { animation: cz-modern-feedback 180ms ease; font-size: .8125rem; font-weight: 600; }
.valid-feedback { color: var(--color-success-text); }
.invalid-feedback { color: var(--color-danger-text); }
@keyframes cz-modern-feedback { from { opacity: 0; transform: translateY(-3px); } }
.form-check-input {
    border: 1.5px solid #94a3b8;
    height: 1.15rem;
    width: 1.15rem;
}
.form-check-input:checked { background-color: var(--color-action); border-color: var(--color-action); }
.form-check-input:focus { border-color: var(--color-action); box-shadow: var(--shadow-focus); }
.form-switch .form-check-input { border-radius: 999px; width: 2.25rem; }
.input-group > .form-control, .input-group > .form-select { min-width: 0; }
.input-group > .btn { min-height: 50px; }
input[type="file"].form-control { padding: .42rem; }
input[type="file"].form-control::file-selector-button {
    background: var(--color-surface-soft);
    border: 0;
    border-radius: .55rem;
    color: var(--color-text);
    font-weight: 700;
    margin-right: .75rem;
    padding: .45rem .7rem;
}

/* Cards, metrics and content surfaces */
.card, .cz-card, .cz-stat, .cz-confirmation-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.card { overflow: hidden; }
.card-body, .cz-card { padding: clamp(1.1rem, 2vw, 1.5rem); }
.card, .cz-card, .cz-stat, .cz-product-card, .cz-catalog-card {
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover, .cz-card:hover, .cz-stat:hover {
    border-color: #c7d5ea;
    box-shadow: var(--shadow-md);
}
.cz-product-card:hover, .cz-catalog-card:hover { border-color: #aac2f5; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card img, .cz-product-card img, .cz-catalog-card img { object-fit: cover; }
.cz-stat-value, .display-5, [class*="price"], [class*="total"] strong {
    color: var(--color-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-variant-numeric: tabular-nums;
}
.badge, .cz-badge {
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .01em;
    padding: .42em .68em;
}
.text-bg-primary { background: var(--color-action) !important; }
.text-bg-success { background: var(--color-success) !important; }
.text-bg-warning { background: var(--color-warning) !important; color: #422006 !important; }
.text-bg-danger { background: var(--color-danger) !important; }
.text-bg-secondary { background: #e2e8f0 !important; color: #334155 !important; }

/* Tables and pagination */
.table-responsive {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: auto;
}
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--color-border); color: var(--color-text); margin-bottom: 0; }
.table > :not(caption) > * > * { border-bottom-width: 1px; padding: .9rem 1rem; vertical-align: middle; }
.table thead th {
    background: var(--color-surface-soft);
    border-bottom: 1px solid var(--color-border-strong);
    color: var(--color-text-muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.table tbody tr { transition: background-color var(--transition-fast); }
.table tbody tr:hover > * { background: #f8faff; }
.pagination { gap: .35rem; }
.pagination .page-link {
    border: 1px solid var(--color-border);
    border-radius: .65rem !important;
    color: var(--color-text);
    min-height: 42px;
    min-width: 42px;
}
.pagination .page-link:hover { background: var(--color-surface-soft); border-color: var(--color-action); color: var(--color-action); }
.pagination .active > .page-link { background: var(--color-action); border-color: var(--color-action); color: #fff; }

/* Alerts, toasts, dialogs and overlays */
.alert, .cz-alert {
    border: 1px solid transparent;
    border-left-width: 4px;
    border-radius: .875rem;
    box-shadow: 0 8px 24px rgb(7 20 38 / 5%);
    color: var(--color-info-text);
    padding: .9rem 1rem;
}
.alert-info, .cz-alert--info { background: var(--color-info-bg); border-color: #93c5fd; color: var(--color-info-text); }
.alert-success, .cz-alert--success { background: var(--color-success-bg); border-color: var(--color-success); color: var(--color-success-text); }
.alert-warning, .cz-alert--warning { background: var(--color-warning-bg); border-color: var(--color-warning); color: var(--color-warning-text); }
.alert-danger, .cz-alert--danger { background: var(--color-danger-bg); border-color: var(--color-danger); color: var(--color-danger-text); }
.cz-toast {
    background: rgb(255 255 255 / 96%);
    border: 1px solid var(--color-border);
    border-radius: .875rem;
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
    backdrop-filter: blur(16px);
}
.cz-toast--success .cz-toast__dot { background: var(--color-success); }
.cz-toast--danger .cz-toast__dot { background: var(--color-danger); }
.modal-backdrop, .cz-cart-backdrop { background: rgb(7 20 38 / 62%) !important; backdrop-filter: blur(4px); }
.modal-content, .cz-confirm-dialog, .cz-cookie-dialog {
    background: #fff;
    border: 1px solid rgb(255 255 255 / 60%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.modal-header, .modal-footer { border-color: var(--color-border); }
.modal.show .modal-dialog { animation: cz-modern-modal var(--transition-panel); }
@keyframes cz-modern-modal { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.btn-close { border-radius: .55rem; transition: background-color var(--transition-fast), transform var(--transition-fast); }
.btn-close:hover { background-color: var(--color-surface-soft); transform: rotate(6deg); }

/* Public chrome and cart */
.cz-header {
    background: rgb(255 255 255 / 88%);
    border-bottom-color: rgb(220 227 238 / 85%);
    backdrop-filter: blur(18px) saturate(140%);
}
.cz-header.is-scrolled { box-shadow: 0 8px 30px rgb(7 20 38 / 8%); }
.cz-header .nav-link { color: var(--color-text); }
.cz-header .nav-link:hover, .cz-header .nav-link.active { color: var(--color-action); }
.cz-home-hero, .cz-catalog-hero, .cz-product-hero, .cz-collection { background: var(--gradient-dark); }
.cz-home-hero {
    min-height: auto !important;
    padding: clamp(3.25rem, 5vw, 4.75rem) 0 !important;
}
.cz-home-hero__grid {
    gap: clamp(2rem, 4vw, 4.5rem) !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr) !important;
    min-height: auto !important;
    padding-block: 0 !important;
}
.cz-home-hero__copy { max-width: 640px; }
.cz-home-hero h1 {
    font-size: clamp(2.65rem, 4vw, 3.75rem) !important;
    letter-spacing: -.052em !important;
    line-height: .99 !important;
    max-width: 640px;
}
.cz-home-hero__lead {
    font-size: clamp(1rem, 1.15vw, 1.1rem) !important;
    line-height: 1.62 !important;
    margin-block: 1.4rem !important;
    max-width: 610px !important;
}
.cz-home-actions { margin-top: 1.4rem !important; }
.cz-trust-line { margin-top: 1.35rem !important; }
.cz-hero-proof { margin-top: .9rem; }
.cz-resource-stage {
    height: 420px;
    min-height: 420px !important;
}
.cz-stage-note--bottom { display: none !important; }

/* Give transparent product artwork a light presentation surface inside the
   dark hero, while preserving the complete uploaded cover. */
.cz-product-hero .cz-product-cover {
    background: #07182f !important;
    border-color: rgb(91 137 205 / 34%) !important;
    box-shadow: 0 30px 70px rgb(0 0 0 / 30%), inset 0 0 0 1px rgb(255 255 255 / 4%) !important;
    padding: clamp(.45rem, .8vw, .65rem) !important;
}
.cz-product-hero .cz-product-cover img {
    background: #07182f;
    object-fit: contain !important;
}

/* Product page: tighter hierarchy and a clearer purchase decision. */
.cz-product-hero__copy h1,
.cz-product-hero h1 {
    font-size: clamp(2.05rem, 3.25vw, 3.05rem) !important;
    letter-spacing: -.04em !important;
    line-height: 1.04 !important;
    max-width: 640px;
    text-wrap: balance;
}
.cz-product-hero .cz-product-price {
    align-items: flex-start;
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 1rem;
    display: inline-flex;
    margin-block: 1.25rem;
    min-width: 150px;
    padding: .8rem 1rem;
}
.cz-product-hero .cz-product-price small {
    color: #c7d5e9 !important;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cz-product-hero .cz-product-price strong {
    color: #fff !important;
    font-size: clamp(1.55rem, 2.4vw, 2rem) !important;
    line-height: 1.05;
    text-shadow: 0 2px 16px rgb(0 0 0 / 20%);
}

/* Replace generic tick lists with numbered, editorial content modules. */
.cz-product-detail > article {
    min-width: 0;
}
.cz-product-detail > article > h2 {
    font-size: clamp(2rem, 3.4vw, 3rem) !important;
    letter-spacing: -.04em;
    line-height: 1.08;
    max-width: 720px;
    text-wrap: balance;
}
.cz-product-detail .cz-prose {
    background: linear-gradient(145deg, #f8fbff, #f1f5fb);
    border: 1px solid #dde6f2;
    border-radius: 1.25rem;
    color: #40506a;
    line-height: 1.75;
    margin-top: 1.75rem;
    padding: clamp(1.35rem, 3vw, 2rem);
}
.cz-product-detail .cz-detail-block {
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 1.3rem;
    box-shadow: 0 18px 48px rgb(20 33 61 / 7%);
    margin-top: 1.5rem;
    padding: clamp(1.35rem, 2.8vw, 2rem);
}
.cz-product-detail .cz-detail-block h3 {
    color: #14213d;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    letter-spacing: -.025em;
    margin-bottom: 1.25rem;
}
.cz-product-detail .cz-detail-block .cz-check-list {
    counter-reset: product-detail-item;
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cz-product-detail .cz-detail-block .cz-check-list li {
    align-items: flex-start;
    background: #f7f9fd;
    border: 1px solid #e5ebf4;
    border-radius: .9rem;
    color: #33415c;
    counter-increment: product-detail-item;
    display: grid;
    font-size: .92rem;
    gap: .75rem;
    grid-template-columns: 1.8rem minmax(0, 1fr);
    line-height: 1.5;
    min-height: 100%;
    padding: .85rem;
}
.cz-product-detail .cz-detail-block .cz-check-list li::before {
    align-items: center;
    background: #e6efff;
    border-radius: .55rem;
    color: #2563eb;
    content: counter(product-detail-item, decimal-leading-zero);
    display: flex;
    font-size: .62rem;
    font-weight: 850;
    height: 1.8rem;
    justify-content: center;
    left: auto;
    line-height: 1;
    position: static;
    width: 1.8rem;
}
.cz-product-detail .cz-product-buy .cz-product-price {
    background: #edf4ff;
    border: 1px solid #d5e4fb;
    border-radius: .9rem;
    padding: .8rem 1rem;
}
.cz-product-detail .cz-product-buy .cz-product-price strong {
    color: #174ea6;
}

/* Sales narrative: each section has its own visual language and purpose. */
.cz-sales-block {
    border-radius: 1.5rem;
    margin-top: clamp(2.25rem, 5vw, 4rem);
    overflow: hidden;
    padding: clamp(1.5rem, 3.4vw, 2.5rem);
    position: relative;
}
.cz-sales-block > header {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    max-width: 650px;
}
.cz-sales-block > header > span {
    display: block;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .12em;
    margin-bottom: .65rem;
    text-transform: uppercase;
}
.cz-sales-block > header h3 {
    font-size: clamp(1.8rem, 3.2vw, 2.65rem);
    letter-spacing: -.045em;
    line-height: 1.05;
    margin: 0 0 .65rem;
    text-wrap: balance;
}
.cz-sales-block > header p {
    line-height: 1.65;
    margin: 0;
}
.cz-sales-block--outcomes {
    background:
        radial-gradient(circle at 92% 8%, rgb(55 114 255 / 38%), transparent 30%),
        linear-gradient(145deg, #07182f, #142b51);
    box-shadow: 0 28px 70px rgb(7 24 47 / 18%);
    color: #fff;
}
.cz-sales-block--outcomes::after {
    color: rgb(255 255 255 / 4%);
    content: "01";
    font: 900 clamp(9rem, 20vw, 15rem)/1 var(--font-display);
    pointer-events: none;
    position: absolute;
    right: -1rem;
    top: -2rem;
}
.cz-sales-block--outcomes > header,
.cz-outcome-grid { position: relative; z-index: 1; }
.cz-sales-block--outcomes > header > span { color: #77a5ff; }
.cz-sales-block--outcomes > header h3 { color: #fff; }
.cz-sales-block--outcomes > header p { color: #bdcbe0; }
.cz-outcome-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cz-outcome-grid article {
    background: rgb(255 255 255 / 6%);
    border: 1px solid rgb(255 255 255 / 11%);
    border-radius: 1rem;
    min-height: 126px;
    padding: 1rem;
}
.cz-outcome-grid article:first-child {
    background: linear-gradient(135deg, #3972ff, #6956ee);
    grid-column: 1 / -1;
}
.cz-outcome-grid b {
    color: #72a0f8;
    display: block;
    font-size: .65rem;
    letter-spacing: .1em;
    margin-bottom: 1.1rem;
}
.cz-outcome-grid article:first-child b { color: rgb(255 255 255 / 70%); }
.cz-outcome-grid p {
    color: #f4f7fc;
    font-size: .92rem;
    line-height: 1.5;
    margin: 0;
}
.cz-outcome-grid article:first-child p {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 720;
    max-width: 570px;
}
.cz-sales-block--inside {
    background: #f5f8fc;
    border: 1px solid #dde6f2;
}
.cz-sales-block--inside > header > span { color: #3972ff; }
.cz-sales-block--inside > header h3 { color: #14213d; }
.cz-sales-block--inside > header p { color: #5e6c82; }
.cz-inside-list {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.cz-inside-list li {
    align-items: center;
    border-top: 1px solid #dce5f0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    min-height: 76px;
    padding: .85rem 1rem .85rem 0;
}
.cz-inside-list li:nth-child(even) {
    border-left: 1px solid #dce5f0;
    padding-left: 1rem;
}
.cz-inside-list li > span {
    color: #3972ff;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .08em;
}
.cz-inside-list li > strong {
    color: #263650;
    font-size: .88rem;
    line-height: 1.45;
}
.cz-sales-block--audience {
    background: #fff;
    border: 1px solid #dfe7f2;
    box-shadow: 0 22px 60px rgb(20 33 61 / 8%);
}
.cz-sales-block--audience > header > span { color: #7859ec; }
.cz-sales-block--audience > header h3 { color: #14213d; }
.cz-sales-block--audience > header p { color: #5e6c82; }
.cz-audience-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cz-audience-grid article {
    background: linear-gradient(145deg, #f7f9fd, #eef3fb);
    border: 1px solid #e0e7f2;
    border-radius: 1rem;
    min-height: 150px;
    padding: 1rem;
}
.cz-audience-grid article > span {
    align-items: center;
    background: #14213d;
    border-radius: .65rem;
    color: #fff;
    display: flex;
    font-size: .58rem;
    font-weight: 850;
    height: 2rem;
    justify-content: center;
    margin-bottom: 1.35rem;
    width: 2rem;
}
.cz-audience-grid p {
    color: #33415c;
    font-size: .86rem;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 767.98px) {
    .cz-product-hero__copy h1,
    .cz-product-hero h1 {
        font-size: clamp(1.95rem, 8.6vw, 2.55rem) !important;
        line-height: 1.06 !important;
    }
    .cz-product-detail .cz-detail-block .cz-check-list {
        grid-template-columns: 1fr;
    }
    .cz-sales-block {
        border-radius: 1.15rem;
        margin-top: 2rem;
        padding: 1.25rem;
    }
    .cz-outcome-grid,
    .cz-inside-list,
    .cz-audience-grid {
        grid-template-columns: 1fr;
    }
    .cz-outcome-grid article:first-child { grid-column: auto; }
    .cz-inside-list li:nth-child(even) {
        border-left: 0;
        padding-left: 0;
    }
    .cz-audience-grid article {
        min-height: 0;
    }
}
.cz-needs { padding-block: 1.5rem !important; }
.cz-needs .cz-container {
    gap: 1.4rem;
    grid-template-columns: 190px minmax(0, 1fr);
}
.cz-needs__heading h2,
.cz-needs h2 {
    font-size: 1.25rem !important;
    letter-spacing: -.025em !important;
    line-height: 1.2 !important;
    max-width: 190px;
}
.cz-need-link { min-height: 70px; }

/* Consistent public heading scale */
.cz-featured .cz-section-intro h2,
.cz-categories .cz-section-intro h2,
.cz-how .cz-section-intro h2,
.cz-real-work h2,
.cz-faq h2 {
    font-size: clamp(2.15rem, 3vw, 2.7rem) !important;
    letter-spacing: -.038em !important;
    line-height: 1.08 !important;
    margin-bottom: .6rem;
    text-wrap: balance;
}
.cz-transformation h2,
.cz-collection h2 {
    font-size: clamp(2.25rem, 3.2vw, 2.85rem) !important;
    letter-spacing: -.043em !important;
    line-height: 1.06 !important;
    text-wrap: balance;
}
.cz-section-intro > div { max-width: 760px; }
.cz-section-intro > p {
    font-size: 1rem;
    line-height: 1.65;
}
.cz-faq__shell {
    gap: 0 !important;
    grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr);
    padding: 0 !important;
}
.cz-faq aside {
    padding: clamp(2rem, 3.2vw, 2.75rem) !important;
}
.cz-faq .cz-accordion {
    padding: clamp(1.5rem, 2.8vw, 2.5rem) !important;
}
.cz-faq h2 {
    font-size: clamp(1.9rem, 2.7vw, 2.35rem) !important;
    line-height: 1.08 !important;
    max-width: 330px;
}
.cz-faq .accordion-button {
    min-height: 56px;
    padding-block: 1rem !important;
}
.cz-collection { padding-block: clamp(4rem, 6vw, 5rem); }
.cz-collection__grid { gap: clamp(3rem, 5vw, 5rem); }
.cz-collection__covers > div:nth-child(2) {
    background:
        radial-gradient(circle at 82% 18%, rgb(37 99 235 / 18%), transparent 30%),
        linear-gradient(145deg, #f8fbff 0%, #dbeafe 58%, #c7d8f5 100%) !important;
    border: 1px solid rgb(255 255 255 / 72%);
    color: var(--color-primary);
    overflow: hidden;
}
.cz-collection__covers > div:nth-child(2)::before {
    color: rgb(37 99 235 / 16%);
    content: "CZ";
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 800;
    left: 50%;
    letter-spacing: -.09em;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translate(-52%, -52%) rotate(-8deg);
}
.cz-collection__covers > div:nth-child(2)::after {
    background: repeating-linear-gradient(to bottom, rgb(37 99 235 / 28%) 0 2px, transparent 2px 11px);
    bottom: 2rem;
    content: "";
    height: 30px;
    left: 2rem;
    opacity: .7;
    position: absolute;
    width: 44%;
}
.cz-collection__covers > div:nth-child(2) strong {
    align-self: flex-start;
    background: rgb(255 255 255 / 72%);
    border: 1px solid rgb(37 99 235 / 15%);
    border-radius: .55rem;
    color: var(--color-action);
    font-size: .75rem;
    letter-spacing: .08em;
    padding: .45rem .65rem;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}
.cz-category-tile {
    min-height: 190px !important;
}
.cz-category-tile:not(.cz-category-tile--lead),
.cz-category-tile:nth-child(3n):not(.cz-category-tile--lead) {
    background: #fff !important;
    color: var(--color-text) !important;
}
.cz-category-tile:not(.cz-category-tile--lead) h3,
.cz-category-tile:not(.cz-category-tile--lead) p,
.cz-category-tile:not(.cz-category-tile--lead) b {
    color: inherit !important;
}
.cz-cart-drawer {
    background: var(--color-surface-alt);
    border-left: 1px solid var(--color-border);
    box-shadow: -24px 0 70px rgb(7 20 38 / 22%);
}
.cz-cart-drawer > header, .cz-cart-drawer > footer { background: rgb(255 255 255 / 96%) !important; border-color: var(--color-border) !important; }
.cz-cart-item, .cz-cart-customer { background: #fff !important; border-color: var(--color-border) !important; border-radius: var(--radius-md) !important; }
.cz-cart-fields .form-control { min-height: 48px; font-size: .875rem; }
.cz-cart-drawer [hidden] { display: none !important; }
.cz-cart-drawer > footer {
    max-height: 46vh;
}
.cz-cart-count-pill {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: inline-grid;
    gap: .55rem;
    grid-template-columns: 2rem auto;
    padding: 0 !important;
}
.cz-cart-count-pill > span {
    align-items: center;
    background: linear-gradient(145deg, #3972ff, #6956ee);
    border-radius: .68rem;
    box-shadow: 0 7px 16px rgb(57 114 255 / 24%);
    color: #fff !important;
    display: flex !important;
    font-size: .8rem !important;
    height: 2rem;
    justify-content: center;
    letter-spacing: 0 !important;
    margin: 0 !important;
    min-width: 2rem;
}
.cz-cart-count-pill > small {
    color: #65748a;
    font-size: .65rem;
    font-weight: 750;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: none;
}
.cz-cart-details-step {
    animation: cz-cart-step-in .22s ease both;
}
.cz-cart-step-back {
    background: transparent;
    border: 0;
    color: #56709a;
    font-size: .72rem;
    font-weight: 750;
    margin: 0 0 .7rem;
    padding: 0;
}
.cz-cart-step-back:hover { color: #255ec7; }
@keyframes cz-cart-step-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.cz-cookie-banner { background: rgb(7 20 38 / 96%); border-color: rgb(255 255 255 / 12%); box-shadow: var(--shadow-lg); }

/* Purchase confirmation: receipt-like, reassuring and easy to scan. */
.cz-confirmation { background: radial-gradient(circle at 50% 0, #e5eeff, #f4f7fc 42%, #edf2f8) !important; }
.cz-confirmation-card {
    border: 1px solid #dce5f1 !important;
    box-shadow: 0 30px 90px rgb(20 33 61 / 14%) !important;
    max-width: 860px !important;
    padding: clamp(1.5rem, 4vw, 3rem) !important;
}
.cz-confirmation-hero { align-items: center; display: grid; gap: 1.25rem; grid-template-columns: auto 1fr; margin-bottom: 1.35rem; }
.cz-confirmation-hero .cz-confirmation-icon { margin: 0; }
.cz-confirmation-card h1 { font-size: clamp(2.15rem, 4vw, 3.4rem) !important; letter-spacing: -.05em; line-height: 1.02; margin-bottom: .55rem; }
.cz-confirmation-card .lead { color: #5d6c82; font-size: 1rem; line-height: 1.65; margin: 0; }
.cz-confirmation-email { align-items: center; background: #eef4ff; border: 1px solid #d8e5fb; border-radius: 1rem; display: flex; gap: .85rem; padding: .8rem 1rem; }
.cz-confirmation-email > span { align-items: center; background: #3972ff; border-radius: .65rem; color: #fff; display: flex; font-weight: 850; height: 2.15rem; justify-content: center; width: 2.15rem; }
.cz-confirmation-email small, .cz-confirmation-email strong { display: block; }
.cz-confirmation-email small { color: #6a7890; font-size: .68rem; text-transform: uppercase; }
.cz-confirmation-email strong { color: #18345f; font-size: .9rem; }
.cz-order-receipt { background: #f8fafd !important; border: 1px solid #e0e7f1; gap: 0 !important; padding: 0 !important; }
.cz-order-receipt > header { display: grid; grid-template-columns: 1fr auto; padding: 1.1rem 1.25rem; }
.cz-order-receipt > header > div:last-child { text-align: right; }
.cz-order-receipt__items { padding: 1.1rem 1.25rem !important; }
.cz-order-receipt__items > span { color: #5674b8 !important; font-size: .65rem !important; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.cz-order-receipt__items ul { display: grid; gap: .6rem; list-style: none; margin: .8rem 0 0 !important; padding: 0 !important; }
.cz-order-receipt__items li { align-items: center; background: #fff; border: 1px solid #e3e9f2; border-radius: .8rem; display: grid; gap: .75rem; grid-template-columns: 2rem 1fr; padding: .75rem; }
.cz-order-receipt__items li i { align-items: center; background: #e8f0ff; border-radius: .55rem; color: #3972ff; display: flex; font-size: .62rem; font-style: normal; font-weight: 850; height: 2rem; justify-content: center; grid-row: 1 / 3; }
.cz-order-receipt__items li strong { color: #24334d; font-size: .85rem; }
.cz-order-receipt__items li small { color: #7b8799; font-size: .68rem; }
.cz-confirmation-next { display: grid; gap: .7rem; grid-template-columns: repeat(3, 1fr); margin: 1.25rem 0; }
.cz-confirmation-next > div { background: #fff; border: 1px solid #e1e7f0; border-radius: .9rem; padding: .9rem; }
.cz-confirmation-next > div > span { color: #3972ff; font-size: .65rem; font-weight: 850; }
.cz-confirmation-next p, .cz-confirmation-next strong, .cz-confirmation-next small { display: block; margin: 0; }
.cz-confirmation-next strong { color: #24334d; font-size: .8rem; margin: .6rem 0 .25rem; }
.cz-confirmation-next small { color: #718096; font-size: .68rem; line-height: 1.45; }
.cz-confirmation-help { background: #f7f9fc; border: 0 !important; border-left: 3px solid #6b8fe8 !important; border-radius: .6rem; padding: .8rem 1rem !important; }
.cz-confirmation-help h2 { margin-bottom: .25rem; }
.cz-confirmation-help p { color: #68768a; font-size: .8rem; margin: 0; }
@media (max-width: 575.98px) {
    .cz-confirmation-hero { align-items: start; grid-template-columns: 1fr; }
    .cz-order-receipt > header, .cz-confirmation-next { grid-template-columns: 1fr; }
    .cz-order-receipt > header { gap: .75rem; }
    .cz-order-receipt > header > div:last-child { text-align: left; }
}

/* Compact confirmation variant: warmer palette and less vertical travel. */
.cz-confirmation {
    align-items: flex-start !important;
    background:
        radial-gradient(circle at 12% 8%, rgb(57 114 255 / 16%), transparent 27%),
        radial-gradient(circle at 88% 15%, rgb(56 198 233 / 12%), transparent 28%),
        #edf3fb !important;
    min-height: 0 !important;
    padding-block: clamp(1.5rem, 3vw, 2.5rem) !important;
}
.cz-confirmation-card {
    background: #fff !important;
    border-color: #dbe5f2 !important;
    box-shadow: 0 24px 70px rgb(20 33 61 / 13%) !important;
    max-width: 920px !important;
    padding: clamp(1.35rem, 2.6vw, 2rem) !important;
}
.cz-confirmation-card .cz-checkout-progress--light {
    margin-bottom: 1.25rem;
}
.cz-confirmation-card .cz-checkout-progress span {
    height: 1.55rem;
    width: 1.55rem;
}
.cz-confirmation-hero {
    gap: 1rem;
    margin-bottom: .9rem;
}
.cz-confirmation-icon {
    height: 3rem !important;
    width: 3rem !important;
}
.cz-confirmation-card h1 {
    font-size: clamp(1.9rem, 3.1vw, 2.65rem) !important;
    margin-bottom: .3rem;
}
.cz-confirmation-card .lead {
    font-size: .9rem;
    line-height: 1.5;
}
.cz-confirmation-email {
    background: #edf4ff;
    border-color: #d6e4fb;
    padding: .65rem .8rem;
}
.cz-confirmation-email > span { background: #3972ff; }
.cz-confirmation-email small { color: #60779b; }
.cz-confirmation-email strong { color: #17345f; }
.cz-confirmation-lower {
    align-items: stretch;
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1.12fr) minmax(250px, .88fr);
    margin-block: 1rem;
}
.cz-order-receipt {
    background: #f7f9fd !important;
    border-color: #dfe7f2;
    margin-block: 0 !important;
}
.cz-order-receipt > header {
    padding: .8rem 1rem;
}
.cz-order-receipt strong { color: #314b67 !important; }
.cz-order-receipt__items {
    border-color: #dfe7f2 !important;
    padding: .8rem 1rem !important;
}
.cz-order-receipt__items ul {
    gap: .4rem;
    margin-top: .55rem !important;
}
.cz-order-receipt__items li {
    background: #fff;
    border-color: #e2e9f3;
    padding: .55rem .65rem;
}
.cz-order-receipt__items li i {
    background: #e7efff;
    color: #3972ff;
    height: 1.75rem;
}
.cz-confirmation-next {
    align-content: stretch;
    gap: .55rem;
    grid-template-columns: 1fr;
    margin: 0;
}
.cz-confirmation-next > div {
    background: #f5f8fd;
    border-color: #dfe7f2;
    min-height: 0;
    padding: .7rem;
}
.cz-confirmation-next > div > span { color: #3972ff; }
.cz-confirmation-next strong { margin-top: .35rem; }
.cz-confirmation-next small { font-size: .64rem; line-height: 1.35; }
.cz-confirmation-help {
    background: #eef3fb;
    border-left-color: #3972ff !important;
    padding: .65rem .8rem !important;
}
.cz-confirmation-help h2 { font-size: .88rem; }
.cz-confirmation-help p { font-size: .72rem; }
.cz-confirmation-actions {
    margin-top: .8rem !important;
}
.cz-confirmation-actions .btn {
    min-height: 42px;
    padding: .55rem .9rem !important;
}
@media (max-width: 575.98px) {
    .cz-confirmation { padding-block: .75rem !important; }
    .cz-confirmation-card { border-radius: 1.1rem !important; padding: 1rem !important; }
    .cz-confirmation-card .cz-checkout-progress strong { font-size: .62rem; }
    .cz-confirmation-lower { grid-template-columns: 1fr; }
    .cz-confirmation-next { grid-template-columns: 1fr; }
    .cz-confirmation-next > div { display: grid; gap: .55rem; grid-template-columns: 1.5rem 1fr; }
    .cz-confirmation-next > div > span { grid-row: 1; }
    .cz-confirmation-next > div p { grid-column: 2; grid-row: 1; }
}

/* Admin */
.cz-admin-body { background: var(--color-surface-alt); }
.cz-sidebar { background: var(--gradient-dark); border-right: 1px solid rgb(255 255 255 / 8%); }
.cz-sidebar nav a { border-radius: .7rem; color: #cbd5e1; }
.cz-sidebar nav a:hover { background: rgb(255 255 255 / 8%); color: #fff; transform: translateX(2px); }
.cz-sidebar nav a.active {
    background: linear-gradient(135deg, rgb(37 99 235 / 88%), rgb(124 58 237 / 82%));
    box-shadow: 0 8px 22px rgb(0 0 0 / 20%);
    color: #fff;
}
.cz-sidebar nav a.active::before { background: #67e8f9; }
.cz-nav-label { color: #94a3b8; }
.cz-admin-topbar {
    background: rgb(255 255 255 / 88%);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(18px);
}
.cz-admin-topbar.is-scrolled { box-shadow: 0 8px 28px rgb(7 20 38 / 7%); }
.breadcrumb-item a { color: var(--color-action); }
.breadcrumb-item.active { color: var(--color-text-muted); }
.nav-tabs { border-bottom-color: var(--color-border); gap: .25rem; }
.nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--color-text-muted); font-weight: 700; }
.nav-tabs .nav-link:hover { color: var(--color-action); }
.nav-tabs .nav-link.active { background: transparent; border-bottom-color: var(--color-action); color: var(--color-action); }
.dropdown-menu {
    animation: cz-modern-menu 160ms ease;
    border: 1px solid var(--color-border);
    border-radius: .875rem;
    box-shadow: var(--shadow-md);
    padding: .45rem;
}
.dropdown-item { border-radius: .55rem; padding: .55rem .7rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--color-surface-soft); color: var(--color-action); }
@keyframes cz-modern-menu { from { opacity: 0; transform: translateY(-5px); } }

@media (max-width: 767.98px) {
    .btn { min-height: 48px; }
    .btn-sm { min-height: 40px; }
    .form-control, .form-select { font-size: 1rem; min-height: 50px; }
    .card-body, .cz-card { padding: 1rem; }
    .table > :not(caption) > * > * { padding: .75rem; }
    .modal-dialog { margin: .75rem; }
    .modal-content { border-radius: 1rem; }
    .cz-admin-content { padding-inline: 1rem; }
    .cz-home-hero {
        padding: 2.5rem 0 1.5rem !important;
    }
    .cz-home-hero__grid {
        gap: 1.4rem !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .cz-home-hero h1 {
        font-size: clamp(2.15rem, 9vw, 2.45rem) !important;
        letter-spacing: -.045em !important;
        line-height: 1.02 !important;
    }
    .cz-home-hero__lead {
        font-size: .97rem !important;
        line-height: 1.55 !important;
        margin-block: 1.1rem !important;
    }
    .cz-home-actions {
        gap: .65rem;
        margin-top: 1.1rem !important;
    }
    .cz-trust-line {
        gap: .45rem .8rem;
        margin-top: 1.1rem !important;
    }
    .cz-hero-proof {
        gap: .45rem;
        margin-top: .75rem;
    }
    .cz-resource-stage {
        height: 275px !important;
        margin: 0 !important;
        min-height: 275px !important;
        transform: scale(.68) !important;
        transform-origin: center top;
        width: 100% !important;
    }
    .cz-needs {
        padding-block: 1.35rem !important;
    }
    .cz-needs .cz-container {
        gap: 1rem;
        grid-template-columns: minmax(0, 1fr);
    }
    .cz-needs__heading h2,
    .cz-needs h2 {
        font-size: 1.35rem !important;
        line-height: 1.2 !important;
        max-width: 300px;
    }
    .cz-needs__rail {
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        width: 100%;
    }
    .skip-link { width: auto; }
    .cz-featured .cz-section-intro h2,
    .cz-categories .cz-section-intro h2,
    .cz-how .cz-section-intro h2,
    .cz-real-work h2,
    .cz-faq h2 {
        font-size: clamp(1.75rem, 7.2vw, 2rem) !important;
        letter-spacing: -.032em !important;
        line-height: 1.12 !important;
    }
    .cz-transformation h2,
    .cz-collection h2 {
        font-size: clamp(1.9rem, 7.6vw, 2.15rem) !important;
        letter-spacing: -.038em !important;
        line-height: 1.1 !important;
    }
    .cz-section-intro { gap: .75rem; }
    .cz-section-intro > p {
        font-size: .95rem;
        line-height: 1.6;
    }
    .cz-faq__shell {
        grid-template-columns: minmax(0, 1fr);
    }
    .cz-faq aside,
    .cz-faq .cz-accordion {
        padding: 1.5rem !important;
    }
    .cz-faq h2 {
        font-size: 1.85rem !important;
        max-width: 310px;
    }
    .cz-faq .accordion-button {
        min-height: 50px;
        padding-block: .8rem !important;
    }
    .cz-faq .accordion-body {
        font-size: .92rem;
        line-height: 1.55;
        padding: .25rem 0 1rem;
    }
    .cz-collection { padding-block: 3.25rem; }
    .cz-collection__grid { gap: 1.5rem; }
    .cz-collection__covers {
        height: 250px;
        transform: scale(.7);
        transform-origin: center;
    }
    .cz-category-tile { min-height: 165px !important; }
}

@media (max-width: 575.98px) {
    .d-flex > .btn:not(.btn-sm), .cz-page-header .btn { width: 100%; }
    .input-group { align-items: stretch; }
    .input-group > .btn { width: auto; }
    .cz-cart-drawer { border-radius: 0 !important; width: 100%; }
    .cz-home-hero .btn { min-height: 48px; }
    .cz-hero-proof span { font-size: .72rem; padding: .42rem .58rem; }
    .cz-resource-stage {
        margin-bottom: -72px !important;
        width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
