/*
 * Clemax public CSS
 * Generated from clemaxstyles.css for cacheable public/shop pages.
 * Keep account/admin-heavy styles in clemax-app.css.
 */

:root {
    --brand-primary: #1f7ae0;
    --brand-primary-rgb: 31, 122, 224;
    --brand-primary-hover: #1768c3;
    --brand-primary-active: #1258a7;
    --brand-primary-text-emphasis: #123a69;
    --brand-primary-bg-subtle: #d9eaff;
    --brand-primary-border-subtle: #a8cbfb;
    --bs-body-bg: #fcfdff;
    --bs-body-bg-rgb: 252, 253, 255;
    --bs-secondary-bg: #f7fafc;
    --bs-secondary-bg-rgb: 247, 250, 252;
    --bs-tertiary-bg: #fbfcfe;
    --bs-tertiary-bg-rgb: 251, 252, 254;
    --bs-border-color: #e7edf3;
    --bs-border-color-translucent: rgba(20, 44, 67, 0.08);
    --bs-primary: var(--brand-primary);
    --bs-primary-rgb: var(--brand-primary-rgb);
    --bs-link-color: var(--brand-primary);
    --bs-link-color-rgb: var(--brand-primary-rgb);
    --bs-link-hover-color: var(--brand-primary-hover);
    --bs-link-hover-color-rgb: 23, 104, 195;
    --bs-focus-ring-color: rgba(var(--brand-primary-rgb), 0.25);
    --bs-primary-text-emphasis: var(--brand-primary-text-emphasis);
    --bs-primary-bg-subtle: var(--brand-primary-bg-subtle);
    --bs-primary-border-subtle: var(--brand-primary-border-subtle);
    --app-nav-bg: rgba(255, 255, 255, 0.88);
    --app-nav-bg-strong: rgba(255, 255, 255, 0.96);
    --app-nav-border: rgba(15, 23, 42, 0.1);
    --app-nav-shadow: 0 6px 18px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.05);
    --app-nav-shadow-strong: 0 10px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.06);
    --app-nav-accent: var(--brand-primary-rgb);
    --app-nav-accent-solid: var(--brand-primary);
    --app-table-surface: #ffffff;
    --app-table-header-bg: #ffffff;
    --detail-surface: #ffffff;
    --detail-surface-alt: #f8fbff;
    --detail-border: rgba(15, 34, 51, 0.08);
    --detail-muted-bg: rgba(15, 34, 51, 0.04);
    --ui-radius-sm: 0.68rem;
    --ui-radius-md: 0.82rem;
    --ui-radius-lg: 1rem;
    --ui-radius-xl: 1.25rem;
    --ui-radius-pill: 999px;
    --ui-border-subtle: rgba(15, 34, 51, 0.09);
    --ui-border-strong: rgba(15, 34, 51, 0.14);
    --ui-surface: #ffffff;
    --ui-surface-raised: rgba(255, 255, 255, 0.96);
    --ui-surface-soft: rgba(247, 250, 252, 0.92);
    --ui-text-strong: #102133;
    --ui-text-muted: rgba(15, 34, 51, 0.64);
    --ui-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --ui-shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.055);
    --ui-shadow-md: 0 16px 34px rgba(15, 23, 42, 0.08);
    --ui-control-height: 2.42rem;
    --ui-control-height-sm: 2.06rem;
    --ui-control-height-lg: 2.9rem;
}

:root[data-bs-theme="dark"] {
    --bs-body-bg: #0f172a;
    --bs-body-bg-rgb: 15, 23, 42;
    --bs-secondary-bg: #162033;
    --bs-secondary-bg-rgb: 22, 32, 51;
    --bs-tertiary-bg: #1b263b;
    --bs-tertiary-bg-rgb: 27, 38, 59;
    --bs-border-color: rgba(148, 163, 184, 0.24);
    --bs-border-color-translucent: rgba(148, 163, 184, 0.18);
    --app-nav-bg: rgba(17, 24, 39, 0.84);
    --app-nav-bg-strong: rgba(17, 24, 39, 0.94);
    --app-nav-border: rgba(148, 163, 184, 0.16);
    --app-nav-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 2px rgba(0, 0, 0, 0.18);
    --app-nav-shadow-strong: 0 14px 32px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.22);
    --bs-primary-text-emphasis: #8ec2ff;
    --bs-primary-bg-subtle: rgba(31, 122, 224, 0.2);
    --bs-primary-border-subtle: rgba(31, 122, 224, 0.36);
    --app-table-surface: var(--bs-tertiary-bg);
    --app-table-header-bg: var(--bs-secondary-bg);
    --detail-surface: #182235;
    --detail-surface-alt: #121d30;
    --detail-border: rgba(148, 163, 184, 0.22);
    --detail-muted-bg: rgba(148, 163, 184, 0.12);
    --ui-border-subtle: rgba(148, 163, 184, 0.18);
    --ui-border-strong: rgba(148, 163, 184, 0.28);
    --ui-surface: #111c2f;
    --ui-surface-raised: rgba(17, 28, 47, 0.94);
    --ui-surface-soft: rgba(15, 23, 42, 0.72);
    --ui-text-strong: #f8fbff;
    --ui-text-muted: rgba(226, 232, 240, 0.72);
    --ui-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.16);
    --ui-shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.22);
    --ui-shadow-md: 0 18px 40px rgba(0, 0, 0, 0.32);
}

:root[data-bs-theme="dark"] .modal-content {
    background:
        radial-gradient(circle at top left, rgba(var(--brand-primary-rgb), 0.12), rgba(var(--brand-primary-rgb), 0) 42%),
        linear-gradient(180deg, rgba(24, 34, 53, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    color: #e5edf9;
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

:root[data-bs-theme="dark"] .modal-header,
:root[data-bs-theme="dark"] .modal-footer {
    border-color: rgba(148, 163, 184, 0.18);
}

:root[data-bs-theme="dark"] .modal-title,
:root[data-bs-theme="dark"] .modal-body,
:root[data-bs-theme="dark"] .modal-body p,
:root[data-bs-theme="dark"] .modal-body label,
:root[data-bs-theme="dark"] .modal-body strong,
:root[data-bs-theme="dark"] .modal-body span,
:root[data-bs-theme="dark"] .modal-footer,
:root[data-bs-theme="dark"] .modal-content .text-muted {
    color: #e5edf9 !important;
}

:root[data-bs-theme="dark"] .modal-body .form-control,
:root[data-bs-theme="dark"] .modal-body .form-select,
:root[data-bs-theme="dark"] .modal-content .form-control,
:root[data-bs-theme="dark"] .modal-content .form-select {
    background-color: rgba(15, 23, 42, 0.78);
    color: #f8fbff;
    border-color: rgba(148, 163, 184, 0.24);
}

:root[data-bs-theme="dark"] .modal-body .form-control::placeholder,
:root[data-bs-theme="dark"] .modal-content .form-control::placeholder {
    color: rgba(226, 232, 240, 0.42);
}

:root[data-bs-theme="dark"] .modal-body .form-control:focus,
:root[data-bs-theme="dark"] .modal-body .form-select:focus,
:root[data-bs-theme="dark"] .modal-content .form-control:focus,
:root[data-bs-theme="dark"] .modal-content .form-select:focus {
    background-color: rgba(15, 23, 42, 0.92);
}

:root[data-bs-theme="dark"] .modal-content .input-group-text {
    background-color: rgba(148, 163, 184, 0.12);
    color: rgba(226, 232, 240, 0.82);
    border-color: rgba(148, 163, 184, 0.24);
}

:root[data-bs-theme="dark"] .modal-content .alert {
    border-color: rgba(148, 163, 184, 0.2);
}

:root[data-bs-theme="dark"] .modal-content .btn-close {
    filter: invert(1) grayscale(100%) brightness(180%);
    opacity: 0.82;
}

:root[data-bs-theme="dark"] .modal-content .btn-close:hover,
:root[data-bs-theme="dark"] .modal-content .btn-close:focus {
    opacity: 1;
}

:root[data-bs-theme="dark"] .modal-content .close {
    color: #f8fbff;
    opacity: 0.82;
    text-shadow: none;
}

:root[data-bs-theme="dark"] .modal-content .close:hover,
:root[data-bs-theme="dark"] .modal-content .close:focus {
    color: #ffffff;
    opacity: 1;
}

:root[data-bs-theme="dark"] .modal-content img {
    background: transparent;
}

.btn:not(.btn-link):not(.btn-close) {
    --bs-btn-border-radius: var(--ui-radius-md);
    --bs-btn-font-weight: 760;
    min-height: var(--ui-control-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-width: 1px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-decoration: none;
    box-shadow: var(--ui-shadow-xs);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn:not(.btn-link):not(.btn-close):hover,
.btn:not(.btn-link):not(.btn-close):focus {
    transform: translateY(-1px);
    box-shadow: var(--ui-shadow-sm);
}

.btn:not(.btn-link):not(.btn-close):active {
    transform: translateY(0);
    box-shadow: var(--ui-shadow-xs);
}

.btn:not(.btn-link):not(.btn-close):focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(var(--brand-primary-rgb), 0.16), var(--ui-shadow-sm);
}

.btn-sm:not(.btn-link):not(.btn-close) {
    --bs-btn-border-radius: var(--ui-radius-sm);
    min-height: var(--ui-control-height-sm);
    padding-inline: 0.72rem;
    font-size: 0.78rem;
}

.btn-lg:not(.btn-link):not(.btn-close) {
    --bs-btn-border-radius: 0.95rem;
    min-height: var(--ui-control-height-lg);
    padding-inline: 1.2rem;
    font-size: 1rem;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-primary-hover);
    --bs-btn-hover-border-color: var(--brand-primary-hover);
    --bs-btn-focus-shadow-rgb: var(--brand-primary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand-primary-active);
    --bs-btn-active-border-color: var(--brand-primary-active);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--brand-primary);
    --bs-btn-disabled-border-color: var(--brand-primary);
    background-image: linear-gradient(135deg, var(--brand-primary) 0%, #155fb4 100%);
    box-shadow: 0 12px 24px rgba(var(--brand-primary-rgb), 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    background-image: linear-gradient(135deg, #2f86ea 0%, var(--brand-primary-hover) 100%);
    box-shadow: 0 16px 30px rgba(var(--brand-primary-rgb), 0.24);
}

.btn-secondary {
    --bs-btn-color: #102133;
    --bs-btn-bg: rgba(15, 34, 51, 0.055);
    --bs-btn-border-color: rgba(15, 34, 51, 0.11);
    --bs-btn-hover-color: #102133;
    --bs-btn-hover-bg: rgba(15, 34, 51, 0.085);
    --bs-btn-hover-border-color: rgba(15, 34, 51, 0.16);
    --bs-btn-active-color: #102133;
    --bs-btn-active-bg: rgba(15, 34, 51, 0.11);
    --bs-btn-active-border-color: rgba(15, 34, 51, 0.2);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 252, 0.88));
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-primary);
    --bs-btn-hover-border-color: var(--brand-primary);
    --bs-btn-focus-shadow-rgb: var(--brand-primary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand-primary-active);
    --bs-btn-active-border-color: var(--brand-primary-active);
    --bs-btn-disabled-color: var(--brand-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--brand-primary);
    background-color: rgba(var(--brand-primary-rgb), 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    box-shadow: 0 12px 26px rgba(var(--brand-primary-rgb), 0.16);
}

.btn-outline-secondary {
    --bs-btn-color: rgba(15, 34, 51, 0.76);
    --bs-btn-border-color: rgba(15, 34, 51, 0.13);
    --bs-btn-hover-color: #102133;
    --bs-btn-hover-bg: rgba(15, 34, 51, 0.055);
    --bs-btn-hover-border-color: rgba(var(--brand-primary-rgb), 0.22);
    --bs-btn-active-color: #102133;
    --bs-btn-active-bg: rgba(15, 34, 51, 0.08);
    --bs-btn-active-border-color: rgba(var(--brand-primary-rgb), 0.28);
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), var(--ui-shadow-xs);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: rgba(255, 255, 255, 0.94);
}

.btn-outline-danger {
    --bs-btn-color: #b91c1c;
    --bs-btn-border-color: rgba(185, 28, 28, 0.22);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #b91c1c;
    --bs-btn-hover-border-color: #b91c1c;
    background-color: rgba(185, 28, 28, 0.045);
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #b91c1c;
    --bs-btn-border-color: #b91c1c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #991b1b;
    --bs-btn-hover-border-color: #991b1b;
    background-image: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.btn-link {
    font-weight: 760;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

:root[data-bs-theme="dark"] .btn-secondary {
    --bs-btn-color: #f8fbff;
    --bs-btn-bg: rgba(148, 163, 184, 0.12);
    --bs-btn-border-color: rgba(148, 163, 184, 0.2);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: rgba(148, 163, 184, 0.18);
    --bs-btn-hover-border-color: rgba(148, 163, 184, 0.3);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: rgba(148, 163, 184, 0.24);
    --bs-btn-active-border-color: rgba(148, 163, 184, 0.36);
    background-image: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.88));
}

:root[data-bs-theme="dark"] .btn-outline-primary {
    background-color: rgba(96, 165, 250, 0.1);
}

:root[data-bs-theme="dark"] .btn-outline-secondary {
    --bs-btn-color: rgba(226, 232, 240, 0.88);
    --bs-btn-border-color: rgba(148, 163, 184, 0.24);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: rgba(148, 163, 184, 0.14);
    --bs-btn-hover-border-color: rgba(148, 163, 184, 0.34);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: rgba(148, 163, 184, 0.18);
    --bs-btn-active-border-color: rgba(148, 163, 184, 0.42);
    background-color: rgba(15, 23, 42, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--ui-shadow-xs);
}

:root[data-bs-theme="dark"] .btn-outline-danger {
    --bs-btn-color: #fecaca;
    --bs-btn-border-color: rgba(248, 113, 113, 0.28);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #991b1b;
    --bs-btn-hover-border-color: rgba(248, 113, 113, 0.42);
    background-color: rgba(127, 29, 29, 0.18);
}

.text-bg-primary {
    color: #fff !important;
    background-color: rgba(var(--brand-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.badge {
    border-radius: var(--ui-radius-sm);
    font-weight: 760;
    letter-spacing: -0.01em;
}

.badge.rounded-pill {
    border-radius: var(--ui-radius-pill) !important;
}

.text-primary,
.link-primary {
    color: rgba(var(--brand-primary-rgb), var(--bs-text-opacity, 1)) !important;
}

.border-primary {
    border-color: rgba(var(--brand-primary-rgb), var(--bs-border-opacity, 1)) !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--brand-primary);
}

.list-group {
    --bs-list-group-active-bg: var(--brand-primary);
    --bs-list-group-active-border-color: var(--brand-primary);
}

.nav-pills {
    --bs-nav-pills-link-active-bg: var(--brand-primary);
}

.pagination {
    --bs-pagination-active-bg: var(--brand-primary);
    --bs-pagination-active-border-color: var(--brand-primary);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.25);
}

.page-link {
    color: var(--brand-primary);
}

.page-link:hover {
    color: var(--brand-primary-hover);
}

.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.form-check-input:focus,
.form-control:focus,
.form-select:focus {
    border-color: rgba(var(--brand-primary-rgb), 0.45);
    box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.18);
}

.progress,
.progress-stacked {
    --bs-progress-bar-bg: var(--brand-primary);
}

.accordion {
    --bs-accordion-active-color: var(--brand-primary-text-emphasis);
    --bs-accordion-active-bg: var(--brand-primary-bg-subtle);
}

.alert-primary {
    --bs-alert-color: var(--brand-primary-text-emphasis);
    --bs-alert-bg: var(--brand-primary-bg-subtle);
    --bs-alert-border-color: var(--brand-primary-border-subtle);
}

body {
    background-color: var(--bs-body-bg);
}

#global-holder {
    background-color: var(--bs-body-bg) !important;
}

footer.bg-body-tertiary {
    background-color: var(--bs-tertiary-bg) !important;
}

.table {
    color: var(--bs-body-color);
}

.app-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 1.15rem 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(var(--brand-primary-rgb), 0.12), rgba(var(--brand-primary-rgb), 0) 42%),
        linear-gradient(180deg, var(--app-nav-bg-strong) 0%, var(--app-nav-bg) 100%);
    border-bottom: 1px solid var(--app-nav-border);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    box-shadow: var(--app-nav-shadow);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        padding 0.25s ease;
}

.app-navbar.is-scrolled {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    background:
        radial-gradient(circle at top left, rgba(var(--brand-primary-rgb), 0.15), rgba(var(--brand-primary-rgb), 0) 40%),
        linear-gradient(180deg, var(--app-nav-bg-strong) 0%, var(--app-nav-bg) 100%);
    border-bottom-color: var(--app-nav-border);
    box-shadow: var(--app-nav-shadow-strong);
}

.app-navbar .container-fluid {
    min-height: 3.25rem;
    gap: 0.75rem;
}

.app-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.78rem;
    margin-left: 0;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--bs-emphasis-color);
}

.app-brand-logo {
    display: block;
    width: clamp(10.9rem, 19vw, 14.2rem);
    height: auto;
    max-width: 100%;
}

.app-brand-logo--dark {
    display: none;
}

:root[data-bs-theme="dark"] .app-brand-logo--light {
    display: none;
}

:root[data-bs-theme="dark"] .app-brand-logo--dark {
    display: block;
}

.app-brand-mark,
.app-footer-brand-mark {
    position: relative;
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.52rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 45%),
        linear-gradient(145deg, var(--brand-primary), var(--brand-primary-hover));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 10px 22px rgba(var(--brand-primary-rgb), 0.22);
}

.app-brand-mark::before,
.app-footer-brand-mark::before {
    content: "";
    position: absolute;
    inset: 0.28rem;
    border-radius: 0.34rem;
    border: 1.6px solid rgba(255, 255, 255, 0.88);
}

.app-brand-mark::after,
.app-footer-brand-mark::after {
    content: "";
    position: absolute;
    top: 0.64rem;
    left: 0.64rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 0 0 0.08rem rgba(255, 255, 255, 0.18),
        0.42rem -0.24rem 0 -0.12rem rgba(255, 255, 255, 0.96),
        0.42rem 0.24rem 0 -0.12rem rgba(255, 255, 255, 0.96);
}

.app-brand-wordmark {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.app-brand-name {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08rem;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    color: var(--bs-emphasis-color);
}

.app-brand-name span {
    color: var(--brand-primary);
}

.app-footer-brand-mark {
    width: 1rem;
    height: 1rem;
    border-radius: 0.32rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 6px 14px rgba(var(--brand-primary-rgb), 0.14);
}

.app-footer-brand-mark::before {
    inset: 0.16rem;
    border-radius: 0.18rem;
    border-width: 1.2px;
}

.app-footer-brand-mark::after {
    top: 0.36rem;
    left: 0.36rem;
    width: 0.18rem;
    height: 0.18rem;
    box-shadow:
        0 0 0 0.05rem rgba(255, 255, 255, 0.16),
        0.22rem -0.12rem 0 -0.08rem rgba(255, 255, 255, 0.96),
        0.22rem 0.12rem 0 -0.08rem rgba(255, 255, 255, 0.96);
}

.app-footer {
    padding-top: 2.4rem !important;
    padding-bottom: 2.4rem !important;
}

.app-footer-brand {
    font-size: 0.82rem;
    letter-spacing: 0.015em;
    color: rgba(var(--bs-emphasis-color-rgb), 0.82) !important;
}

.app-footer-note {
    max-width: 20rem;
    margin-bottom: 0.45rem !important;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(var(--bs-secondary-color-rgb), 0.78) !important;
}

.app-footer-meta {
    margin-bottom: 0 !important;
    font-size: 0.76rem;
    line-height: 1.4;
    color: rgba(var(--bs-secondary-color-rgb), 0.68) !important;
}

.app-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.app-footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: rgba(var(--bs-secondary-color-rgb), 0.78);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.app-footer-social-link:hover,
.app-footer-social-link:focus {
    color: var(--bs-emphasis-color);
}

.app-footer-title {
    margin-bottom: 0.7rem !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(var(--bs-emphasis-color-rgb), 0.72);
}

.app-footer-list {
    font-size: 0.83rem;
    line-height: 1.45;
}

.app-footer-list li + li {
    margin-top: 0.38rem;
}

.app-footer-list a {
    color: rgba(var(--bs-secondary-color-rgb), 0.76) !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.app-footer-list a:hover,
.app-footer-list a:focus {
    color: var(--bs-emphasis-color) !important;
}

.app-navbar .navbar-nav {
    align-items: center;
    gap: 0.2rem;
}

.app-navbar .nav-item {
    margin: 0;
}

.app-navbar .nav-link {
    display: inline-flex;
    position: relative;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.7rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.app-navbar .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.28rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(var(--app-nav-accent), 0.8);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: center;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.app-navbar .nav-link i {
    font-size: 1rem;
    opacity: 0.8;
}

.app-navbar-icon-link {
    gap: 0.3rem !important;
    min-width: 2.7rem;
    justify-content: center;
    padding-inline: 0.7rem !important;
}

.app-navbar-icon-link i {
    margin: 0;
}

.app-navbar-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(var(--app-nav-accent), 0.1);
    box-shadow: inset 0 0 0 1px rgba(var(--app-nav-accent), 0.22);
}

.app-navbar-account-avatar__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-task-inbox__item-body,
.app-task-inbox__item-title,
.app-task-inbox__item-summary,
.app-task-inbox__item-meta {
    display: block;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus-visible {
    color: var(--bs-emphasis-color);
    background: rgba(var(--app-nav-accent), 0.08);
    box-shadow: inset 0 0 0 1px rgba(var(--app-nav-accent), 0.08);
}

.app-navbar .nav-item.active > .nav-link,
.app-navbar .show > .nav-link {
    color: var(--bs-emphasis-color);
    background: transparent;
    box-shadow: none;
}

.app-navbar .nav-item.active > .nav-link:not(.dropdown-toggle)::after,
.app-navbar .show > .nav-link:not(.dropdown-toggle)::after {
    opacity: 1;
    transform: scaleX(1);
}

.app-navbar .dropdown-menu {
    margin-top: 0.8rem;
    padding: 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--app-nav-border);
    background: var(--app-nav-bg-strong);
    box-shadow: var(--app-nav-shadow);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.app-navbar .dropdown-item {
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
}

.app-navbar .dropdown-item:hover,
.app-navbar .dropdown-item:focus-visible {
    background: rgba(var(--app-nav-accent), 0.08);
}

.app-navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 1rem;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, var(--brand-primary) 0%, #2f8fff 55%, #0f5fc3 100%);
    box-shadow:
        0 16px 30px rgba(var(--brand-primary-rgb), 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.app-navbar-cta:hover,
.app-navbar-cta:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    filter: saturate(1.06);
    box-shadow:
        0 20px 36px rgba(var(--brand-primary-rgb), 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.app-navbar-cta:active {
    transform: translateY(0);
    box-shadow:
        0 12px 22px rgba(var(--brand-primary-rgb), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.app-navbar-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.app-navbar-cta__icon i {
    font-size: 0.9rem;
}

.app-navbar-app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-color: rgba(var(--app-nav-accent), 0.16);
    background: rgba(var(--app-nav-accent), 0.05);
    color: var(--bs-emphasis-color);
}

.app-navbar-app-link:hover,
.app-navbar-app-link:focus-visible {
    border-color: rgba(var(--app-nav-accent), 0.22);
    background: rgba(var(--app-nav-accent), 0.09);
    color: var(--bs-emphasis-color);
}

.app-checkout-header-banner {
    display: grid;
    gap: 0.18rem;
    justify-items: center;
    text-align: center;
    margin-inline: auto;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(15, 39, 77, 0.08);
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at top left, rgba(126, 211, 164, 0.16), rgba(126, 211, 164, 0) 40%),
        rgba(255, 255, 255, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 14px 32px rgba(15, 39, 77, 0.08);
}

.app-checkout-header-banner__eyebrow {
    color: #2b7a5f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.app-checkout-header-banner__title {
    color: #143768;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.app-checkout-header-banner__copy {
    max-width: 38rem;
    color: rgba(36, 58, 90, 0.72);
    font-size: 0.84rem;
    line-height: 1.45;
}

.app-checkout-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.app-checkout-header-actions__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-inline: 1rem;
    min-height: 2.8rem;
    border-radius: 999px;
    border-color: rgba(15, 39, 77, 0.12);
    color: #35517d;
    background: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.app-checkout-header-actions__link:hover,
.app-checkout-header-actions__link:focus-visible {
    color: #143768;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(15, 39, 77, 0.2);
}

.app-navbar .navbar-toggler {
    padding: 0.5rem 0.72rem;
    border-radius: 999px;
    border-color: var(--app-nav-border);
    background: rgba(var(--bs-body-bg-rgb), 0.8);
}

.app-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--app-nav-accent), 0.18);
}

@media (max-width: 991.98px) {
    .app-navbar {
            padding: 1rem 1rem;
        }

    .app-navbar .navbar-collapse {
            margin-top: 0.85rem;
            padding: 0.85rem;
            border: 1px solid var(--app-nav-border);
            border-radius: 1rem;
            background: var(--app-nav-bg-strong);
            box-shadow: var(--app-nav-shadow);
        }

    .app-navbar .navbar-nav {
            align-items: stretch;
        }

    .app-navbar .navbar-nav.ms-auto {
            margin-right: 0;
            padding-top: 0.6rem;
            border-top: 1px solid var(--app-nav-border);
        }

    .app-navbar .nav-link {
            width: 100%;
            justify-content: flex-start;
        }

    .app-navbar-cta {
            width: 100%;
            justify-content: center;
            margin-top: 0.25rem;
        }

    .app-navbar-app-link {
            width: 100%;
            justify-content: center;
        }

    .app-brand-name {
            font-size: 1.05rem;
        }
}

#helpTOC .list-group-item,
    #helpTOC-mobile .list-group-item {
      padding: 0.72rem 1rem;
      font-size: 0.92rem;
      color: rgba(15, 34, 51, 0.68);
      background-color: transparent;
      border: 0;
      border-left: 2px solid transparent;
      transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    }

#helpTOC .list-group-item:hover,
    #helpTOC-mobile .list-group-item:hover {
      color: #102133;
      background-color: rgba(var(--brand-primary-rgb), 0.05);
    }

#helpTOC .list-group-item.active,
    #helpTOC-mobile .list-group-item.active {
      color: #102133;
      background-color: rgba(var(--brand-primary-rgb), 0.08);
      border-left-color: var(--brand-primary);
      font-weight: 600;
    }

:root {
    --home-sales-deep: #0f2233;
    --home-sales-deep-rgb: 15, 34, 51;
    --home-sales-surface: #f6f8fc;
    --home-sales-line: rgba(15, 34, 51, 0.1);
    --home-sales-accent: #1f7ae0;
    --home-sales-accent-strong: #0f5ec3;
    --home-sales-glow: rgba(49, 130, 206, 0.2);
}

:root[data-bs-theme="dark"] {
    --home-sales-deep: #0b1220;
    --home-sales-deep-rgb: 11, 18, 32;
    --home-sales-surface: #101828;
    --home-sales-line: rgba(148, 163, 184, 0.2);
    --home-sales-glow: rgba(96, 165, 250, 0.18);
}

.py-lg-6 {
    padding-top: 7.5rem !important;
    padding-bottom: 7.5rem !important;
}

.home-sales {
    position: relative;
    color: var(--bs-body-color);
}

.home-sales h1,
.home-sales h2,
.home-sales h3 {
    font-family: var(--bs-body-font-family);
}

.home-sales-hero {
    padding: 3rem 0 3.1rem;
    background:
        radial-gradient(circle at top right, rgba(48, 145, 255, 0.22), transparent 28%),
        radial-gradient(circle at left 20%, rgba(34, 197, 94, 0.14), transparent 24%),
        linear-gradient(135deg, #0b1522 0%, #11253a 44%, #17466d 100%);
    color: #f8fbff;
}

.home-sales-hero::before,
.home-sales-hero::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
}

.home-sales-hero::before {
    width: 22rem;
    height: 22rem;
    top: -8rem;
    right: -6rem;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(10px);
}

.home-sales-hero::after {
    width: 18rem;
    height: 18rem;
    bottom: -8rem;
    left: -5rem;
    background: rgba(56, 189, 248, 0.12);
    filter: blur(14px);
}

.home-sales-eyebrow,
.home-sales-section-tag,
.home-sales-price-tag,
.home-sales-strip-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-sales-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e9f4ff;
}

.home-sales-title {
    max-width: 13ch;
    font-size: clamp(1.95rem, 4.35vw, 3.6rem);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.home-sales-subtitle {
    max-width: 40rem;
    font-size: 0.96rem;
    line-height: 1.82;
    color: rgba(248, 251, 255, 0.82);
}

.home-sales-secondary-cta {
    border-color: rgba(255, 255, 255, 0.3);
    color: #f8fbff;
}

.home-sales-secondary-cta:hover,
.home-sales-secondary-cta:focus-visible {
    color: var(--home-sales-deep);
    background: #f8fbff;
    border-color: #f8fbff;
}

.home-sales-stat,
.home-sales-strip-card,
.home-sales-feature-card,
.home-sales-step-card,
.home-sales-proof-card,
.home-sales-price-card,
.home-sales-final-cta-card {
    border: 1px solid var(--home-sales-line);
    border-radius: 1.4rem;
    background: rgba(var(--bs-body-bg-rgb), 0.88);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.home-sales-stat {
    height: 100%;
    padding: 1.3rem 1.35rem;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.home-sales-stat strong,
.home-sales-floating-card strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.home-sales-stat span,
.home-sales-floating-card span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: rgba(248, 251, 255, 0.74);
}

.home-sales-showcase {
    position: relative;
    display: grid;
    gap: 1.5rem;
}

.home-sales-showcase-panel {
    padding: 1.8rem;
    border-radius: 1.6rem;
    background: rgba(6, 15, 25, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.home-sales-showcase-label,
.home-sales-floating-title {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8dd1ff;
}

.home-sales-showcase-panel h2 {
    margin: 0.95rem 0 1.25rem;
    font-size: 1.22rem;
    line-height: 1.3;
    color: #fff;
}

.home-sales-showcase-panel li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(248, 251, 255, 0.86);
}

.home-sales-showcase-panel i {
    color: #70d6ff;
}

.home-sales-device {
    position: relative;
    padding: 1.25rem;
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 32px 60px rgba(3, 9, 20, 0.32);
}

.home-sales-device img {
    width: 100%;
    border-radius: 1.15rem;
    display: block;
}

.home-sales-floating-card {
    position: absolute;
    z-index: 3;
    max-width: 13.5rem;
    padding: 1.05rem 1.15rem;
    border-radius: 1.2rem;
    background: rgba(6, 15, 25, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(3, 9, 20, 0.25);
}

.home-sales-floating-card-top {
    top: auto;
    right: -0.7rem;
    bottom: 12.8rem;
}

.home-sales-floating-card-bottom {
    bottom: 1.3rem;
    left: -0.7rem;
}

.home-sales-strip {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    padding-bottom: 2.25rem;
    position: relative;
    z-index: 1;
}

.home-sales-strip-card {
    height: 100%;
    padding: 1.75rem 1.6rem;
    background: rgba(var(--bs-body-bg-rgb), 0.95);
}

.home-sales-strip-kicker,
.home-sales-section-tag,
.home-sales-price-tag {
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--home-sales-accent);
}

.home-sales-strip-card p {
    margin: 0.75rem 0 0;
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--bs-secondary-color);
}

.home-product-proof {
    background:
        linear-gradient(180deg, rgba(var(--home-sales-deep-rgb), 0.04), rgba(var(--bs-body-bg-rgb), 0.98));
    border-bottom: 1px solid var(--home-sales-line);
}

.home-product-proof-intro {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--bs-secondary-color);
}

.home-product-proof-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.home-product-proof-card {
    display: flex;
    flex-direction: column;
    min-height: 25.5rem;
    padding: 1.35rem;
    border: 1px solid var(--home-sales-line);
    border-radius: 1.4rem;
    background: rgba(var(--bs-body-bg-rgb), 0.96);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.home-product-proof-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-product-proof-step {
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 0.85;
    font-weight: 900;
    letter-spacing: 0;
    color: rgba(31, 122, 224, 0.18);
}

.home-product-proof-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 1rem;
    background: rgba(31, 122, 224, 0.1);
    color: var(--home-sales-accent);
    font-size: 1.35rem;
}

.home-product-proof-card h3 {
    margin: 1.25rem 0 0.65rem;
    font-size: 1.08rem;
    font-weight: 800;
}

.home-product-proof-card p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--bs-secondary-color);
}

.home-product-screenshot-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    aspect-ratio: 16 / 10;
    padding: 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 1.05rem;
    background: linear-gradient(180deg, #fff, #f5f8fc);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    overflow: hidden;
}

.home-product-screenshot-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 0.78rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.home-plan-demo {
    --plan-demo-ink: #0f2136;
    --plan-demo-muted: rgba(15, 33, 54, 0.68);
    --plan-demo-surface: rgba(255, 255, 255, 0.94);
    display: grid;
    grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.25rem;
    border: 1px solid rgba(31, 122, 224, 0.16);
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at 82% 18%, rgba(239, 68, 68, 0.11), transparent 17%),
        radial-gradient(circle at 10% 100%, rgba(20, 184, 166, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 246, 255, 0.9));
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.09);
    overflow: hidden;
}

.home-plan-demo-copy {
    align-self: center;
    min-width: 0;
    padding: 0.35rem 0.1rem 0.35rem 0.2rem;
}

.home-plan-demo-copy h3 {
    max-width: 19ch;
    margin: 0.9rem 0 0.8rem;
    font-size: clamp(1.38rem, 2.15vw, 1.82rem);
    line-height: 1.16;
    font-weight: 850;
    letter-spacing: 0;
    color: var(--plan-demo-ink);
}

.home-plan-demo-copy p {
    max-width: 32rem;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.72;
    color: var(--plan-demo-muted);
}

.home-plan-demo-tabs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.2rem;
    padding-right: 2.6rem;
}

.home-plan-demo-tabs::before,
.home-plan-demo-tabs::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.home-plan-demo-tabs::before {
    right: 0.35rem;
    top: -0.72rem;
    width: 2rem;
    height: 2rem;
    background:
        radial-gradient(circle, rgba(31, 122, 224, 0.95) 0 0.12rem, transparent 0.14rem),
        radial-gradient(circle, rgba(125, 211, 252, 0.9) 0 0.09rem, transparent 0.11rem),
        radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 0.08rem, transparent 0.1rem),
        radial-gradient(circle, rgba(31, 122, 224, 0.7) 0 0.07rem, transparent 0.09rem);
    background-position: 0.2rem 0.25rem, 1.35rem 0.1rem, 1.68rem 1.05rem, 0.65rem 1.5rem;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0.35rem 0.7rem rgba(31, 122, 224, 0.24));
    animation: planDemoSparkles 2.45s ease-in-out infinite;
}

.home-plan-demo-tabs::after {
    right: 0.1rem;
    top: 0.22rem;
    width: 1.8rem;
    height: 1.8rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 4l17 14-8.6 1.5 4.7 8.1-4.1 2.4-4.7-8.2L5.8 28z' fill='%23ffffff' stroke='%230f2136' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0.55rem 0.75rem rgba(15, 23, 42, 0.2));
    transform: rotate(-16deg);
    animation: planDemoPointer 2.45s ease-in-out infinite;
}

.home-plan-demo-tab {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.55rem;
    padding: 0.42rem 0.72rem 0.42rem 0.48rem;
    border: 1px solid rgba(31, 122, 224, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--plan-demo-ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-plan-demo-tab span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: rgba(31, 122, 224, 0.1);
    color: var(--home-sales-accent);
    font-size: 0.72rem;
    font-weight: 900;
}

.home-plan-demo-tab[aria-pressed="true"],
.home-plan-demo-tab:hover,
.home-plan-demo-tab:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(31, 122, 224, 0.38);
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.home-plan-demo:not(.home-plan-demo-compact) .home-plan-demo-tabs {
    flex-direction: column;
    align-items: flex-start;
    width: min(100%, 22rem);
    padding-right: 3.2rem;
}

.home-plan-demo:not(.home-plan-demo-compact) .home-plan-demo-tab {
    width: 100%;
    justify-content: flex-start;
}

.home-plan-demo:not(.home-plan-demo-compact) .home-plan-demo-tabs::before {
    right: 0.55rem;
    top: 2.35rem;
}

.home-plan-demo:not(.home-plan-demo-compact) .home-plan-demo-tabs::after {
    right: 0.08rem;
    top: 3.05rem;
}

.home-plan-demo-stage {
    position: relative;
    min-height: 26.5rem;
    isolation: isolate;
}

.home-plan-demo-window {
    position: relative;
    z-index: 1;
    width: min(68%, 36rem);
    overflow: hidden;
    border: 1px solid rgba(15, 33, 54, 0.12);
    border-radius: 1.12rem;
    background: #fff;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
}

.home-plan-demo-chrome {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 2.28rem;
    padding: 0.56rem 0.72rem;
    border-bottom: 1px solid rgba(15, 33, 54, 0.08);
    background: rgba(248, 251, 255, 0.94);
}

.home-plan-demo-chrome span {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.55);
}

.home-plan-demo-chrome strong {
    margin-left: 0.36rem;
    font-size: 0.76rem;
    color: rgba(15, 33, 54, 0.72);
}

.home-plan-demo-map {
    position: relative;
    aspect-ratio: 16 / 10.4;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
}

.home-plan-demo-map img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    filter: saturate(1.02) contrast(1.02);
}

.home-plan-demo-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(31, 122, 224, 0.06), transparent 42%),
        radial-gradient(circle at 52% 55%, rgba(239, 68, 68, 0.16), transparent 9%);
    pointer-events: none;
}

.home-plan-demo-pin {
    position: absolute;
    z-index: 2;
    width: 1rem;
    height: 1rem;
    border: 0;
    border-radius: 999px;
    background: #ef3340;
    cursor: pointer;
    box-shadow: 0 0 0 0.33rem rgba(239, 51, 64, 0.18), 0 0.65rem 1.3rem rgba(127, 29, 29, 0.28);
}

.home-plan-demo-pin::after {
    content: "";
    position: absolute;
    inset: -0.68rem;
    border-radius: inherit;
    border: 1px solid rgba(239, 51, 64, 0.45);
    animation: planDemoPulse 1.8s ease-out infinite;
}

.home-plan-demo-pin-primary {
    top: 58%;
    left: 52%;
}

.home-plan-demo-pin-secondary {
    top: 41%;
    left: 68%;
    transform: scale(0.82);
    opacity: 0.72;
}

.home-plan-demo-pin-tertiary {
    top: 71%;
    left: 43%;
    transform: scale(0.78);
    opacity: 0.62;
}

.home-plan-demo-card {
    position: absolute;
    z-index: 3;
    right: 0.15rem;
    width: min(44%, 18rem);
    padding: 1rem 1.05rem;
    border: 1px solid rgba(15, 33, 54, 0.12);
    border-radius: 1.08rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 255, 0.72));
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(16px) saturate(1.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    opacity: 0.58;
    transform: translateX(0.45rem) scale(0.96);
    transition: opacity 0.26s ease, transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.home-plan-demo-card[role="button"] {
    cursor: pointer;
}

.home-plan-demo-card[role="button"]:hover,
.home-plan-demo-card[role="button"]:focus-visible {
    opacity: 0.92;
    transform: translateX(0.12rem) scale(0.99);
    border-color: rgba(31, 122, 224, 0.22);
}

.home-plan-demo-card[role="button"]:focus-visible {
    outline: 3px solid rgba(31, 122, 224, 0.24);
    outline-offset: 0.18rem;
}

.home-plan-demo-card-door {
    top: 0.7rem;
}

.home-plan-demo-card-keys {
    top: 9.05rem;
}

.home-plan-demo-card-loan {
    top: 17.65rem;
}

.home-plan-demo-card-label {
    display: block;
    margin-bottom: 0.38rem;
    color: var(--home-sales-accent);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-plan-demo-card strong {
    display: block;
    color: var(--plan-demo-ink);
    font-size: 0.96rem;
    line-height: 1.25;
}

.home-plan-demo-card small {
    display: block;
    margin-top: 0.32rem;
    color: var(--plan-demo-muted);
    line-height: 1.45;
}

.home-plan-demo-token,
.home-plan-demo-status {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    margin-top: 0.55rem;
    margin-right: 0.3rem;
    padding: 0.28rem 0.48rem;
    border-radius: 999px;
    background: rgba(31, 122, 224, 0.08);
    color: var(--plan-demo-ink);
    font-size: 0.7rem;
    font-weight: 800;
}

.home-plan-demo-status {
    background: rgba(22, 163, 74, 0.12);
    color: #16713a;
}

.home-plan-demo[data-active-step="1"] .home-plan-demo-card-door,
.home-plan-demo[data-active-step="2"] .home-plan-demo-card-keys,
.home-plan-demo[data-active-step="3"] .home-plan-demo-card-loan {
    z-index: 6;
    opacity: 1;
    transform: translateX(0) scale(1.01);
    border-color: rgba(31, 122, 224, 0.3);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.92));
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.home-plan-demo[data-active-step="2"] .home-plan-demo-card-keys .home-plan-demo-token,
.home-plan-demo[data-active-step="3"] .home-plan-demo-status {
    animation: planDemoPop 0.5s ease both;
}

.home-plan-demo-compact {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.2rem;
}

.home-plan-demo-compact .home-plan-demo-copy h3 {
    max-width: 28ch;
    font-size: clamp(1.18rem, 1.8vw, 1.44rem);
}

.home-plan-demo-compact .home-plan-demo-copy {
    padding: 0.05rem;
}

.home-plan-demo-compact .home-plan-demo-tabs {
    display: flex;
}

.home-plan-demo-compact .home-plan-demo-tab {
    min-height: 2.35rem;
    padding: 0.35rem 0.6rem 0.35rem 0.42rem;
    font-size: 0.8rem;
}

.home-plan-demo-compact .home-plan-demo-stage {
    min-height: 25rem;
}

.home-plan-demo-compact .home-plan-demo-window {
    width: min(62%, 31rem);
}

.home-plan-demo-compact .home-plan-demo-card {
    width: min(46%, 16.75rem);
    right: 0;
}

.home-plan-demo-compact .home-plan-demo-card-door {
    top: 0.45rem;
}

.home-plan-demo-compact .home-plan-demo-card-keys {
    top: 8.6rem;
}

.home-plan-demo-compact .home-plan-demo-card-loan {
    top: 16.8rem;
}

:root[data-bs-theme="dark"] .home-plan-demo {
    --plan-demo-ink: #f8fbff;
    --plan-demo-muted: rgba(226, 232, 240, 0.72);
    --plan-demo-surface: rgba(15, 23, 42, 0.86);
    background:
        radial-gradient(circle at 82% 18%, rgba(239, 68, 68, 0.15), transparent 18%),
        radial-gradient(circle at 10% 100%, rgba(20, 184, 166, 0.13), transparent 24%),
        linear-gradient(135deg, rgba(11, 18, 32, 0.96), rgba(20, 34, 52, 0.92));
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

:root[data-bs-theme="dark"] .home-plan-demo-tab,
:root[data-bs-theme="dark"] .home-plan-demo-card {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.74);
}

:root[data-bs-theme="dark"] .home-plan-demo-tab[aria-pressed="true"],
:root[data-bs-theme="dark"] .home-plan-demo-tab:hover,
:root[data-bs-theme="dark"] .home-plan-demo-tab:focus-visible {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(96, 165, 250, 0.35);
}

:root[data-bs-theme="dark"] .home-plan-demo-window {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

:root[data-bs-theme="dark"] .home-plan-demo-chrome {
    background: rgba(15, 23, 42, 0.94);
    border-bottom-color: rgba(148, 163, 184, 0.16);
}

:root[data-bs-theme="dark"] .home-plan-demo-chrome strong {
    color: rgba(226, 232, 240, 0.74);
}

:root[data-bs-theme="dark"] .home-plan-demo-token {
    background: rgba(96, 165, 250, 0.14);
}

:root[data-bs-theme="dark"] .home-plan-demo-tabs::after {
    filter: drop-shadow(0 0.55rem 0.75rem rgba(0, 0, 0, 0.34));
}

@keyframes planDemoPulse {
    0% {
        transform: scale(0.72);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@keyframes planDemoPop {
    0% {
        transform: translateY(0.35rem);
        opacity: 0.2;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes planDemoPointer {
    0%, 100% {
        transform: translate(0, 0) rotate(-16deg);
    }
    42% {
        transform: translate(-0.36rem, 0.46rem) rotate(-16deg);
    }
    55% {
        transform: translate(-0.28rem, 0.38rem) rotate(-16deg) scale(0.94);
    }
}

@keyframes planDemoSparkles {
    0%, 100% {
        opacity: 0.58;
        transform: translate(0, 0) scale(0.92);
    }
    42% {
        opacity: 1;
        transform: translate(-0.28rem, 0.24rem) scale(1.04);
    }
    70% {
        opacity: 0.72;
        transform: translate(-0.08rem, -0.02rem) scale(0.98);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-plan-demo-pin::after,
    .home-plan-demo[data-active-step="2"] .home-plan-demo-card-keys .home-plan-demo-token,
    .home-plan-demo[data-active-step="3"] .home-plan-demo-status,
    .home-plan-demo-tabs::before,
    .home-plan-demo-tabs::after {
        animation: none;
    }

    .home-plan-demo-tab,
    .home-plan-demo-card {
        transition: none;
    }
}

.home-product-screen {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 17rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 1.05rem;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(241, 247, 252, 0.98));
    overflow: hidden;
}

.home-product-search,
.home-product-result,
.home-product-openings-head,
.home-product-loan-row,
.home-product-signature,
.home-product-actions {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.85rem;
    background: #fff;
}

.home-product-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 3.25rem;
    padding: 0.75rem 0.9rem;
    color: var(--home-sales-deep);
    font-weight: 700;
}

.home-product-search i {
    color: var(--home-sales-accent);
}

.home-product-result {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.95rem;
}

.home-product-result strong,
.home-product-openings-head strong,
.home-product-loan-row strong {
    display: block;
    font-size: 0.94rem;
    color: var(--home-sales-deep);
}

.home-product-result span,
.home-product-openings-head span,
.home-product-loan-row span,
.home-product-signature span {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
}

.home-product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 1.75rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.home-product-badge-warning {
    background: rgba(245, 158, 11, 0.14);
    color: #9a5a00;
}

.home-product-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 0;
}

.home-product-facts div {
    min-width: 0;
    padding: 0.85rem;
    border-radius: 0.8rem;
    background: rgba(31, 122, 224, 0.08);
}

.home-product-facts dt {
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bs-secondary-color);
}

.home-product-facts dd {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--home-sales-deep);
}

.home-product-openings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
}

.home-product-openings-list {
    display: grid;
    gap: 0.55rem;
}

.home-product-openings-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    min-height: 2.35rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.74);
    color: var(--home-sales-deep);
    font-size: 0.88rem;
    font-weight: 700;
}

.home-product-openings-list i {
    color: #15803d;
}

.home-product-loan-row {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
}

.home-product-signature {
    min-height: 7.4rem;
    padding: 0.95rem 1rem;
}

.home-product-signature-line {
    position: relative;
    height: 4.2rem;
    margin-top: 0.55rem;
    border-bottom: 2px solid rgba(15, 23, 42, 0.22);
}

.home-product-signature-line::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    bottom: 0.55rem;
    width: 72%;
    height: 2.4rem;
    border-bottom: 3px solid rgba(31, 122, 224, 0.74);
    border-radius: 50%;
    transform: rotate(-3deg);
}

.home-product-actions {
    display: grid;
    gap: 0.55rem;
    padding: 0.8rem 0.9rem;
}

.home-product-actions span {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--home-sales-deep);
}

.home-product-actions i {
    color: var(--home-sales-accent);
}

.home-sales-section-heading {
    max-width: 46rem;
}

.home-sales-section-title {
    font-size: clamp(1.55rem, 2.7vw, 2.3rem);
    line-height: 1.16;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.home-sales-feature-card,
.home-sales-step-card,
.home-sales-proof-card,
.home-sales-price-card {
    padding: 1.95rem;
}

.home-sales-feature-card h3,
.home-sales-step-card h3,
.home-sales-proof-item h3,
.home-sales-price-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.home-sales-feature-card p,
.home-sales-step-card p,
.home-sales-proof-item p,
.home-sales-price-card p,
.home-sales-proof-list li {
    font-size: 0.94rem;
    line-height: 1.8;
    color: var(--bs-secondary-color);
}

.home-sales-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(31, 122, 224, 0.12), rgba(14, 116, 144, 0.16));
    color: var(--home-sales-accent);
    font-size: 1.35rem;
}

.home-sales-journey {
    background:
        radial-gradient(circle at top left, rgba(31, 122, 224, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(var(--home-sales-deep-rgb), 0.03), rgba(var(--home-sales-deep-rgb), 0));
}

.home-sales-step-card {
    position: relative;
    overflow: hidden;
}

.home-sales-step-number {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: clamp(1.35rem, 2.3vw, 2.05rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--home-sales-accent);
}

.home-sales-proof-card {
    background: linear-gradient(180deg, rgba(var(--bs-body-bg-rgb), 0.96), rgba(var(--bs-body-bg-rgb), 0.86));
}

.home-sales-proof-card-accent {
    background:
        radial-gradient(circle at top right, rgba(31, 122, 224, 0.12), transparent 35%),
        linear-gradient(180deg, rgba(var(--bs-body-bg-rgb), 0.98), rgba(var(--bs-body-bg-rgb), 0.88));
}

.home-sales-proof-item {
    padding: 1.35rem 0;
    border-top: 1px solid var(--home-sales-line);
}

.home-sales-proof-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.12rem 0;
    border-top: 1px solid var(--home-sales-line);
}

.home-sales-proof-list li:first-child,
.home-sales-proof-item:first-child {
    border-top: 0;
}

.home-sales-proof-list i {
    color: var(--home-sales-accent);
    font-size: 1.1rem;
}

.home-sales-pricing {
    background:
        radial-gradient(circle at top center, rgba(31, 122, 224, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(var(--home-sales-deep-rgb), 0.03), rgba(var(--home-sales-deep-rgb), 0));
}

.home-sales-pricing-note {
    max-width: 58rem;
    margin: 2rem auto 0;
    padding: 1rem 1.15rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(31, 122, 224, 0.16);
    background:
        radial-gradient(circle at top left, rgba(31, 122, 224, 0.09), rgba(31, 122, 224, 0) 48%),
        rgba(var(--bs-body-bg-rgb), 0.94);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.home-sales-pricing-note__title {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--home-sales-accent);
}

.home-sales-pricing-note p {
    color: var(--bs-secondary-color);
    font-size: 0.94rem;
    line-height: 1.75;
}

.home-sales-pricing-note p strong {
    color: inherit;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.home-sales-price-card {
    position: relative;
}

.home-sales-price-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1rem 0 0.3rem;
}

.home-sales-price-facts span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.3rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 122, 224, 0.18);
    background: rgba(31, 122, 224, 0.08);
    color: var(--home-sales-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.home-sales-price-card ul {
    display: grid;
    gap: 1rem;
    margin: 1.7rem 0 2.05rem;
}

.home-sales-price-card li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.92rem;
    line-height: 1.72;
    color: var(--bs-secondary-color);
}

.home-sales-price-card li::before {
    content: "";
    position: absolute;
    top: 0.52rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--home-sales-accent);
    box-shadow: 0 0 0 0.32rem rgba(31, 122, 224, 0.14);
}

.home-sales-price {
    margin: 0.85rem 0 1.1rem;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--home-sales-deep);
}

.home-sales-price small {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

.home-sales-price-card-featured {
    transform: translateY(-0.6rem);
    border-color: rgba(31, 122, 224, 0.28);
    background:
        radial-gradient(circle at top center, rgba(31, 122, 224, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(var(--bs-body-bg-rgb), 0.98), rgba(var(--bs-body-bg-rgb), 0.9));
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
}

.home-sales-price-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: var(--home-sales-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.home-sales-pricing-legend {
    max-width: 46rem;
    margin: 1.75rem auto 0;
    text-align: center;
    color: var(--bs-secondary-color);
    font-size: 0.94rem;
    line-height: 1.8;
}

:root[data-bs-theme="dark"] .home-sales-pricing-note {
    border-color: rgba(96, 165, 250, 0.24);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0) 52%),
        rgba(11, 18, 32, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

:root[data-bs-theme="dark"] .home-sales-price-card {
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.94), rgba(15, 23, 42, 0.9));
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

:root[data-bs-theme="dark"] .home-sales-price-card-featured {
    border-color: rgba(96, 165, 250, 0.34);
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.14), transparent 38%),
        linear-gradient(180deg, rgba(15, 25, 45, 0.98), rgba(11, 18, 32, 0.92));
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
}

:root[data-bs-theme="dark"] .home-sales-price-tag {
    color: #7db8ff;
}

:root[data-bs-theme="dark"] .home-sales-price-card h3,
:root[data-bs-theme="dark"] .home-sales-price,
:root[data-bs-theme="dark"] .home-sales-price-facts span,
:root[data-bs-theme="dark"] .home-sales-pricing-note p strong,
:root[data-bs-theme="dark"] .home-sales-pricing-legend strong {
    color: #f8fbff;
}

:root[data-bs-theme="dark"] .home-sales-price small,
:root[data-bs-theme="dark"] .home-sales-price-card p,
:root[data-bs-theme="dark"] .home-sales-price-card li,
:root[data-bs-theme="dark"] .home-sales-pricing-note p,
:root[data-bs-theme="dark"] .home-sales-pricing-legend {
    color: rgba(226, 232, 240, 0.82);
}

:root[data-bs-theme="dark"] .home-sales-price-facts span {
    border-color: rgba(96, 165, 250, 0.28);
    background: rgba(31, 122, 224, 0.12);
}

:root[data-bs-theme="dark"] .home-sales-price-badge {
    box-shadow: 0 10px 24px rgba(31, 122, 224, 0.28);
}

.home-sales-accordion .accordion-item {
    border: 1px solid var(--home-sales-line);
    border-radius: 1.2rem;
    overflow: hidden;
    background: rgba(var(--bs-body-bg-rgb), 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
}

.home-sales-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}

.home-sales-accordion .accordion-button {
    padding: 1.45rem 1.5rem;
    font-size: 0.96rem;
    font-weight: 700;
    box-shadow: none;
}

.home-sales-accordion .accordion-body {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.94rem;
    line-height: 1.82;
}

.home-sales-accordion .accordion-button:not(.collapsed) {
    color: var(--home-sales-deep);
    background: rgba(31, 122, 224, 0.06);
}

.home-sales-final-cta-card {
    max-width: 100%;
    padding: 3rem 3rem 2.7rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background:
        radial-gradient(circle at top center, rgba(31, 122, 224, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(var(--bs-body-bg-rgb), 0.98), rgba(var(--bs-body-bg-rgb), 0.9));
}

.home-sales-final-cta-card .home-sales-section-title {
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
}

.home-sales-final-cta-card p {
    max-width: 68rem;
    margin-left: auto;
    margin-right: auto;
}

.home-sales-final-cta-card .btn {
    --bs-btn-padding-y: 0.7rem;
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-border-radius: 0.9rem;
}

.entity-detail-hero__body {
    flex: 1 1 auto;
    min-width: 0;
}

.entity-detail-hero__actions .btn {
    min-height: 2.8rem;
    border-radius: 0.9rem;
    font-weight: 700;
}

.entity-detail-sidecard__actions .btn {
    min-height: 2.8rem;
    border-radius: 0.9rem;
    font-weight: 700;
}

:root[data-bs-theme="dark"] .entity-detail-hero {
    background:
        radial-gradient(circle at top left, rgba(var(--brand-primary-rgb), 0.22), transparent 34%),
        radial-gradient(circle at right center, rgba(148, 163, 184, 0.08), transparent 26%),
        linear-gradient(180deg, #0f1723 0%, #131d2c 100%);
    border-bottom-color: rgba(148, 163, 184, 0.16) !important;
}

:root[data-bs-theme="dark"] .entity-detail-hero--compact {
    background: linear-gradient(180deg, #0f1723 0%, #131d2c 100%);
}

:root[data-bs-theme="dark"] .entity-detail-hero::before {
    background: rgba(var(--brand-primary-rgb), 0.16);
}

:root[data-bs-theme="dark"] .entity-detail-hero::after {
    background: rgba(148, 163, 184, 0.08);
}

:root[data-bs-theme="dark"] .entity-detail-breadcrumb {
    color: rgba(226, 232, 240, 0.72);
}

:root[data-bs-theme="dark"] .entity-detail-title,
:root[data-bs-theme="dark"] .entity-detail-sidecard__title,
:root[data-bs-theme="dark"] .entity-detail-sidecard__value,
:root[data-bs-theme="dark"] .entity-detail-chip {
    color: #f8fbff;
}

:root[data-bs-theme="dark"] .entity-detail-lead,
:root[data-bs-theme="dark"] .entity-detail-sidecard__copy {
    color: rgba(226, 232, 240, 0.76);
}

:root[data-bs-theme="dark"] .entity-detail-chip {
    border-color: rgba(var(--brand-primary-rgb), 0.2);
    background: rgba(var(--brand-primary-rgb), 0.12);
}

:root[data-bs-theme="dark"] .entity-detail-anchor,
:root[data-bs-theme="dark"] .entity-detail-fact {
    color: #f8fbff;
}

:root[data-bs-theme="dark"] .entity-detail-anchor-nav-label {
    color: rgba(226, 232, 240, 0.68);
}

:root[data-bs-theme="dark"] .entity-detail-anchor {
    border-color: rgba(var(--brand-primary-rgb), 0.24);
    background: rgba(var(--brand-primary-rgb), 0.14);
}

:root[data-bs-theme="dark"] .entity-detail-anchor:hover,
:root[data-bs-theme="dark"] .entity-detail-anchor:focus-visible {
    background: rgba(var(--brand-primary-rgb), 0.2);
    color: #ffffff;
}

:root[data-bs-theme="dark"] .entity-detail-back-link {
    border-color: rgba(96, 165, 250, 0.24);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(17, 28, 47, 0.82));
    color: #bfdbfe;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(2, 8, 23, 0.24);
}

:root[data-bs-theme="dark"] .entity-detail-back-link:hover,
:root[data-bs-theme="dark"] .entity-detail-back-link:focus-visible {
    border-color: rgba(96, 165, 250, 0.36);
    background: rgba(59, 130, 246, 0.14);
    color: #ffffff;
}

:root[data-bs-theme="dark"] .entity-detail-back-link__icon {
    background: rgba(96, 165, 250, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

:root[data-bs-theme="dark"] .entity-detail-sidecard {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(18, 28, 41, 0.82);
    box-shadow: 0 20px 48px rgba(2, 8, 23, 0.34);
}

:root[data-bs-theme="dark"] .entity-detail-sidecard__item {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.34);
}

@media (max-width: 991.98px) {
    .entity-detail-hero__actions .btn {
            width: 100%;
        }
}

@media (max-width: 767.98px) {
    .entity-detail-sidecard__actions .btn {
            width: 100%;
        }
}

.error-page__actions .btn {
    min-width: 15rem;
}

:root[data-bs-theme="dark"] .error-page {
    background:
        radial-gradient(circle at top right, rgba(24, 119, 242, 0.26), transparent 24%),
        radial-gradient(circle at left 18%, rgba(14, 165, 233, 0.14), transparent 18%),
        linear-gradient(135deg, #07111d 0%, #0b1f33 42%, #103154 100%);
}

:root[data-bs-theme="dark"] .error-page::before {
    background: rgba(255, 255, 255, 0.04);
}

:root[data-bs-theme="dark"] .error-page::after {
    background: rgba(37, 99, 235, 0.16);
}

:root[data-bs-theme="dark"] .error-page__badge {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.22);
    color: rgba(241, 245, 249, 0.94);
}

:root[data-bs-theme="dark"] .error-page__code {
    color: rgba(147, 197, 253, 0.92);
}

:root[data-bs-theme="dark"] .error-page__lead {
    color: rgba(226, 232, 240, 0.8);
}

:root[data-bs-theme="dark"] .error-page__card {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 26px 70px rgba(2, 6, 12, 0.34);
    color: #e2e8f0;
}

:root[data-bs-theme="dark"] .error-page__icon {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-bs-theme="dark"] .error-page__card-title,
:root[data-bs-theme="dark"] .error-page__tip h3 {
    color: #f8fbff;
}

:root[data-bs-theme="dark"] .error-page__card-text,
:root[data-bs-theme="dark"] .error-page__tip p {
    color: rgba(226, 232, 240, 0.74);
}

:root[data-bs-theme="dark"] .error-page__tip {
    border-top-color: rgba(148, 163, 184, 0.16);
}

@media (max-width: 575.98px) {
    .error-page__actions .btn {
            width: 100%;
            min-width: 0;
        }
}

.badges-table-name {
    padding: 0.42rem 0.68rem;
    font-weight: 700;
}

.badges-table-delete-btn {
    color: #b42333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    min-height: 1.4rem;
}

.badges-table-delete-btn:hover,
.badges-table-delete-btn:focus {
    color: #8f1d2a;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .home-sales-title {
            max-width: none;
        }

    .home-sales-showcase {
            margin-top: 1.5rem;
        }

    .home-sales-floating-card {
            position: static;
            max-width: none;
        }

    .home-sales-price-card-featured {
            transform: none;
        }

    .py-lg-6 {
            padding-top: 5.5rem !important;
            padding-bottom: 5.5rem !important;
        }

    .home-sales-final-cta-card {
            padding: 2.7rem 2.2rem 2.4rem;
        }

    .home-sales-strip {
            margin-top: 0.9rem;
            padding-top: 0.9rem;
            padding-bottom: 1.75rem;
        }

    .home-product-proof-flow {
            grid-template-columns: 1fr;
        }

    .home-product-proof-card {
            min-height: auto;
        }

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

    .home-plan-demo-copy h3 {
            max-width: 28ch;
        }

    .home-plan-demo-stage {
            min-height: 25rem;
        }

    .home-plan-demo-window,
        .home-plan-demo-compact .home-plan-demo-window {
            width: min(68%, 36rem);
        }
}

@media (max-width: 575.98px) {
    .home-sales-hero {
            padding-top: 1.8rem;
        }

    .home-sales-title {
            font-size: clamp(1.8rem, 9vw, 2.55rem);
            line-height: 1.05;
        }

    .home-sales-stat,
        .home-sales-strip-card,
        .home-sales-feature-card,
        .home-sales-step-card,
        .home-sales-proof-card,
        .home-sales-price-card,
        .home-sales-final-cta-card {
            border-radius: 1.2rem;
        }

    .home-product-proof-card {
            border-radius: 1.2rem;
            padding: 1.1rem;
        }

    .home-product-proof-step {
            font-size: 3.2rem;
        }

    .home-plan-demo {
            padding: 1rem;
            border-radius: 1.15rem;
        }

    .home-plan-demo-copy {
            padding: 0.05rem;
        }

    .home-plan-demo-copy h3 {
            font-size: 1.34rem;
        }

    .home-plan-demo-tabs,
        .home-plan-demo-compact .home-plan-demo-tabs {
            display: grid;
            grid-template-columns: 1fr;
            padding-right: 0;
            padding-top: 2.05rem;
        }

    .home-plan-demo-tabs::before,
        .home-plan-demo-compact .home-plan-demo-tabs::before {
            right: 0.85rem;
            top: 0;
        }

    .home-plan-demo-tabs::after,
        .home-plan-demo-compact .home-plan-demo-tabs::after {
            right: 0.28rem;
            top: 0.68rem;
        }

    .home-plan-demo-tab {
            width: 100%;
            min-height: 2.65rem;
            justify-content: flex-start;
        }

    .home-plan-demo-stage,
        .home-plan-demo-compact .home-plan-demo-stage {
            display: grid;
            gap: 0.72rem;
            min-height: auto;
        }

    .home-plan-demo-window,
        .home-plan-demo-compact .home-plan-demo-window,
        .home-plan-demo-card,
        .home-plan-demo-compact .home-plan-demo-card {
            position: relative;
            inset: auto;
            width: 100%;
        }

    .home-plan-demo-card,
        .home-plan-demo-compact .home-plan-demo-card {
            opacity: 1;
            transform: none;
        }

    .home-plan-demo-chrome {
            min-height: 2.25rem;
        }

    .home-product-screen {
            min-height: auto;
            padding: 0.8rem;
            border-radius: 0.95rem;
        }

    .home-product-result,
        .home-product-openings-head {
            flex-direction: column;
            align-items: flex-start;
        }

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

    .home-sales-showcase-panel,
        .home-sales-device {
            border-radius: 1.3rem;
        }

    .home-sales-feature-card,
        .home-sales-step-card,
        .home-sales-proof-card,
        .home-sales-price-card,
        .home-sales-final-cta-card,
        .home-sales-strip-card {
            padding: 1.6rem;
        }

    .home-sales-final-cta-card {
            padding: 2.2rem 1.6rem 2rem;
        }

    .home-sales-final-cta-card .btn {
            width: 100%;
            --bs-btn-padding-y: 0.68rem;
            --bs-btn-padding-x: 1.2rem;
            --bs-btn-font-size: 0.96rem;
        }

    .home-sales-final-cta-card .home-sales-section-title br {
            display: none;
        }

    .home-sales-strip {
            margin-top: 0.7rem;
            padding-top: 0.7rem;
            padding-bottom: 1.25rem;
        }
}

/* Premium Bootstrap alerts */
.alert {
    --alert-accent-rgb: var(--brand-primary-rgb);
    --alert-surface-start: rgba(255, 255, 255, 0.98);
    --alert-surface-end: rgba(247, 250, 255, 0.94);
    --alert-border: rgba(var(--alert-accent-rgb), 0.18);
    --alert-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--alert-border);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(var(--alert-accent-rgb), 0.18), transparent 34%),
        linear-gradient(135deg, var(--alert-surface-start) 0%, var(--alert-surface-end) 100%);
    box-shadow: var(--alert-shadow);
    color: #13273b;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.alert::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(var(--alert-accent-rgb), 1) 0%, rgba(var(--alert-accent-rgb), 0.35) 100%);
}

.alert::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: calc(1.25rem - 1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    pointer-events: none;
}

.alert > :last-child {
    margin-bottom: 0;
}

.alert strong {
    color: #0c1f31;
}

.alert a {
    font-weight: 700;
}

.alert-dismissible {
    padding-right: 4.65rem;
}

.alert .btn-close {
    position: absolute;
    top: 0.72rem;
    right: 0.95rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    margin: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    background-size: 0.9rem;
    opacity: 0.72;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.alert .btn-close:hover,
.alert .btn-close:focus {
    opacity: 1;
    transform: translateY(-1px);
    background-color: rgba(255, 255, 255, 0.96);
}

.alert-premium {
    align-items: center;
}

.alert-premium__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.95rem;
    background: linear-gradient(145deg, rgba(var(--alert-accent-rgb), 0.2), rgba(var(--alert-accent-rgb), 0.08));
    color: rgb(var(--alert-accent-rgb));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 10px 20px rgba(var(--alert-accent-rgb), 0.14);
    font-size: 1.05rem;
}

.alert-premium__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.alert-premium__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.alert-premium__text {
    margin: 0;
    color: rgba(12, 31, 49, 0.72);
}

.app-flash-card {
    margin-top: 1rem;
    margin-bottom: 0.9rem;
}

.app-flash-card:last-child {
    margin-bottom: 1rem;
}

.app-flash-card .alert-premium__title {
    margin-bottom: 0.15rem;
}

.app-flash-card .alert-premium__text {
    font-size: 0.98rem;
    line-height: 1.55;
}

.alert-info {
    --alert-accent-rgb: 31, 122, 224;
    --alert-surface-start: rgba(255, 255, 255, 0.98);
    --alert-surface-end: rgba(236, 245, 255, 0.95);
}

.alert-success {
    --alert-accent-rgb: 16, 185, 129;
    --alert-surface-start: rgba(255, 255, 255, 0.98);
    --alert-surface-end: rgba(236, 253, 245, 0.96);
}

.alert-warning {
    --alert-accent-rgb: 245, 158, 11;
    --alert-surface-start: rgba(255, 251, 235, 0.98);
    --alert-surface-end: rgba(255, 244, 214, 0.96);
}

.alert-danger {
    --alert-accent-rgb: 239, 68, 68;
    --alert-surface-start: rgba(255, 255, 255, 0.98);
    --alert-surface-end: rgba(254, 242, 242, 0.96);
}

[data-bs-theme="dark"] .alert {
    --alert-surface-start: rgba(11, 18, 32, 0.96);
    --alert-surface-end: rgba(17, 28, 46, 0.92);
    --alert-border: rgba(var(--alert-accent-rgb), 0.28);
    color: #e5eef8;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.38);
}

[data-bs-theme="dark"] .alert strong,
[data-bs-theme="dark"] .alert-premium__title {
    color: #f8fbff;
}

[data-bs-theme="dark"] .alert-premium__text {
    color: rgba(226, 232, 240, 0.76);
}

[data-bs-theme="dark"] .alert .btn-close {
    background-color: rgba(15, 23, 42, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    filter: invert(1) grayscale(1);
}

.jax-flash-messages {
    position: fixed;
    top: 1rem;
    left: 50%;
    right: auto;
    margin-left: -250px;
    width: 500px;
    z-index: 10300;
    pointer-events: none;
}

.jax-flash-message {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start;
    padding: 10px 15px !important;
    border: 0;
    border-radius: 5px;
    background: #86cb43 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    color: #fff !important;
    opacity: 0;
    transform: translateY(-6px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    pointer-events: auto;
}

.jax-flash-message.flash-show,
.jax-flash-message.loading {
    opacity: 1;
    transform: translateY(0) !important;
}

.jax-flash-message span.flash-message {
    display: block;
    flex: 1 1 auto;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.45;
    min-width: 0;
}

.jax-flash-message span.flash-loader {
    margin-right: 0.75rem;
    color: inherit;
}

.jax-flash-message span.flash-loader:after {
    top: 0;
    height: 1.1rem;
    width: 1.1rem;
    border-width: 0.16rem;
    opacity: 0.78;
}

.jax-flash-message a,
.jax-flash-message span.flash-message a {
    color: inherit;
    font-weight: 600;
}

.jax-flash-message a.flash-close {
    position: absolute;
    top: 10px;
    right: 12px;
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    margin: 0;
    border-radius: 0.25rem;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.jax-flash-message a.flash-close:hover,
.jax-flash-message a.flash-close:focus {
    opacity: 1;
}

.jax-flash-message.success {
    background: #86cb43 !important;
}

.jax-flash-message.error {
    background: #cc3300 !important;
}

.jax-flash-message.warning {
    background: #f0ad4e !important;
}

.jax-flash-message.info,
.jax-flash-message.loading {
    background: #5fb6f5 !important;
}

@media (max-width: 767.98px) {
    .alert {
            gap: 0.75rem;
            padding: 0.9rem 0.95rem;
            border-radius: 1rem;
        }

    .alert-dismissible {
            padding-right: 3.9rem;
        }

    .alert-premium__icon {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 0.82rem;
        }

    .alert .btn-close {
            top: 0.7rem;
            right: 0.8rem;
            width: 1.9rem;
            height: 1.9rem;
            background-size: 0.85rem;
        }

    .jax-flash-messages {
            top: 0.75rem;
            left: 1rem;
            right: 1rem;
            margin-left: 0;
            width: auto;
        }

    .jax-flash-message {
            padding: 10px 15px !important;
            border-radius: 5px;
        }

    .jax-flash-message span.flash-message {
            font-size: 0.95rem;
        }

    .jax-flash-message a.flash-close {
            top: 10px;
            right: 12px;
        }
}

.blog-page {
    --blog-hero-bg: radial-gradient(circle at top left, rgba(var(--brand-primary-rgb), 0.22), transparent 36%), linear-gradient(135deg, #0f172a 0%, #132238 45%, #1d3557 100%);
    --blog-surface: #ffffff;
    --blog-surface-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 255, 0.96));
    --blog-content-bg: linear-gradient(180deg, #f6f9fc 0%, #fcfdff 32%, #f7fbff 100%);
    --blog-border: rgba(15, 23, 42, 0.08);
    --blog-border-strong: rgba(15, 23, 42, 0.12);
    --blog-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
    --blog-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --blog-ink: #0f172a;
    --blog-ink-soft: rgba(15, 23, 42, 0.72);
    --blog-muted: #5b6b80;
    --blog-muted-soft: rgba(91, 107, 128, 0.78);
    --blog-hover-soft: rgba(var(--brand-primary-rgb), 0.05);
    --blog-latest-thumb-bg: linear-gradient(145deg, rgba(var(--brand-primary-rgb), 0.14), rgba(15, 23, 42, 0.06));
    --blog-card-media-bg: linear-gradient(135deg, #dcecff 0%, #eef5fb 50%, #f8fbff 100%);
    --blog-divider: linear-gradient(90deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.12) 18%, rgba(15, 23, 42, 0.12) 82%, rgba(15, 23, 42, 0));
    --blog-inline-code-bg: rgba(15, 23, 42, 0.06);
    --blog-pre-bg: #0f172a;
    --blog-pre-ink: #e2e8f0;
    --blog-table-head-bg: rgba(36, 71, 214, 0.08);
    --blog-table-row-bg: rgba(255, 255, 255, 0.45);
    --blog-quote-bg: rgba(var(--brand-primary-rgb), 0.06);
    --blog-newsletter-section-bg: #fcfdff;
    color: var(--blog-ink);
}

:root[data-bs-theme="dark"] .blog-page {
    --blog-hero-bg: radial-gradient(circle at top left, rgba(var(--brand-primary-rgb), 0.2), transparent 34%), linear-gradient(145deg, #08101f 0%, #101b31 42%, #162845 100%);
    --blog-surface: #111b2f;
    --blog-surface-soft: linear-gradient(180deg, rgba(17, 27, 47, 0.96), rgba(12, 19, 33, 0.98));
    --blog-content-bg: linear-gradient(180deg, #0b1220 0%, #0f172a 34%, #101a2d 100%);
    --blog-border: rgba(148, 163, 184, 0.2);
    --blog-border-strong: rgba(148, 163, 184, 0.28);
    --blog-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
    --blog-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.24);
    --blog-ink: #eef4ff;
    --blog-ink-soft: rgba(226, 232, 240, 0.82);
    --blog-muted: #9aacbf;
    --blog-muted-soft: rgba(148, 163, 184, 0.82);
    --blog-hover-soft: rgba(var(--brand-primary-rgb), 0.12);
    --blog-latest-thumb-bg: linear-gradient(145deg, rgba(var(--brand-primary-rgb), 0.22), rgba(30, 41, 59, 0.68));
    --blog-card-media-bg: linear-gradient(135deg, rgba(36, 71, 214, 0.2) 0%, rgba(19, 34, 56, 0.84) 50%, rgba(11, 18, 32, 0.98) 100%);
    --blog-divider: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.16) 18%, rgba(148, 163, 184, 0.16) 82%, rgba(148, 163, 184, 0));
    --blog-inline-code-bg: rgba(148, 163, 184, 0.12);
    --blog-pre-bg: #09111f;
    --blog-pre-ink: #dbe7fb;
    --blog-table-head-bg: rgba(var(--brand-primary-rgb), 0.16);
    --blog-table-row-bg: rgba(15, 23, 42, 0.45);
    --blog-quote-bg: rgba(var(--brand-primary-rgb), 0.12);
    --blog-newsletter-section-bg: #0f172a;
}

.blog-hero,
.blog-post-hero {
    position: relative;
    overflow: hidden;
    padding: 5.75rem 0 4rem;
    color: #fff;
    background: var(--blog-hero-bg);
}

.blog-hero::before,
.blog-post-hero::before {
    content: "";
    position: absolute;
    inset: auto -6rem -7rem auto;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(8px);
}

.blog-hero--compact {
    padding-bottom: 3.35rem;
}

.blog-hero--simple {
    padding: 3.25rem 0 2.5rem;
}

.blog-hero--simple .blog-hero-title {
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.025em;
}

.blog-hero--simple .blog-hero-copy {
    max-width: 42rem;
    margin-top: 0.85rem;
    font-size: 1rem;
    line-height: 1.65;
}

.blog-hero--simple .blog-breadcrumb {
    margin-top: 1rem;
    font-size: 0.88rem;
}

.blog-post-hero.blog-hero--simple {
    padding: 3.25rem 0 2.5rem;
}

.blog-post-hero.blog-hero--simple .blog-post-header h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.025em;
}

.blog-post-hero.blog-hero--simple .blog-post-lead {
    margin-top: 0.85rem;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.65;
}

.blog-post-hero.blog-hero--simple .blog-post-meta {
    margin-top: 0.95rem;
    font-size: 0.88rem;
}

.blog-eyebrow,
.blog-section-kicker,
.blog-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.blog-eyebrow {
    color: rgba(191, 219, 254, 0.95);
}

.blog-section-kicker,
.blog-panel-label {
    color: var(--brand-primary);
}

.blog-hero-title,
.blog-post-header h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.blog-hero-copy,
.blog-post-lead {
    max-width: 48rem;
    margin-top: 1.35rem;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.88);
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.35rem;
    font-size: 0.92rem;
    color: rgba(226, 232, 240, 0.78);
}

.blog-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.blog-breadcrumb a:hover,
.blog-breadcrumb--dark a:hover {
    color: rgba(191, 219, 254, 1);
}

.blog-breadcrumb--dark {
    color: rgba(226, 232, 240, 0.72);
}

.blog-hero-panel,
.blog-panel,
.blog-article-card {
    border: 1px solid var(--blog-border);
    border-radius: 1.5rem;
    box-shadow: var(--blog-shadow-soft);
}

.blog-hero-panel {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    border-color: rgba(255, 255, 255, 0.12);
}

.blog-hero-panel h2 {
    margin: 0.5rem 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.blog-hero-panel ul {
    display: grid;
    gap: 0.75rem;
}

.blog-hero-panel li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(226, 232, 240, 0.92);
}

.blog-content-section,
.blog-post-shell {
    padding: 4.25rem 0 5rem;
    background: var(--blog-content-bg);
}

.blog-sidebar-stack {
    display: grid;
    gap: 1.25rem;
    align-content: start;
    min-height: 100%;
}

.blog-page aside {
    align-self: flex-start;
}

.blog-post-shell aside {
    align-self: stretch;
}

.blog-sidebar-sticky {
    height: 100%;
}

.blog-post-shell .blog-sidebar-sticky {
    position: static;
    top: auto;
    height: 100%;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.blog-sidebar-reading-sticky {
    display: grid;
    gap: 1.25rem;
    position: sticky;
    top: 7.25rem;
    max-height: calc(100vh - 8.25rem);
    overflow-y: auto;
    padding-right: 0.15rem;
    scrollbar-width: thin;
}

.blog-page--article {
    scroll-margin-top: 7rem;
}

.blog-panel,
.blog-article-card {
    padding: 1.5rem;
    background: var(--blog-surface-soft);
}

.blog-panel-head {
    margin-bottom: 1rem;
}

.blog-panel h2,
.blog-main-head h2 {
    margin: 0.38rem 0 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
    color: var(--blog-ink);
}

.blog-page aside .blog-panel-head {
    margin-bottom: 0.85rem;
}

.blog-page aside .blog-section-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: var(--blog-muted-soft);
}

.blog-page aside .blog-panel h2 {
    margin-top: 0.2rem;
    font-size: 0.92rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--blog-ink-soft);
}

.blog-page aside .blog-latest-title {
    font-size: 0.92rem;
    line-height: 1.3;
}

.blog-page aside .blog-latest-meta {
    font-size: 0.76rem;
}

.blog-panel p,
.blog-empty,
.blog-card-body p,
.blog-main-head p,
.blog-post-meta,
.blog-article-body {
    color: var(--blog-muted);
}

.blog-panel-accent {
    background: linear-gradient(160deg, rgba(var(--brand-primary-rgb), 0.08), rgba(255, 255, 255, 0.98));
}

.blog-subscribe-pill {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem;
    border: 1px solid var(--blog-border);
    border-radius: 1.4rem;
    background: var(--blog-surface-soft);
    box-shadow: var(--blog-shadow-soft);
}

.blog-subscribe-pill h2 {
    margin: -0.2rem 0 0;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--blog-ink);
}

.blog-subscribe-pill p,
.blog-subscribe-pill-note {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--blog-muted);
}

.blog-subscribe-pill-form {
    display: grid;
    gap: 0.75rem;
}

.blog-subscribe-pill-input.form-control {
    min-height: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--blog-border-strong);
    background: var(--blog-surface);
    color: var(--blog-ink);
    padding-inline: 0.95rem;
    font-size: 0.95rem;
    box-shadow: none;
}

.blog-subscribe-pill-input.form-control::placeholder {
    color: var(--blog-muted-soft);
}

.blog-subscribe-pill-input.form-control:focus {
    border-color: rgba(var(--brand-primary-rgb), 0.32);
    box-shadow: 0 0 0 0.2rem rgba(var(--brand-primary-rgb), 0.08);
}

.blog-subscribe-pill-button {
    min-height: 3rem;
    border: 0;
    border-radius: 1rem;
    background: #2447d6;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.blog-subscribe-pill-button:hover,
.blog-subscribe-pill-button:focus {
    background: #1f3dc1;
    color: #fff;
}

.blog-subscribe-pill-note {
    font-size: 0.78rem;
}

.blog-category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.blog-category-cloud--sidebar {
    margin-bottom: 1rem;
}

.blog-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--blog-border);
    background: var(--blog-surface);
    color: var(--blog-ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-category-pill small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    font-size: 0.72rem;
    font-weight: 700;
}

.blog-category-pill:hover,
.blog-category-pill.is-active {
    transform: translateY(-1px);
    color: var(--brand-primary);
    border-color: rgba(var(--brand-primary-rgb), 0.24);
    box-shadow: 0 10px 22px rgba(var(--brand-primary-rgb), 0.12);
}

.blog-category-pill--sidebar {
    padding: 0.62rem 0.9rem;
    background: rgba(var(--brand-primary-rgb), 0.08);
    border-color: rgba(var(--brand-primary-rgb), 0.16);
    color: var(--brand-primary);
    font-size: 0.84rem;
    font-weight: 700;
}

.blog-latest-list {
    display: grid;
    gap: 0.95rem;
}

.blog-latest-item {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    padding: 0.4rem;
    border-radius: 1rem;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-latest-item:hover {
    background: var(--blog-hover-soft);
    transform: translateX(2px);
}

.blog-latest-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    overflow: hidden;
    flex: 0 0 auto;
    background: var(--blog-latest-thumb-bg);
    color: var(--brand-primary);
}

.blog-latest-thumb img,
.blog-card-media img,
.blog-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-latest-title {
    margin: 0;
    font-weight: 700;
    line-height: 1.35;
    color: var(--blog-ink);
}

.blog-latest-meta,
.blog-card-meta {
    margin: 0;
    font-size: 0.86rem;
    color: var(--blog-muted);
}

.blog-main-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--blog-border);
    border-radius: 1.6rem;
    background: var(--blog-surface);
    box-shadow: var(--blog-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--brand-primary-rgb), 0.18);
    box-shadow: var(--blog-shadow);
}

.blog-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--blog-card-media-bg);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(var(--brand-primary-rgb), 0.82);
    font-size: 2rem;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.blog-card-meta a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
}

.blog-card-separator {
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: rgba(91, 107, 128, 0.55);
}

.blog-card h3 {
    margin: 0.9rem 0 0.8rem;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 800;
}

.blog-card h3 a,
.blog-link {
    text-decoration: none;
}

.blog-card h3 a {
    color: var(--blog-ink);
}

.blog-card h3 a:hover,
.blog-link:hover {
    color: var(--brand-primary);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    font-weight: 700;
    color: var(--brand-primary);
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 2rem;
}

.blog-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 2.9rem;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--blog-border);
    background: var(--blog-surface);
    color: var(--blog-ink);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-page-link:hover,
.blog-page-link.is-active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.blog-empty-state {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px dashed var(--blog-border-strong);
    border-radius: 1.4rem;
    background: var(--blog-surface-soft);
}

.blog-empty-state i {
    font-size: 1.5rem;
    color: var(--brand-primary);
}

.blog-newsletter-card {
    max-width: 56rem;
    margin-inline: auto;
    padding: clamp(1rem, 1.8vw, 1.35rem);
    border-radius: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, #2447d6 0%, #3157ee 50%, #2a49d1 100%);
    box-shadow: 0 18px 40px rgba(37, 70, 214, 0.16);
}

.blog-newsletter-wrap {
    margin-top: 2rem;
}

.blog-newsletter-section {
    padding: 0 0 4.25rem;
    background: var(--blog-newsletter-section-bg);
}

.blog-newsletter-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 2rem;
    background: var(--blog-divider);
}

.blog-newsletter-head {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.blog-newsletter-icon,
.blog-newsletter-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.82rem;
}

.blog-newsletter-kicker {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(219, 234, 254, 0.88);
}

.blog-newsletter-card h2 {
    margin: 0.35rem 0 0;
    font-size: clamp(0.98rem, 1.35vw, 1.14rem);
    line-height: 1.22;
    font-weight: 800;
    color: #fff;
}

.blog-newsletter-card p,
.blog-newsletter-note {
    color: rgba(226, 232, 240, 0.9);
}

.blog-newsletter-card p {
    margin: 0.45rem 0 0;
    max-width: 31rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.blog-newsletter-quote {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    justify-content: flex-end;
}

.blog-newsletter-quote p {
    margin-top: 0;
    max-width: 13.5rem;
    font-size: 0.68rem;
    line-height: 1.5;
}

.blog-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}

.blog-newsletter-input.form-control {
    min-height: 3rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-inline: 0.95rem;
    font-size: 0.84rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.blog-newsletter-input.form-control::placeholder {
    color: rgba(226, 232, 240, 0.72);
}

.blog-newsletter-input.form-control:focus {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.14);
}

.blog-newsletter-button {
    min-height: 3rem;
    padding: 0 1rem;
    border-radius: 0.8rem;
    background: #fff;
    color: #2447d6;
    font-size: 0.8rem;
    font-weight: 800;
    border: 0;
    white-space: nowrap;
}

.blog-newsletter-button:hover,
.blog-newsletter-button:focus {
    background: #eff5ff;
    color: #1f3dc1;
}

.blog-newsletter-note {
    margin-top: 0.75rem;
    font-size: 0.7rem;
}

.blog-post-header {
    max-width: 52rem;
}

.blog-post-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    background: rgba(191, 219, 254, 0.14);
    border: 1px solid rgba(191, 219, 254, 0.22);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.1rem;
    color: rgba(226, 232, 240, 0.82);
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.blog-article-card {
    padding: 0;
    overflow: hidden;
    background: var(--blog-surface);
    box-shadow: var(--blog-shadow);
}

.blog-article-cover {
    aspect-ratio: 16 / 8;
    background: var(--blog-card-media-bg);
}

.blog-article-body {
    padding: clamp(1.4rem, 3vw, 2.6rem);
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--blog-muted);
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--blog-ink);
    font-weight: 800;
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol,
.blog-article-body blockquote {
    margin-bottom: 1.1rem;
}

.blog-article-body strong,
.blog-article-body b,
.blog-article-body th,
.blog-article-body dt {
    color: var(--blog-ink);
}

.blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.blog-article-body a {
    color: var(--brand-primary);
}

.blog-article-body blockquote {
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--brand-primary);
    border-radius: 0 1rem 1rem 0;
    background: var(--blog-quote-bg);
}

.blog-article-body blockquote > *:last-child {
    margin-bottom: 0;
}

.blog-article-body code {
    padding: 0.12rem 0.38rem;
    border-radius: 0.45rem;
    background: var(--blog-inline-code-bg);
    color: var(--blog-ink);
    font-size: 0.92em;
}

.blog-article-body pre {
    margin-bottom: 1.3rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: var(--blog-pre-bg);
    color: var(--blog-pre-ink);
    overflow-x: auto;
    box-shadow: inset 0 0 0 1px var(--blog-border);
}

.blog-article-body pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.blog-article-body hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid var(--blog-border);
    opacity: 1;
}

.blog-article-body table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    color: var(--blog-muted);
    overflow: hidden;
    border-radius: 1rem;
}

.blog-article-body thead th {
    background: var(--blog-table-head-bg);
}

.blog-article-body th,
.blog-article-body td {
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--blog-border);
    text-align: left;
    vertical-align: top;
}

.blog-article-body tbody tr {
    background: var(--blog-table-row-bg);
}

.blog-post-reading-end {
    margin-top: 2rem;
}

.blog-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.4rem;
}

.blog-post-nav-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 8.5rem;
    padding: 1.45rem 1.5rem;
    border: 1px solid var(--blog-border);
    border-radius: 1.4rem;
    background: var(--blog-surface-soft);
    box-shadow: var(--blog-shadow-soft);
    color: var(--blog-ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-post-nav-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--brand-primary-rgb), 0.18);
    box-shadow: var(--blog-shadow);
}

.blog-post-nav-card--next {
    text-align: right;
    align-items: flex-end;
}

.blog-post-nav-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blog-muted-soft);
}

.blog-post-nav-card h3,
.blog-post-related h2 {
    margin: 0;
    color: var(--blog-ink);
}

.blog-post-nav-card h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 700;
}

.blog-post-related-head {
    margin-bottom: 1.25rem;
}

.blog-post-related h2 {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
}

.blog-back-to-top,
.clemax-scroll-top-control {
    position: fixed;
    right: clamp(1rem, 2vw, 1.6rem);
    bottom: calc(clamp(1rem, 2vw, 1.6rem) + env(safe-area-inset-bottom, 0px));
    z-index: 2147483000;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    color: #fff;
    background: rgba(var(--brand-primary-rgb), 0.94);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.28);
    text-decoration: none;
    opacity: 0.92;
    visibility: visible !important;
    backdrop-filter: blur(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
    transform: translateZ(0);
}

.blog-back-to-top:hover,
.blog-back-to-top:focus,
.clemax-scroll-top-control:hover,
.clemax-scroll-top-control:focus {
    color: #fff;
    background: rgba(var(--brand-primary-rgb), 0.9);
    opacity: 1;
    transform: translateY(-2px);
}

.blog-back-to-top i,
.clemax-scroll-top-control i {
    font-size: 1.65rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .blog-hero,
        .blog-post-hero {
            padding-top: 4.75rem;
        }

    .blog-sidebar-sticky {
            position: static;
        }

    .blog-post-shell aside {
            position: static;
            max-height: none;
            overflow: visible;
            padding-right: 0;
        }

    .blog-post-shell .blog-sidebar-sticky {
            max-height: none;
            overflow: visible;
            padding-right: 0;
        }

    .blog-sidebar-reading-sticky {
            position: static;
            max-height: none;
            overflow: visible;
            padding-right: 0;
        }

    .blog-hero--simple {
            padding-top: 2.85rem;
        }

    .blog-post-hero.blog-hero--simple {
            padding-top: 2.85rem;
        }

    .blog-main-head {
            align-items: flex-start;
            flex-direction: column;
        }

    .blog-newsletter-card {
            max-width: 100%;
        }

    .blog-post-nav {
            grid-template-columns: 1fr;
        }

    .blog-post-nav-card--next {
            text-align: left;
            align-items: flex-start;
        }
}

@media (max-width: 767.98px) {
    .blog-content-section,
        .blog-post-shell {
            padding-top: 3.25rem;
        }

    .blog-hero--simple {
            padding: 2.4rem 0 2rem;
        }

    .blog-post-hero.blog-hero--simple {
            padding: 2.4rem 0 2rem;
        }

    .blog-panel,
        .blog-hero-panel,
        .blog-card-body {
            padding: 1.2rem;
        }

    .blog-back-to-top {
            right: 0.85rem;
            bottom: 0.85rem;
            width: 2.65rem;
            height: 2.65rem;
        }

    .blog-latest-thumb {
            width: 3.35rem;
            height: 3.35rem;
            border-radius: 0.85rem;
        }

    .blog-page-link {
            min-width: 2.65rem;
            padding-inline: 0.85rem;
        }

    .blog-newsletter-head,
        .blog-newsletter-quote {
            gap: 0.8rem;
        }

    .blog-newsletter-section {
            padding-bottom: 3.5rem;
        }

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

    .blog-newsletter-button {
            width: 100%;
        }
}

.legal-page {
    padding: clamp(2.5rem, 5vw, 4rem) 0 4rem;
    background: var(--bs-secondary-bg);
}

.legal-page__container {
    max-width: 1024px;
}

.legal-page__frame {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.4rem, 2vw, 2.4rem);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

.legal-page__header {
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.08);
}

.legal-page__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(var(--bs-emphasis-color-rgb), 0.55);
}

.legal-page__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 1.95rem);
    line-height: 1.2;
    font-weight: 650;
    color: var(--bs-emphasis-color);
}

.legal-page__effective-date {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    color: rgba(var(--bs-emphasis-color-rgb), 0.56);
}

.legal-page__summary {
    max-width: 50rem;
    margin: 0.95rem 0 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(var(--bs-emphasis-color-rgb), 0.72);
}

.legal-page__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.2rem 0 1.75rem;
}

.legal-page__nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.8rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
    color: rgba(var(--bs-emphasis-color-rgb), 0.72);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.legal-page__nav-link:hover,
.legal-page__nav-link:focus-visible {
    color: var(--bs-emphasis-color);
    border-color: rgba(var(--brand-primary-rgb), 0.22);
    background: var(--bs-body-bg);
}

.legal-page__nav-link[aria-current="page"] {
    color: var(--bs-emphasis-color);
    border-color: rgba(var(--brand-primary-rgb), 0.24);
    background: var(--bs-secondary-bg);
}

.legal-page__content {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(var(--bs-emphasis-color-rgb), 0.84);
}

.legal-page__intro {
    margin-bottom: 1.55rem;
}

.legal-page__section + .legal-page__section {
    margin-top: 1.65rem;
    padding-top: 1.55rem;
    border-top: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.08);
}

.legal-page__section h2 {
    margin: 0 0 0.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(var(--bs-emphasis-color-rgb), 0.92);
}

.legal-page__section h3 {
    margin: 1.15rem 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(var(--bs-emphasis-color-rgb), 0.72);
}

.legal-page__content p,
.legal-page__content ul,
.legal-page__content ol {
    margin: 0 0 0.95rem;
}

.legal-page__content ul,
.legal-page__content ol {
    padding-left: 1.15rem;
}

.legal-page__content li + li {
    margin-top: 0.35rem;
}

.legal-page__content a {
    color: inherit;
    text-underline-offset: 0.2em;
}

.legal-page__note {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.08);
    border-radius: 0.85rem;
    background: var(--bs-secondary-bg);
}

.legal-page__quote {
    padding: 0.9rem 1rem;
    border-left: 2px solid rgba(var(--brand-primary-rgb), 0.18);
    background: var(--bs-secondary-bg);
    border-radius: 0 0.75rem 0.75rem 0;
}

@media (max-width: 767.98px) {
    .legal-page {
            padding: 2rem 0 3rem;
        }

    .legal-page__frame {
            padding: 1.2rem;
            border-radius: 0.85rem;
        }

    .legal-page__nav {
            gap: 0.45rem;
        }

    .legal-page__nav-link {
            width: 100%;
        }
}

.support-faq-page {
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

.support-faq-page a {
    text-underline-offset: 0.16em;
}

.support-faq-hero,
.support-faq-panel,
.support-faq-section {
    background: var(--bs-body-bg);
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.08);
    border-radius: 1.2rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.support-faq-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    background:
        radial-gradient(circle at top right, rgba(var(--brand-primary-rgb), 0.11), rgba(var(--brand-primary-rgb), 0) 36%),
        linear-gradient(180deg, var(--bs-body-bg) 0%, var(--bs-secondary-bg) 100%);
}

.support-faq-eyebrow,
.support-faq-panel-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-primary);
}

.support-faq-title {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--home-sales-deep);
}

.support-faq-lead {
    max-width: 40rem;
    margin: 0.95rem 0 0;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(var(--bs-emphasis-color-rgb), 0.74);
}

.support-faq-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.support-faq-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.14);
    border-radius: 999px;
    background: rgba(var(--brand-primary-rgb), 0.05);
    color: rgba(var(--bs-emphasis-color-rgb), 0.82);
    font-size: 0.84rem;
    font-weight: 700;
}

.support-faq-highlight-list {
    display: grid;
    gap: 0.85rem;
}

.support-faq-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.08);
    border-radius: 1rem;
    background: rgba(var(--bs-body-bg-rgb), 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.support-faq-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    font-size: 1rem;
}

.support-faq-highlight h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--home-sales-deep);
}

.support-faq-highlight p,
.support-faq-panel-copy,
.support-faq-section-head p,
.support-faq-accordion .accordion-body {
    margin: 0.35rem 0 0;
    color: rgba(var(--bs-emphasis-color-rgb), 0.74);
    line-height: 1.75;
}

.support-faq-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 1.4rem;
    margin-top: 1.5rem;
}

.support-faq-sidebar,
.support-faq-content {
    display: grid;
    gap: 1.1rem;
}

.support-faq-panel,
.support-faq-section {
    padding: 1.25rem;
}

.support-faq-panel--sticky {
    position: sticky;
    top: 1.4rem;
}

.support-faq-nav {
    display: grid;
    gap: 0.55rem;
}

.support-faq-search {
    margin-bottom: 0.9rem;
}

.support-faq-search__field {
    position: relative;
}

.support-faq-search__field i {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: rgba(var(--bs-emphasis-color-rgb), 0.45);
    pointer-events: none;
}

.support-faq-search__field .form-control {
    min-height: 2.9rem;
    padding: 0.75rem 0.9rem 0.75rem 2.6rem;
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.08);
    border-radius: 0.9rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-emphasis-color);
    font-size: 0.92rem;
    box-shadow: none;
}

.support-faq-search__field .form-control::placeholder {
    color: rgba(var(--bs-emphasis-color-rgb), 0.5);
}

.support-faq-search__field .form-control:focus {
    border-color: rgba(var(--brand-primary-rgb), 0.22);
    background: var(--bs-body-bg);
    box-shadow: 0 0 0 0.22rem rgba(var(--brand-primary-rgb), 0.1);
}

.support-faq-nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.08);
    border-radius: 0.9rem;
    background: var(--bs-tertiary-bg);
    color: rgba(var(--bs-emphasis-color-rgb), 0.84);
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.support-faq-nav a:hover,
.support-faq-nav a:focus-visible {
    color: var(--bs-emphasis-color);
    border-color: rgba(var(--brand-primary-rgb), 0.22);
    background: rgba(var(--brand-primary-rgb), 0.04);
    transform: translateY(-1px);
}

.support-faq-actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.support-faq-actions .btn {
    width: 100%;
    justify-content: center;
}

.support-faq-section {
    scroll-margin-top: 7rem;
}

.support-faq-section-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    align-items: start;
    margin-bottom: 1.15rem;
}

.support-faq-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(var(--brand-primary-rgb), 0.09);
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 800;
}

.support-faq-section-head h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--home-sales-deep);
}

.support-faq-accordion {
    display: grid;
    gap: 0.8rem;
}

.support-faq-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.08);
    border-radius: 1rem;
    background: var(--bs-body-bg);
}

.support-faq-accordion .accordion-header {
    margin: 0;
}

.support-faq-accordion .accordion-button {
    align-items: center;
    padding: 1rem 1.15rem;
    background: transparent;
    color: var(--home-sales-deep);
    font-size: 0.99rem;
    font-weight: 700;
    line-height: 1.45;
    box-shadow: none;
}

.support-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(var(--brand-primary-rgb), 0.04);
    color: var(--home-sales-deep);
}

.support-faq-accordion .accordion-button:focus {
    box-shadow: inset 0 0 0 1px rgba(var(--brand-primary-rgb), 0.18);
}

.support-faq-accordion .accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    opacity: 0.72;
}

.support-faq-accordion .accordion-body {
    padding: 0 1.15rem 1.1rem;
    font-size: 0.95rem;
}

.support-faq-empty {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px dashed rgba(var(--bs-emphasis-color-rgb), 0.12);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    color: rgba(var(--bs-emphasis-color-rgb), 0.78);
}

.support-faq-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.95rem;
    background: rgba(var(--brand-primary-rgb), 0.08);
    color: var(--brand-primary);
    font-size: 1rem;
    flex: 0 0 auto;
}

.support-faq-empty h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--home-sales-deep);
}

.support-faq-empty p {
    margin: 0.35rem 0 0;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .support-faq-layout {
            grid-template-columns: 1fr;
        }

    .support-faq-panel--sticky {
            position: static;
        }
}

@media (max-width: 767.98px) {
    .support-faq-hero,
        .support-faq-panel,
        .support-faq-section {
            border-radius: 1rem;
        }

    .support-faq-panel,
        .support-faq-section {
            padding: 1rem;
        }

    .support-faq-section-head {
            grid-template-columns: 1fr;
            gap: 0.75rem;
        }

    .support-faq-section-kicker {
            width: 2.2rem;
            height: 2.2rem;
        }

    .support-faq-accordion .accordion-button {
            padding: 0.95rem 1rem;
            font-size: 0.96rem;
        }

    .support-faq-accordion .accordion-body {
            padding: 0 1rem 1rem;
        }
}

.shop-payment-invoice-page {
    max-width: 1180px;
}

.shop-payment-invoice-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.shop-payment-invoice-action-icons {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    margin-left: auto;
}

.shop-payment-invoice-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.38rem;
    height: 2.38rem;
    padding: 0;
    border-radius: 0.72rem;
}

.shop-payment-invoice-action-btn i {
    font-size: 1rem;
    line-height: 1;
}

.shop-payment-invoice {
    display: grid;
    gap: 1.35rem;
    padding: clamp(1.25rem, 2.8vw, 2.1rem);
    border: 1px solid rgba(15, 39, 77, 0.1);
    border-radius: 1.1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
        radial-gradient(circle at 100% 0%, rgba(var(--brand-primary-rgb), 0.08), transparent 20rem);
    box-shadow: 0 22px 48px rgba(12, 26, 58, 0.08);
}

.shop-payment-invoice__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: flex-start;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(15, 39, 77, 0.08);
}

.shop-payment-invoice__identity {
    min-width: 0;
}

.shop-payment-invoice__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.95rem;
    color: #102133;
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.25;
}

.shop-payment-invoice__brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.32rem 0.5rem;
    border: 1px solid rgba(15, 39, 77, 0.08);
    border-radius: 0.72rem;
    background: #ffffff;
}

.shop-payment-invoice__brand-logo img {
    display: block;
    width: 9rem;
    max-width: 42vw;
    height: auto;
}

.shop-payment-invoice__eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    color: #186ef2;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-payment-invoice h1,
.shop-payment-invoice h2 {
    margin: 0;
    color: #102133;
    line-height: 1.08;
}

.shop-payment-invoice h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
}

.shop-payment-invoice h2 {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 850;
}

.shop-payment-invoice__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    margin-top: 0.85rem;
    color: #5f7087;
    font-size: 0.94rem;
    line-height: 1.45;
}

.shop-payment-invoice__meta span {
    display: inline-flex;
    gap: 0.28rem;
}

.shop-payment-invoice__meta strong {
    color: #102133;
}

.shop-payment-invoice__status {
    display: grid;
    justify-items: end;
    gap: 0.5rem;
    color: #102133;
    text-align: right;
}

.shop-payment-invoice__status strong {
    font-size: clamp(1.4rem, 2.8vw, 2.15rem);
    font-weight: 850;
    line-height: 1;
}

.shop-payment-invoice__top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
    gap: 0.95rem;
}

.shop-payment-invoice__info-card {
    display: grid;
    align-content: start;
    gap: 0.26rem;
    min-height: 9.5rem;
    padding: 1rem;
    border: 1px solid rgba(15, 39, 77, 0.08);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.78);
}

.shop-payment-invoice__info-card p {
    margin: 0;
    color: #48566f;
    font-size: 0.98rem;
    line-height: 1.45;
}

.shop-payment-invoice__contact-name {
    margin-top: 0.45rem !important;
    color: #102133 !important;
    font-size: 1.1rem !important;
    font-weight: 750;
}

.shop-payment-invoice__lines {
    display: grid;
    gap: 0.9rem;
    padding-top: 0.2rem;
}

.shop-payment-invoice__section-head {
    display: grid;
    gap: 0.15rem;
}

.shop-payment-invoice__table {
    border: 1px solid rgba(15, 39, 77, 0.08);
    border-radius: 0.85rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
}

.shop-payment-invoice__table .table {
    width: 100%;
    min-width: 680px;
    table-layout: fixed;
}

.shop-payment-invoice__table th,
.shop-payment-invoice__table td {
    padding: 0.95rem 1rem;
}

.shop-payment-invoice__table thead th {
    color: rgba(15, 39, 77, 0.72);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.shop-payment-invoice__table tbody td {
    border-top-color: rgba(15, 39, 77, 0.08);
    color: #102133;
    font-size: 0.95rem;
}

.shop-payment-invoice__table th:nth-child(1),
.shop-payment-invoice__table td:nth-child(1) {
    width: 42%;
}

.shop-payment-invoice__table th:nth-child(2),
.shop-payment-invoice__table td:nth-child(2) {
    width: 12%;
}

.shop-payment-invoice__table th:nth-child(3),
.shop-payment-invoice__table td:nth-child(3),
.shop-payment-invoice__table th:nth-child(4),
.shop-payment-invoice__table td:nth-child(4) {
    width: 23%;
    white-space: nowrap;
}

.shop-payment-invoice__footer {
    display: grid;
    justify-items: end;
    gap: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 39, 77, 0.08);
}

.shop-payment-invoice__totals {
    width: min(100%, 25rem);
}

.shop-payment-invoice__totals h2 {
    margin-bottom: 0.85rem;
}

.shop-payment-invoice__totals dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.62rem 1.3rem;
    margin: 0;
}

.shop-payment-invoice__totals dt {
    color: #48566f;
    font-size: 0.94rem;
    font-weight: 700;
}

.shop-payment-invoice__totals dd {
    margin: 0;
    color: #102133;
    font-size: 0.98rem;
    font-weight: 760;
    text-align: right;
    white-space: nowrap;
}

.shop-payment-invoice__due-label,
.shop-payment-invoice__due {
    margin-top: 0.4rem;
    padding-top: 0.78rem;
    border-top: 1px solid rgba(15, 39, 77, 0.1);
}

.shop-payment-invoice__due {
    color: #143768 !important;
    font-size: 1.18rem !important;
    font-weight: 850 !important;
}

.shop-payment-invoice__legal {
    width: 100%;
    color: #7b8798;
    font-size: 0.64rem;
    line-height: 1.35;
    text-align: center;
}

.shop-payment-invoice__legal div {
    color: inherit;
}

:root[data-bs-theme="dark"] .shop-payment-invoice {
    border-color: rgba(148, 163, 184, 0.16);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(12, 20, 36, 0.96)),
        radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.16), transparent 20rem);
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.34);
}

:root[data-bs-theme="dark"] .shop-payment-invoice__header,
:root[data-bs-theme="dark"] .shop-payment-invoice__footer,
:root[data-bs-theme="dark"] .shop-payment-invoice__due-label,
:root[data-bs-theme="dark"] .shop-payment-invoice__due {
    border-color: rgba(148, 163, 184, 0.16);
}

:root[data-bs-theme="dark"] .shop-payment-invoice h1,
:root[data-bs-theme="dark"] .shop-payment-invoice h2,
:root[data-bs-theme="dark"] .shop-payment-invoice__meta strong,
:root[data-bs-theme="dark"] .shop-payment-invoice__status,
:root[data-bs-theme="dark"] .shop-payment-invoice__brand,
:root[data-bs-theme="dark"] .shop-payment-invoice__contact-name,
:root[data-bs-theme="dark"] .shop-payment-invoice__table tbody td,
:root[data-bs-theme="dark"] .shop-payment-invoice__totals dd {
    color: #f8fbff !important;
}

:root[data-bs-theme="dark"] .shop-payment-invoice__eyebrow {
    color: #8fc0ff;
}

:root[data-bs-theme="dark"] .shop-payment-invoice__meta,
:root[data-bs-theme="dark"] .shop-payment-invoice__info-card p,
:root[data-bs-theme="dark"] .shop-payment-invoice__totals dt,
:root[data-bs-theme="dark"] .shop-payment-invoice__legal {
    color: rgba(203, 213, 225, 0.78);
}

:root[data-bs-theme="dark"] .shop-payment-invoice__info-card,
:root[data-bs-theme="dark"] .shop-payment-invoice__table,
:root[data-bs-theme="dark"] .shop-payment-invoice__brand-logo {
    border-color: rgba(148, 163, 184, 0.14);
}

:root[data-bs-theme="dark"] .shop-payment-invoice__info-card,
:root[data-bs-theme="dark"] .shop-payment-invoice__table {
    background: rgba(15, 23, 42, 0.62);
}

:root[data-bs-theme="dark"] .shop-payment-invoice__table thead th {
    color: rgba(226, 232, 240, 0.72);
}

:root[data-bs-theme="dark"] .shop-payment-invoice__table tbody td {
    border-top-color: rgba(148, 163, 184, 0.14);
}

:root[data-bs-theme="dark"] .shop-payment-invoice__due {
    color: #bfdbfe !important;
}

@media (max-width: 991.98px) {
    .shop-payment-invoice__header,
        .shop-payment-invoice__top-grid {
            grid-template-columns: 1fr;
        }

    .shop-payment-invoice__status {
            justify-items: start;
            text-align: left;
        }

    .shop-payment-invoice__info-card {
            min-height: 0;
        }
}

@media (max-width: 767.98px) {
    .shop-payment-invoice-actions {
            align-items: center;
        }

    .shop-payment-invoice {
            gap: 1.1rem;
            border-radius: 0.9rem;
        }

    .shop-payment-invoice__meta {
            display: grid;
            gap: 0.32rem;
        }

    .shop-payment-invoice__table .table {
            min-width: 620px;
        }

    .shop-payment-invoice__table th,
        .shop-payment-invoice__table td {
            padding: 0.82rem 0.78rem;
        }

    .shop-payment-invoice__footer {
            justify-content: stretch;
            justify-items: stretch;
        }

    .shop-payment-invoice__totals {
            width: 100%;
        }
}

.app-mini-cart-link {
    position: relative;
    transform-origin: center;
}

.app-mini-cart-link__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-mini-cart-link.is-animating {
    animation: appMiniCartJump 0.6s ease-out;
}

.app-mini-cart-link.is-animating .app-mini-cart-link__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.8);
    box-shadow: 0 0 0 2px rgba(var(--app-nav-accent), 0.5);
    opacity: 1;
    pointer-events: none;
    animation: appMiniCartRing 0.6s 0.15s ease-out forwards;
}

.app-mini-cart-badge {
    position: absolute;
    top: -0.4rem;
    right: -0.55rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #1f9d61;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.96);
}

.app-mini-cart-link.is-active {
    color: var(--bs-emphasis-color);
    background: rgba(var(--app-nav-accent), 0.08);
    box-shadow: inset 0 0 0 1px rgba(var(--app-nav-accent), 0.08);
}

.app-confirm-dialog .modal-dialog {
    max-width: 32rem;
}

.app-confirm-dialog__content {
    overflow: hidden;
    border: 1px solid rgba(15, 39, 77, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(15, 39, 77, 0.16);
}

.app-confirm-dialog__body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.45rem 1rem;
}

.app-confirm-dialog__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    border-radius: 1rem;
    background: rgba(185, 28, 28, 0.08);
    color: #b91c1c;
    font-size: 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.app-confirm-dialog--alert .app-confirm-dialog__icon {
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
}

.app-confirm-dialog__copy {
    min-width: 0;
}

.app-confirm-dialog__eyebrow {
    margin: 0 0 0.3rem;
    color: #4672c1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-confirm-dialog__title {
    margin: 0;
    color: #143768;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.app-confirm-dialog__message {
    margin: 0.55rem 0 0;
    color: rgba(36, 58, 90, 0.78);
    font-size: 0.95rem;
    line-height: 1.55;
}

.app-confirm-dialog__footer {
    padding: 0 1.45rem 1.4rem;
    border-top: 0;
    gap: 0.7rem;
}

.app-confirm-dialog__footer .btn {
    min-height: 2.75rem;
    padding-inline: 1rem;
    border-radius: 0.9rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.app-confirm-dialog__footer .btn-outline-secondary {
    border-color: rgba(15, 39, 77, 0.14);
    color: #35517d;
    background: rgba(248, 250, 252, 0.82);
}

.app-confirm-dialog__footer .btn-outline-secondary:hover,
.app-confirm-dialog__footer .btn-outline-secondary:focus {
    color: #143768;
    background: rgba(239, 244, 251, 0.98);
    border-color: rgba(15, 39, 77, 0.22);
}

@keyframes appMiniCartJump {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.14);
    }
    60% {
        transform: scale(0.96);
    }
    80% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes appMiniCartRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.app-shop-page {
    position: relative;
}

.app-shop-shell {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.app-shop-shell__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.app-shop-shell__eyebrow,
.app-shop-card__eyebrow {
    display: inline-block;
    color: #4672c1;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-shop-shell__title,
.app-shop-card__title {
    margin: 0;
    color: #143768;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.app-shop-shell__copy,
.app-shop-card__copy {
    color: rgba(36, 58, 90, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
}

.app-shop-shell__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.app-shop-card {
    border: 1px solid rgba(15, 39, 77, 0.08);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 55px rgba(15, 39, 77, 0.08);
}

.app-shop-card__header,
.app-shop-card__body,
.app-shop-card__footer {
    padding: 1.35rem 1.4rem;
}

.app-shop-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid rgba(15, 39, 77, 0.08);
}

.app-shop-card__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(68, 123, 203, 0.12);
    color: #254a83;
    font-size: 0.83rem;
    font-weight: 700;
    white-space: nowrap;
}

.app-shop-card__meta--count {
    gap: 0.5rem;
    padding: 0.4rem 0.55rem 0.4rem 0.4rem;
    background:
        linear-gradient(135deg, rgba(126, 211, 164, 0.3), rgba(92, 191, 145, 0.12)),
        rgba(255, 255, 255, 0.95);
    color: #1f5f4a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(82, 174, 132, 0.14);
}

.app-shop-card__meta-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 251, 247, 0.98));
    color: #17634b;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(82, 174, 132, 0.14);
}

.app-shop-card__meta-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.app-shop-card__footer {
    border-top: 1px solid rgba(15, 39, 77, 0.08);
}

.app-shop-cart-list {
    display: flex;
    flex-direction: column;
}

.app-shop-cart__row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) 112px 160px;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.4rem;
}

.app-shop-cart__row + .app-shop-cart__row {
    border-top: 1px solid rgba(15, 39, 77, 0.08);
}

.app-shop-cart__product {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    min-width: 0;
}

.app-shop-cart__product-icon {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 0.95rem;
    background: rgba(70, 114, 193, 0.12);
    color: #345fba;
    font-size: 1rem;
}

.app-shop-cart__product-title {
    color: #143768;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.app-shop-cart__product-meta {
    margin-top: 0.2rem;
    color: rgba(36, 58, 90, 0.7);
    font-size: 0.84rem;
    line-height: 1.45;
}

.app-shop-cart__qty {
    display: flex;
    justify-content: center;
}

.app-shop-cart__qty-input {
    width: 100%;
    min-width: 0;
    text-align: center;
    font-weight: 700;
}

.app-shop-cart__amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    text-align: right;
}

.app-shop-cart__amount-value {
    color: #143768;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.app-shop-cart__remove {
    font-size: 0.82rem;
    font-weight: 700;
}

.app-shop-summary-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem 1rem;
    margin: 0;
}

.app-shop-summary-list dt {
    color: rgba(36, 58, 90, 0.72);
    font-weight: 600;
}

.app-shop-summary-list dd {
    margin: 0;
    color: #143768;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.app-shop-summary-list__count-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    justify-self: end;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(126, 211, 164, 0.26), rgba(92, 191, 145, 0.12));
    color: #17634b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.app-shop-summary-list__total dt,
.app-shop-summary-list__total dd {
    color: #143768;
    font-size: 1.08rem;
}

.app-shop-cart__checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    min-height: 3.5rem;
    border: 0;
    border-radius: 1rem;
    color: #0f5132;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.015em;
    text-decoration: none;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 38%),
        linear-gradient(135deg, #bff3c9 0%, #9ae7b1 54%, #82dba0 100%);
    box-shadow:
        0 18px 34px rgba(84, 177, 129, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.app-shop-cart__checkout-button:hover,
.app-shop-cart__checkout-button:focus {
    color: #0c4a2e;
    text-decoration: none;
    transform: translateY(-1px);
    filter: saturate(1.03);
    box-shadow:
        0 22px 38px rgba(84, 177, 129, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.app-shop-cart__checkout-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.95rem;
    height: 1.95rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: #157347;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 6px 16px rgba(84, 177, 129, 0.18);
    font-size: 1rem;
}

.app-shop-checkout__next-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 3.15rem;
    padding-inline: 1.2rem;
    border: 0;
    border-radius: 0.95rem;
    color: #f0fdf4;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 36%),
        linear-gradient(135deg, #3fbf7a 0%, #2ea86a 58%, #208553 100%);
    box-shadow:
        0 18px 34px rgba(34, 120, 77, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.app-shop-checkout__next-button:hover,
.app-shop-checkout__next-button:focus-visible {
    color: #f0fdf4;
    transform: translateY(-1px);
    filter: saturate(1.04);
    box-shadow:
        0 22px 40px rgba(34, 120, 77, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.app-shop-checkout__next-button i {
    font-size: 1.15rem;
    line-height: 1;
}

.app-shop-empty-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.app-shop-empty-state__icon {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(70, 114, 193, 0.12);
    color: #345fba;
    font-size: 1.25rem;
}

.app-shop-checkout__progress {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.app-shop-checkout__progress-track {
    display: grid;
    gap: 0.85rem;
}

.app-shop-checkout__progress-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(15, 39, 77, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
}

.app-shop-checkout__progress-index {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef3fb;
    color: #6f7b91;
    font-size: 0.85rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.app-shop-checkout__progress-label {
    color: rgba(36, 58, 90, 0.78);
    font-size: 0.92rem;
    font-weight: 700;
}

.app-shop-checkout__progress-step.is-current,
.app-shop-checkout__progress-step.is-complete {
    border-color: rgba(31, 122, 224, 0.16);
}

.app-shop-checkout__progress-step.is-current {
    background: rgba(31, 122, 224, 0.06);
}

.app-shop-checkout__progress-step.is-current .app-shop-checkout__progress-index {
    background: #186ef2;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(24, 110, 242, 0.12);
}

.app-shop-checkout__progress-step.is-complete .app-shop-checkout__progress-index {
    background: #1f9d61;
    color: #fff;
}

.app-shop-checkout__progress-step.is-current .app-shop-checkout__progress-label,
.app-shop-checkout__progress-step.is-complete .app-shop-checkout__progress-label {
    color: #143768;
}

.app-shop-field-label {
    margin-bottom: 0.4rem;
    color: #143768;
    font-size: 0.83rem;
    font-weight: 700;
}

.app-shop-checkout__summary-items {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.app-shop-checkout__summary-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: flex-start;
}

.app-shop-checkout__summary-item-title {
    color: #143768;
    font-size: 0.94rem;
    font-weight: 800;
}

.app-shop-checkout__summary-item-meta {
    color: rgba(36, 58, 90, 0.72);
    font-size: 0.82rem;
    line-height: 1.4;
}

.app-shop-checkout__summary-item-price {
    color: #143768;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

:root[data-bs-theme="dark"] .app-mini-cart-badge {
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.95);
}

:root[data-bs-theme="dark"] .app-task-inbox__badge {
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.95);
}

:root[data-bs-theme="dark"] .app-task-inbox__menu {
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.46);
}

:root[data-bs-theme="dark"] .app-task-inbox__header,
:root[data-bs-theme="dark"] .app-task-inbox__footer {
    background: rgba(15, 23, 42, 0.98);
}

:root[data-bs-theme="dark"] .app-task-inbox__header,
:root[data-bs-theme="dark"] .app-task-inbox__footer,
:root[data-bs-theme="dark"] .app-task-inbox__item {
    border-color: rgba(148, 163, 184, 0.18);
}

:root[data-bs-theme="dark"] .app-confirm-dialog__content {
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

:root[data-bs-theme="dark"] .app-confirm-dialog__icon {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-bs-theme="dark"] .app-confirm-dialog--alert .app-confirm-dialog__icon {
    background: rgba(var(--brand-primary-rgb), 0.18);
    color: #bfdbfe;
}

:root[data-bs-theme="dark"] .app-confirm-dialog__eyebrow {
    color: #93c5fd;
}

:root[data-bs-theme="dark"] .app-confirm-dialog__title {
    color: #f8fbff;
}

:root[data-bs-theme="dark"] .app-confirm-dialog__message {
    color: rgba(226, 232, 240, 0.76);
}

:root[data-bs-theme="dark"] .app-confirm-dialog__footer .btn-outline-secondary {
    border-color: rgba(148, 163, 184, 0.24);
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.38);
}

:root[data-bs-theme="dark"] .app-confirm-dialog__footer .btn-outline-secondary:hover,
:root[data-bs-theme="dark"] .app-confirm-dialog__footer .btn-outline-secondary:focus {
    color: #f8fbff;
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(148, 163, 184, 0.34);
}

:root[data-bs-theme="dark"] .app-shop-card,
:root[data-bs-theme="dark"] .app-shop-checkout__progress-step {
    background: rgba(18, 29, 46, 0.92);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: none;
}

:root[data-bs-theme="dark"] .app-checkout-header-banner {
    border-color: rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(circle at top left, rgba(74, 222, 128, 0.18), rgba(74, 222, 128, 0) 36%),
        rgba(15, 23, 42, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 36px rgba(0, 0, 0, 0.24);
}

:root[data-bs-theme="dark"] .app-checkout-header-banner__eyebrow {
    color: #86efac;
}

:root[data-bs-theme="dark"] .app-checkout-header-banner__title {
    color: #f8fbff;
}

:root[data-bs-theme="dark"] .app-checkout-header-banner__copy {
    color: rgba(226, 232, 240, 0.72);
}

:root[data-bs-theme="dark"] .app-checkout-header-actions__link {
    border-color: rgba(148, 163, 184, 0.2);
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.5);
}

:root[data-bs-theme="dark"] .app-checkout-header-actions__link:hover,
:root[data-bs-theme="dark"] .app-checkout-header-actions__link:focus-visible {
    color: #f8fbff;
    background: rgba(30, 41, 59, 0.76);
    border-color: rgba(148, 163, 184, 0.3);
}

:root[data-bs-theme="dark"] .app-shop-shell__title,
:root[data-bs-theme="dark"] .app-shop-card__title,
:root[data-bs-theme="dark"] .app-shop-cart__product-title,
:root[data-bs-theme="dark"] .app-shop-cart__amount-value,
:root[data-bs-theme="dark"] .app-shop-summary-list dd,
:root[data-bs-theme="dark"] .app-shop-summary-list__total dt,
:root[data-bs-theme="dark"] .app-shop-summary-list__total dd,
:root[data-bs-theme="dark"] .app-shop-checkout__summary-item-title,
:root[data-bs-theme="dark"] .app-shop-checkout__summary-item-price,
:root[data-bs-theme="dark"] .app-shop-field-label {
    color: #f8fbff;
}

:root[data-bs-theme="dark"] .app-shop-shell__copy,
:root[data-bs-theme="dark"] .app-shop-card__copy,
:root[data-bs-theme="dark"] .app-shop-cart__product-meta,
:root[data-bs-theme="dark"] .app-shop-summary-list dt,
:root[data-bs-theme="dark"] .app-shop-checkout__summary-item-meta,
:root[data-bs-theme="dark"] .app-shop-checkout__progress-label {
    color: rgba(226, 232, 240, 0.72);
}

:root[data-bs-theme="dark"] .app-shop-card__header,
:root[data-bs-theme="dark"] .app-shop-card__footer,
:root[data-bs-theme="dark"] .app-shop-cart__row + .app-shop-cart__row {
    border-color: rgba(148, 163, 184, 0.16);
}

:root[data-bs-theme="dark"] .app-shop-card__meta {
    background: rgba(96, 165, 250, 0.14);
    color: #dbeafe;
}

:root[data-bs-theme="dark"] .app-shop-card__meta--count {
    background:
        linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(34, 197, 94, 0.08)),
        rgba(15, 23, 42, 0.88);
    color: #dcfce7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 14px 28px rgba(0, 0, 0, 0.22);
}

:root[data-bs-theme="dark"] .app-shop-card__meta-value {
    background: linear-gradient(180deg, rgba(22, 36, 27, 0.92), rgba(16, 28, 21, 0.96));
    color: #bbf7d0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

:root[data-bs-theme="dark"] .app-shop-summary-list__count-value {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.22), rgba(34, 197, 94, 0.08));
    color: #bbf7d0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-bs-theme="dark"] .app-shop-cart__checkout-button {
    color: #ecfdf5;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, #3fbf7a 0%, #2da567 54%, #228855 100%);
    box-shadow:
        0 18px 34px rgba(10, 61, 37, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

:root[data-bs-theme="dark"] .app-shop-cart__checkout-button:hover,
:root[data-bs-theme="dark"] .app-shop-cart__checkout-button:focus {
    color: #f0fdf4;
    box-shadow:
        0 22px 40px rgba(10, 61, 37, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

:root[data-bs-theme="dark"] .app-shop-cart__checkout-button-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #dcfce7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 18px rgba(0, 0, 0, 0.18);
}

:root[data-bs-theme="dark"] .app-shop-checkout__next-button {
    color: #f0fdf4;
    box-shadow:
        0 20px 38px rgba(10, 61, 37, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

:root[data-bs-theme="dark"] .app-shop-checkout__next-button:hover,
:root[data-bs-theme="dark"] .app-shop-checkout__next-button:focus-visible {
    box-shadow:
        0 24px 42px rgba(10, 61, 37, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

:root[data-bs-theme="dark"] .app-shop-cart__product-icon,
:root[data-bs-theme="dark"] .app-shop-empty-state__icon {
    background: rgba(59, 130, 246, 0.16);
    color: #dbeafe;
}

:root[data-bs-theme="dark"] .app-shop-checkout__progress-step.is-current {
    background: rgba(59, 130, 246, 0.12);
}

@media (min-width: 992px) {
    .app-shop-checkout__progress-track {
            grid-template-columns: repeat(var(--app-shop-progress-columns, 3), minmax(0, 1fr));
        }
}

@media (max-width: 991.98px) {
    .app-shop-shell__head,
        .app-shop-card__header {
            flex-direction: column;
        }

    .app-shop-card__meta {
            min-width: 0;
        }

    .app-checkout-header-banner {
            order: 3;
            width: 100%;
            justify-items: start;
            text-align: left;
        }

    .app-checkout-header-actions {
            margin-left: auto;
        }
}

@media (max-width: 767.98px) {
    .app-shop-cart__row {
            grid-template-columns: 1fr;
            align-items: flex-start;
        }

    .app-shop-cart__qty,
        .app-shop-cart__amount {
            justify-content: flex-start;
            align-items: flex-start;
            text-align: left;
        }
}

@media print {
    body > .app-navbar,
        body > footer {
            display: none !important;
        }

    main#global-holder {
            background: #ffffff !important;
        }

    .shop-payment-invoice-actions {
            display: none !important;
        }

    .app-shop-page.app-shop-checkout-page {
            padding: 0 !important;
            background: #ffffff !important;
        }

    .shop-payment-invoice-page,
        .shop-payment-invoice-page .row,
        .shop-payment-invoice-page [class*="col-"] {
            max-width: none !important;
            width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }

    .shop-payment-invoice {
            border-color: #d7dde8 !important;
            background: #ffffff !important;
            box-shadow: none !important;
        }

    .shop-payment-invoice__brand,
        .shop-payment-invoice__legal {
            color: #102133 !important;
        }
}
