:root {
    --app-bg: #f5f7fb;
    --app-panel: #ffffff;
    --app-ink: #17202a;
    --app-muted: #64748b;
    --app-border: #dbe3ee;
    --sidebar-bg: #0f766e;
    --sidebar-active: #f59e0b;
    --app-accent: #1657ef;
    --focus-ring: rgba(15, 118, 110, 0.22);
    --app-footer-height: 44px;
}

/* Enlaces externos: apariencia clara consistente */
body.public-light-theme {
    color-scheme: light !important;
    --app-bg: #f5f7fb;
    --app-panel: #ffffff;
    --app-ink: #17202a;
    --app-muted: #64748b;
    --app-border: #dbe3ee;
    background: #f5f7fb !important;
    color: #17202a !important;
}

body.public-light-theme :is(.catalog-public-shell, .product-public-shell, .box74-public-shell) {
    color: #17202a !important;
}

body.public-light-theme :is(.content-panel, .catalog-public-card, .order-public-item, .product-public-card) {
    background: #ffffff !important;
    border-color: #dbe3ee !important;
    color: #17202a !important;
}

body.public-light-theme :is(h1, h2, h3, h4, strong, .order-public-total, .table, .table td, .table th) {
    color: #17202a !important;
    text-shadow: none !important;
}

body.public-light-theme :is(p, span, small, .text-muted, .eyebrow, .product-public-eyebrow) {
    color: #64748b !important;
    text-shadow: none !important;
}

body.public-light-theme :is(.order-public-notes, .catalog-public-header, .table td, .table th) {
    border-color: #dbe3ee !important;
}

body.public-light-theme .table {
    --bs-table-bg: #ffffff;
    --bs-table-color: #17202a;
    --bs-table-border-color: #dbe3ee;
    --bs-table-hover-bg: #eef3f8;
    --bs-table-hover-color: #17202a;
}

body.public-light-theme .product-public-photo {
    background: #ffffff !important;
}

body.public-light-theme :is(.btn-primary, .btn-outline-primary) {
    background: #1657ef !important;
    border-color: #1657ef !important;
    color: #ffffff !important;
}

body.public-light-theme :is(.btn-primary, .btn-outline-primary) * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: var(--app-bg);
    color: var(--app-ink);
}

a {
    text-decoration: none;
}

.app-icon {
    width: 1.2rem;
    height: 1.2rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex: 0 0 auto;
}

.auth-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 30rem),
        linear-gradient(135deg, #f8fafc 0%, #eef4f9 100%);
}

.auth-panel {
    width: min(100%, 420px);
    border: 1px solid rgba(23, 32, 42, 0.09);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(23, 32, 42, 0.12);
}

.brand-mark,
.sidebar-brand {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sidebar-bg);
    color: #fff;
    font-weight: 700;
}

.text-muted-strong,
.text-muted {
    color: var(--app-muted) !important;
}

.admin-body {
    background: var(--app-bg);
    padding-bottom: var(--app-footer-height);
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 76px;
    padding: 16px 12px;
    background: var(--sidebar-bg);
    color: #fff;
    z-index: 1030;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-shadow: 12px 0 30px rgba(15, 118, 110, 0.15);
    max-height: 100dvh;
    overflow: hidden;
}

.admin-sidebar .sidebar-brand {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    flex: 0 0 auto;
}

.sidebar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.sidebar-link {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.84);
    border: 0;
    background: transparent;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sidebar-link:hover,
.sidebar-link:focus,
.sidebar-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.sidebar-link.is-active {
    box-shadow: inset 4px 0 0 var(--sidebar-active);
}

.sidebar-link:hover {
    transform: translateY(-1px);
}

.sidebar-link .app-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.sidebar-logout {
    margin-top: auto;
    flex: 0 0 auto;
}

.sidebar-button {
    cursor: pointer;
}

.admin-main {
    min-height: 100vh;
}

.admin-topbar {
    height: 76px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--app-border);
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(12px);
}

.admin-content {
    width: 100%;
    max-width: none;
    padding: 22px 16px calc(40px + var(--app-footer-height));
}

.app-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1010;
    min-height: var(--app-footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
    background: var(--app-panel);
    border-top: 1px solid var(--app-border);
    color: var(--app-muted);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.app-footer span {
    overflow-wrap: anywhere;
}

.scroll-top-button {
    position: fixed;
    right: 22px;
    bottom: calc(var(--app-footer-height) + 18px);
    z-index: 1045;
    width: 48px;
    height: 48px;
    border: 1px solid #1657ef;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1657ef !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
    background: #2f72ff !important;
    border-color: #2f72ff !important;
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(22, 87, 239, 0.34);
}

.scroll-top-button .app-icon {
    width: 1.35rem;
    height: 1.35rem;
    color: #fff !important;
    stroke: #fff !important;
}

.catalog-public-body {
    padding-bottom: var(--app-footer-height);
}

.eyebrow {
    color: var(--app-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.topbar-title {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
}

.user-chip {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #eef6f5;
    border: 1px solid #d1e7e4;
    border-radius: 8px;
    padding: 7px 10px;
    color: #115e59;
    font-weight: 600;
}

.user-chip-avatar {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sidebar-bg);
    color: #fff;
}

.user-chip-text {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.help-topbar-btn {
    color: #115e59;
    border-color: #d1e7e4;
    background: #eef6f5;
    font-weight: 800;
}

.back-topbar-btn {
    color: #334155;
    border-color: var(--app-border);
    background: #fff;
}

.back-topbar-btn:hover,
.back-topbar-btn:focus {
    color: #fff;
    border-color: var(--sidebar-bg);
    background: var(--sidebar-bg);
}

.help-topbar-btn:hover,
.help-topbar-btn:focus {
    color: #fff;
    border-color: var(--sidebar-bg);
    background: var(--sidebar-bg);
}

.content-panel {
    background: var(--app-panel);
    border: 1px solid var(--app-border);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 32, 42, 0.06);
}

.counterfall-calculator-panel {
    padding: 24px;
}

.counterfall-calculator-panel .price-code-section {
    padding: 18px;
}

.counterfall-calculator-panel .price-code-rule span {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.55;
}

.department-heading {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #aeb7c2;
}

.department-heading h2 {
    margin: 0 0 6px;
    color: var(--app-ink);
    font-size: clamp(1.8rem, 3.2vw, 2.25rem);
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}

.department-heading p {
    margin: 0;
    color: var(--app-muted);
    font-size: 0.95rem;
}

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

.department-card {
    min-width: 0;
    min-height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    border: 1px solid #7f8a96;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-align: center;
    box-shadow: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.department-card:hover,
.department-card:focus {
    border-color: var(--sidebar-bg);
    background: var(--sidebar-bg);
    color: #fff;
    transform: translateY(-1px);
}

.department-card h3 {
    margin: 0;
    color: var(--app-ink);
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.department-card:hover h3,
.department-card:focus h3 {
    color: #fff;
}

.department-card p {
    margin: 0;
    color: #020617;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.department-card:hover p,
.department-card:focus p {
    color: #fff;
}

.page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus-visible {
    border-color: var(--sidebar-bg);
    box-shadow: 0 0 0 0.2rem var(--focus-ring);
}

.table {
    margin-bottom: 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table thead th {
    color: var(--app-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom-color: var(--app-border);
}

.table th,
.table td {
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

.table-actions {
    display: inline-flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.action-icon-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-icon-btn .app-icon {
    width: 1rem;
    height: 1rem;
}

.action-icon-btn.is-copied {
    border-color: #86efac;
    background: #dcfce7;
    color: #166534;
}

.status-badge {
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 0.78rem;
}

.status-badge.is-active {
    color: #166534;
    background: #dcfce7;
}

.status-badge.is-blocked {
    color: #991b1b;
    background: #fee2e2;
}

.status-badge.is-neutral {
    color: #334155;
    background: #e2e8f0;
}


.product-inventory-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.product-inventory-list-large {
    gap: 8px;
}

.inventory-part-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    border-radius: 0;
}

.inventory-part-badge b,
.inventory-part-chip b {
    font-weight: 900;
}

.product-showcase-inventory {
    padding-top: 5px;
    border-top: 1px solid #e5e7eb;
}

.product-showcase-inventory .status-badge {
    padding: 4px 7px;
    font-size: 0.66rem;
    border-radius: 0;
}

.catalog-selection-inventory {
    display: inline-flex;
}

.permission-grid {
    display: grid;
    gap: 18px;
}

.permission-department {
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(23, 32, 42, 0.05);
}

.permission-department-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--app-border);
    background: #f8fafc;
}

.permission-department-head h3 {
    margin: 0 0 3px;
    color: var(--app-ink);
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
}

.permission-department-head p {
    margin: 0;
    color: var(--app-muted);
    font-size: 0.9rem;
}

.permission-department-modules {
    display: grid;
    gap: 0;
}

.permission-row {
    border: 0;
    border-bottom: 1px solid var(--app-border);
    border-radius: 0;
    padding: 14px;
    background: #fff;
}

.permission-row:last-child {
    border-bottom: 0;
}

.permission-row-title {
    margin: 0 0 2px;
    color: var(--app-ink);
    font-size: 1rem;
    font-weight: 800;
}

.permission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--app-border);
}

.permission-related {
    display: inline-flex;
    margin-top: 7px;
    border-radius: 8px;
    background: #eef6f5;
    color: #115e59;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 8px;
}

.product-description-cell {
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.product-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--app-border);
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-thumb-empty {
    color: var(--app-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    padding: 4px;
}

.product-photo-current {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--app-muted);
    font-size: 0.9rem;
}

.product-photo-current img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--app-border);
}

.product-photo-preview {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    border: 1px solid var(--app-border);
    background: #fff;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.product-photo-inline-preview {
    width: min(100%, 280px);
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    border: 1px solid var(--app-border);
    background: #fff;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.product-photo-preview img,
.product-photo-inline-preview img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    background: #fff;
}

.product-photo-empty {
    color: var(--app-muted);
    font-weight: 800;
    text-align: center;
    padding: 12px;
}

.product-thumb,
.product-photo-preview img,
.product-photo-inline-preview img,
.catalog-selection-photo img,
.catalog-public-card-photo img,
.catalog-product-photo img,
.catalog-public-photo img,
.order-product-photo img,
img[data-product-image-modal],
img[src*="/uploads/"] {
    cursor: zoom-in;
}

.product-image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 12px;
    background: rgba(0, 0, 0, 0.78);
    overflow: hidden;
}

.product-image-modal.is-open {
    display: flex;
}

.product-image-modal-frame {
    width: 100%;
    height: 100%;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    min-height: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    position: relative;
}

.product-image-modal img {
    display: block;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    object-fit: contain;
    border-radius: 0;
    cursor: default;
    pointer-events: auto;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
    background: #fff;
    transition: opacity 0.12s ease;
}

.product-image-modal.is-loading img {
    opacity: 0;
}

.product-image-modal.is-loading .product-image-modal-frame::after {
    content: '';
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.32);
    border-top-color: #fff;
    border-radius: 50%;
    animation: productImageModalSpin 0.8s linear infinite;
}

.product-image-modal.has-error .product-image-modal-frame::after {
    content: 'No se pudo cargar la imagen';
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
}

@keyframes productImageModalSpin {
    to {
        transform: rotate(360deg);
    }
}

.product-image-modal-open {
    overflow: hidden;
}

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

.catalog-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
}

.catalog-saved-card {
    min-width: 0;
    height: 100%;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: var(--app-panel);
    color: var(--app-ink);
}

.catalog-saved-card h4 {
    color: var(--app-ink);
    font-weight: 850;
}

.catalog-saved-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--app-muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.catalog-created-date,
.product-showcase-photo-date {
    color: var(--app-muted);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-showcase-photo-date {
    display: block;
    margin-top: 6px;
    text-align: right;
}

.catalog-saved-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.catalog-saved-actions form {
    display: inline-flex;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.catalog-saved-actions > .action-icon-btn {
    flex: 1 1 0;
    min-width: 0;
}

.catalog-saved-actions .action-icon-btn,
.catalog-saved-actions form .action-icon-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
}

.catalog-public-link .form-control {
    min-width: 0;
    font-size: 0.82rem;
}

.catalog-count-box {
    min-height: 58px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #f8fafc;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
}

.catalog-count-box span {
    color: var(--app-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-count-box strong {
    color: #115e59;
    font-size: 1.35rem;
    line-height: 1;
}

.catalog-stock-switch {
    min-height: 58px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    padding: 14px 14px 14px 46px;
    display: flex;
    align-items: center;
}

.smart-button {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 8px;
    padding: 10px;
    color: #0f172a;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.smart-button.is-add {
    background: #9aef7b;
}

.smart-button.is-remove {
    background: #dc3545;
    color: #fff;
}

.smart-button:disabled {
    opacity: 0.75;
}

.catalog-search {
    width: min(100%, 660px);
}

.catalog-filter-form {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(220px, 1fr) auto auto;
    align-items: end;
    gap: 10px;
    width: min(100%, 760px);
}

.catalog-filter-form .btn {
    min-height: 40px;
}

.catalog-filter-field {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.catalog-filter-field > span {
    color: var(--app-muted);
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.catalog-filter-search {
    min-width: 0;
}

.catalog-product-grid,
.catalog-public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.catalog-product-card,
.catalog-public-card {
    min-width: 0;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.catalog-product-card.is-selected {
    border-color: #fca5a5;
    box-shadow: 0 12px 28px rgba(153, 27, 27, 0.1);
}

.catalog-product-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(23, 32, 42, 0.08);
}

.catalog-product-photo,
.catalog-public-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--app-border);
}

.catalog-product-photo img,
.catalog-public-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.catalog-photo-empty {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    padding: 12px;
}

.catalog-stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 8px;
}

.catalog-product-body,
.catalog-public-info {
    padding: 10px;
    display: grid;
    gap: 8px;
}

.catalog-product-body h3,
.catalog-public-info h2 {
    margin: 0;
    color: var(--app-ink);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.catalog-attribute-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.catalog-attribute-list span {
    max-width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 5px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-color-dots {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.catalog-color-dot {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

.catalog-color-dot circle {
    stroke: rgba(23, 32, 42, 0.22);
    stroke-width: 1;
}

.catalog-selection-colors {
    padding: 2px 0 3px;
}

.catalog-public-colors {
    gap: 6px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.catalog-public-colors .catalog-color-dot {
    width: 20px;
    height: 20px;
}

.catalog-toggle-btn {
    width: 100%;
    min-height: 36px;
    font-weight: 800;
}

.catalog-selection-list,
.catalog-public-list {
    display: grid;
    gap: 0;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.catalog-selection-row {
    min-width: 0;
    background: #fff;
    border-bottom: 1px solid var(--app-border);
}

.catalog-selection-row:last-child {
    border-bottom: 0;
}

.catalog-selection-row.is-selected {
    background: #fffafa;
}

.catalog-selection-title {
    margin: 0;
    padding: 7px 10px;
    color: var(--app-ink);
    font-size: clamp(0.96rem, 2vw, 1.08rem);
    font-weight: 800;
    line-height: 1.2;
    border-bottom: 1px solid var(--app-border);
    overflow-wrap: anywhere;
}

.catalog-selection-content {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(220px, 1fr) minmax(112px, 136px) minmax(92px, 122px);
    min-height: 170px;
}

.catalog-public-row .catalog-selection-content {
    grid-template-columns: minmax(140px, 180px) minmax(220px, 1fr) minmax(92px, 122px);
}

.catalog-selection-photo {
    position: relative;
    min-height: 170px;
    background: #fff;
    display: grid;
    place-items: center;
    border-right: 1px solid var(--app-border);
}

.catalog-selection-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.catalog-selection-attributes {
    min-width: 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f6f8fb 100%);
    border-right: 1px solid var(--app-border);
}

.catalog-selection-chip {
    max-width: min(100%, 280px);
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    padding: 6px 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    white-space: normal;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.catalog-selection-chip.chip-1,
.catalog-selection-chip.chip-stock {
    border-color: #d8e0ea;
    background: #fff;
    color: #334155;
}

.catalog-selection-chip.chip-2 {
    border-color: #d8e0ea;
    background: #fff;
    color: #334155;
}

.catalog-selection-chip.chip-3 {
    border-color: #d8e0ea;
    background: #fff;
    color: #334155;
}

.catalog-selection-chip.chip-4 {
    border-color: #d8e0ea;
    background: #fff;
    color: #334155;
}

.catalog-selection-chip.chip-5 {
    border-color: #d8e0ea;
    background: #fff;
    color: #334155;
}

.catalog-selection-chip.chip-stock {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.catalog-selection-action {
    width: 100%;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    color: #0f172a;
    font-weight: 900;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.catalog-selection-action.is-add {
    background: #9aef7b;
    color: #0f172a;
}

.catalog-selection-action.is-remove,
.catalog-selection-action.is-remove:hover,
.catalog-selection-action.is-remove:focus {
    background: #dc3545 !important;
    color: #fff !important;
}

.catalog-selection-action:disabled {
    opacity: 0.75;
}

.catalog-selection-price {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 10px;
    color: var(--app-ink);
    font-size: clamp(1rem, 2.4vw, 1.18rem);
    font-weight: 900;
    text-align: center;
}

.order-product-selection-list .catalog-selection-title {
    padding: 7px 10px;
    font-size: clamp(0.96rem, 2vw, 1.08rem);
    line-height: 1.2;
}

.order-product-selection-list .catalog-selection-content {
    grid-template-columns: minmax(140px, 180px) minmax(210px, 1fr) minmax(86px, 110px) minmax(170px, 220px) minmax(108px, 126px) minmax(86px, 112px);
    min-height: 170px;
}

.order-product-selection-list .catalog-selection-photo {
    min-height: 170px;
}

.order-product-selection-list .catalog-selection-photo img {
    padding: 6px;
}

.order-product-selection-list .catalog-selection-attributes {
    gap: 8px;
    padding: 16px 18px;
}

.order-product-selection-list .catalog-selection-chip {
    min-height: 30px;
    max-width: min(100%, 280px);
    font-size: 0.76rem;
    padding: 6px 11px;
}

.order-product-selection-list .catalog-color-dot {
    width: 18px;
    height: 18px;
}

.order-quantity-control {
    min-width: 0;
    min-height: 100%;
    padding: 10px 8px;
    display: grid;
    justify-items: center;
    place-items: center;
    align-content: center;
    gap: 6px;
    border-right: 1px solid var(--app-border);
    background: #fff;
}

.order-quantity-control label {
    color: var(--app-muted);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.order-quantity-control .form-control {
    max-width: 70px;
    min-height: 36px;
    padding: 4px 6px;
    text-align: center;
    font-weight: 900;
}

.order-reference-notes {
    min-width: 0;
    min-height: 100%;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 10px;
    border-right: 1px solid var(--app-border);
    background: #fff;
}

.order-reference-notes label {
    color: var(--app-muted);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.order-reference-notes textarea {
    min-height: 70px;
    resize: vertical;
    font-size: 0.82rem;
}

.order-product-selection-list .catalog-selection-action {
    font-size: 0.9rem;
}

.order-product-selection-list .catalog-selection-price {
    padding: 8px;
    font-size: 1rem;
}

.catalog-public-body {
    min-height: 100vh;
    background: #f5f7fb;
}

.catalog-public-shell {
    width: 100%;
    padding: 20px 14px 36px;
}

.catalog-public-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--app-border);
}

.catalog-public-header h1 {
    margin: 0;
    color: var(--app-ink);
    font-size: clamp(1.45rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
}

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

.catalog-public-card {
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(23, 32, 42, 0.05);
    display: flex;
    flex-direction: column;
}

.catalog-public-card-photo {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: #fff;
    border-bottom: 1px solid var(--app-border);
    position: relative;
}

.catalog-public-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.catalog-public-download {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(36, 40, 58, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    color: #09090b;
    box-shadow: 0 8px 20px rgba(9, 9, 11, 0.12);
    text-decoration: none;
    flex: 0 0 auto;
}

.catalog-public-download:hover,
.catalog-public-download:focus {
    background: #1657ef;
    border-color: #1657ef;
    color: #fff;
}

.catalog-public-download .app-icon {
    width: 18px;
    height: 18px;
}

.catalog-public-card-body {
    display: grid;
    gap: 7px;
    padding: 10px;
    flex: 1 1 auto;
}

.catalog-public-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
}

.catalog-public-card-body h2 {
    margin: 0;
    color: var(--app-ink);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.catalog-public-card-body p {
    margin: 0;
    color: var(--app-muted);
    font-size: 0.82rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-public-card-body strong {
    color: var(--app-ink);
    font-size: 1rem;
    font-weight: 900;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.price-code-section {
    border-top: 1px solid var(--app-border);
    border-bottom: 1px solid var(--app-border);
    padding: 18px 0;
    margin: 6px 0;
}

.product-color-section {
    border-top: 1px solid var(--app-border);
    border-bottom: 1px solid var(--app-border);
    padding: 18px 0;
    margin: 6px 0;
}

.product-color-controls {
    display: grid;
    grid-template-columns: auto minmax(118px, 150px) auto;
    gap: 8px;
    align-items: center;
}

.product-color-picker {
    width: 46px;
    height: 42px;
    padding: 5px;
}

.product-color-hex {
    font-weight: 800;
    text-transform: uppercase;
}

.product-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-color-item {
    min-width: 78px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    display: grid;
    grid-template-columns: 34px auto;
    grid-template-rows: auto auto;
    gap: 7px 8px;
    align-items: center;
}

.product-color-swatch {
    width: 34px;
    height: 64px;
    grid-row: 1 / span 2;
    border-radius: 8px;
    border: 1px solid rgba(23, 32, 42, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    display: block;
    overflow: hidden;
    background: #fff;
}

.product-color-swatch rect,
.product-color-strip-swatch rect {
    stroke: rgba(23, 32, 42, 0.18);
    stroke-width: 1;
}

.product-color-item strong {
    color: var(--app-ink);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.product-color-item .action-icon-btn {
    width: 30px;
    height: 30px;
}

.product-color-empty {
    border: 1px dashed var(--app-border);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--app-muted);
    font-weight: 800;
    padding: 14px;
    text-align: center;
}

.product-color-strip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    max-width: 190px;
    overflow: hidden;
    vertical-align: middle;
}

.product-color-strip-swatch {
    width: 18px;
    height: 36px;
    border-radius: 4px;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    background: #fff;
}

.order-items-section {
    border-top: 1px solid var(--app-border);
    padding-top: 18px;
}

.order-items-list {
    display: grid;
    gap: 10px;
}

.order-picker-actions {
    width: min(100%, 860px);
    display: grid;
    grid-template-columns: auto minmax(320px, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.order-picker-search {
    min-width: 0;
}

.order-review-button {
    min-height: 38px;
    white-space: nowrap;
}

.order-review-button [data-order-selected-count] {
    min-width: 24px;
    color: #000000 !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.22);
    font-weight: 900;
}

.order-review-offcanvas {
    width: min(100vw, 720px);
}

.order-review-offcanvas .offcanvas-body {
    background: #f8fafc;
}

.order-review-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--app-border);
    background: #fff;
}

.order-selected-panel {
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px;
}

.order-selected-empty {
    border: 1px dashed var(--app-border);
    border-radius: 8px;
    background: #fff;
    color: var(--app-muted);
    font-weight: 800;
    padding: 12px;
    text-align: center;
}

.order-selected-list {
    display: grid;
    gap: 8px;
}

.order-selected-row {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(78px, 90px) minmax(100px, 125px) minmax(180px, 1fr) 34px;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.order-selected-row.is-price-hidden {
    grid-template-columns: minmax(150px, 1fr) minmax(78px, 90px) minmax(180px, 1fr) 34px;
}

.order-selected-quantity {
    text-align: center;
    font-weight: 800;
}

.order-selected-row strong,
.order-selected-row span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-selected-notes {
    min-height: 58px;
    resize: vertical;
}

.order-public-list { display: grid; gap: 10px; }
.order-public-item { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(90px, 120px)); gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--app-border); border-radius: 10px; background: #fff; }
.order-public-item span, .order-public-item small { display: block; color: var(--app-muted); }
.order-public-notes { grid-column: 1 / -1; margin: 0; padding-top: 10px; border-top: 1px solid var(--app-border); overflow-wrap: anywhere; }
.order-public-total { margin-top: 18px; text-align: right; font-size: 1.25rem; font-weight: 900; }

.order-selected-row span {
    color: var(--app-muted);
    font-size: 0.82rem;
}

.order-item-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(92px, 120px) minmax(112px, 140px) 34px;
    gap: 8px;
    align-items: center;
}

.order-picker-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: var(--app-muted);
    font-size: 0.86rem;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.order-product-card {
    min-width: 0;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.order-product-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(23, 32, 42, 0.08);
}

.order-product-card.is-selected {
    border-color: #fca5a5;
    box-shadow: 0 12px 28px rgba(153, 27, 27, 0.1);
}

.order-product-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: #fff;
    border-bottom: 1px solid var(--app-border);
}

.order-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.order-product-body {
    min-width: 0;
    padding: 10px;
    display: grid;
    align-content: start;
    gap: 7px;
}

.order-product-body h4 {
    margin: 0;
    color: var(--app-ink);
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.order-product-body p {
    margin: 0;
    color: var(--app-muted);
    font-size: 0.8rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.order-product-footer strong {
    color: var(--app-ink);
    font-size: 0.98rem;
    font-weight: 900;
}

.order-product-footer .status-badge {
    padding: 5px 7px;
    font-size: 0.68rem;
}

.order-product-toggle {
    min-height: 42px;
    border-radius: 0;
}

.order-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.price-code-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(23, 32, 42, 0.06);
}

.price-code-rule {
    border-radius: 8px;
    padding: 14px;
    display: grid;
    gap: 8px;
    text-align: center;
    font-weight: 800;
}

.price-code-rule span {
    font-size: 0.9rem;
}

.price-code-rule-one {
    color: #115e59;
    background: #eef6f5;
    border: 1px solid #b7ddd8;
}

.price-code-rule-two {
    color: #334155;
    background: #f8fafc;
    border: 1px solid var(--app-border);
}

.price-code-input {
    height: 48px;
    text-align: center;
    font-size: 1.18rem;
    font-weight: 800;
}

.price-code-input-one {
    background: #eef6f5;
    border-color: #b7ddd8;
    color: #115e59;
}

.price-code-input-two {
    background: #f8fafc;
    border-color: var(--app-border);
    color: #334155;
}

.price-code-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.price-code-card {
    min-height: 110px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
    border: 1px solid var(--app-border);
}

.price-code-card span {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price-code-card strong {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    line-height: 1;
}

.price-code-card-blue {
    background: #eef6f5;
    border-color: #b7ddd8;
    color: #115e59;
}

.price-code-card-red {
    background: #fff;
    border-color: var(--app-border);
    color: #334155;
}

.price-code-message {
    margin-top: 12px;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 12px;
}

.config-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--app-border);
}

.option-pill-form {
    display: inline-flex;
}

.option-pill {
    border: 1px solid #b7ddd8;
    border-radius: 8px;
    background: #eef6f5;
    color: #115e59;
    font-weight: 700;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.option-pill.is-inactive {
    border-color: #e5e7eb;
    background: #f1f5f9;
    color: #94a3b8;
    text-decoration: line-through;
}

.option-pill-delete:hover,
.option-pill-delete:focus {
    border-color: #fecaca;
    background: #fee2e2;
    color: #991b1b;
}

.panel-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef6f5;
}

.help-shell {
    display: grid;
    gap: 16px;
}

.help-hero {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.help-hero-copy {
    min-width: 0;
}

.help-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.help-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}

.help-nav a {
    min-height: 40px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    color: var(--app-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    font-weight: 800;
    white-space: nowrap;
}

.help-nav a:hover,
.help-nav a:focus {
    color: #115e59;
    border-color: #b7ddd8;
    background: #eef6f5;
}

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

.help-card,
.help-wide-card {
    min-width: 0;
    padding: 16px;
}

.help-card {
    display: grid;
    gap: 14px;
    align-content: start;
}

.help-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-card-head .panel-icon {
    color: #115e59;
}

.help-shot {
    min-height: 210px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #f8fafc;
    padding: 10px;
    display: grid;
    gap: 9px;
    overflow: hidden;
}

.help-shot-top {
    min-height: 28px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--app-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 8px;
}

.help-shot-top span {
    color: var(--app-ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.help-shot-top i {
    width: 46px;
    height: 8px;
    border-radius: 8px;
    background: #d1e7e4;
}

.help-shot-greeting {
    border-radius: 8px;
    background: #eef6f5;
    border: 1px solid #b7ddd8;
    color: #115e59;
    font-size: 1.2rem;
    font-weight: 900;
    display: grid;
    place-items: center;
}

.help-shot-lines {
    display: grid;
    gap: 8px;
    align-content: start;
}

.help-shot-lines span,
.help-shot-table-rows span,
.help-shot-product-row div span {
    height: 10px;
    border-radius: 8px;
    background: #dbe3ee;
}

.help-shot-lines span:nth-child(2),
.help-shot-product-row div span:nth-child(2) {
    width: 76%;
}

.help-shot-lines span:nth-child(3),
.help-shot-product-row div span:nth-child(3) {
    width: 54%;
}

.help-shot-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.help-shot-toolbar span,
.help-shot-toolbar strong {
    min-height: 32px;
    border-radius: 8px;
    border: 1px solid var(--app-border);
    background: #fff;
}

.help-shot-toolbar strong {
    min-width: 76px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--sidebar-bg);
    border-color: var(--sidebar-bg);
    font-size: 0.78rem;
}

.help-shot-table-rows {
    display: grid;
    gap: 8px;
}

.help-shot-table-rows span {
    height: 26px;
    background: #fff;
    border: 1px solid var(--app-border);
}

.help-shot-product-row,
.help-catalog-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--app-border);
    padding: 8px;
}

.help-shot-product-row b {
    width: 56px;
    height: 50px;
    border-radius: 8px;
    background: #eef6f5;
    border: 1px solid #b7ddd8;
}

.help-shot-product-row div {
    display: grid;
    gap: 7px;
}

.help-config-card {
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    padding: 10px;
    display: grid;
    gap: 10px;
}

.help-config-card strong {
    color: var(--app-ink);
    font-size: 0.9rem;
}

.help-config-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.help-config-card span {
    border: 1px solid #b7ddd8;
    border-radius: 8px;
    background: #eef6f5;
    color: #115e59;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 5px 8px;
}

.help-photo-frame {
    min-height: 106px;
    border: 1px dashed #b7ddd8;
    border-radius: 8px;
    background: #fff;
    color: #115e59;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    font-weight: 900;
}

.help-photo-frame .app-icon {
    width: 2rem;
    height: 2rem;
}

.help-catalog-row {
    grid-template-columns: 54px minmax(0, 1fr) 70px 64px;
    min-height: 62px;
    padding: 0;
    gap: 0;
}

.help-catalog-row b {
    height: 100%;
    min-height: 62px;
    background: #fff;
    border-right: 1px solid var(--app-border);
}

.help-catalog-row span {
    height: 36px;
    margin: 10px;
    border-radius: 8px;
    background: #eef6f5;
}

.help-catalog-row em,
.help-catalog-row strong {
    height: 100%;
    min-height: 62px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 0.76rem;
    font-weight: 900;
    text-align: center;
}

.help-catalog-row em {
    background: #9aef7b;
    color: #0f172a;
}

.help-catalog-row.is-selected em {
    background: #dc3545;
    color: #fff;
}

.help-catalog-row strong {
    color: var(--app-ink);
}

.help-steps {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--app-muted);
    display: grid;
    gap: 7px;
}

.help-steps li {
    padding-left: 2px;
}

.help-wide-card {
    display: grid;
    gap: 14px;
}

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

.help-tip-grid div {
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px;
}

.help-tip-grid h4 {
    margin: 0 0 6px;
    font-size: 0.96rem;
    font-weight: 900;
}

.help-tip-grid p {
    margin: 0;
    color: var(--app-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.admin-offcanvas {
    background: #f8fafc;
}

.mobile-menu-link {
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--app-ink);
    background: #fff;
    border: 1px solid var(--app-border);
    font-weight: 700;
}

.mobile-menu-link.is-active {
    color: #0f766e;
    border-color: #99d6cf;
    background: #eef6f5;
}

.mobile-menu-link span {
    min-width: 0;
}

.mobile-menu-link small {
    color: var(--app-muted);
    font-weight: 800;
}

.min-w-0 {
    min-width: 0;
}

@media (min-width: 992px) {
    .admin-main {
        margin-left: 76px;
    }

    .admin-topbar {
        padding-left: 28px;
        padding-right: 28px;
    }

    .admin-content {
        padding: 28px 28px 48px;
    }
}

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

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

@media (max-width: 991.98px) {
    .order-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .admin-topbar {
        height: auto;
        min-height: 68px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .user-chip {
        padding: 6px;
    }

    .user-chip-text {
        display: none;
    }

    .help-hero,
    .help-hero-actions {
        align-items: stretch;
        display: grid;
    }

    .help-hero-actions .btn {
        justify-content: center;
    }

    .help-grid,
    .help-tip-grid {
        grid-template-columns: 1fr;
    }

    .help-card,
    .help-wide-card,
    .help-hero {
        padding: 14px;
    }

    .department-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .department-card {
        min-height: 92px;
        padding: 16px;
    }

    .department-card h3 {
        font-size: 1.35rem;
    }

    .help-catalog-row {
        grid-template-columns: 46px minmax(0, 1fr) 58px 58px;
    }

    .page-actions {
        justify-content: stretch;
    }

    .page-actions .btn,
    .page-actions form,
    .page-actions .input-group {
        width: 100%;
    }

    .price-code-rules,
    .price-code-preview {
        grid-template-columns: 1fr;
    }

    .product-color-controls {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .product-color-controls .btn {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .order-item-row {
        grid-template-columns: 1fr;
    }

    .order-picker-actions {
        grid-template-columns: 1fr;
    }

    .order-review-button {
        justify-content: center;
    }

    .order-review-footer {
        flex-direction: column;
    }

    .order-review-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .order-selected-row {
        grid-template-columns: 1fr;
    }

    .order-public-item { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .order-public-item > div:first-child, .order-public-notes { grid-column: 1 / -1; }

    .order-item-row .action-icon-btn {
        width: 100%;
    }

    .order-selected-row .action-icon-btn {
        width: 100%;
    }

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

    .inventory-summary-grid {
        grid-template-columns: 1fr;
    }

    .catalog-list-item,
    .catalog-public-header {
        grid-template-columns: 1fr;
        display: grid;
    }

    .catalog-product-grid,
    .catalog-public-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

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

    .catalog-product-body,
    .catalog-public-info {
        padding: 8px;
    }

    .catalog-attribute-list span {
        font-size: 0.68rem;
    }

    .catalog-selection-content,
    .catalog-public-row .catalog-selection-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .catalog-selection-photo {
        min-height: 170px;
        border-right: 1px solid var(--app-border);
    }

    .catalog-selection-attributes {
        border-right: 0;
        align-content: start;
    }

    .order-quantity-control,
    .order-reference-notes,
    .catalog-selection-action,
    .catalog-selection-price {
        min-height: 54px;
        border-top: 1px solid var(--app-border);
    }

    .order-quantity-control {
        border-right: 1px solid var(--app-border);
    }

    .order-reference-notes {
        grid-column: 1 / -1;
        min-height: auto;
        border-right: 0;
        border-top: 1px solid var(--app-border);
    }

    .catalog-public-row .catalog-selection-price {
        grid-column: 1 / -1;
    }

    .order-product-selection-list .catalog-selection-price {
        grid-column: 1 / -1;
    }
}

.dashboard-gallery {
    display: grid;
    gap: 14px;
}

.dashboard-access-shell {
    display: grid;
    gap: 16px;
}

.dashboard-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-photo-grid,
.sales-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-photo-tile,
.sales-product-card {
    min-width: 0;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(23, 32, 42, 0.05);
}

.dashboard-photo-tile {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dashboard-photo-tile:hover,
.dashboard-photo-tile:focus {
    border-color: #94a3b8;
    box-shadow: 0 16px 34px rgba(23, 32, 42, 0.1);
    transform: translateY(-1px);
}

.dashboard-photo-tile img,
.sales-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: #fff;
}

.photo-feed-status {
    min-height: 22px;
    color: var(--app-muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.photo-feed-sentinel {
    width: 100%;
    height: 1px;
}

.sales-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.sales-products-count {
    flex: 0 0 auto;
    color: var(--app-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.sales-product-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.sales-product-photo {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--app-border);
    background: #fff;
}

.sales-product-body {
    display: grid;
    gap: 9px;
    padding: 10px;
}

.sales-product-body h2 {
    margin: 0;
    color: var(--app-ink);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.sales-product-body p {
    margin: 4px 0 0;
    color: var(--app-muted);
    font-size: 0.82rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sales-product-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
}

.sales-product-details div {
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px;
    background: #f8fafc;
}

.sales-product-details dt {
    color: var(--app-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sales-product-details dd {
    margin: 1px 0 0;
    color: var(--app-ink);
    font-size: 0.78rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.sales-product-colors,
.sales-product-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sales-product-colors span {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 999px;
}

.sales-product-attributes span {
    max-width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 5px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .dashboard-photo-grid,
    .sales-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .dashboard-photo-grid,
    .sales-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sales-products-header {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .sales-product-details {
        grid-template-columns: 1fr;
    }
}
/* Product showcase cards */
.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.product-showcase-card {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.product-showcase-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #fff;
    overflow: hidden;
    border-radius: 0;
}

.product-showcase-photo img {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    object-fit: cover;
    background: #fff;
    border-radius: 0;
}

.product-showcase-info {
    display: grid;
    gap: 6px;
    padding: 6px 0 9px;
    background: transparent;
}

.product-showcase-main-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: start;
    gap: 6px;
}

.product-showcase-main-row h2 {
    margin: 0;
    color: #050505;
    font-size: 0.92rem;
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.product-showcase-main-row p {
    margin: 2px 0 0;
    color: #111827;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.12;
    text-transform: capitalize;
    overflow-wrap: anywhere;
}

.product-showcase-download {
    width: 28px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background: #fff;
    color: #111827;
    text-decoration: none;
}

.product-showcase-download:hover,
.product-showcase-download:focus {
    background: #f1f5f9;
    color: #000;
}

.product-showcase-download .app-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.5;
}

.product-showcase-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 0;
    padding-top: 5px;
    border-top: 1px solid #e5e7eb;
}

.product-showcase-meta div {
    min-width: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    padding-right: 9px;
    border-right: 1px solid #d7dce4;
}

.product-showcase-meta div:last-child {
    border-right: 0;
    padding-right: 0;
}

.product-showcase-meta dt {
    margin: 0;
    color: #334155;
    font-size: 0.66rem;
    font-weight: 650;
    line-height: 1.1;
    white-space: nowrap;
}

.product-showcase-meta dt::after {
    content: ':';
}

.product-showcase-meta dd {
    margin: 0;
    color: #111827;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.product-showcase-colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    padding-top: 5px;
    border-top: 1px solid #edf2f7;
}

.product-showcase-colors > span {
    color: #334155;
    font-size: 0.66rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.product-showcase-colors > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.product-showcase-swatch {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    display: block;
}

.product-showcase-swatch circle {
    stroke: rgba(15, 23, 42, 0.42);
    stroke-width: 1.4;
}
.product-showcase-colors em {
    color: #64748b;
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 800;
}

.product-showcase-card .product-showcase-photo,
.product-showcase-card .product-showcase-photo img {
    cursor: pointer;
}

@media (max-width: 1199.98px) {
    .product-showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .product-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-showcase-info {
        gap: 5px;
        padding-bottom: 8px;
    }

    .product-showcase-main-row h2 {
        font-size: 0.86rem;
    }

    .product-showcase-main-row p {
        font-size: 0.72rem;
    }

    .product-showcase-meta {
        gap: 3px 8px;
    }

    .product-showcase-meta div {
        border-right: 0;
        padding-right: 0;
    }

    .sales-products-header {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .product-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* System dark theme override */
:root {
    --app-bg: #09090b;
    --app-panel: #111116;
    --app-ink: #e7ecff;
    --app-muted: #aab4d6;
    --app-border: #24283a;
    --sidebar-bg: #09090b;
    --sidebar-active: #1657ef;
    --focus-ring: rgba(22, 87, 239, 0.34);
}

html,
body,
.admin-body,
.admin-main,
.admin-content,
.auth-shell {
    background: #09090b !important;
    color: #e7ecff;
}

body,
.admin-body,
.auth-shell,
.admin-main {
    color: #e7ecff;
}

.app-icon {
    color: #1657ef !important;
    stroke: #1657ef;
}

.admin-sidebar {
    background: #09090b;
    border-right: 1px solid #24283a;
    box-shadow: none;
}

.admin-sidebar .sidebar-brand,
.brand-mark,
.user-chip-avatar {
    background: #1657ef;
    color: #e7ecff;
}

.sidebar-link {
    color: #1657ef;
}

.sidebar-link:hover,
.sidebar-link:focus,
.sidebar-link.is-active {
    color: #1657ef;
    background: rgba(22, 87, 239, 0.16);
}

.admin-topbar {
    background: rgba(9, 9, 11, 0.94);
    border-bottom-color: #24283a;
    color: #e7ecff;
}

.content-panel,
.auth-panel,
.department-card,
.catalog-list-item,
.catalog-product-card,
.catalog-public-card,
.permission-department,
.catalog-count-box,
.user-chip,
.card,
.modal-content,
.dropdown-menu,
.list-group-item,
.accordion-item {
    background: #111116 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
    box-shadow: none;
}

.department-heading,
.product-showcase-meta,
.product-showcase-colors {
    border-color: #24283a !important;
}

.topbar-title,
.department-heading h2,
.department-card h3,
.department-card p,
.product-showcase-main-row h2,
.product-showcase-main-row p,
.product-showcase-meta dd,
.product-showcase-colors,
.form-label,
.form-check-label,
.table,
.table td,
.table th,
.modal-title,
.dropdown-item,
.card-title,
.card-text {
    color: #e7ecff !important;
}

.text-muted,
.text-muted-strong,
.eyebrow,
.department-heading p,
.product-showcase-meta dt,
.product-showcase-colors > span,
.form-text,
small {
    color: #aab4d6 !important;
}

.form-control,
.form-select,
.input-group-text,
.form-check-input {
    background-color: #0f1117 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}

.form-control::placeholder {
    color: #8f9bc7;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus-visible {
    border-color: #1657ef !important;
    box-shadow: 0 0 0 0.2rem rgba(22, 87, 239, 0.34) !important;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: #e7ecff;
    --bs-table-border-color: #24283a;
    --bs-table-striped-bg: #111827;
    --bs-table-striped-color: #e7ecff;
    --bs-table-hover-bg: #151b32;
    --bs-table-hover-color: #e7ecff;
    color: #e7ecff;
    border-color: #24283a;
}

.table thead th,
.table td,
.table th {
    border-color: #24283a !important;
}

.btn-primary,
.btn-outline-primary {
    background: transparent;
    border-color: #1657ef;
    color: #e7ecff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: #1657ef;
    border-color: #1657ef;
    color: #e7ecff;
}

.btn-secondary,
.btn-outline-secondary,
.back-topbar-btn,
.help-topbar-btn,
.icon-btn,
.product-showcase-download {
    background: #0f1117 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}

.btn-secondary:hover,
.btn-outline-secondary:hover,
.back-topbar-btn:hover,
.back-topbar-btn:focus,
.help-topbar-btn:hover,
.help-topbar-btn:focus,
.icon-btn:hover,
.product-showcase-download:hover,
.product-showcase-download:focus {
    background: rgba(22, 87, 239, 0.18) !important;
    border-color: #1657ef !important;
    color: #e7ecff !important;
}

.alert,
.status-badge,
.badge {
    border: 1px solid #24283a;
}

.product-showcase-card,
.product-showcase-info,
.product-showcase-photo,
.product-showcase-photo img {
    background: transparent !important;
    color: #e7ecff;
}

.product-image-modal {
    background: rgba(9, 9, 11, 0.92);
}


/* Product info dark panel */
.product-showcase-info {
    background: #ffffff !important;
    border: 1px solid #d7dce4 !important;
    border-top: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    color: #000000 !important;
}

.product-showcase-main-row,
.product-showcase-meta,
.product-showcase-colors {
    background: transparent !important;
}

.product-showcase-main-row {
    padding: 6px 7px 5px !important;
}

.product-showcase-meta,
.product-showcase-colors {
    border-color: #d7dce4 !important;
    padding: 6px 7px !important;
}

.product-showcase-meta div {
    border-right-color: #b8beca !important;
}

.product-showcase-main-row h2,
.product-showcase-main-row p,
.product-showcase-meta dd,
.product-showcase-colors {
    color: #000000 !important;
}

.product-showcase-meta dt,
.product-showcase-colors > span {
    color: #111111 !important;
}

.product-showcase-download {
    background: #ffffff !important;
    border-color: #d7dce4 !important;
    color: #000000 !important;
}

.product-showcase-download:hover,
.product-showcase-download:focus {
    background: #f2f4f8 !important;
    border-color: #b8beca !important;
    color: #000000 !important;
}


/* Product color swatch contrast */
.product-showcase-colors {
    background: transparent !important;
    border-top: 1px solid #d7dce4 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    color: #000000 !important;
}

.product-showcase-colors > span,
.product-showcase-colors em {
    color: #000000 !important;
}

.product-showcase-swatch {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    display: block;
    overflow: visible;
}

.product-showcase-swatch-ring {
    display: none;
}

.product-showcase-swatch-fill {
    stroke: rgba(0, 0, 0, 0.55);
    stroke-width: 1.2;
}

/* Content panel custom background */
.content-panel {
    background: #141416 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}


/* Price code dark panels */
.price-code-section {
    background: #260e09 !important;
    border: 1px solid #441306 !important;
    border-radius: 10px !important;
    padding: 14px !important;
}

.price-code-section .section-title {
    color: #e7ecff !important;
}

.price-code-rules {
    background: #100a0b !important;
    border-color: #441306 !important;
    color: #e7ecff !important;
    box-shadow: none !important;
}

.price-code-rule,
.price-code-rule-one,
.price-code-rule-two,
.price-code-card,
.price-code-card-blue,
.price-code-card-red {
    background: #141011 !important;
    border-color: #441306 !important;
    color: #e7ecff !important;
    box-shadow: none !important;
}

.price-code-rule strong,
.price-code-card strong {
    color: #e7ecff !important;
}

.price-code-rule span,
.price-code-card span {
    color: #b9a9a3 !important;
    opacity: 1;
}

.price-code-input,
.price-code-input-one,
.price-code-input-two {
    background: #09090b !important;
    border-color: #441306 !important;
    color: #e7ecff !important;
    box-shadow: none !important;
}

.price-code-input::placeholder,
.price-code-input-one::placeholder,
.price-code-input-two::placeholder {
    color: #8f9bc7 !important;
}

.price-code-input:focus,
.price-code-input-one:focus,
.price-code-input-two:focus {
    border-color: #ff6900 !important;
    box-shadow: 0 0 0 0.16rem rgba(255, 105, 0, 0.18) !important;
}

.price-code-preview {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.price-code-card strong[data-price-code-output],
.price-code-card strong[data-price-numeric-output] {
    color: #ff6900 !important;
}

.price-code-message {
    background: #100a0b !important;
    border-color: #441306 !important;
    color: #ffb37c !important;
}

/* Dark form inputs */
.form-control,
.form-select,
.input-group-text,
textarea.form-control,
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"] {
    background-color: #09090b !important;
    border-color: #2a2f3a !important;
    color: #e7ecff !important;
    box-shadow: none !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #7c8498 !important;
    opacity: 1;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus {
    background-color: #09090b !important;
    border-color: #3a4050 !important;
    color: #e7ecff !important;
    box-shadow: 0 0 0 0.16rem rgba(22, 87, 239, 0.18) !important;
}

.form-select {
    --bs-form-select-bg-img: none;
}

.form-check-input {
    background-color: #09090b !important;
    border-color: #2a2f3a !important;
}

/* System error alerts */
.alert-danger,
.price-code-message,
.invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
    background: #460809 !important;
    border: 1px solid #8e0809 !important;
    color: #e7000b !important;
    text-align: center !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.alert-danger *,
.price-code-message * {
    color: #e7000b !important;
}

.alert-danger,
.price-code-message {
    border-radius: 0 !important;
    padding: 9px 12px !important;
}

.invalid-feedback {
    width: 100%;
    margin-top: 6px;
    border-radius: 0 !important;
    padding: 7px 10px !important;
}

.alert-danger .btn-close {
    filter: invert(16%) sepia(100%) saturate(5731%) hue-rotate(347deg) brightness(91%) contrast(107%);
    opacity: 1;
}

/* System success alerts */
.alert-success,
.status-badge.is-active,
.action-icon-btn.is-copied,
.badge.bg-success,
.text-bg-success {
    background: #032e15 !important;
    border: 1px solid #03672f !important;
    color: #00a636 !important;
    text-align: center !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.alert-success *,
.status-badge.is-active *,
.action-icon-btn.is-copied *,
.badge.bg-success *,
.text-bg-success * {
    color: #00a636 !important;
}

.alert-success {
    border-radius: 0 !important;
    padding: 9px 12px !important;
}

.alert-success .btn-close {
    filter: invert(42%) sepia(79%) saturate(1738%) hue-rotate(115deg) brightness(93%) contrast(104%);
    opacity: 1;
}

/* System warning alerts */
.alert-warning,
.badge.bg-warning,
.text-bg-warning {
    background: #432004 !important;
    border: 1px solid #745c01 !important;
    color: #d08701 !important;
    text-align: center !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.alert-warning *,
.badge.bg-warning *,
.text-bg-warning * {
    color: #d08701 !important;
}

.alert-warning {
    border-radius: 0 !important;
    padding: 9px 12px !important;
}

.alert-warning .btn-close {
    filter: invert(52%) sepia(98%) saturate(1090%) hue-rotate(8deg) brightness(98%) contrast(99%);
    opacity: 1;
}


/* Blue buttons and visible toggles */
.btn,
button.btn,
a.btn,
input[type="button"],
input[type="submit"],
input[type="reset"],
.form-control::file-selector-button,
input[type="file"]::file-selector-button {
    border-radius: 6px !important;
    font-weight: 800 !important;
}

.btn-primary,
.btn-success,
.btn-info,
.btn-secondary,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-secondary,
.smart-button,
.product-showcase-download,
.action-icon-btn,
.icon-btn,
.back-topbar-btn,
.help-topbar-btn,
.form-control::file-selector-button,
input[type="file"]::file-selector-button {
    background: #155dfc !important;
    border-color: #155dfc !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-primary *,
.btn-success *,
.btn-info *,
.btn-secondary *,
.btn-outline-primary *,
.btn-outline-success *,
.btn-outline-info *,
.btn-outline-secondary *,
.smart-button *,
.product-showcase-download *,
.action-icon-btn *,
.icon-btn *,
.back-topbar-btn *,
.help-topbar-btn * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-info:hover,
.btn-info:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.smart-button:hover,
.smart-button:focus,
.product-showcase-download:hover,
.product-showcase-download:focus,
.action-icon-btn:hover,
.action-icon-btn:focus,
.icon-btn:hover,
.icon-btn:focus,
.back-topbar-btn:hover,
.back-topbar-btn:focus,
.help-topbar-btn:hover,
.help-topbar-btn:focus,
.form-control:hover::file-selector-button,
.form-control:focus::file-selector-button,
input[type="file"]:hover::file-selector-button,
input[type="file"]:focus::file-selector-button {
    background: #2f72ff !important;
    border-color: #2f72ff !important;
    color: #ffffff !important;
    transform: none !important;
}

.btn:disabled,
.btn.disabled,
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled {
    background: #27272a !important;
    border-color: #3f3f46 !important;
    color: #8f9bc7 !important;
    opacity: 1 !important;
}

.btn-danger,
.btn-outline-danger {
    background: #155dfc !important;
    border-color: #155dfc !important;
    color: #ffffff !important;
}

.form-check-input,
input[type="checkbox"],
input[type="radio"] {
    accent-color: #155dfc;
}

.form-check-input {
    width: 1.12rem;
    height: 1.12rem;
    background-color: #09090b !important;
    border: 1px solid #4b5565 !important;
    box-shadow: none !important;
}

.form-check-input:checked {
    background-color: #155dfc !important;
    border-color: #155dfc !important;
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

.form-check-input:checked[type="radio"] {
    background-image: radial-gradient(circle, #ffffff 0 36%, transparent 39%) !important;
}

.form-check-input:focus {
    border-color: #155dfc !important;
    box-shadow: 0 0 0 0.16rem rgba(21, 93, 252, 0.24) !important;
}

.form-switch .form-check-input {
    width: 2.4rem;
    height: 1.25rem;
    border-radius: 999px !important;
    background-color: #27272a !important;
    border-color: #3f3f46 !important;
    background-image: radial-gradient(circle at 0.62rem 50%, #ffffff 0 0.42rem, transparent 0.44rem) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
}

.form-switch .form-check-input:checked {
    background-color: #155dfc !important;
    border-color: #155dfc !important;
    background-image: radial-gradient(circle at calc(100% - 0.62rem) 50%, #ffffff 0 0.42rem, transparent 0.44rem) !important;
}

.form-switch .form-check-input:not(:checked) {
    background-color: #27272a !important;
    border-color: #3f3f46 !important;
}

/* Green add/new actions and mobile search spacing */
a.btn[href*="user_form.php"],
a.btn[href*="product_form.php"],
a.btn[href*="customer_form.php"],
a.btn[href*="order_form.php"],
.btn-success,
.btn-outline-success,
.smart-button.is-add,
.catalog-selection-action.is-add,
button[data-color-add],
button[data-catalog-toggle][data-selected="0"],
button[data-order-toggle][data-selected="0"] {
    background: #00c94f !important;
    border-color: #00c94f !important;
    color: #09090b !important;
    box-shadow: none !important;
}

a.btn[href*="user_form.php"] *,
a.btn[href*="product_form.php"] *,
a.btn[href*="customer_form.php"] *,
a.btn[href*="order_form.php"] *,
.btn-success *,
.btn-outline-success *,
.smart-button.is-add *,
.catalog-selection-action.is-add *,
button[data-color-add] *,
button[data-catalog-toggle][data-selected="0"] *,
button[data-order-toggle][data-selected="0"] * {
    color: #09090b !important;
    stroke: #09090b !important;
}

a.btn[href*="user_form.php"]:hover,
a.btn[href*="user_form.php"]:focus,
a.btn[href*="product_form.php"]:hover,
a.btn[href*="product_form.php"]:focus,
a.btn[href*="customer_form.php"]:hover,
a.btn[href*="customer_form.php"]:focus,
a.btn[href*="order_form.php"]:hover,
a.btn[href*="order_form.php"]:focus,
.btn-success:hover,
.btn-success:focus,
.btn-outline-success:hover,
.btn-outline-success:focus,
.smart-button.is-add:hover,
.smart-button.is-add:focus,
.catalog-selection-action.is-add:hover,
.catalog-selection-action.is-add:focus,
button[data-color-add]:hover,
button[data-color-add]:focus,
button[data-catalog-toggle][data-selected="0"]:hover,
button[data-catalog-toggle][data-selected="0"]:focus,
button[data-order-toggle][data-selected="0"]:hover,
button[data-order-toggle][data-selected="0"]:focus {
    background: #19dd66 !important;
    border-color: #19dd66 !important;
    color: #09090b !important;
    transform: none !important;
}

@media (max-width: 575.98px) {
    .catalog-search.input-group,
    .order-picker-search.input-group,
    form.input-group[data-live-search] {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        width: 100%;
    }

    .catalog-search.input-group > .input-group-text,
    .order-picker-search.input-group > .input-group-text,
    form.input-group[data-live-search] > .input-group-text {
        border-radius: 6px !important;
    }

    .catalog-search.input-group > .form-control,
    .order-picker-search.input-group > .form-control,
    form.input-group[data-live-search] > .form-control {
        min-width: 0;
        border-radius: 6px !important;
    }

    .catalog-search.input-group > .btn,
    .order-picker-search.input-group > .btn,
    form.input-group[data-live-search] > .btn {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 2px;
        border-radius: 6px !important;
        justify-content: center;
    }
}

/* System font override */
@font-face {
    font-family: 'Elms Sans';
    src: url("/duomoda/public/assets/fonts/ElmsSans-VariableFont_wght.ttf?v=1786393710") format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html,
body,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.input-group-text,
.table,
.dropdown-menu,
.modal,
.offcanvas,
.popover,
.tooltip {
    font-family: 'Elms Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}


/* Module button background */
.department-card {
    position: relative;
    isolation: isolate;
    min-height: 128px;
    overflow: hidden;
    border: 1px solid #252a38 !important;
    border-radius: 12px !important;
    background-color: #000000 !important;
    background-image: url("/duomoda/public/assets/images/bg-3-dark.png?v=1786393711") !important;
    background-repeat: no-repeat !important;
    background-position: left -44px top -28px !important;
    background-size: 300px auto !important;
    color: #e7ecff !important;
    box-shadow: inset 0 1px 0 rgba(231, 236, 255, 0.04) !important;
    transform: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.department-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: transparent;
    transition: background-color 0.18s ease;
}

.department-card h3,
.department-card p {
    color: #e7ecff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.department-card .app-icon {
    color: #1657ef !important;
    stroke: #1657ef !important;
    filter: drop-shadow(0 0 8px rgba(22, 87, 239, 0.24));
}

.department-card:hover,
.department-card:focus,
.department-card:focus-visible {
    border-color: #3a4259 !important;
    background-color: #05070d !important;
    color: #e7ecff !important;
    transform: none !important;
    box-shadow: inset 0 0 0 999px rgba(231, 236, 255, 0.045) !important;
}

.department-card:hover::before,
.department-card:focus::before,
.department-card:focus-visible::before {
    background: transparent;
}

.department-card:hover h3,
.department-card:focus h3,
.department-card:hover p,
.department-card:focus p {
    color: #f4f7ff !important;
}


/* Mobile and product color corrections */
.admin-offcanvas,
.admin-offcanvas .offcanvas-header,
.admin-offcanvas .offcanvas-body {
    background: #09090b !important;
    color: #e7ecff !important;
}

.admin-offcanvas .offcanvas-header {
    border-bottom: 1px solid #24283a !important;
}

.admin-offcanvas .offcanvas-title {
    color: #e7ecff !important;
}

.admin-offcanvas .btn-close {
    filter: invert(1);
    opacity: 0.9;
}

.mobile-menu-link {
    background: #09090b !important;
    border: 1px solid #24283a !important;
    color: #e7ecff !important;
}

.mobile-menu-link .app-icon {
    color: #1657ef !important;
    stroke: #1657ef !important;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus,
.mobile-menu-link.is-active {
    background: rgba(22, 87, 239, 0.16) !important;
    border-color: #1657ef !important;
    color: #e7ecff !important;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0 !important;
}

.form-check .form-check-input {
    float: none !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

.form-check .form-check-label {
    margin: 0 !important;
    line-height: 1.25;
}

.product-color-section {
    background: #09090b !important;
    border: 1px solid #24283a !important;
    border-radius: 0 !important;
    padding: 12px !important;
    color: #e7ecff !important;
}

.product-color-section,
.product-color-section h1,
.product-color-section h2,
.product-color-section h3,
.product-color-section p,
.product-color-section span,
.product-color-section strong,
.product-color-section label,
.product-color-section .section-title,
.product-color-section .text-muted,
.product-color-section .form-text {
    color: #e7ecff !important;
}

.product-color-section .form-control,
.product-color-section .form-control-color,
.product-color-section .product-color-hex {
    background: #09090b !important;
    border-color: #2a2f3a !important;
    color: #e7ecff !important;
}

.product-color-section .form-control:focus,
.product-color-section .product-color-hex:focus {
    border-color: #155dfc !important;
    box-shadow: 0 0 0 0.14rem rgba(21, 93, 252, 0.22) !important;
}

.product-color-list {
    padding-top: 8px;
    gap: 8px 12px !important;
}

.product-color-item {
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #e7ecff !important;
    padding: 0 !important;
    display: inline-grid !important;
    grid-template-columns: 100px auto 30px !important;
    grid-template-rows: auto !important;
    gap: 12px !important;
    align-items: center !important;
}

.product-color-item strong {
    color: #e7ecff !important;
    font-size: 0.78rem !important;
    line-height: 1 !important;
}

.product-color-empty {
    background: #09090b !important;
    border-color: #2a2f3a !important;
    color: #e7ecff !important;
}

.product-color-swatch {
    width: 100px !important;
    height: 100px !important;
    grid-row: auto !important;
    border-radius: 999px !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
    overflow: visible !important;
    background: transparent !important;
}

.product-color-swatch rect {
    width: 100px !important;
    height: 100px !important;
    rx: 50px;
    stroke: rgba(231, 236, 255, 0.92) !important;
    stroke-width: 0.4px !important;
}

.product-color-swatch.is-white rect {
    stroke: #000000 !important;
    stroke-width: 0.4px !important;
}

.product-color-strip-swatch rect {
    stroke: rgba(231, 236, 255, 0.92) !important;
    stroke-width: 0.4px !important;
}

@media (max-width: 575.98px) {
    .catalog-search.input-group,
    .order-picker-search.input-group,
    form.input-group[data-live-search] {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    .catalog-search.input-group > .input-group-text,
    .order-picker-search.input-group > .input-group-text,
    form.input-group[data-live-search] > .input-group-text {
        width: 44px !important;
        min-width: 44px !important;
        justify-content: center !important;
        border-radius: 6px !important;
    }

    .catalog-search.input-group > input.form-control,
    .order-picker-search.input-group > input.form-control,
    form.input-group[data-live-search] > input.form-control,
    .catalog-search.input-group > .form-control,
    .order-picker-search.input-group > .form-control,
    form.input-group[data-live-search] > .form-control {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: none !important;
        grid-column: 2 !important;
        border-radius: 6px !important;
    }

    .catalog-search.input-group > .btn,
    .order-picker-search.input-group > .btn,
    form.input-group[data-live-search] > .btn {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin-top: 2px !important;
        border-radius: 6px !important;
        justify-content: center !important;
    }
}

/* Copy toast and mobile catalog actions */
.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 10050;
    max-width: min(92vw, 340px);
    transform: translate(-50%, 12px);
    padding: 9px 13px;
    border: 1px solid #03672f;
    background: #032e15;
    color: #00a636;
    font-weight: 850;
    font-size: 0.86rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.copy-toast.is-open {
    opacity: 1;
    transform: translate(-50%, 0);
}

.copy-toast.is-error {
    border-color: #8e0809;
    background: #460809;
    color: #e7000b;
}

@media (max-width: 575.98px) {
    .scroll-top-button {
        right: 14px;
        bottom: calc(var(--app-footer-height) + 14px);
        width: 44px;
        height: 44px;
    }

    .catalog-filter-form {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .catalog-filter-form .btn {
        width: 100%;
    }

    .catalog-list-item {
        gap: 12px !important;
    }

    .catalog-list-item > .table-actions {
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .catalog-list-item > .table-actions form {
        display: inline-flex !important;
        width: auto !important;
        margin: 0 !important;
    }

    .catalog-list-item > .table-actions .action-icon-btn,
    .catalog-list-item > .table-actions form .action-icon-btn {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }

    .catalog-public-link {
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) 38px !important;
        width: 100% !important;
    }

    .catalog-public-link > .input-group-text,
    .catalog-public-link > .action-icon-btn {
        width: 38px !important;
        min-width: 38px !important;
        justify-content: center !important;
    }

    .catalog-public-link > .form-control {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Public catalog product info */
.catalog-public-card-body {
    background: #ffffff !important;
    color: #000000 !important;
    border-top: 1px solid #d7dce4 !important;
}

.catalog-public-card-body h2,
.catalog-public-card-body p,
.catalog-public-card-body strong,
.catalog-public-card-body span,
.catalog-public-card-body .catalog-public-colors {
    color: #000000 !important;
}

.catalog-public-card-body p {
    opacity: 1 !important;
}

.catalog-public-colors {
    justify-content: flex-start !important;
}

.catalog-public-colors .catalog-color-dot,
.catalog-public-card-body .catalog-color-dot {
    width: 20px !important;
    height: 20px !important;
}

.catalog-public-colors .catalog-color-dot circle,
.catalog-public-card-body .catalog-color-dot circle {
    stroke: #000000 !important;
    stroke-width: 0.4px !important;
}


/* User selectable themes */
.system-theme-panel {
    max-width: 980px;
}

.theme-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.theme-choice-card {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: auto 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #24283a;
    border-radius: 8px;
    background: #09090b;
    color: #e7ecff;
    cursor: pointer;
}

.theme-choice-card.is-selected {
    border-color: #1657ef;
    box-shadow: inset 0 0 0 1px rgba(22, 87, 239, 0.48);
}

.theme-choice-preview {
    height: 46px;
    border: 1px solid #2a2f3a;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 18px 1fr;
    grid-template-rows: repeat(3, 1fr);
    overflow: hidden;
}

.theme-choice-preview span:first-child {
    grid-row: 1 / -1;
}

.theme-choice-preview-dark-blue {
    background: #09090b;
}

.theme-choice-preview-dark-blue span:first-child {
    background: #05070d;
}

.theme-choice-preview-dark-blue span:nth-child(2) {
    background: #1657ef;
}

.theme-choice-preview-dark-blue span:nth-child(3) {
    background: #141416;
}

.theme-choice-preview-white-black {
    background: #ffffff;
    border-color: #c7c7cc;
}

.theme-choice-preview-white-black span:first-child {
    background: #e4e4e7;
}

.theme-choice-preview-white-black span:nth-child(2) {
    background: #000000;
}

.theme-choice-preview-white-black span:nth-child(3) {
    background: #f4f4f5;
}

.theme-choice-preview-green-vine {
    background: #f5f7fb;
    border-color: #dbe3ee;
}

.theme-choice-preview-green-vine span:first-child {
    background: #0f766e;
}

.theme-choice-preview-green-vine span:nth-child(2) {
    background: #f59e0b;
}

.theme-choice-preview-green-vine span:nth-child(3) {
    background: #ffffff;
}

.theme-choice-content {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.theme-choice-content strong {
    color: inherit;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.1;
}

.theme-choice-content small {
    color: #aab4d6;
    font-size: 0.86rem;
    line-height: 1.2;
}

body.theme-white-black,
body.theme-white-black.admin-body,
body.theme-white-black .admin-main,
body.theme-white-black .admin-content {
    --app-bg: #ffffff;
    --app-panel: #f4f4f5;
    --app-ink: #000000;
    --app-muted: #3f3f46;
    --app-border: #d4d4d8;
    --sidebar-bg: #f4f4f5;
    --sidebar-active: #000000;
    --focus-ring: rgba(0, 0, 0, 0.16);
    background: #ffffff !important;
    color: #000000 !important;
}

body.theme-white-black .app-icon {
    color: #000000 !important;
    stroke: #000000 !important;
}

body.theme-white-black .admin-sidebar,
body.theme-white-black .admin-offcanvas,
body.theme-white-black .admin-offcanvas .offcanvas-header,
body.theme-white-black .admin-offcanvas .offcanvas-body {
    background: #f4f4f5 !important;
    border-color: #d4d4d8 !important;
    color: #000000 !important;
    box-shadow: none !important;
}

body.theme-white-black .admin-topbar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: #d4d4d8 !important;
    color: #000000 !important;
}

body.theme-white-black .admin-sidebar .sidebar-brand,
body.theme-white-black .brand-mark,
body.theme-white-black .user-chip-avatar {
    background: #e4e4e7 !important;
    border: 1px solid #c7c7cc !important;
    color: #000000 !important;
}

body.theme-white-black .sidebar-link,
body.theme-white-black .sidebar-button,
body.theme-white-black .mobile-menu-link,
body.theme-white-black .admin-offcanvas .offcanvas-title {
    background: transparent !important;
    border-color: #d4d4d8 !important;
    color: #000000 !important;
}

body.theme-white-black .sidebar-link:hover,
body.theme-white-black .sidebar-link:focus,
body.theme-white-black .sidebar-link.is-active,
body.theme-white-black .mobile-menu-link:hover,
body.theme-white-black .mobile-menu-link:focus,
body.theme-white-black .mobile-menu-link.is-active {
    background: #e4e4e7 !important;
    border-color: #c7c7cc !important;
    color: #000000 !important;
}

body.theme-white-black .sidebar-link.is-active {
    box-shadow: inset 4px 0 0 #000000 !important;
}

body.theme-white-black .content-panel,
body.theme-white-black .auth-panel,
body.theme-white-black .department-card,
body.theme-white-black .catalog-list-item,
body.theme-white-black .catalog-product-card,
body.theme-white-black .permission-department,
body.theme-white-black .catalog-count-box,
body.theme-white-black .catalog-stock-switch,
body.theme-white-black .user-chip,
body.theme-white-black .card,
body.theme-white-black .modal-content,
body.theme-white-black .dropdown-menu,
body.theme-white-black .list-group-item,
body.theme-white-black .accordion-item,
body.theme-white-black .permission-row,
body.theme-white-black .permission-department-head,
body.theme-white-black .price-code-section,
body.theme-white-black .price-code-rules,
body.theme-white-black .price-code-rule,
body.theme-white-black .price-code-rule-one,
body.theme-white-black .price-code-rule-two,
body.theme-white-black .price-code-card,
body.theme-white-black .price-code-card-blue,
body.theme-white-black .price-code-card-red,
body.theme-white-black .price-code-preview,
body.theme-white-black .price-code-message,
body.theme-white-black .product-color-section,
body.theme-white-black .product-color-empty {
    background: #f4f4f5 !important;
    border-color: #d4d4d8 !important;
    color: #000000 !important;
    box-shadow: none !important;
}

body.theme-white-black .department-card {
    background-image: none !important;
    border-color: #d4d4d8 !important;
    text-shadow: none !important;
}

body.theme-white-black .department-card:hover,
body.theme-white-black .department-card:focus,
body.theme-white-black .department-card:focus-visible {
    background-color: #e4e4e7 !important;
    border-color: #a1a1aa !important;
    color: #000000 !important;
}

body.theme-white-black .topbar-title,
body.theme-white-black .department-heading h2,
body.theme-white-black .department-card h3,
body.theme-white-black .department-card p,
body.theme-white-black .permission-row-title,
body.theme-white-black .permission-department-head h3,
body.theme-white-black .product-showcase-main-row h2,
body.theme-white-black .product-showcase-main-row p,
body.theme-white-black .product-showcase-meta dd,
body.theme-white-black .product-showcase-colors,
body.theme-white-black .form-label,
body.theme-white-black .form-check-label,
body.theme-white-black .table,
body.theme-white-black .table td,
body.theme-white-black .table th,
body.theme-white-black .modal-title,
body.theme-white-black .dropdown-item,
body.theme-white-black .card-title,
body.theme-white-black .card-text,
body.theme-white-black h1,
body.theme-white-black h2,
body.theme-white-black h3,
body.theme-white-black h4,
body.theme-white-black h5,
body.theme-white-black h6,
body.theme-white-black p,
body.theme-white-black span,
body.theme-white-black strong,
body.theme-white-black label,
body.theme-white-black small,
body.theme-white-black dt,
body.theme-white-black dd {
    color: #000000 !important;
    text-shadow: none !important;
}

body.theme-white-black .text-muted,
body.theme-white-black .text-muted-strong,
body.theme-white-black .eyebrow,
body.theme-white-black .department-heading p,
body.theme-white-black .product-showcase-meta dt,
body.theme-white-black .product-showcase-colors > span,
body.theme-white-black .form-text,
body.theme-white-black .theme-choice-content small {
    color: #3f3f46 !important;
}

body.theme-white-black .form-control,
body.theme-white-black .form-select,
body.theme-white-black .input-group-text,
body.theme-white-black textarea.form-control,
body.theme-white-black input[type="text"],
body.theme-white-black input[type="search"],
body.theme-white-black input[type="email"],
body.theme-white-black input[type="password"],
body.theme-white-black input[type="number"],
body.theme-white-black input[type="tel"],
body.theme-white-black input[type="url"] {
    background-color: #ffffff !important;
    border-color: #c7c7cc !important;
    color: #000000 !important;
    box-shadow: none !important;
}

body.theme-white-black .form-control::placeholder {
    color: #52525b !important;
}

body.theme-white-black .form-control:focus,
body.theme-white-black .form-select:focus,
body.theme-white-black .form-check-input:focus,
body.theme-white-black .btn:focus-visible {
    border-color: #000000 !important;
    box-shadow: 0 0 0 0.16rem rgba(0, 0, 0, 0.16) !important;
}

body.theme-white-black .table {
    --bs-table-bg: transparent;
    --bs-table-color: #000000;
    --bs-table-border-color: #d4d4d8;
    --bs-table-striped-bg: #eeeeef;
    --bs-table-striped-color: #000000;
    --bs-table-hover-bg: #e4e4e7;
    --bs-table-hover-color: #000000;
    color: #000000 !important;
    border-color: #d4d4d8 !important;
}

body.theme-white-black .table thead th,
body.theme-white-black .table td,
body.theme-white-black .table th,
body.theme-white-black .department-heading,
body.theme-white-black .product-showcase-meta,
body.theme-white-black .product-showcase-colors,
body.theme-white-black .permission-actions {
    border-color: #d4d4d8 !important;
}

body.theme-white-black .btn-primary,
body.theme-white-black .btn-info,
body.theme-white-black .btn-secondary,
body.theme-white-black .btn-outline-primary,
body.theme-white-black .btn-outline-info,
body.theme-white-black .btn-outline-secondary,
body.theme-white-black .smart-button,
body.theme-white-black .product-showcase-download,
body.theme-white-black .action-icon-btn,
body.theme-white-black .icon-btn,
body.theme-white-black .back-topbar-btn,
body.theme-white-black .help-topbar-btn,
body.theme-white-black .form-control::file-selector-button,
body.theme-white-black input[type="file"]::file-selector-button {
    background: #e4e4e7 !important;
    border-color: #c7c7cc !important;
    color: #000000 !important;
    box-shadow: none !important;
}

body.theme-white-black .btn-primary *,
body.theme-white-black .btn-info *,
body.theme-white-black .btn-secondary *,
body.theme-white-black .btn-outline-primary *,
body.theme-white-black .btn-outline-info *,
body.theme-white-black .btn-outline-secondary *,
body.theme-white-black .smart-button *,
body.theme-white-black .product-showcase-download *,
body.theme-white-black .action-icon-btn *,
body.theme-white-black .icon-btn *,
body.theme-white-black .back-topbar-btn *,
body.theme-white-black .help-topbar-btn * {
    color: #000000 !important;
    stroke: #000000 !important;
}

body.theme-white-black .btn-primary:hover,
body.theme-white-black .btn-primary:focus,
body.theme-white-black .btn-info:hover,
body.theme-white-black .btn-info:focus,
body.theme-white-black .btn-secondary:hover,
body.theme-white-black .btn-secondary:focus,
body.theme-white-black .btn-outline-primary:hover,
body.theme-white-black .btn-outline-primary:focus,
body.theme-white-black .btn-outline-info:hover,
body.theme-white-black .btn-outline-info:focus,
body.theme-white-black .btn-outline-secondary:hover,
body.theme-white-black .btn-outline-secondary:focus,
body.theme-white-black .smart-button:hover,
body.theme-white-black .smart-button:focus,
body.theme-white-black .product-showcase-download:hover,
body.theme-white-black .product-showcase-download:focus,
body.theme-white-black .action-icon-btn:hover,
body.theme-white-black .action-icon-btn:focus,
body.theme-white-black .icon-btn:hover,
body.theme-white-black .icon-btn:focus,
body.theme-white-black .back-topbar-btn:hover,
body.theme-white-black .back-topbar-btn:focus,
body.theme-white-black .help-topbar-btn:hover,
body.theme-white-black .help-topbar-btn:focus {
    background: #d4d4d8 !important;
    border-color: #a1a1aa !important;
    color: #000000 !important;
}

body.theme-white-black .btn-success,
body.theme-white-black .btn-outline-success,
body.theme-white-black .smart-button.is-add,
body.theme-white-black .catalog-selection-action.is-add,
body.theme-white-black button[data-color-add],
body.theme-white-black button[data-catalog-toggle][data-selected="0"],
body.theme-white-black button[data-order-toggle][data-selected="0"] {
    background: #00c94f !important;
    border-color: #00c94f !important;
    color: #000000 !important;
}

body.theme-white-black .btn-success *,
body.theme-white-black .btn-outline-success *,
body.theme-white-black .smart-button.is-add *,
body.theme-white-black .catalog-selection-action.is-add *,
body.theme-white-black button[data-color-add] *,
body.theme-white-black button[data-catalog-toggle][data-selected="0"] *,
body.theme-white-black button[data-order-toggle][data-selected="0"] * {
    color: #000000 !important;
    stroke: #000000 !important;
}

body.theme-white-black .form-check-input,
body.theme-white-black input[type="checkbox"],
body.theme-white-black input[type="radio"] {
    accent-color: #000000;
}

body.theme-white-black .form-check-input {
    background-color: #ffffff !important;
    border-color: #71717a !important;
}

body.theme-white-black .form-check-input:checked {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

body.theme-white-black .form-switch .form-check-input:not(:checked) {
    background-color: #d4d4d8 !important;
    border-color: #a1a1aa !important;
}

body.theme-white-black .form-switch .form-check-input:checked {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

body.theme-white-black .admin-offcanvas .btn-close {
    filter: none !important;
    opacity: 1 !important;
}

body.theme-white-black .theme-choice-card {
    background: #ffffff !important;
    border-color: #d4d4d8 !important;
    color: #000000 !important;
}

body.theme-white-black .theme-choice-card.is-selected {
    border-color: #000000 !important;
    box-shadow: inset 0 0 0 1px #000000 !important;
}

@media (max-width: 575.98px) {
    .theme-choice-grid {
        grid-template-columns: 1fr;
    }

    .theme-choice-card {
        grid-template-columns: auto 64px minmax(0, 1fr);
    }

    .theme-choice-card .status-badge {
        grid-column: 1 / -1;
        justify-self: start;
    }
}


/* Dark Blue permissions hardening */
body.theme-dark-blue .permission-grid,
body.theme-dark-blue .permission-department-modules {
    background: transparent !important;
    color: #e7ecff !important;
}

body.theme-dark-blue .permission-department,
body.theme-dark-blue .permission-department-head,
body.theme-dark-blue .permission-row,
body.theme-dark-blue .permission-actions,
body.theme-dark-blue .permission-related {
    background: #141416 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
    box-shadow: none !important;
}

body.theme-dark-blue .permission-department-head {
    background: #111116 !important;
}

body.theme-dark-blue .permission-row {
    background: #141416 !important;
}

body.theme-dark-blue .permission-row + .permission-row {
    border-top: 0 !important;
}

body.theme-dark-blue .permission-actions {
    background: transparent !important;
}

body.theme-dark-blue .permission-row-title,
body.theme-dark-blue .permission-department-head h3,
body.theme-dark-blue .permission-department-head p,
body.theme-dark-blue .permission-row p,
body.theme-dark-blue .permission-row label,
body.theme-dark-blue .permission-row strong,
body.theme-dark-blue .permission-actions label,
body.theme-dark-blue .permission-related {
    color: #e7ecff !important;
}

body.theme-dark-blue .permission-row .text-muted,
body.theme-dark-blue .permission-department-head .text-muted,
body.theme-dark-blue .permission-department-head p {
    color: #aab4d6 !important;
}

body.theme-dark-blue .permission-row .form-check,
body.theme-dark-blue .permission-actions .form-check {
    background: transparent !important;
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-saved-card {
    background: #111116 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
    box-shadow: none !important;
}

body.theme-dark-blue .catalog-saved-card h4 {
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-saved-meta {
    color: #aab4d6 !important;
}

body.theme-dark-blue .catalog-saved-card .action-icon-btn,
body.theme-dark-blue .catalog-saved-card .action-icon-btn * {
    color: #ffffff !important;
    stroke: currentColor !important;
}


/* White Black button color parity with Dark Blue */
body.theme-white-black .btn-primary,
body.theme-white-black .btn-info,
body.theme-white-black .btn-secondary,
body.theme-white-black .btn-outline-primary,
body.theme-white-black .btn-outline-info,
body.theme-white-black .btn-outline-secondary,
body.theme-white-black .smart-button,
body.theme-white-black .product-showcase-download,
body.theme-white-black .action-icon-btn,
body.theme-white-black .icon-btn,
body.theme-white-black .back-topbar-btn,
body.theme-white-black .help-topbar-btn,
body.theme-white-black .form-control::file-selector-button,
body.theme-white-black input[type="file"]::file-selector-button {
    background: #155dfc !important;
    border-color: #155dfc !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.theme-white-black .btn-primary *,
body.theme-white-black .btn-info *,
body.theme-white-black .btn-secondary *,
body.theme-white-black .btn-outline-primary *,
body.theme-white-black .btn-outline-info *,
body.theme-white-black .btn-outline-secondary *,
body.theme-white-black .smart-button *,
body.theme-white-black .product-showcase-download *,
body.theme-white-black .action-icon-btn *,
body.theme-white-black .icon-btn *,
body.theme-white-black .back-topbar-btn *,
body.theme-white-black .help-topbar-btn * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

body.theme-white-black .btn-primary:hover,
body.theme-white-black .btn-primary:focus,
body.theme-white-black .btn-info:hover,
body.theme-white-black .btn-info:focus,
body.theme-white-black .btn-secondary:hover,
body.theme-white-black .btn-secondary:focus,
body.theme-white-black .btn-outline-primary:hover,
body.theme-white-black .btn-outline-primary:focus,
body.theme-white-black .btn-outline-info:hover,
body.theme-white-black .btn-outline-info:focus,
body.theme-white-black .btn-outline-secondary:hover,
body.theme-white-black .btn-outline-secondary:focus,
body.theme-white-black .smart-button:hover,
body.theme-white-black .smart-button:focus,
body.theme-white-black .product-showcase-download:hover,
body.theme-white-black .product-showcase-download:focus,
body.theme-white-black .action-icon-btn:hover,
body.theme-white-black .action-icon-btn:focus,
body.theme-white-black .icon-btn:hover,
body.theme-white-black .icon-btn:focus,
body.theme-white-black .back-topbar-btn:hover,
body.theme-white-black .back-topbar-btn:focus,
body.theme-white-black .help-topbar-btn:hover,
body.theme-white-black .help-topbar-btn:focus,
body.theme-white-black .form-control:hover::file-selector-button,
body.theme-white-black .form-control:focus::file-selector-button,
body.theme-white-black input[type="file"]:hover::file-selector-button,
body.theme-white-black input[type="file"]:focus::file-selector-button {
    background: #2f72ff !important;
    border-color: #2f72ff !important;
    color: #ffffff !important;
    transform: none !important;
}


/* Green Vine theme */
body.theme-green-vine,
body.theme-green-vine.admin-body,
body.theme-green-vine .admin-main,
body.theme-green-vine .admin-content,
body.theme-green-vine .auth-shell {
    --app-bg: #f5f7fb;
    --app-panel: #ffffff;
    --app-ink: #17202a;
    --app-muted: #64748b;
    --app-border: #dbe3ee;
    --sidebar-bg: #0f766e;
    --sidebar-active: #f59e0b;
    --focus-ring: rgba(15, 118, 110, 0.22);
    background: #f5f7fb !important;
    color: #17202a !important;
}

html:has(body.theme-green-vine) {
    background: #f5f7fb !important;
}

body.theme-green-vine .app-icon {
    color: #0f766e !important;
    stroke: #0f766e !important;
}

body.theme-green-vine .admin-sidebar {
    background: #0f766e !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    box-shadow: 12px 0 30px rgba(15, 118, 110, 0.15) !important;
}

body.theme-green-vine .admin-sidebar .sidebar-brand,
body.theme-green-vine .brand-mark,
body.theme-green-vine .user-chip-avatar {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
}

body.theme-green-vine .admin-sidebar .app-icon,
body.theme-green-vine .sidebar-link .app-icon,
body.theme-green-vine .sidebar-button .app-icon {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

body.theme-green-vine .sidebar-link,
body.theme-green-vine .sidebar-button {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.84) !important;
}

body.theme-green-vine .sidebar-link:hover,
body.theme-green-vine .sidebar-link:focus,
body.theme-green-vine .sidebar-link.is-active {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

body.theme-green-vine .sidebar-link.is-active {
    box-shadow: inset 4px 0 0 #f59e0b !important;
}

body.theme-green-vine .admin-topbar {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom-color: #dbe3ee !important;
    color: #17202a !important;
}

body.theme-green-vine .admin-offcanvas,
body.theme-green-vine .admin-offcanvas .offcanvas-header,
body.theme-green-vine .admin-offcanvas .offcanvas-body,
body.theme-green-vine .content-panel,
body.theme-green-vine .auth-panel,
body.theme-green-vine .department-card,
body.theme-green-vine .catalog-list-item,
body.theme-green-vine .catalog-product-card,
body.theme-green-vine .permission-department,
body.theme-green-vine .catalog-count-box,
body.theme-green-vine .catalog-stock-switch,
body.theme-green-vine .user-chip,
body.theme-green-vine .card,
body.theme-green-vine .modal-content,
body.theme-green-vine .dropdown-menu,
body.theme-green-vine .list-group-item,
body.theme-green-vine .accordion-item,
body.theme-green-vine .permission-row,
body.theme-green-vine .permission-department-head,
body.theme-green-vine .product-color-section,
body.theme-green-vine .product-color-empty {
    background: #ffffff !important;
    border-color: #dbe3ee !important;
    color: #17202a !important;
    box-shadow: 0 16px 40px rgba(23, 32, 42, 0.06) !important;
}

body.theme-green-vine .permission-department-head,
body.theme-green-vine .catalog-count-box,
body.theme-green-vine .permission-related {
    background: #f8fafc !important;
}

body.theme-green-vine .department-card {
    background-image: none !important;
    border-color: #7f8a96 !important;
    color: #17202a !important;
    text-shadow: none !important;
}

body.theme-green-vine .department-card:hover,
body.theme-green-vine .department-card:focus,
body.theme-green-vine .department-card:focus-visible {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.theme-green-vine .department-card:hover h3,
body.theme-green-vine .department-card:focus h3,
body.theme-green-vine .department-card:hover p,
body.theme-green-vine .department-card:focus p,
body.theme-green-vine .department-card:hover .app-icon,
body.theme-green-vine .department-card:focus .app-icon {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

body.theme-green-vine .topbar-title,
body.theme-green-vine .department-heading h2,
body.theme-green-vine .department-card h3,
body.theme-green-vine .department-card p,
body.theme-green-vine .permission-row-title,
body.theme-green-vine .permission-department-head h3,
body.theme-green-vine .product-showcase-main-row h2,
body.theme-green-vine .product-showcase-main-row p,
body.theme-green-vine .product-showcase-meta dd,
body.theme-green-vine .product-showcase-colors,
body.theme-green-vine .form-label,
body.theme-green-vine .form-check-label,
body.theme-green-vine .table,
body.theme-green-vine .table td,
body.theme-green-vine .table th,
body.theme-green-vine .modal-title,
body.theme-green-vine .dropdown-item,
body.theme-green-vine .card-title,
body.theme-green-vine .card-text,
body.theme-green-vine h1,
body.theme-green-vine h2,
body.theme-green-vine h3,
body.theme-green-vine h4,
body.theme-green-vine h5,
body.theme-green-vine h6,
body.theme-green-vine p,
body.theme-green-vine span,
body.theme-green-vine strong,
body.theme-green-vine label,
body.theme-green-vine small,
body.theme-green-vine dt,
body.theme-green-vine dd {
    color: #17202a !important;
    text-shadow: none !important;
}

body.theme-green-vine .text-muted,
body.theme-green-vine .text-muted-strong,
body.theme-green-vine .eyebrow,
body.theme-green-vine .department-heading p,
body.theme-green-vine .product-showcase-meta dt,
body.theme-green-vine .product-showcase-colors > span,
body.theme-green-vine .form-text,
body.theme-green-vine .theme-choice-content small {
    color: #64748b !important;
}

body.theme-green-vine .form-control,
body.theme-green-vine .form-select,
body.theme-green-vine .input-group-text,
body.theme-green-vine textarea.form-control,
body.theme-green-vine input[type="text"],
body.theme-green-vine input[type="search"],
body.theme-green-vine input[type="email"],
body.theme-green-vine input[type="password"],
body.theme-green-vine input[type="number"],
body.theme-green-vine input[type="tel"],
body.theme-green-vine input[type="url"] {
    background-color: #ffffff !important;
    border-color: #dbe3ee !important;
    color: #17202a !important;
    box-shadow: none !important;
}

body.theme-green-vine .form-control::placeholder {
    color: #64748b !important;
}

body.theme-green-vine .form-control:focus,
body.theme-green-vine .form-select:focus,
body.theme-green-vine .form-check-input:focus,
body.theme-green-vine .btn:focus-visible {
    border-color: #0f766e !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.22) !important;
}

body.theme-green-vine .table {
    --bs-table-bg: transparent;
    --bs-table-color: #17202a;
    --bs-table-border-color: #dbe3ee;
    --bs-table-striped-bg: #f8fafc;
    --bs-table-striped-color: #17202a;
    --bs-table-hover-bg: #eef6f5;
    --bs-table-hover-color: #17202a;
    color: #17202a !important;
    border-color: #dbe3ee !important;
}

body.theme-green-vine .table thead th,
body.theme-green-vine .table td,
body.theme-green-vine .table th,
body.theme-green-vine .department-heading,
body.theme-green-vine .product-showcase-meta,
body.theme-green-vine .product-showcase-colors,
body.theme-green-vine .permission-actions {
    border-color: #dbe3ee !important;
}

body.theme-green-vine .btn-primary,
body.theme-green-vine .btn-info,
body.theme-green-vine .btn-secondary,
body.theme-green-vine .btn-outline-primary,
body.theme-green-vine .btn-outline-info,
body.theme-green-vine .btn-outline-secondary,
body.theme-green-vine .smart-button,
body.theme-green-vine .product-showcase-download,
body.theme-green-vine .action-icon-btn,
body.theme-green-vine .icon-btn,
body.theme-green-vine .back-topbar-btn,
body.theme-green-vine .help-topbar-btn,
body.theme-green-vine .form-control::file-selector-button,
body.theme-green-vine input[type="file"]::file-selector-button {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.theme-green-vine .btn-primary *,
body.theme-green-vine .btn-info *,
body.theme-green-vine .btn-secondary *,
body.theme-green-vine .btn-outline-primary *,
body.theme-green-vine .btn-outline-info *,
body.theme-green-vine .btn-outline-secondary *,
body.theme-green-vine .smart-button *,
body.theme-green-vine .product-showcase-download *,
body.theme-green-vine .action-icon-btn *,
body.theme-green-vine .icon-btn *,
body.theme-green-vine .back-topbar-btn *,
body.theme-green-vine .help-topbar-btn * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

body.theme-green-vine .btn-primary:hover,
body.theme-green-vine .btn-primary:focus,
body.theme-green-vine .btn-info:hover,
body.theme-green-vine .btn-info:focus,
body.theme-green-vine .btn-secondary:hover,
body.theme-green-vine .btn-secondary:focus,
body.theme-green-vine .btn-outline-primary:hover,
body.theme-green-vine .btn-outline-primary:focus,
body.theme-green-vine .btn-outline-info:hover,
body.theme-green-vine .btn-outline-info:focus,
body.theme-green-vine .btn-outline-secondary:hover,
body.theme-green-vine .btn-outline-secondary:focus,
body.theme-green-vine .smart-button:hover,
body.theme-green-vine .smart-button:focus,
body.theme-green-vine .product-showcase-download:hover,
body.theme-green-vine .product-showcase-download:focus,
body.theme-green-vine .action-icon-btn:hover,
body.theme-green-vine .action-icon-btn:focus,
body.theme-green-vine .icon-btn:hover,
body.theme-green-vine .icon-btn:focus,
body.theme-green-vine .back-topbar-btn:hover,
body.theme-green-vine .back-topbar-btn:focus,
body.theme-green-vine .help-topbar-btn:hover,
body.theme-green-vine .help-topbar-btn:focus {
    background: #115e59 !important;
    border-color: #115e59 !important;
    color: #ffffff !important;
    transform: none !important;
}

body.theme-green-vine .btn-success,
body.theme-green-vine .btn-outline-success,
body.theme-green-vine .smart-button.is-add,
body.theme-green-vine .catalog-selection-action.is-add,
body.theme-green-vine button[data-color-add],
body.theme-green-vine button[data-catalog-toggle][data-selected="0"],
body.theme-green-vine button[data-order-toggle][data-selected="0"] {
    background: #00c94f !important;
    border-color: #00c94f !important;
    color: #09090b !important;
}

body.theme-green-vine .btn-success *,
body.theme-green-vine .btn-outline-success *,
body.theme-green-vine .smart-button.is-add *,
body.theme-green-vine .catalog-selection-action.is-add *,
body.theme-green-vine button[data-color-add] *,
body.theme-green-vine button[data-catalog-toggle][data-selected="0"] *,
body.theme-green-vine button[data-order-toggle][data-selected="0"] * {
    color: #09090b !important;
    stroke: #09090b !important;
}

body.theme-green-vine .form-check-input,
body.theme-green-vine input[type="checkbox"],
body.theme-green-vine input[type="radio"] {
    accent-color: #0f766e;
}

body.theme-green-vine .form-check-input {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
}

body.theme-green-vine .form-check-input:checked {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
}

body.theme-green-vine .form-switch .form-check-input:not(:checked) {
    background-color: #cbd5e1 !important;
    border-color: #94a3b8 !important;
}

body.theme-green-vine .form-switch .form-check-input:checked {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
}

body.theme-green-vine .admin-offcanvas .btn-close {
    filter: none !important;
    opacity: 1 !important;
}

body.theme-green-vine .theme-choice-card {
    background: #ffffff !important;
    border-color: #dbe3ee !important;
    color: #17202a !important;
}

body.theme-green-vine .theme-choice-card.is-selected {
    border-color: #0f766e !important;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.44) !important;
}


/* Balanced contrast themes based on Dark Blue structure */
body.theme-white-black,
body.theme-white-black.admin-body,
body.theme-white-black .admin-main,
body.theme-white-black .admin-content {
    --app-bg: #ffffff;
    --app-panel: #111113;
    --app-ink: #0a0a0a;
    --app-muted: #52525b;
    --app-border: #d4d4d8;
    --sidebar-bg: #0f0f10;
    --sidebar-active: #ffffff;
    --focus-ring: rgba(0, 0, 0, 0.18);
    background: #ffffff !important;
    color: #0a0a0a !important;
}

html:has(body.theme-white-black) {
    background: #ffffff !important;
}

body.theme-white-black .admin-sidebar,
body.theme-white-black .admin-topbar,
body.theme-white-black .admin-offcanvas,
body.theme-white-black .admin-offcanvas .offcanvas-header,
body.theme-white-black .admin-offcanvas .offcanvas-body,
body.theme-white-black .content-panel,
body.theme-white-black .auth-panel,
body.theme-white-black .department-card,
body.theme-white-black .catalog-list-item,
body.theme-white-black .catalog-product-card,
body.theme-white-black .permission-department,
body.theme-white-black .permission-department-head,
body.theme-white-black .permission-row,
body.theme-white-black .catalog-count-box,
body.theme-white-black .catalog-stock-switch,
body.theme-white-black .user-chip,
body.theme-white-black .card,
body.theme-white-black .modal-content,
body.theme-white-black .dropdown-menu,
body.theme-white-black .list-group-item,
body.theme-white-black .accordion-item,
body.theme-white-black .price-code-section,
body.theme-white-black .price-code-rules,
body.theme-white-black .price-code-rule,
body.theme-white-black .price-code-rule-one,
body.theme-white-black .price-code-rule-two,
body.theme-white-black .price-code-card,
body.theme-white-black .price-code-card-blue,
body.theme-white-black .price-code-card-red,
body.theme-white-black .price-code-message,
body.theme-white-black .product-color-section,
body.theme-white-black .product-color-empty {
    background: #111113 !important;
    border-color: #2d2d31 !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body.theme-white-black .admin-sidebar {
    border-right-color: #2d2d31 !important;
}

body.theme-white-black .admin-topbar {
    background: rgba(17, 17, 19, 0.96) !important;
    border-bottom-color: #2d2d31 !important;
}

body.theme-white-black .admin-sidebar .sidebar-brand,
body.theme-white-black .brand-mark,
body.theme-white-black .user-chip-avatar {
    background: #f4f4f5 !important;
    border-color: #d4d4d8 !important;
    color: #0a0a0a !important;
}

body.theme-white-black .sidebar-link,
body.theme-white-black .sidebar-button,
body.theme-white-black .mobile-menu-link {
    background: transparent !important;
    border-color: #2d2d31 !important;
    color: #f4f4f5 !important;
}

body.theme-white-black .sidebar-link:hover,
body.theme-white-black .sidebar-link:focus,
body.theme-white-black .sidebar-link.is-active,
body.theme-white-black .mobile-menu-link:hover,
body.theme-white-black .mobile-menu-link:focus,
body.theme-white-black .mobile-menu-link.is-active {
    background: rgba(244, 244, 245, 0.14) !important;
    border-color: #f4f4f5 !important;
    color: #ffffff !important;
}

body.theme-white-black .sidebar-link.is-active {
    box-shadow: inset 4px 0 0 #ffffff !important;
}

body.theme-white-black .app-icon {
    color: #0a0a0a !important;
    stroke: #0a0a0a !important;
}

body.theme-white-black .admin-sidebar .app-icon,
body.theme-white-black .admin-topbar .app-icon,
body.theme-white-black .content-panel .app-icon,
body.theme-white-black .auth-panel .app-icon,
body.theme-white-black .department-card .app-icon,
body.theme-white-black .catalog-list-item .app-icon,
body.theme-white-black .permission-department .app-icon,
body.theme-white-black .permission-row .app-icon,
body.theme-white-black .card .app-icon,
body.theme-white-black .modal-content .app-icon,
body.theme-white-black .mobile-menu-link .app-icon {
    color: #f4f4f5 !important;
    stroke: #f4f4f5 !important;
}

body.theme-white-black .topbar-title,
body.theme-white-black .admin-topbar .eyebrow,
body.theme-white-black .admin-topbar .user-chip,
body.theme-white-black .admin-offcanvas .offcanvas-title,
body.theme-white-black .content-panel h1,
body.theme-white-black .content-panel h2,
body.theme-white-black .content-panel h3,
body.theme-white-black .content-panel h4,
body.theme-white-black .content-panel h5,
body.theme-white-black .content-panel h6,
body.theme-white-black .content-panel p,
body.theme-white-black .content-panel span,
body.theme-white-black .content-panel strong,
body.theme-white-black .content-panel label,
body.theme-white-black .department-card h3,
body.theme-white-black .department-card p,
body.theme-white-black .permission-row-title,
body.theme-white-black .permission-department-head h3,
body.theme-white-black .permission-department-head p,
body.theme-white-black .permission-row p,
body.theme-white-black .permission-row label,
body.theme-white-black .permission-actions label,
body.theme-white-black .card-title,
body.theme-white-black .card-text,
body.theme-white-black .modal-title,
body.theme-white-black .dropdown-item,
body.theme-white-black .table,
body.theme-white-black .table td,
body.theme-white-black .table th {
    color: #f4f4f5 !important;
    text-shadow: none !important;
}

body.theme-white-black .text-muted,
body.theme-white-black .text-muted-strong,
body.theme-white-black .form-text,
body.theme-white-black .content-panel .text-muted,
body.theme-white-black .permission-row .text-muted,
body.theme-white-black .permission-department-head .text-muted,
body.theme-white-black .department-heading p,
body.theme-white-black small {
    color: #c7c7cc !important;
}

body.theme-white-black .department-heading h2,
body.theme-white-black .department-heading p,
body.theme-white-black .theme-choice-card h1,
body.theme-white-black .theme-choice-card h2,
body.theme-white-black .theme-choice-card h3,
body.theme-white-black .theme-choice-card p,
body.theme-white-black .theme-choice-card span,
body.theme-white-black .theme-choice-card strong,
body.theme-white-black .theme-choice-card small {
    color: #f4f4f5 !important;
}

body.theme-white-black .product-showcase-info,
body.theme-white-black .catalog-public-card-body,
body.theme-white-black .product-color-preview,
body.theme-white-black .theme-choice-preview {
    background: #ffffff !important;
    border-color: #d4d4d8 !important;
    color: #0a0a0a !important;
}

body.theme-white-black .product-showcase-info h1,
body.theme-white-black .product-showcase-info h2,
body.theme-white-black .product-showcase-info h3,
body.theme-white-black .product-showcase-info p,
body.theme-white-black .product-showcase-info span,
body.theme-white-black .product-showcase-info strong,
body.theme-white-black .product-showcase-info dt,
body.theme-white-black .product-showcase-info dd,
body.theme-white-black .catalog-public-card-body h1,
body.theme-white-black .catalog-public-card-body h2,
body.theme-white-black .catalog-public-card-body h3,
body.theme-white-black .catalog-public-card-body p,
body.theme-white-black .catalog-public-card-body span,
body.theme-white-black .catalog-public-card-body strong {
    color: #0a0a0a !important;
}

body.theme-white-black .form-control,
body.theme-white-black .form-select,
body.theme-white-black .input-group-text,
body.theme-white-black textarea.form-control,
body.theme-white-black input[type="text"],
body.theme-white-black input[type="search"],
body.theme-white-black input[type="email"],
body.theme-white-black input[type="password"],
body.theme-white-black input[type="number"],
body.theme-white-black input[type="tel"],
body.theme-white-black input[type="url"],
body.theme-white-black .price-code-input,
body.theme-white-black .price-code-input-one,
body.theme-white-black .price-code-input-two {
    background-color: #0a0a0b !important;
    border-color: #3f3f46 !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body.theme-white-black .form-control::placeholder {
    color: #a1a1aa !important;
}

body.theme-white-black .form-control:focus,
body.theme-white-black .form-select:focus,
body.theme-white-black .form-check-input:focus,
body.theme-white-black .btn:focus-visible {
    border-color: #f4f4f5 !important;
    box-shadow: 0 0 0 0.16rem rgba(244, 244, 245, 0.2) !important;
}

body.theme-white-black .table {
    --bs-table-bg: transparent;
    --bs-table-color: #f4f4f5;
    --bs-table-border-color: #2d2d31;
    --bs-table-striped-bg: #17171a;
    --bs-table-striped-color: #f4f4f5;
    --bs-table-hover-bg: #202024;
    --bs-table-hover-color: #ffffff;
    color: #f4f4f5 !important;
    border-color: #2d2d31 !important;
}

body.theme-white-black .btn-primary,
body.theme-white-black .btn-info,
body.theme-white-black .btn-secondary,
body.theme-white-black .btn-outline-primary,
body.theme-white-black .btn-outline-info,
body.theme-white-black .btn-outline-secondary,
body.theme-white-black .smart-button,
body.theme-white-black .product-showcase-download,
body.theme-white-black .action-icon-btn,
body.theme-white-black .icon-btn,
body.theme-white-black .back-topbar-btn,
body.theme-white-black .help-topbar-btn,
body.theme-white-black .form-control::file-selector-button,
body.theme-white-black input[type="file"]::file-selector-button {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #0a0a0a !important;
    box-shadow: none !important;
}

body.theme-white-black .btn-primary *,
body.theme-white-black .btn-info *,
body.theme-white-black .btn-secondary *,
body.theme-white-black .btn-outline-primary *,
body.theme-white-black .btn-outline-info *,
body.theme-white-black .btn-outline-secondary *,
body.theme-white-black .smart-button *,
body.theme-white-black .product-showcase-download *,
body.theme-white-black .action-icon-btn *,
body.theme-white-black .icon-btn *,
body.theme-white-black .back-topbar-btn *,
body.theme-white-black .help-topbar-btn * {
    color: #0a0a0a !important;
    stroke: #0a0a0a !important;
}

body.theme-white-black .btn-primary:hover,
body.theme-white-black .btn-primary:focus,
body.theme-white-black .btn-info:hover,
body.theme-white-black .btn-info:focus,
body.theme-white-black .btn-secondary:hover,
body.theme-white-black .btn-secondary:focus,
body.theme-white-black .btn-outline-primary:hover,
body.theme-white-black .btn-outline-primary:focus,
body.theme-white-black .btn-outline-info:hover,
body.theme-white-black .btn-outline-info:focus,
body.theme-white-black .btn-outline-secondary:hover,
body.theme-white-black .btn-outline-secondary:focus,
body.theme-white-black .smart-button:hover,
body.theme-white-black .smart-button:focus,
body.theme-white-black .product-showcase-download:hover,
body.theme-white-black .product-showcase-download:focus,
body.theme-white-black .action-icon-btn:hover,
body.theme-white-black .action-icon-btn:focus,
body.theme-white-black .icon-btn:hover,
body.theme-white-black .icon-btn:focus,
body.theme-white-black .back-topbar-btn:hover,
body.theme-white-black .back-topbar-btn:focus,
body.theme-white-black .help-topbar-btn:hover,
body.theme-white-black .help-topbar-btn:focus {
    background: #d4d4d8 !important;
    border-color: #d4d4d8 !important;
    color: #0a0a0a !important;
    transform: none !important;
}

body.theme-white-black .btn-success,
body.theme-white-black .btn-outline-success,
body.theme-white-black .smart-button.is-add,
body.theme-white-black .catalog-selection-action.is-add,
body.theme-white-black button[data-color-add],
body.theme-white-black button[data-catalog-toggle][data-selected="0"],
body.theme-white-black button[data-order-toggle][data-selected="0"] {
    background: #00c94f !important;
    border-color: #00c94f !important;
    color: #09090b !important;
}

body.theme-white-black .btn-success *,
body.theme-white-black .btn-outline-success *,
body.theme-white-black .smart-button.is-add *,
body.theme-white-black .catalog-selection-action.is-add *,
body.theme-white-black button[data-color-add] *,
body.theme-white-black button[data-catalog-toggle][data-selected="0"] *,
body.theme-white-black button[data-order-toggle][data-selected="0"] * {
    color: #09090b !important;
    stroke: #09090b !important;
}

body.theme-white-black .form-check-input {
    background-color: #0a0a0b !important;
    border-color: #71717a !important;
}

body.theme-white-black .form-check-input:checked,
body.theme-white-black .form-switch .form-check-input:checked {
    background-color: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
}

body.theme-white-black .form-switch .form-check-input:not(:checked) {
    background-color: #27272a !important;
    border-color: #3f3f46 !important;
}

body.theme-green-vine,
body.theme-green-vine.admin-body,
body.theme-green-vine .admin-main,
body.theme-green-vine .admin-content,
body.theme-green-vine .auth-shell {
    --app-bg: #f5f2e8;
    --app-panel: #10251e;
    --app-ink: #1f2933;
    --app-muted: #697568;
    --app-border: #d9d0ad;
    --sidebar-bg: #10251e;
    --sidebar-active: #d9a21b;
    --focus-ring: rgba(217, 162, 27, 0.26);
    background: #f5f2e8 !important;
    color: #1f2933 !important;
}

html:has(body.theme-green-vine) {
    background: #f5f2e8 !important;
}

body.theme-green-vine .admin-sidebar,
body.theme-green-vine .admin-topbar,
body.theme-green-vine .admin-offcanvas,
body.theme-green-vine .admin-offcanvas .offcanvas-header,
body.theme-green-vine .admin-offcanvas .offcanvas-body,
body.theme-green-vine .content-panel,
body.theme-green-vine .auth-panel,
body.theme-green-vine .department-card,
body.theme-green-vine .catalog-list-item,
body.theme-green-vine .catalog-product-card,
body.theme-green-vine .permission-department,
body.theme-green-vine .permission-department-head,
body.theme-green-vine .permission-row,
body.theme-green-vine .catalog-count-box,
body.theme-green-vine .catalog-stock-switch,
body.theme-green-vine .user-chip,
body.theme-green-vine .card,
body.theme-green-vine .modal-content,
body.theme-green-vine .dropdown-menu,
body.theme-green-vine .list-group-item,
body.theme-green-vine .accordion-item,
body.theme-green-vine .price-code-section,
body.theme-green-vine .price-code-rules,
body.theme-green-vine .price-code-rule,
body.theme-green-vine .price-code-rule-one,
body.theme-green-vine .price-code-rule-two,
body.theme-green-vine .price-code-card,
body.theme-green-vine .price-code-card-blue,
body.theme-green-vine .price-code-card-red,
body.theme-green-vine .price-code-message,
body.theme-green-vine .product-color-section,
body.theme-green-vine .product-color-empty {
    background: #10251e !important;
    border-color: #29463a !important;
    color: #fff8df !important;
    box-shadow: none !important;
}

body.theme-green-vine .admin-sidebar {
    border-right-color: #29463a !important;
}

body.theme-green-vine .admin-topbar {
    background: rgba(16, 37, 30, 0.96) !important;
    border-bottom-color: #29463a !important;
}

body.theme-green-vine .admin-sidebar .sidebar-brand,
body.theme-green-vine .brand-mark,
body.theme-green-vine .user-chip-avatar {
    background: #d9a21b !important;
    border-color: #e8c46d !important;
    color: #10251e !important;
}

body.theme-green-vine .sidebar-link,
body.theme-green-vine .sidebar-button,
body.theme-green-vine .mobile-menu-link {
    background: transparent !important;
    border-color: #29463a !important;
    color: #fff8df !important;
}

body.theme-green-vine .sidebar-link:hover,
body.theme-green-vine .sidebar-link:focus,
body.theme-green-vine .sidebar-link.is-active,
body.theme-green-vine .mobile-menu-link:hover,
body.theme-green-vine .mobile-menu-link:focus,
body.theme-green-vine .mobile-menu-link.is-active {
    background: rgba(217, 162, 27, 0.18) !important;
    border-color: #d9a21b !important;
    color: #fff8df !important;
}

body.theme-green-vine .sidebar-link.is-active {
    box-shadow: inset 4px 0 0 #d9a21b !important;
}

body.theme-green-vine .app-icon {
    color: #b88700 !important;
    stroke: #b88700 !important;
}

body.theme-green-vine .admin-sidebar .app-icon,
body.theme-green-vine .admin-topbar .app-icon,
body.theme-green-vine .content-panel .app-icon,
body.theme-green-vine .auth-panel .app-icon,
body.theme-green-vine .department-card .app-icon,
body.theme-green-vine .catalog-list-item .app-icon,
body.theme-green-vine .permission-department .app-icon,
body.theme-green-vine .permission-row .app-icon,
body.theme-green-vine .card .app-icon,
body.theme-green-vine .modal-content .app-icon,
body.theme-green-vine .mobile-menu-link .app-icon {
    color: #d9a21b !important;
    stroke: #d9a21b !important;
}

body.theme-green-vine .topbar-title,
body.theme-green-vine .admin-topbar .eyebrow,
body.theme-green-vine .admin-topbar .user-chip,
body.theme-green-vine .admin-offcanvas .offcanvas-title,
body.theme-green-vine .content-panel h1,
body.theme-green-vine .content-panel h2,
body.theme-green-vine .content-panel h3,
body.theme-green-vine .content-panel h4,
body.theme-green-vine .content-panel h5,
body.theme-green-vine .content-panel h6,
body.theme-green-vine .content-panel p,
body.theme-green-vine .content-panel span,
body.theme-green-vine .content-panel strong,
body.theme-green-vine .content-panel label,
body.theme-green-vine .department-card h3,
body.theme-green-vine .department-card p,
body.theme-green-vine .permission-row-title,
body.theme-green-vine .permission-department-head h3,
body.theme-green-vine .permission-department-head p,
body.theme-green-vine .permission-row p,
body.theme-green-vine .permission-row label,
body.theme-green-vine .permission-actions label,
body.theme-green-vine .card-title,
body.theme-green-vine .card-text,
body.theme-green-vine .modal-title,
body.theme-green-vine .dropdown-item,
body.theme-green-vine .table,
body.theme-green-vine .table td,
body.theme-green-vine .table th {
    color: #fff8df !important;
    text-shadow: none !important;
}

body.theme-green-vine .text-muted,
body.theme-green-vine .text-muted-strong,
body.theme-green-vine .form-text,
body.theme-green-vine .content-panel .text-muted,
body.theme-green-vine .permission-row .text-muted,
body.theme-green-vine .permission-department-head .text-muted,
body.theme-green-vine .department-heading p,
body.theme-green-vine small {
    color: #d9d0ad !important;
}

body.theme-green-vine .department-heading h2,
body.theme-green-vine .department-heading p {
    color: #1f2933 !important;
}

body.theme-green-vine .product-showcase-info,
body.theme-green-vine .catalog-public-card-body,
body.theme-green-vine .product-color-preview,
body.theme-green-vine .theme-choice-preview {
    background: #fffaf0 !important;
    border-color: #d9d0ad !important;
    color: #1f2933 !important;
}

body.theme-green-vine .product-showcase-info h1,
body.theme-green-vine .product-showcase-info h2,
body.theme-green-vine .product-showcase-info h3,
body.theme-green-vine .product-showcase-info p,
body.theme-green-vine .product-showcase-info span,
body.theme-green-vine .product-showcase-info strong,
body.theme-green-vine .product-showcase-info dt,
body.theme-green-vine .product-showcase-info dd,
body.theme-green-vine .catalog-public-card-body h1,
body.theme-green-vine .catalog-public-card-body h2,
body.theme-green-vine .catalog-public-card-body h3,
body.theme-green-vine .catalog-public-card-body p,
body.theme-green-vine .catalog-public-card-body span,
body.theme-green-vine .catalog-public-card-body strong {
    color: #1f2933 !important;
}

body.theme-green-vine .form-control,
body.theme-green-vine .form-select,
body.theme-green-vine .input-group-text,
body.theme-green-vine textarea.form-control,
body.theme-green-vine input[type="text"],
body.theme-green-vine input[type="search"],
body.theme-green-vine input[type="email"],
body.theme-green-vine input[type="password"],
body.theme-green-vine input[type="number"],
body.theme-green-vine input[type="tel"],
body.theme-green-vine input[type="url"],
body.theme-green-vine .price-code-input,
body.theme-green-vine .price-code-input-one,
body.theme-green-vine .price-code-input-two {
    background-color: #0b1d17 !important;
    border-color: #3a5a49 !important;
    color: #fff8df !important;
    box-shadow: none !important;
}

body.theme-green-vine .form-control::placeholder {
    color: #c7bd97 !important;
}

body.theme-green-vine .form-control:focus,
body.theme-green-vine .form-select:focus,
body.theme-green-vine .form-check-input:focus,
body.theme-green-vine .btn:focus-visible {
    border-color: #d9a21b !important;
    box-shadow: 0 0 0 0.16rem rgba(217, 162, 27, 0.24) !important;
}

body.theme-green-vine .table {
    --bs-table-bg: transparent;
    --bs-table-color: #fff8df;
    --bs-table-border-color: #29463a;
    --bs-table-striped-bg: #143126;
    --bs-table-striped-color: #fff8df;
    --bs-table-hover-bg: #1a3b2f;
    --bs-table-hover-color: #ffffff;
    color: #fff8df !important;
    border-color: #29463a !important;
}

body.theme-green-vine .btn-primary,
body.theme-green-vine .btn-info,
body.theme-green-vine .btn-secondary,
body.theme-green-vine .btn-outline-primary,
body.theme-green-vine .btn-outline-info,
body.theme-green-vine .btn-outline-secondary,
body.theme-green-vine .smart-button,
body.theme-green-vine .product-showcase-download,
body.theme-green-vine .action-icon-btn,
body.theme-green-vine .icon-btn,
body.theme-green-vine .back-topbar-btn,
body.theme-green-vine .help-topbar-btn,
body.theme-green-vine .form-control::file-selector-button,
body.theme-green-vine input[type="file"]::file-selector-button {
    background: #d9a21b !important;
    border-color: #d9a21b !important;
    color: #10251e !important;
    box-shadow: none !important;
}

body.theme-green-vine .btn-primary *,
body.theme-green-vine .btn-info *,
body.theme-green-vine .btn-secondary *,
body.theme-green-vine .btn-outline-primary *,
body.theme-green-vine .btn-outline-info *,
body.theme-green-vine .btn-outline-secondary *,
body.theme-green-vine .smart-button *,
body.theme-green-vine .product-showcase-download *,
body.theme-green-vine .action-icon-btn *,
body.theme-green-vine .icon-btn *,
body.theme-green-vine .back-topbar-btn *,
body.theme-green-vine .help-topbar-btn * {
    color: #10251e !important;
    stroke: #10251e !important;
}

body.theme-green-vine .btn-primary:hover,
body.theme-green-vine .btn-primary:focus,
body.theme-green-vine .btn-info:hover,
body.theme-green-vine .btn-info:focus,
body.theme-green-vine .btn-secondary:hover,
body.theme-green-vine .btn-secondary:focus,
body.theme-green-vine .btn-outline-primary:hover,
body.theme-green-vine .btn-outline-primary:focus,
body.theme-green-vine .btn-outline-info:hover,
body.theme-green-vine .btn-outline-info:focus,
body.theme-green-vine .btn-outline-secondary:hover,
body.theme-green-vine .btn-outline-secondary:focus,
body.theme-green-vine .smart-button:hover,
body.theme-green-vine .smart-button:focus,
body.theme-green-vine .product-showcase-download:hover,
body.theme-green-vine .product-showcase-download:focus,
body.theme-green-vine .action-icon-btn:hover,
body.theme-green-vine .action-icon-btn:focus,
body.theme-green-vine .icon-btn:hover,
body.theme-green-vine .icon-btn:focus,
body.theme-green-vine .back-topbar-btn:hover,
body.theme-green-vine .back-topbar-btn:focus,
body.theme-green-vine .help-topbar-btn:hover,
body.theme-green-vine .help-topbar-btn:focus {
    background: #e6b73d !important;
    border-color: #e6b73d !important;
    color: #10251e !important;
    transform: none !important;
}

body.theme-green-vine .btn-success,
body.theme-green-vine .btn-outline-success,
body.theme-green-vine .smart-button.is-add,
body.theme-green-vine .catalog-selection-action.is-add,
body.theme-green-vine button[data-color-add],
body.theme-green-vine button[data-catalog-toggle][data-selected="0"],
body.theme-green-vine button[data-order-toggle][data-selected="0"] {
    background: #00c94f !important;
    border-color: #00c94f !important;
    color: #10251e !important;
}

body.theme-green-vine .btn-success *,
body.theme-green-vine .btn-outline-success *,
body.theme-green-vine .smart-button.is-add *,
body.theme-green-vine .catalog-selection-action.is-add *,
body.theme-green-vine button[data-color-add] *,
body.theme-green-vine button[data-catalog-toggle][data-selected="0"] *,
body.theme-green-vine button[data-order-toggle][data-selected="0"] * {
    color: #10251e !important;
    stroke: #10251e !important;
}

body.theme-green-vine .form-check-input {
    background-color: #0b1d17 !important;
    border-color: #6a8065 !important;
}

body.theme-green-vine .form-check-input:checked,
body.theme-green-vine .form-switch .form-check-input:checked {
    background-color: #d9a21b !important;
    border-color: #d9a21b !important;
}

body.theme-green-vine .form-switch .form-check-input:not(:checked) {
    background-color: #1a3b2f !important;
    border-color: #3a5a49 !important;
}


/* Dark Blue catalog builder hardening */
body.theme-dark-blue .catalog-selection-list,
body.theme-dark-blue .catalog-public-list {
    background: #111116 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-selection-row {
    background: #111116 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-selection-row.is-selected {
    background: #141416 !important;
    box-shadow: inset 4px 0 0 #00c94f !important;
}

body.theme-dark-blue .catalog-selection-title {
    background: #111116 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-selection-photo {
    background: #09090b !important;
    border-color: #24283a !important;
}

body.theme-dark-blue .catalog-selection-attributes {
    background: #141416 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-selection-price {
    background: #111116 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-selection-chip:not(.inventory-part-future):not(.inventory-part-reserved):not(.inventory-part-purchase):not(.inventory-part-stock):not(.inventory-part-available):not(.inventory-part-empty) {
    background: #09090b !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
    box-shadow: none !important;
}

body.theme-dark-blue .catalog-count-box {
    background: #141416 !important;
    border-color: #24283a !important;
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-count-box span,
body.theme-dark-blue .catalog-count-box strong {
    color: #e7ecff !important;
}

body.theme-dark-blue .catalog-color-dot circle {
    stroke: #e7ecff !important;
    stroke-width: 0.4px !important;
}


/* Inventory quantity tones */
.status-badge.inventory-part-future,
.catalog-selection-chip.inventory-part-future {
    background: #071a52 !important;
    border: 1px solid #1657ef !important;
    color: #2f72ff !important;
}

.status-badge.inventory-part-reserved,
.status-badge.inventory-part-purchase,
.catalog-selection-chip.inventory-part-reserved,
.catalog-selection-chip.inventory-part-purchase {
    background: #432004 !important;
    border: 1px solid #745c01 !important;
    color: #d08701 !important;
}

.status-badge.inventory-part-stock,
.status-badge.inventory-part-available,
.catalog-selection-chip.inventory-part-stock,
.catalog-selection-chip.inventory-part-available {
    background: #032e15 !important;
    border: 1px solid #03672f !important;
    color: #00a636 !important;
}

.status-badge.inventory-part-empty,
.catalog-selection-chip.inventory-part-empty {
    background: #460809 !important;
    border: 1px solid #8e0809 !important;
    color: #e7000b !important;
}

.status-badge.inventory-part-future *,
.catalog-selection-chip.inventory-part-future * {
    color: #2f72ff !important;
}

.status-badge.inventory-part-reserved *,
.status-badge.inventory-part-purchase *,
.catalog-selection-chip.inventory-part-reserved *,
.catalog-selection-chip.inventory-part-purchase * {
    color: #d08701 !important;
}

.status-badge.inventory-part-stock *,
.status-badge.inventory-part-available *,
.catalog-selection-chip.inventory-part-stock *,
.catalog-selection-chip.inventory-part-available * {
    color: #00a636 !important;
}

.status-badge.inventory-part-empty *,
.catalog-selection-chip.inventory-part-empty * {
    color: #e7000b !important;
}



/* Login and user password settings */
.password-strength {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.password-strength-track {
    height: 7px;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 0;
    background: #09090b;
}

.password-strength-bar {
    width: 0%;
    height: 100%;
    background: #e7000b;
    transition: width 0.18s ease, background-color 0.18s ease;
}

.password-strength-text,
.password-match-message {
    min-height: 18px;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.password-strength.is-weak .password-strength-bar {
    width: 34%;
    background: #e7000b;
}

.password-strength.is-weak .password-strength-text,
.password-match-message.is-error {
    color: #e7000b;
}

.password-strength.is-medium .password-strength-bar {
    width: 67%;
    background: #f0b400;
}

.password-strength.is-medium .password-strength-text,
.password-match-message.is-warning {
    color: #f0b400;
}

.password-strength.is-strong .password-strength-bar {
    width: 100%;
    background: #00c94f;
}

.password-strength.is-strong .password-strength-text,
.password-match-message.is-ok {
    color: #00c94f;
}

.system-settings-panel {
    display: grid;
    gap: 22px;
}

.system-settings-section {
    display: grid;
    gap: 16px;
}

.system-settings-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.system-settings-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.system-settings-choice {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--app-border);
    border-radius: 0;
    background: var(--app-panel-strong, #111116);
    cursor: pointer;
}

.system-settings-choice.is-selected {
    border-color: #1657ef;
}

.system-settings-choice span {
    display: grid;
    gap: 4px;
}

.system-settings-choice strong {
    color: var(--app-ink);
    font-weight: 900;
}

.system-settings-choice small {
    color: var(--app-muted);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .system-settings-choice-grid {
        grid-template-columns: 1fr;
    }
}

/* White Black clean light 20260710 */
body.theme-white-black,
body.theme-white-black.admin-body,
body.theme-white-black .admin-main,
body.theme-white-black .admin-content,
body.theme-white-black .auth-shell {
    --app-bg: #f6f6f8;
    --app-panel: #ffffff;
    --app-panel-strong: #ffffff;
    --app-ink: #050505;
    --app-muted: #667085;
    --app-border: #e4e7ec;
    --sidebar-bg: #f1f2f5;
    --sidebar-active: #2f72ff;
    --focus-ring: rgba(47, 114, 255, 0.18);
    background: #f6f6f8 !important;
    color: #050505 !important;
}

html:has(body.theme-white-black) {
    background: #f6f6f8 !important;
}

body.theme-white-black .admin-main,
body.theme-white-black .admin-content {
    background: #f6f6f8 !important;
    color: #050505 !important;
}

body.theme-white-black .auth-shell {
    background: #f6f6f8 !important;
}

body.theme-white-black .admin-sidebar,
body.theme-white-black .admin-offcanvas,
body.theme-white-black .admin-offcanvas .offcanvas-header,
body.theme-white-black .admin-offcanvas .offcanvas-body {
    background: #f1f2f5 !important;
    border-color: #e0e3e8 !important;
    color: #050505 !important;
    box-shadow: none !important;
}

body.theme-white-black .admin-topbar {
    background: #ffffff !important;
    border-bottom-color: #e4e7ec !important;
    color: #050505 !important;
    box-shadow: none !important;
}

body.theme-white-black .admin-sidebar .sidebar-brand,
body.theme-white-black .brand-mark,
body.theme-white-black .user-chip-avatar {
    background: #ffffff !important;
    border: 1px solid #d9dee7 !important;
    color: #050505 !important;
}

body.theme-white-black .sidebar-link,
body.theme-white-black .sidebar-button,
body.theme-white-black .mobile-menu-link {
    background: transparent !important;
    border-color: transparent !important;
    color: #6b7280 !important;
}

body.theme-white-black .sidebar-link .app-icon,
body.theme-white-black .sidebar-button .app-icon,
body.theme-white-black .mobile-menu-link .app-icon {
    color: #6b7280 !important;
    stroke: #6b7280 !important;
}

body.theme-white-black .sidebar-link:hover,
body.theme-white-black .sidebar-link:focus,
body.theme-white-black .sidebar-link.is-active,
body.theme-white-black .mobile-menu-link:hover,
body.theme-white-black .mobile-menu-link:focus,
body.theme-white-black .mobile-menu-link.is-active {
    background: #ffffff !important;
    border-color: #e4e7ec !important;
    color: #2f72ff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

body.theme-white-black .sidebar-link:hover .app-icon,
body.theme-white-black .sidebar-link:focus .app-icon,
body.theme-white-black .sidebar-link.is-active .app-icon,
body.theme-white-black .mobile-menu-link:hover .app-icon,
body.theme-white-black .mobile-menu-link:focus .app-icon,
body.theme-white-black .mobile-menu-link.is-active .app-icon {
    color: #2f72ff !important;
    stroke: #2f72ff !important;
}

body.theme-white-black .sidebar-link.is-active {
    box-shadow: inset 3px 0 0 #2f72ff !important;
}

body.theme-white-black .content-panel,
body.theme-white-black .auth-panel,
body.theme-white-black .department-card,
body.theme-white-black .catalog-list-item,
body.theme-white-black .catalog-product-card,
body.theme-white-black .permission-department,
body.theme-white-black .catalog-count-box,
body.theme-white-black .catalog-stock-switch,
body.theme-white-black .user-chip,
body.theme-white-black .card,
body.theme-white-black .modal-content,
body.theme-white-black .dropdown-menu,
body.theme-white-black .list-group-item,
body.theme-white-black .accordion-item,
body.theme-white-black .permission-row,
body.theme-white-black .permission-department-head,
body.theme-white-black .product-color-section,
body.theme-white-black .product-color-empty,
body.theme-white-black .system-settings-choice,
body.theme-white-black .theme-choice-card,
body.theme-white-black .order-selected-panel,
body.theme-white-black .catalog-selection-list,
body.theme-white-black .catalog-public-list,
body.theme-white-black .catalog-selection-row,
body.theme-white-black .catalog-selection-title,
body.theme-white-black .catalog-selection-price,
body.theme-white-black .catalog-selection-attributes,
body.theme-white-black .order-quantity-control {
    background: #ffffff !important;
    border-color: #e4e7ec !important;
    color: #050505 !important;
    box-shadow: none !important;
}

body.theme-white-black .content-panel,
body.theme-white-black .auth-panel,
body.theme-white-black .department-card,
body.theme-white-black .catalog-list-item,
body.theme-white-black .catalog-product-card,
body.theme-white-black .permission-department,
body.theme-white-black .card,
body.theme-white-black .modal-content,
body.theme-white-black .system-settings-choice,
body.theme-white-black .theme-choice-card,
body.theme-white-black .catalog-selection-list,
body.theme-white-black .catalog-public-list {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04) !important;
}

body.theme-white-black .permission-department-head,
body.theme-white-black .catalog-count-box,
body.theme-white-black .permission-related,
body.theme-white-black .catalog-selection-row.is-selected,
body.theme-white-black .system-settings-choice.is-selected,
body.theme-white-black .theme-choice-card.is-selected {
    background: #f8fafc !important;
    border-color: #d7dce5 !important;
    color: #050505 !important;
}

body.theme-white-black .catalog-selection-row.is-selected {
    box-shadow: inset 4px 0 0 #00c94f !important;
}

body.theme-white-black .topbar-title,
body.theme-white-black .department-heading h2,
body.theme-white-black .department-card h3,
body.theme-white-black .department-card p,
body.theme-white-black .permission-row-title,
body.theme-white-black .permission-department-head h3,
body.theme-white-black .product-showcase-main-row h2,
body.theme-white-black .product-showcase-main-row p,
body.theme-white-black .product-showcase-meta dd,
body.theme-white-black .product-showcase-colors,
body.theme-white-black .form-label,
body.theme-white-black .form-check-label,
body.theme-white-black .table,
body.theme-white-black .table td,
body.theme-white-black .table th,
body.theme-white-black .modal-title,
body.theme-white-black .dropdown-item,
body.theme-white-black .card-title,
body.theme-white-black .card-text,
body.theme-white-black .catalog-selection-title,
body.theme-white-black .catalog-selection-price,
body.theme-white-black .catalog-selection-chip,
body.theme-white-black .order-quantity-control label,
body.theme-white-black .system-settings-choice strong,
body.theme-white-black .system-settings-choice small,
body.theme-white-black .theme-choice-content strong,
body.theme-white-black .theme-choice-content small,
body.theme-white-black h1,
body.theme-white-black h2,
body.theme-white-black h3,
body.theme-white-black h4,
body.theme-white-black h5,
body.theme-white-black h6,
body.theme-white-black p,
body.theme-white-black span,
body.theme-white-black strong,
body.theme-white-black label,
body.theme-white-black small,
body.theme-white-black dt,
body.theme-white-black dd {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black .text-muted,
body.theme-white-black .text-muted-strong,
body.theme-white-black .form-text,
body.theme-white-black .eyebrow,
body.theme-white-black .department-heading p,
body.theme-white-black .permission-row .text-muted,
body.theme-white-black .permission-department-head .text-muted,
body.theme-white-black .permission-department-head p,
body.theme-white-black .product-showcase-meta dt,
body.theme-white-black .order-quantity-control label {
    color: #667085 !important;
}

body.theme-white-black .app-icon {
    color: #6b7280 !important;
    stroke: #6b7280 !important;
}

body.theme-white-black .btn .app-icon,
body.theme-white-black .btn-primary .app-icon,
body.theme-white-black .btn-success .app-icon,
body.theme-white-black .btn-danger .app-icon,
body.theme-white-black .btn-outline-primary .app-icon,
body.theme-white-black .btn-outline-secondary .app-icon,
body.theme-white-black .smart-button .app-icon,
body.theme-white-black .action-icon-btn .app-icon,
body.theme-white-black .catalog-selection-action .app-icon {
    color: currentColor !important;
    stroke: currentColor !important;
}

body.theme-white-black .btn-primary,
body.theme-white-black .btn-info,
body.theme-white-black .btn-secondary,
body.theme-white-black .btn-outline-primary,
body.theme-white-black .btn-outline-info,
body.theme-white-black .btn-outline-secondary,
body.theme-white-black .smart-button,
body.theme-white-black .product-showcase-download,
body.theme-white-black .action-icon-btn,
body.theme-white-black .icon-btn,
body.theme-white-black .back-topbar-btn,
body.theme-white-black .help-topbar-btn,
body.theme-white-black .form-control::file-selector-button,
body.theme-white-black input[type="file"]::file-selector-button {
    background: #2f72ff !important;
    border-color: #2f72ff !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.theme-white-black .btn-primary:hover,
body.theme-white-black .btn-primary:focus,
body.theme-white-black .btn-info:hover,
body.theme-white-black .btn-info:focus,
body.theme-white-black .btn-secondary:hover,
body.theme-white-black .btn-secondary:focus,
body.theme-white-black .btn-outline-primary:hover,
body.theme-white-black .btn-outline-primary:focus,
body.theme-white-black .btn-outline-info:hover,
body.theme-white-black .btn-outline-info:focus,
body.theme-white-black .btn-outline-secondary:hover,
body.theme-white-black .btn-outline-secondary:focus,
body.theme-white-black .smart-button:hover,
body.theme-white-black .smart-button:focus,
body.theme-white-black .product-showcase-download:hover,
body.theme-white-black .product-showcase-download:focus,
body.theme-white-black .action-icon-btn:hover,
body.theme-white-black .action-icon-btn:focus,
body.theme-white-black .icon-btn:hover,
body.theme-white-black .icon-btn:focus,
body.theme-white-black .back-topbar-btn:hover,
body.theme-white-black .back-topbar-btn:focus,
body.theme-white-black .help-topbar-btn:hover,
body.theme-white-black .help-topbar-btn:focus,
body.theme-white-black .form-control:hover::file-selector-button,
body.theme-white-black .form-control:focus::file-selector-button,
body.theme-white-black input[type="file"]:hover::file-selector-button,
body.theme-white-black input[type="file"]:focus::file-selector-button {
    background: #3f7cff !important;
    border-color: #3f7cff !important;
    color: #ffffff !important;
    transform: none !important;
}

body.theme-white-black .btn-success,
body.theme-white-black .btn-outline-success,
body.theme-white-black .smart-button.is-add,
body.theme-white-black .catalog-selection-action.is-add,
body.theme-white-black button[data-color-add],
body.theme-white-black button[data-catalog-toggle][data-selected="0"],
body.theme-white-black button[data-order-toggle][data-selected="0"] {
    background: #00c94f !important;
    border-color: #00c94f !important;
    color: #07140c !important;
}

body.theme-white-black .catalog-selection-action.is-remove,
body.theme-white-black button[data-catalog-toggle][data-selected="1"],
body.theme-white-black button[data-order-toggle][data-selected="1"] {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

body.theme-white-black .form-control,
body.theme-white-black .form-select,
body.theme-white-black .input-group-text,
body.theme-white-black textarea.form-control,
body.theme-white-black input[type="text"],
body.theme-white-black input[type="search"],
body.theme-white-black input[type="email"],
body.theme-white-black input[type="password"],
body.theme-white-black input[type="number"],
body.theme-white-black input[type="tel"],
body.theme-white-black input[type="url"] {
    background-color: #ffffff !important;
    border-color: #d8dde7 !important;
    color: #050505 !important;
    box-shadow: none !important;
}

body.theme-white-black .form-control::placeholder,
body.theme-white-black input::placeholder,
body.theme-white-black textarea::placeholder {
    color: #798294 !important;
    opacity: 1;
}

body.theme-white-black .form-control:focus,
body.theme-white-black .form-select:focus,
body.theme-white-black textarea.form-control:focus,
body.theme-white-black input[type="text"]:focus,
body.theme-white-black input[type="search"]:focus,
body.theme-white-black input[type="email"]:focus,
body.theme-white-black input[type="password"]:focus,
body.theme-white-black input[type="number"]:focus,
body.theme-white-black input[type="tel"]:focus,
body.theme-white-black input[type="url"]:focus {
    background-color: #ffffff !important;
    border-color: #2f72ff !important;
    color: #050505 !important;
    box-shadow: 0 0 0 0.16rem rgba(47, 114, 255, 0.18) !important;
}

body.theme-white-black .table {
    --bs-table-bg: #ffffff;
    --bs-table-color: #050505;
    --bs-table-border-color: #e4e7ec;
    --bs-table-hover-bg: #f8fafc;
    color: #050505 !important;
}

body.theme-white-black .table thead th {
    background: #fbfcfe !important;
    color: #050505 !important;
}

body.theme-white-black .table td,
body.theme-white-black .table th {
    border-color: #e4e7ec !important;
}

body.theme-white-black .form-check-input {
    background-color: #ffffff !important;
    border-color: #cdd5df !important;
}

body.theme-white-black .form-check-input:checked,
body.theme-white-black .form-switch .form-check-input:checked {
    background-color: #2f72ff !important;
    border-color: #2f72ff !important;
}

body.theme-white-black .form-switch .form-check-input:not(:checked) {
    background-color: #ffffff !important;
    border-color: #cdd5df !important;
}

body.theme-white-black .catalog-selection-photo,
body.theme-white-black .product-showcase-image,
body.theme-white-black .product-showcase-hero {
    background: #ffffff !important;
    border-color: #e4e7ec !important;
}

body.theme-white-black .catalog-selection-chip:not(.inventory-part-future):not(.inventory-part-reserved):not(.inventory-part-purchase):not(.inventory-part-stock):not(.inventory-part-available):not(.inventory-part-empty) {
    background: #ffffff !important;
    border-color: #d8dde7 !important;
    color: #050505 !important;
    box-shadow: none !important;
}

body.theme-white-black .catalog-color-dot circle {
    stroke: #050505 !important;
    stroke-width: 0.4px !important;
}

body.theme-white-black .price-code-section,
body.theme-white-black .price-code-rules,
body.theme-white-black .price-code-rule,
body.theme-white-black .price-code-rule-one,
body.theme-white-black .price-code-rule-two,
body.theme-white-black .price-code-card,
body.theme-white-black .price-code-card-blue,
body.theme-white-black .price-code-card-red,
body.theme-white-black .price-code-preview,
body.theme-white-black .price-code-message {
    background: #ffffff !important;
    border-color: #e4e7ec !important;
    color: #050505 !important;
}

body.theme-white-black .price-code-card strong[data-price-code-output],
body.theme-white-black .price-code-card strong[data-price-numeric-output] {
    color: #2f72ff !important;
}

body.theme-white-black .password-strength-track {
    background: #f1f2f5 !important;
    border-color: #d8dde7 !important;
}

/* White Black readability fix 20260710 */
body.theme-white-black,
body.theme-white-black.admin-body {
    color: #050505 !important;
}

body.theme-white-black .eyebrow,
body.theme-white-black .topbar-title,
body.theme-white-black .admin-topbar .eyebrow,
body.theme-white-black .admin-topbar .topbar-title,
body.theme-white-black .admin-topbar h1,
body.theme-white-black .admin-topbar p,
body.theme-white-black .sidebar-brand,
body.theme-white-black .brand-mark,
body.theme-white-black .offcanvas-title {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black h1,
body.theme-white-black h2,
body.theme-white-black h3,
body.theme-white-black h4,
body.theme-white-black h5,
body.theme-white-black h6,
body.theme-white-black .h1,
body.theme-white-black .h2,
body.theme-white-black .h3,
body.theme-white-black .h4,
body.theme-white-black .h5,
body.theme-white-black .h6,
body.theme-white-black .section-title,
body.theme-white-black .card-title,
body.theme-white-black .modal-title,
body.theme-white-black .permission-row-title,
body.theme-white-black .department-heading h2,
body.theme-white-black .department-card h3,
body.theme-white-black .catalog-selection-title,
body.theme-white-black .catalog-public-title,
body.theme-white-black .product-showcase-main-row h2 {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black p,
body.theme-white-black .description,
body.theme-white-black .card-text,
body.theme-white-black .department-card p,
body.theme-white-black .permission-row p,
body.theme-white-black .permission-department-head p,
body.theme-white-black .product-description-cell,
body.theme-white-black .product-showcase-main-row p,
body.theme-white-black .catalog-selection-attributes,
body.theme-white-black .catalog-selection-price,
body.theme-white-black .catalog-product-body,
body.theme-white-black .catalog-public-info,
body.theme-white-black .system-settings-choice small,
body.theme-white-black .theme-choice-content small {
    color: #1f2937 !important;
    text-shadow: none !important;
}

body.theme-white-black .text-muted,
body.theme-white-black .text-muted-strong,
body.theme-white-black .form-text,
body.theme-white-black small.text-muted,
body.theme-white-black span.text-muted,
body.theme-white-black p.text-muted,
body.theme-white-black td.text-muted,
body.theme-white-black .eyebrow.text-muted,
body.theme-white-black .department-heading p,
body.theme-white-black .product-showcase-meta dt,
body.theme-white-black .order-quantity-control label {
    color: #374151 !important;
}

body.theme-white-black .price-code-section,
body.theme-white-black .price-code-rules,
body.theme-white-black .price-code-rule,
body.theme-white-black .price-code-rule-one,
body.theme-white-black .price-code-rule-two,
body.theme-white-black .price-code-card,
body.theme-white-black .price-code-card-blue,
body.theme-white-black .price-code-card-red,
body.theme-white-black .price-code-preview,
body.theme-white-black .price-code-message {
    background: #ffffff !important;
    border-color: #d8dde7 !important;
    color: #050505 !important;
}

body.theme-white-black .price-code-section *,
body.theme-white-black .price-code-rules *,
body.theme-white-black .price-code-rule *,
body.theme-white-black .price-code-rule-one *,
body.theme-white-black .price-code-rule-two *,
body.theme-white-black .price-code-card *,
body.theme-white-black .price-code-card-blue *,
body.theme-white-black .price-code-card-red *,
body.theme-white-black .price-code-preview *,
body.theme-white-black .price-code-message * {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black .price-code-card strong[data-price-code-output],
body.theme-white-black .price-code-card strong[data-price-numeric-output],
body.theme-white-black [data-price-code-output],
body.theme-white-black [data-price-numeric-output] {
    color: #050505 !important;
}

body.theme-white-black .price-code-input,
body.theme-white-black .price-code-input-one,
body.theme-white-black .price-code-input-two {
    background: #ffffff !important;
    border-color: #d8dde7 !important;
    color: #050505 !important;
}

body.theme-white-black .table,
body.theme-white-black .table td,
body.theme-white-black .table th,
body.theme-white-black label,
body.theme-white-black .form-label,
body.theme-white-black .form-check-label,
body.theme-white-black .dropdown-item {
    color: #050505 !important;
}

/* White Black module bg image fix 20260710 */
body.theme-white-black .department-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #ffffff !important;
    background-image: url("/duomoda/public/assets/images/bg-3-dark.png?v=1786393711") !important;
    background-repeat: no-repeat !important;
    background-position: left -44px top -28px !important;
    background-size: 300px auto !important;
    border-color: #d8dde7 !important;
}

body.theme-white-black .department-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: transparent !important;
    pointer-events: none;
}

body.theme-white-black .department-card:hover,
body.theme-white-black .department-card:focus,
body.theme-white-black .department-card:focus-visible {
    background-color: #f8fafc !important;
    background-image: url("/duomoda/public/assets/images/bg-3-dark.png?v=1786393711") !important;
    background-repeat: no-repeat !important;
    background-position: left -44px top -28px !important;
    background-size: 300px auto !important;
    border-color: #c8ceda !important;
    color: #050505 !important;
}

body.theme-white-black .department-card h3,
body.theme-white-black .department-card p,
body.theme-white-black .department-card:hover h3,
body.theme-white-black .department-card:focus h3,
body.theme-white-black .department-card:hover p,
body.theme-white-black .department-card:focus p {
    color: #050505 !important;
    text-shadow: none !important;
}

/* White Black bg opacity inventory text fix 20260710 */
body.theme-white-black .department-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: #d8dde7 !important;
}

body.theme-white-black .department-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("/duomoda/public/assets/images/bg-3-dark.png?v=1786393711") !important;
    background-repeat: no-repeat !important;
    background-position: left -44px top -28px !important;
    background-size: 300px auto !important;
    opacity: 0.25;
}

body.theme-white-black .department-card > * {
    position: relative;
    z-index: 1;
}

body.theme-white-black .department-card:hover,
body.theme-white-black .department-card:focus,
body.theme-white-black .department-card:focus-visible {
    background-color: #f8fafc !important;
    background-image: none !important;
}

body.theme-white-black .content-panel,
body.theme-white-black .catalog-list-item,
body.theme-white-black .catalog-list-item .input-group,
body.theme-white-black .catalog-list-item .form-control,
body.theme-white-black .catalog-list-item input,
body.theme-white-black .catalog-list-item h1,
body.theme-white-black .catalog-list-item h2,
body.theme-white-black .catalog-list-item h3,
body.theme-white-black .catalog-list-item h4,
body.theme-white-black .catalog-list-item h5,
body.theme-white-black .catalog-list-item h6,
body.theme-white-black .catalog-list-item p,
body.theme-white-black .catalog-list-item label,
body.theme-white-black .catalog-list-item strong,
body.theme-white-black .catalog-list-item small,
body.theme-white-black .catalog-list-item code,
body.theme-white-black .catalog-list-item a:not(.btn),
body.theme-white-black .content-panel > h1,
body.theme-white-black .content-panel > h2,
body.theme-white-black .content-panel > h3,
body.theme-white-black .content-panel > h4,
body.theme-white-black .content-panel > h5,
body.theme-white-black .content-panel > h6,
body.theme-white-black .content-panel > p,
body.theme-white-black .content-panel > label,
body.theme-white-black .content-panel .form-label,
body.theme-white-black .content-panel .section-title {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black .content-panel .text-muted,
body.theme-white-black .content-panel .text-muted-strong,
body.theme-white-black .content-panel .form-text,
body.theme-white-black .catalog-list-item .text-muted,
body.theme-white-black .catalog-list-item .text-muted-strong,
body.theme-white-black .catalog-list-item .form-text {
    color: #374151 !important;
}

body.theme-white-black .catalog-list-item .btn,
body.theme-white-black .catalog-list-item .btn *,
body.theme-white-black .catalog-list-item .smart-button,
body.theme-white-black .catalog-list-item .smart-button *,
body.theme-white-black .catalog-list-item .action-icon-btn,
body.theme-white-black .catalog-list-item .action-icon-btn * {
    color: #ffffff !important;
    stroke: currentColor !important;
}

body.theme-white-black .catalog-saved-card {
    background: #ffffff !important;
    border-color: #d8dde7 !important;
    color: #050505 !important;
    box-shadow: none !important;
}

body.theme-white-black .catalog-saved-card h4 {
    color: #050505 !important;
}

body.theme-white-black .catalog-saved-meta {
    color: #374151 !important;
}

body.theme-white-black .catalog-saved-card .action-icon-btn,
body.theme-white-black .catalog-saved-card .action-icon-btn * {
    color: #ffffff !important;
    stroke: currentColor !important;
}

body.theme-white-black .status-badge.inventory-part-future,
body.theme-white-black .catalog-selection-chip.inventory-part-future,
body.theme-white-black .inventory-part-badge.inventory-part-future,
body.theme-white-black .inventory-part-chip.inventory-part-future {
    color: #ffffff !important;
}

body.theme-white-black .status-badge.inventory-part-reserved,
body.theme-white-black .status-badge.inventory-part-purchase,
body.theme-white-black .catalog-selection-chip.inventory-part-reserved,
body.theme-white-black .catalog-selection-chip.inventory-part-purchase,
body.theme-white-black .inventory-part-badge.inventory-part-reserved,
body.theme-white-black .inventory-part-badge.inventory-part-purchase,
body.theme-white-black .inventory-part-chip.inventory-part-reserved,
body.theme-white-black .inventory-part-chip.inventory-part-purchase {
    color: #ffffff !important;
}

body.theme-white-black .status-badge.inventory-part-stock,
body.theme-white-black .status-badge.inventory-part-available,
body.theme-white-black .catalog-selection-chip.inventory-part-stock,
body.theme-white-black .catalog-selection-chip.inventory-part-available,
body.theme-white-black .inventory-part-badge.inventory-part-stock,
body.theme-white-black .inventory-part-badge.inventory-part-available,
body.theme-white-black .inventory-part-chip.inventory-part-stock,
body.theme-white-black .inventory-part-chip.inventory-part-available {
    color: #ffffff !important;
}

body.theme-white-black .status-badge.inventory-part-empty,
body.theme-white-black .catalog-selection-chip.inventory-part-empty,
body.theme-white-black .inventory-part-badge.inventory-part-empty,
body.theme-white-black .inventory-part-chip.inventory-part-empty {
    color: #ffffff !important;
}

body.theme-white-black .status-badge.inventory-part-future b,
body.theme-white-black .catalog-selection-chip.inventory-part-future b,
body.theme-white-black .inventory-part-badge.inventory-part-future b,
body.theme-white-black .inventory-part-chip.inventory-part-future b {
    color: #2f72ff !important;
}

body.theme-white-black .status-badge.inventory-part-reserved b,
body.theme-white-black .status-badge.inventory-part-purchase b,
body.theme-white-black .catalog-selection-chip.inventory-part-reserved b,
body.theme-white-black .catalog-selection-chip.inventory-part-purchase b,
body.theme-white-black .inventory-part-badge.inventory-part-reserved b,
body.theme-white-black .inventory-part-badge.inventory-part-purchase b,
body.theme-white-black .inventory-part-chip.inventory-part-reserved b,
body.theme-white-black .inventory-part-chip.inventory-part-purchase b {
    color: #d08701 !important;
}

body.theme-white-black .status-badge.inventory-part-stock b,
body.theme-white-black .status-badge.inventory-part-available b,
body.theme-white-black .catalog-selection-chip.inventory-part-stock b,
body.theme-white-black .catalog-selection-chip.inventory-part-available b,
body.theme-white-black .inventory-part-badge.inventory-part-stock b,
body.theme-white-black .inventory-part-badge.inventory-part-available b,
body.theme-white-black .inventory-part-chip.inventory-part-stock b,
body.theme-white-black .inventory-part-chip.inventory-part-available b {
    color: #00c94f !important;
}

body.theme-white-black .status-badge.inventory-part-empty b,
body.theme-white-black .catalog-selection-chip.inventory-part-empty b,
body.theme-white-black .inventory-part-badge.inventory-part-empty b,
body.theme-white-black .inventory-part-chip.inventory-part-empty b {
    color: #e7000b !important;
}

/* White Black global text contrast audit 20260710 */
body.theme-white-black,
body.theme-white-black.admin-body,
body.theme-white-black .admin-main,
body.theme-white-black .admin-content,
body.theme-white-black .auth-shell {
    color: #050505 !important;
}

body.theme-white-black :is(
    .admin-main,
    .admin-content,
    .content-panel,
    .auth-panel,
    .department-card,
    .catalog-list-item,
    .catalog-product-card,
    .permission-department,
    .permission-row,
    .permission-department-head,
    .catalog-count-box,
    .catalog-stock-switch,
    .card,
    .modal-content,
    .dropdown-menu,
    .list-group-item,
    .accordion-item,
    .system-settings-choice,
    .theme-choice-card,
    .order-selected-panel,
    .catalog-selection-list,
    .catalog-public-list,
    .catalog-selection-row,
    .catalog-selection-title,
    .catalog-selection-attributes,
    .catalog-selection-price,
    .catalog-selection-photo,
    .catalog-product-body,
    .catalog-public-info,
    .order-quantity-control,
    .product-showcase-main-row,
    .product-showcase-meta,
    .product-showcase-colors,
    .table,
    .offcanvas-body,
    .offcanvas-header
) :is(
    h1, h2, h3, h4, h5, h6,
    .h1, .h2, .h3, .h4, .h5, .h6,
    p, span, strong, b, label, small, dt, dd, li, th, td,
    .section-title, .card-title, .card-text, .modal-title,
    .form-label, .form-check-label, .dropdown-item,
    .catalog-selection-title, .catalog-selection-price,
    .catalog-public-title, .product-description-cell
) {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black :is(
    .text-muted,
    .text-muted-strong,
    .form-text,
    .eyebrow,
    .help-text,
    .description,
    .catalog-list-item .text-muted,
    .content-panel .text-muted,
    .department-heading p,
    .permission-row .text-muted,
    .permission-department-head .text-muted,
    .product-showcase-meta dt,
    .order-quantity-control label
) {
    color: #374151 !important;
    text-shadow: none !important;
}

body.theme-white-black .admin-topbar,
body.theme-white-black .admin-sidebar,
body.theme-white-black .admin-offcanvas,
body.theme-white-black .admin-offcanvas .offcanvas-header,
body.theme-white-black .admin-offcanvas .offcanvas-body {
    color: #050505 !important;
}

body.theme-white-black .admin-topbar :is(h1, h2, h3, h4, h5, h6, p, span, strong, small, .eyebrow, .topbar-title),
body.theme-white-black .admin-sidebar :is(h1, h2, h3, h4, h5, h6, p, span, strong, small),
body.theme-white-black .admin-offcanvas :is(h1, h2, h3, h4, h5, h6, p, span, strong, small, .offcanvas-title) {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black a:not(.btn):not(.sidebar-link):not(.mobile-menu-link):not(.dropdown-item) {
    color: #050505 !important;
}

body.theme-white-black .dropdown-item:hover,
body.theme-white-black .dropdown-item:focus {
    background: #f3f5f9 !important;
    color: #050505 !important;
}

body.theme-white-black :is(.form-control, .form-select, .input-group-text, textarea.form-control),
body.theme-white-black :is(input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="url"]),
body.theme-white-black :is(.form-control, .form-select, .input-group-text, textarea.form-control)::placeholder,
body.theme-white-black input::placeholder,
body.theme-white-black textarea::placeholder {
    color: #050505 !important;
}

body.theme-white-black :is(.form-control, .form-select, .input-group-text, textarea.form-control)::placeholder,
body.theme-white-black input::placeholder,
body.theme-white-black textarea::placeholder {
    color: #6b7280 !important;
}

body.theme-white-black .btn-primary,
body.theme-white-black .btn-info,
body.theme-white-black .btn-secondary,
body.theme-white-black .btn-outline-primary,
body.theme-white-black .btn-outline-info,
body.theme-white-black .btn-outline-secondary,
body.theme-white-black .smart-button,
body.theme-white-black .product-showcase-download,
body.theme-white-black .action-icon-btn,
body.theme-white-black .icon-btn,
body.theme-white-black .back-topbar-btn,
body.theme-white-black .help-topbar-btn {
    color: #ffffff !important;
}

body.theme-white-black :is(.btn-primary, .btn-info, .btn-secondary, .btn-outline-primary, .btn-outline-info, .btn-outline-secondary, .smart-button, .product-showcase-download, .action-icon-btn, .icon-btn, .back-topbar-btn, .help-topbar-btn) :is(span, strong, small, b, .app-icon) {
    color: #ffffff !important;
    stroke: currentColor !important;
}

body.theme-white-black .btn-success,
body.theme-white-black .btn-outline-success,
body.theme-white-black .smart-button.is-add,
body.theme-white-black .catalog-selection-action.is-add,
body.theme-white-black button[data-color-add],
body.theme-white-black button[data-catalog-toggle][data-selected="0"],
body.theme-white-black button[data-order-toggle][data-selected="0"] {
    color: #07140c !important;
}

body.theme-white-black :is(.btn-success, .btn-outline-success, .smart-button.is-add, .catalog-selection-action.is-add, button[data-color-add], button[data-catalog-toggle][data-selected="0"], button[data-order-toggle][data-selected="0"]) :is(span, strong, small, b, .app-icon) {
    color: #07140c !important;
    stroke: currentColor !important;
}

body.theme-white-black .btn-danger,
body.theme-white-black .btn-outline-danger,
body.theme-white-black .catalog-selection-action.is-remove,
body.theme-white-black button[data-catalog-toggle][data-selected="1"],
body.theme-white-black button[data-order-toggle][data-selected="1"] {
    color: #ffffff !important;
}

body.theme-white-black :is(.btn-danger, .btn-outline-danger, .catalog-selection-action.is-remove, button[data-catalog-toggle][data-selected="1"], button[data-order-toggle][data-selected="1"]) :is(span, strong, small, b, .app-icon) {
    color: #ffffff !important;
    stroke: currentColor !important;
}

body.theme-white-black :is(.alert-danger, .alert-success, .alert-warning, .alert-info, .status-badge, .badge, .text-bg-success, .text-bg-danger, .text-bg-warning, .text-bg-info) {
    text-shadow: none !important;
}

body.theme-white-black :is(
    .status-badge.inventory-part-future,
    .status-badge.inventory-part-reserved,
    .status-badge.inventory-part-purchase,
    .status-badge.inventory-part-stock,
    .status-badge.inventory-part-available,
    .status-badge.inventory-part-empty,
    .catalog-selection-chip.inventory-part-future,
    .catalog-selection-chip.inventory-part-reserved,
    .catalog-selection-chip.inventory-part-purchase,
    .catalog-selection-chip.inventory-part-stock,
    .catalog-selection-chip.inventory-part-available,
    .catalog-selection-chip.inventory-part-empty,
    .inventory-part-badge.inventory-part-future,
    .inventory-part-badge.inventory-part-reserved,
    .inventory-part-badge.inventory-part-purchase,
    .inventory-part-badge.inventory-part-stock,
    .inventory-part-badge.inventory-part-available,
    .inventory-part-badge.inventory-part-empty,
    .inventory-part-chip.inventory-part-future,
    .inventory-part-chip.inventory-part-reserved,
    .inventory-part-chip.inventory-part-purchase,
    .inventory-part-chip.inventory-part-stock,
    .inventory-part-chip.inventory-part-available,
    .inventory-part-chip.inventory-part-empty
) {
    color: #ffffff !important;
}

body.theme-white-black :is(.inventory-part-future) b {
    color: #2f72ff !important;
}

body.theme-white-black :is(.inventory-part-reserved, .inventory-part-purchase) b {
    color: #d08701 !important;
}

body.theme-white-black :is(.inventory-part-stock, .inventory-part-available) b {
    color: #00c94f !important;
}

body.theme-white-black :is(.inventory-part-empty) b {
    color: #e7000b !important;
}

body.theme-white-black .price-code-section,
body.theme-white-black .price-code-rules,
body.theme-white-black .price-code-rule,
body.theme-white-black .price-code-rule-one,
body.theme-white-black .price-code-rule-two,
body.theme-white-black .price-code-card,
body.theme-white-black .price-code-card-blue,
body.theme-white-black .price-code-card-red,
body.theme-white-black .price-code-preview,
body.theme-white-black .price-code-message {
    color: #050505 !important;
}

body.theme-white-black :is(.price-code-section, .price-code-rules, .price-code-rule, .price-code-rule-one, .price-code-rule-two, .price-code-card, .price-code-card-blue, .price-code-card-red, .price-code-preview, .price-code-message) :is(h1, h2, h3, h4, h5, h6, p, span, strong, b, label, small, div) {
    color: #050505 !important;
    text-shadow: none !important;
}

/* White Black text utility class guard 20260710 */
body.theme-white-black :is(
    .admin-main,
    .admin-content,
    .content-panel,
    .auth-panel,
    .department-card,
    .catalog-list-item,
    .catalog-product-card,
    .permission-department,
    .permission-row,
    .permission-department-head,
    .catalog-count-box,
    .catalog-stock-switch,
    .card,
    .modal-content,
    .dropdown-menu,
    .list-group-item,
    .accordion-item,
    .system-settings-choice,
    .theme-choice-card,
    .order-selected-panel,
    .catalog-selection-list,
    .catalog-public-list,
    .catalog-selection-row,
    .catalog-selection-title,
    .catalog-selection-attributes,
    .catalog-selection-price,
    .catalog-selection-photo,
    .catalog-product-body,
    .catalog-public-info,
    .order-quantity-control,
    .table
) :is(.text-white, .text-light, .text-white-50) {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black :is(
    .btn,
    .smart-button,
    .action-icon-btn,
    .icon-btn,
    .catalog-selection-action,
    .product-showcase-download,
    .status-badge,
    .badge,
    .alert-danger,
    .alert-success,
    .alert-warning,
    .alert-info
) :is(.text-white, .text-light, .text-white-50, span, strong, small, b) {
    color: inherit !important;
}

/* White Black active apple green 20260710 */
body.theme-white-black .status-badge.is-active,
body.theme-white-black .badge.bg-success,
body.theme-white-black .text-bg-success {
    background: #00c94f !important;
    border: 1px solid #00a636 !important;
    color: #07140c !important;
}

body.theme-white-black .status-badge.is-active *,
body.theme-white-black .badge.bg-success *,
body.theme-white-black .text-bg-success * {
    color: #07140c !important;
}

/* Sidebar card menu 20260710 */
.sidebar-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--app-border);
    background: color-mix(in srgb, var(--app-panel) 74%, var(--app-bg));
    color: var(--app-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.sidebar-icon-box svg,
.sidebar-icon-box .app-icon {
    width: 19px;
    height: 19px;
    color: currentColor;
    stroke: currentColor;
}

.sidebar-link-label {
    display: block;
    width: 100%;
    color: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    .admin-sidebar {
        width: 150px !important;
        padding: 14px 10px !important;
        align-items: stretch !important;
        gap: 12px !important;
        max-height: 100dvh !important;
        overflow: hidden !important;
    }

    .admin-sidebar .sidebar-brand {
        width: 100% !important;
        height: auto !important;
        min-height: 52px !important;
        border-radius: 8px !important;
    }

    .sidebar-nav {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        align-content: start !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .sidebar-nav::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    .sidebar-link,
    .sidebar-button {
        width: 100% !important;
        height: auto !important;
        min-height: 88px !important;
        padding: 10px 8px !important;
        border: 1px solid var(--app-border) !important;
        border-radius: 8px !important;
        background: var(--app-panel) !important;
        color: var(--app-ink) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-align: center !important;
        text-decoration: none !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .sidebar-link:hover,
    .sidebar-link:focus,
    .sidebar-button:hover,
    .sidebar-button:focus {
        background: var(--app-panel-strong, var(--app-panel)) !important;
        border-color: var(--app-accent) !important;
        color: var(--app-ink) !important;
        transform: none !important;
    }

    .sidebar-link.is-active {
        background: var(--app-panel-strong, var(--app-panel)) !important;
        border-color: var(--app-accent) !important;
        color: var(--app-ink) !important;
        box-shadow: inset 0 0 0 1px var(--app-accent) !important;
    }

    .sidebar-link.is-active .sidebar-icon-box {
        background: var(--app-accent) !important;
        border-color: var(--app-accent) !important;
        color: #fff !important;
    }

    .admin-main {
        margin-left: 150px !important;
    }

    .admin-body .app-footer {
        left: 150px;
    }
}

.admin-offcanvas {
    --bs-offcanvas-width: min(320px, 92vw);
}

.admin-offcanvas .offcanvas-body {
    gap: 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.admin-offcanvas .offcanvas-body::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* Statistics dashboard */
.statistics-page {
    display: grid;
    gap: 18px;
}

.statistics-hero,
.statistics-card,
.statistics-kpi-card {
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: var(--app-panel);
    color: var(--app-ink);
    box-shadow: none;
}

.statistics-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
}

.statistics-hero h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    font-weight: 900;
}

.statistics-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: var(--app-panel);
    color: var(--app-ink);
}

.statistics-section-head h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 950;
}

.statistics-section-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.statistics-section-meta span {
    padding: 7px 10px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: var(--app-panel-soft);
}

.statistics-filters {
    display: grid;
    grid-template-columns: 140px 140px minmax(240px, 1fr) auto;
    align-items: end;
    gap: 10px;
    min-width: min(760px, 100%);
}

.statistics-filters label {
    display: grid;
    gap: 6px;
    color: var(--app-muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.statistics-search {
    min-width: 0;
}

.statistics-top-grid,
.statistics-main-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.48fr);
    gap: 18px;
}

.statistics-bottom-grid,
.statistics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

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

.statistics-card {
    overflow: hidden;
}

.statistics-card-head {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--app-border);
}

.statistics-card-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 900;
}

.statistics-card-head > span,
.statistics-chart-meta {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.statistics-chart-meta {
    display: inline-flex;
    gap: 10px;
}

.statistics-menu-dot {
    letter-spacing: 2px;
}

.statistics-highlight {
    min-height: 320px;
}

.statistics-main-kpi {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 8px;
    padding: 18px 30px 10px;
}

.statistics-main-kpi > span:first-child {
    grid-column: 1 / -1;
    color: var(--app-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.statistics-main-kpi strong {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 950;
    line-height: 1;
}

.statistics-stack {
    display: flex;
    gap: 4px;
    padding: 12px 30px 18px;
}

.statistics-stack span {
    width: var(--segment-width);
    height: 8px;
    border-radius: 2px;
    background: var(--segment-color);
}

.statistics-mini-list {
    display: grid;
    gap: 12px;
    margin: 0 30px 24px;
    padding-top: 16px;
    border-top: 1px solid var(--app-border);
}

.statistics-mini-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.statistics-mini-list dt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--app-ink);
    font-weight: 800;
}

.statistics-mini-list dd {
    margin: 0;
    font-weight: 900;
}

.statistics-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--app-accent, #1657ef);
}

.statistics-dot.is-green {
    background: #00c94f;
}

.statistics-dot.is-blue {
    background: #1657ef;
}

.statistics-dot.is-purple {
    background: #8b5cf6;
}

.statistics-chart-card {
    min-height: 320px;
}

.statistics-line-chart {
    width: 100%;
    height: 260px;
    display: block;
    padding: 12px 18px 18px;
}

.statistics-line-chart line {
    stroke: color-mix(in srgb, var(--app-border) 70%, transparent);
    stroke-width: 1;
    stroke-dasharray: 6 8;
}

.statistics-line-chart polyline {
    fill: none;
    stroke: var(--app-accent, #1657ef);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.statistics-line-chart text {
    fill: var(--app-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-anchor: middle;
}

.statistics-kpi-card {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.statistics-kpi-card span,
.statistics-kpi-card small {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.statistics-kpi-card strong {
    font-size: 1.8rem;
    font-weight: 950;
    line-height: 1;
}

.statistics-product-list,
.statistics-category-list {
    display: grid;
}

.statistics-product-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--app-border);
}

.statistics-product-row:last-child {
    border-bottom: 0;
}

.statistics-product-row img {
    width: 58px;
    height: 72px;
    object-fit: cover;
    background: #fff;
    border: 1px solid var(--app-border);
    border-radius: 6px;
}

.statistics-product-row strong,
.statistics-category-row span {
    display: block;
    color: var(--app-ink);
    font-weight: 900;
}

.statistics-product-row span,
.statistics-product-row small,
.statistics-product-row em {
    display: block;
    color: var(--app-muted);
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.statistics-row-number {
    min-width: 92px;
    text-align: right;
}

.statistics-row-number strong {
    font-size: 1.1rem;
}

.statistics-row-number span {
    color: var(--app-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.statistics-row-number .status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 5px 8px;
}

.statistics-progress {
    height: 5px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--app-border) 52%, transparent);
}

.statistics-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--app-accent, #1657ef);
}

.statistics-category-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--app-border);
}

.statistics-category-row:last-child {
    border-bottom: 0;
}

.statistics-category-row .statistics-progress {
    grid-column: 1 / -1;
    margin-top: 0;
}

.statistics-inventory-month small {
    grid-column: 1 / -1;
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.statistics-table {
    margin: 0;
}

.statistics-table > :not(caption) > * > * {
    padding: 12px 18px;
}

.statistics-empty {
    padding: 24px 18px;
    color: var(--app-muted);
    text-align: center;
    font-weight: 800;
}

.status-badge.is-danger {
    background: #260b0b;
    color: #ff3b3b;
    border-color: #4b1111;
}

.status-badge.is-warning {
    background: #2f2100;
    color: #d99a00;
    border-color: #5b3c00;
}

body.theme-white-black .statistics-line-chart line {
    stroke: #d9dee7;
}

body.theme-white-black .statistics-product-row img {
    border-color: #d8dde7;
}

body.theme-white-black .status-badge.is-danger {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
}

body.theme-white-black .status-badge.is-warning {
    background: #fff7ed;
    color: #b45309;
    border-color: #fed7aa;
}

@media (max-width: 1199.98px) {
    .statistics-top-grid,
    .statistics-main-grid,
    .statistics-bottom-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767.98px) {
    .statistics-hero {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .statistics-section-head {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .statistics-section-meta {
        justify-content: flex-start;
    }

    .statistics-filters {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .statistics-kpi-grid {
        grid-template-columns: 1fr;
    }

    .statistics-main-kpi,
    .statistics-stack,
    .statistics-mini-list {
        margin-left: 0;
        margin-right: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    .statistics-product-row {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .statistics-product-row img {
        width: 52px;
        height: 64px;
    }

    .statistics-row-number {
        grid-column: 2;
        display: flex;
        justify-content: space-between;
        min-width: 0;
        text-align: left;
    }

    .statistics-line-chart {
        height: 220px;
    }
}

.mobile-menu-link {
    min-height: 88px !important;
    padding: 10px 8px !important;
    border: 1px solid var(--app-border) !important;
    border-radius: 8px !important;
    background: var(--app-panel) !important;
    color: var(--app-ink) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    background: var(--app-panel-strong, var(--app-panel)) !important;
    border-color: var(--app-accent) !important;
    color: var(--app-ink) !important;
}

.mobile-menu-link.is-active {
    background: var(--app-panel-strong, var(--app-panel)) !important;
    border-color: var(--app-accent) !important;
    color: var(--app-ink) !important;
    box-shadow: inset 0 0 0 1px var(--app-accent) !important;
}

.mobile-menu-link.is-active .sidebar-icon-box {
    background: var(--app-accent) !important;
    border-color: var(--app-accent) !important;
    color: #fff !important;
}

body.theme-white-black .sidebar-icon-box {
    background: #ffffff !important;
    border-color: #e2e6ef !important;
    color: #000000 !important;
}

body.theme-white-black .sidebar-icon-box :is(svg, .app-icon),
body.theme-white-black .order-status-action :is(svg, .app-icon) {
    color: #000000 !important;
    stroke: #000000 !important;
}

body.theme-white-black :is(.sidebar-link, .sidebar-button, .mobile-menu-link) {
    background: #ffffff !important;
    border-color: #e2e6ef !important;
    color: #050505 !important;
}

body.theme-white-black :is(.sidebar-link:hover, .sidebar-link:focus, .sidebar-button:hover, .sidebar-button:focus, .mobile-menu-link:hover, .mobile-menu-link:focus) {
    background: #f8fafc !important;
    border-color: #050505 !important;
    color: #050505 !important;
}

body.theme-white-black :is(.sidebar-link.is-active, .mobile-menu-link.is-active) {
    background: #ffffff !important;
    border-color: #050505 !important;
    color: #050505 !important;
    box-shadow: inset 0 0 0 1px #050505 !important;
}

body.theme-white-black :is(.sidebar-link.is-active, .mobile-menu-link.is-active) .sidebar-icon-box {
    background: #050505 !important;
    border-color: #050505 !important;
    color: #ffffff !important;
}

/* Prioridad final para todos los enlaces externos */
body.public-light-theme,
body.public-light-theme.catalog-public-body,
body.public-light-theme.product-public-body,
body.public-light-theme.admin-body {
    color-scheme: light !important;
    background: #f5f7fb !important;
    color: #17202a !important;
}

body.public-light-theme :is(.content-panel, .catalog-public-card, .order-public-item, .product-public-card) {
    background: #ffffff !important;
    border-color: #dbe3ee !important;
    color: #17202a !important;
}

body.public-light-theme :is(h1, h2, h3, h4, strong, .order-public-total, .product-public-info h1, .product-public-info p, .table, .table td, .table th) {
    color: #17202a !important;
    text-shadow: none !important;
}

body.public-light-theme :is(p, span, small, .text-muted, .eyebrow, .product-public-eyebrow, .order-public-item span, .order-public-item small) {
    color: #64748b !important;
    text-shadow: none !important;
}

body.public-light-theme .table {
    --bs-table-bg: #ffffff;
    --bs-table-color: #17202a;
    --bs-table-border-color: #dbe3ee;
    --bs-table-hover-bg: #eef3f8;
    --bs-table-hover-color: #17202a;
}


/* Box 74 */
.box74-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.box74-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.box74-mini-card {
    border: 1px solid #a97845;
    background: #C19A6C;
    color: #050505;
    padding: 1rem;
    border-radius: 8px;
}

.box74-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.box74-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.box74-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.25rem 0.6rem;
    border: 1px solid #a97845;
    border-radius: 999px;
    color: #050505;
    background: #C19A6C;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.1;
}

.box74-scan-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px auto;
    gap: 0.75rem;
    align-items: end;
}

.box74-submit-wrap .btn {
    min-height: 42px;
}

.box74-submit-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: end;
}

.box74-submit-wrap .btn {
    flex: 1 1 auto;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .box74-actions > .btn,
    .box74-actions > form,
    .box74-actions > form .btn {
        flex: 1 1 auto;
    }

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

    .box74-submit-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

body.theme-white-black .box74-mini-card,
body.theme-white-black .box74-pill {
    background: #C19A6C;
    color: #050505;
    border-color: #a97845;
}

.barcode-scanner-open {
    overflow: hidden;
}

.barcode-scanner-overlay[hidden] {
    display: none !important;
}

.barcode-scanner-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: #000;
    color: #fff;
}

.barcode-scanner-shell {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    background: #000;
}

.barcode-scanner-topbar,
.barcode-scanner-footer {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: max(0.85rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.85rem max(1rem, env(safe-area-inset-left));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
}

.barcode-scanner-footer {
    justify-content: center;
    padding-top: 0.85rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
    font-weight: 700;
}

.barcode-scanner-status {
    flex: 1 1 auto;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0;
}

.barcode-scanner-icon-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 9, 11, 0.82);
    color: #fff;
}

.barcode-scanner-stage {
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.barcode-scanner-video,
.barcode-scanner-reader {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.barcode-scanner-video {
    display: none;
    object-fit: cover;
    background: #000;
}

.barcode-scanner-video.is-active,
.barcode-scanner-reader.is-active {
    display: block;
}

.barcode-scanner-reader {
    display: none;
}

.barcode-scanner-reader video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.barcode-scanner-reader :is(div, canvas) {
    max-width: none !important;
}

.barcode-scanner-frame {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: min(78vw, 560px);
    height: min(42vw, 320px);
    max-height: 44vh;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(22, 87, 239, 0.88);
    pointer-events: none;
}

.barcode-scanner-frame::before,
.barcode-scanner-frame::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #00c94f;
}

.barcode-scanner-frame::before {
    top: 50%;
}

.barcode-scanner-frame::after {
    top: calc(50% + 4px);
    opacity: 0.35;
}

@media (orientation: portrait) {
    .barcode-scanner-frame {
        width: min(86vw, 520px);
        height: min(54vw, 340px);
    }
}


/* Box 74 public links */
.box74-public-shell {
    max-width: 1240px;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.box74-public-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--app-border);
    margin-bottom: 1rem;
}

.box74-public-header h1 {
    color: var(--app-ink);
    font-weight: 800;
}

.box74-public-table th,
.box74-public-table td {
    vertical-align: middle;
}

.box74-public-photo {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid var(--app-border);
    background: #ffffff;
    display: block;
}

@media (max-width: 575.98px) {
    .box74-public-shell {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .box74-public-header {
        align-items: flex-start;
    }

    .box74-public-table {
        min-width: 620px;
    }
}


.box74-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.box74-match {
    margin-top: 0.55rem;
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.box74-scroll-sentinel {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.75rem;
}

.box74-scroll-sentinel.is-complete [data-box74-loading] {
    display: none !important;
}

body.theme-white-black .box74-match {
    color: #4b5563;
}


/* White Black panel icon and switch refinements */
body.theme-white-black .panel-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2f72ff;
}

body.theme-white-black .panel-icon .app-icon {
    color: #ffffff;
}

body.theme-white-black .form-switch .form-check-input:not(:checked) {
    background-color: #ccc !important;
    border-color: #ccc !important;
}


/* Product QR labels */
.product-showcase-main-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.product-showcase-actions {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
}

.product-showcase-qr,
.product-showcase-actions .product-showcase-download {
    width: 28px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #155dfc !important;
    border-radius: 0 !important;
    background: #155dfc !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.product-showcase-qr:hover,
.product-showcase-qr:focus,
.product-showcase-actions .product-showcase-download:hover,
.product-showcase-actions .product-showcase-download:focus {
    background: #2f72ff !important;
    border-color: #2f72ff !important;
    color: #ffffff !important;
    transform: none !important;
}

.product-showcase-qr .app-icon,
.product-showcase-actions .product-showcase-download .app-icon {
    width: 15px;
    height: 15px;
    color: #ffffff !important;
    stroke: #ffffff !important;
    stroke-width: 2.5;
}

.product-public-body {
    min-height: 100vh;
    margin: 0;
    background: #09090b;
    color: #e7ecff;
    font-family: var(--app-font-family, system-ui, sans-serif);
}

.product-public-shell {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 28px 0;
}

.product-public-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(280px, 1fr);
    gap: 22px;
    align-items: stretch;
    padding: 0;
    border: 1px solid #24283a;
    border-radius: 0;
    background: #111116;
    overflow: hidden;
}

.product-public-photo {
    min-height: 520px;
    margin: 0;
    background: #ffffff;
}

.product-public-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-public-info {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px;
}

.product-public-eyebrow {
    color: #aab4d6;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.product-public-info h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 4.1rem);
    font-weight: 950;
    line-height: 0.95;
}

.product-public-info p {
    margin: 0;
    color: #e7ecff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.product-public-info dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #24283a;
}

.product-public-info dl div {
    min-width: 0;
}

.product-public-info dt {
    color: #aab4d6;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-public-info dd {
    margin: 2px 0 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.product-public-inventory {
    margin-top: 2px;
}

.product-public-colors {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #24283a;
}

.product-public-colors > span {
    color: #aab4d6;
    font-size: 0.78rem;
    font-weight: 850;
}

.product-public-colors > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.product-public-colors > div > span {
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 1px solid #000000;
    border-radius: 999px;
    box-shadow: 0 0 0 1px #ffffff;
}

.product-public-colors em {
    color: #aab4d6;
    font-style: normal;
    font-weight: 750;
}

@media (max-width: 767.98px) {
    .product-public-shell {
        width: 100%;
        padding: 0;
    }

    .product-public-card {
        grid-template-columns: 1fr;
        border-left: 0;
        border-right: 0;
    }

    .product-public-photo {
        min-height: 430px;
    }

    .product-public-info {
        padding: 18px 14px 24px;
    }

    .product-public-info dl {
        grid-template-columns: 1fr;
    }
}

.system-photos-rulebar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.system-photos-rulebar span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid var(--app-border);
    background: var(--app-panel);
    color: var(--app-ink);
    font-size: 0.78rem;
    font-weight: 850;
}

.system-photos-upload-panel .panel-icon {
    width: 46px;
    height: 46px;
}

.system-photos-upload-progress {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding: 10px;
    border: 1px solid var(--app-border);
    background: var(--app-panel-2, var(--app-panel));
    color: var(--app-ink);
    font-size: 0.82rem;
    font-weight: 850;
}

.system-photos-upload-progress[hidden] {
    display: none !important;
}

.system-photos-progress-track {
    width: 100%;
    height: 9px;
    overflow: hidden;
    border: 1px solid var(--app-border);
    background: rgba(255, 255, 255, 0.08);
}

.system-photos-progress-track span {
    display: block;
    width: 0%;
    height: 100%;
    background: #155dfc;
    transition: width 0.18s ease;
}

.system-photos-page-loading {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 9, 11, 0.72);
    backdrop-filter: blur(2px);
}

.system-photos-page-loading.is-visible {
    display: flex;
}

.system-photos-page-loading-box {
    min-width: min(360px, 100%);
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 22px;
    border: 1px solid var(--app-border);
    background: var(--app-panel);
    color: var(--app-ink);
    text-align: center;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.system-photos-page-loading-box span {
    color: var(--app-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.system-photos-page-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(231, 236, 255, 0.22);
    border-top-color: #155dfc;
    border-radius: 50%;
    animation: systemPhotosSpin 0.8s linear infinite;
}

body.is-system-photos-loading {
    cursor: progress;
}

@keyframes systemPhotosSpin {
    to {
        transform: rotate(360deg);
    }
}

.system-photos-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    gap: 10px;
    color: var(--app-muted);
    font-weight: 800;
    text-align: center;
}

.system-photos-empty .app-icon {
    width: 42px;
    height: 42px;
    color: var(--sidebar-bg);
    stroke: var(--sidebar-bg);
}

.system-photos-result-grid,
.system-photos-orphan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
}

.system-photos-orphan-grid {
    max-height: 460px;
    overflow: auto;
    padding-right: 4px;
}

.system-photos-result-grid figure,
.system-photos-orphan-grid figure {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--app-border);
    background: var(--app-panel-2, var(--app-panel));
}

.system-photos-result-grid img,
.system-photos-orphan-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: block;
    object-fit: cover;
    background: #f8fafc;
}

.system-photos-orphan-photo {
    position: relative;
}

.system-photos-delete-form {
    position: absolute;
    top: 6px;
    right: 6px;
    margin: 0;
}

.system-photos-delete-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
    cursor: pointer;
}

.system-photos-delete-btn:hover,
.system-photos-delete-btn:focus-visible {
    background: #dc2626;
    color: #ffffff;
}

.system-photos-delete-btn .app-icon {
    width: 17px;
    height: 17px;
    color: currentColor;
    stroke: currentColor;
}

.system-photos-result-grid figcaption,
.system-photos-orphan-grid figcaption {
    display: grid;
    gap: 2px;
    padding: 8px;
    color: var(--app-ink);
    font-size: 0.76rem;
    font-weight: 850;
}

.system-photos-orphan-grid figcaption span {
    min-width: 0;
    color: var(--app-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.system-photos-detail-list {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.system-photos-detail-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--app-border);
    background: var(--app-panel-2, var(--app-panel));
}

.system-photos-detail-list strong,
.system-photos-detail-list span {
    color: var(--app-ink);
}

body.theme-white-black .system-photos-rulebar span,
body.theme-white-black .system-photos-upload-progress,
body.theme-white-black .system-photos-result-grid figure,
body.theme-white-black .system-photos-orphan-grid figure,
body.theme-white-black .system-photos-detail-list li {
    background: #ffffff !important;
    border-color: #d7dce5 !important;
}

body.theme-white-black .system-photos-result-grid figcaption,
body.theme-white-black .system-photos-orphan-grid figcaption,
body.theme-white-black .system-photos-detail-list strong,
body.theme-white-black .system-photos-detail-list span,
body.theme-white-black .system-photos-upload-progress,
body.theme-white-black .system-photos-rulebar span {
    color: #050505 !important;
    text-shadow: none !important;
}

body.theme-white-black .system-photos-orphan-grid figcaption span {
    color: #1f2937 !important;
}

@media (max-width: 767.98px) {
    .system-photos-rulebar {
        width: 100%;
    }

    .system-photos-rulebar span {
        flex: 1 1 auto;
        justify-content: center;
    }

    .system-photos-result-grid,
    .system-photos-orphan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Out-of-stock product visibility */
.product-showcase-card.is-out-of-stock,
.catalog-selection-row.is-out-of-stock,
.catalog-public-card.is-out-of-stock,
.catalog-product-card.is-out-of-stock {
    border: 2px solid #ef4444 !important;
    box-shadow: none !important;
}

.product-showcase-card.is-out-of-stock {
    padding: 2px;
}

.product-showcase-card.is-out-of-stock .product-showcase-info {
    padding-left: 2px;
    padding-right: 2px;
}

.product-showcase-photo,
.catalog-public-card-photo,
.catalog-product-photo,
.catalog-selection-photo {
    position: relative;
}

tr.is-out-of-stock > td {
    border-top: 2px solid #ef4444 !important;
    border-bottom: 2px solid #ef4444 !important;
}

tr.is-out-of-stock > td:first-child {
    border-left: 2px solid #ef4444 !important;
}

tr.is-out-of-stock > td:last-child {
    border-right: 2px solid #ef4444 !important;
}

.catalog-selection-row.is-out-of-stock .catalog-selection-title,
.product-showcase-card.is-out-of-stock .product-showcase-main-row h2,
.catalog-public-card.is-out-of-stock .catalog-public-card-body h2 {
    color: #b91c1c !important;
}

.catalog-selection-action:disabled,
.order-quantity-control input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 767.98px) {
    .dashboard-access-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* Catalog saved action colors */
.catalog-saved-actions .action-icon-btn.btn-success:not(.btn-whatsapp) {
    background: #00c94f !important;
    border-color: #00c94f !important;
    color: #050505 !important;
}

.catalog-saved-actions .action-icon-btn.btn-success:not(.btn-whatsapp):hover,
.catalog-saved-actions .action-icon-btn.btn-success:not(.btn-whatsapp):focus {
    background: #19dd66 !important;
    border-color: #19dd66 !important;
    color: #050505 !important;
}

.catalog-saved-actions .action-icon-btn.btn-whatsapp {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
}

.catalog-saved-actions .action-icon-btn.btn-whatsapp:hover,
.catalog-saved-actions .action-icon-btn.btn-whatsapp:focus {
    background: #2fe878 !important;
    border-color: #2fe878 !important;
    color: #ffffff !important;
}

.catalog-saved-actions .action-icon-btn.btn-primary {
    background: #155dfc !important;
    border-color: #155dfc !important;
    color: #ffffff !important;
}

.catalog-saved-actions .action-icon-btn.btn-primary:hover,
.catalog-saved-actions .action-icon-btn.btn-primary:focus {
    background: #2f72ff !important;
    border-color: #2f72ff !important;
    color: #ffffff !important;
}

.catalog-saved-actions .action-icon-btn.btn-danger {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

.catalog-saved-actions .action-icon-btn.btn-danger:hover,
.catalog-saved-actions .action-icon-btn.btn-danger:focus {
    background: #ff5b5b !important;
    border-color: #ff5b5b !important;
    color: #ffffff !important;
}

.catalog-saved-actions .action-icon-btn .app-icon,
.catalog-saved-actions .action-icon-btn .app-icon * {
    color: currentColor !important;
    stroke: currentColor !important;
}

.catalog-saved-actions .action-icon-btn.btn-success:not(.btn-whatsapp) .app-icon,
.catalog-saved-actions .action-icon-btn.btn-success:not(.btn-whatsapp) .app-icon * {
    color: #050505 !important;
    stroke: #050505 !important;
}

.catalog-saved-actions .action-icon-btn.btn-whatsapp .app-icon,
.catalog-saved-actions .action-icon-btn.btn-whatsapp .app-icon * {
    fill: #ffffff !important;
    stroke: none !important;
}

/* Acciones PDF: rojo sólido con contenido blanco en todo el sistema. */
:is(a, button)[href*="_pdf.php"],
button[formaction*="_pdf.php"] {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

:is(a, button)[href*="_pdf.php"] :is(span, svg, .app-icon, path, text),
button[formaction*="_pdf.php"] :is(span, svg, .app-icon, path, text) {
    color: #ffffff !important;
    stroke: currentColor !important;
}

:is(a, button)[href*="_pdf.php"]:is(:hover, :focus),
button[formaction*="_pdf.php"]:is(:hover, :focus) {
    background: #bb2d3b !important;
    border-color: #b02a37 !important;
    color: #ffffff !important;
}

/* Enlaces externos siempre en tema claro (prioridad final). */
body.public-light-theme,
body.public-light-theme.catalog-public-body,
body.public-light-theme.product-public-body,
body.public-light-theme.admin-body {
    color-scheme: light !important;
    background: #f5f7fb !important;
    color: #17202a !important;
}

body.public-light-theme :is(.content-panel, .catalog-public-card, .order-public-item, .product-public-card) {
    background: #ffffff !important;
    border-color: #dbe3ee !important;
    color: #17202a !important;
}

body.public-light-theme :is(h1, h2, h3, h4, strong, .order-public-total, .product-public-info h1, .product-public-info p, .table, .table td, .table th) {
    color: #17202a !important;
    text-shadow: none !important;
}

body.public-light-theme :is(p, span, small, .text-muted, .eyebrow, .product-public-eyebrow, .order-public-item span, .order-public-item small) {
    color: #64748b !important;
    text-shadow: none !important;
}

body.public-light-theme :is(.order-public-notes, .catalog-public-header, .table td, .table th) {
    border-color: #dbe3ee !important;
}

body.public-light-theme .table {
    --bs-table-bg: #ffffff;
    --bs-table-color: #17202a;
    --bs-table-border-color: #dbe3ee;
    --bs-table-hover-bg: #eef3f8;
    --bs-table-hover-color: #17202a;
}

.theme-topbar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.theme-toggle-btn {
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    color: var(--app-muted);
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus-visible {
    background: rgba(22, 87, 239, 0.14);
    border-color: rgba(22, 87, 239, 0.45);
    color: #e7ecff;
}

.theme-toggle-btn.is-active {
    background: #1657ef !important;
    border-color: #1657ef !important;
    color: #ffffff !important;
}

.theme-toggle-btn .app-icon,
.theme-toggle-btn .app-icon * {
    width: 18px;
    height: 18px;
    color: currentColor !important;
    stroke: currentColor !important;
}

body.theme-white-black .theme-topbar-toggle {
    background: #ffffff !important;
    border-color: #dbe3ee !important;
}

body.theme-white-black .theme-toggle-btn {
    background: #ffffff !important;
    border-color: #e2e6ef !important;
    color: #050505 !important;
}

body.theme-white-black .theme-toggle-btn:hover,
body.theme-white-black .theme-toggle-btn:focus-visible {
    background: #f1f5f9 !important;
    border-color: #1657ef !important;
    color: #050505 !important;
}

body.theme-white-black .theme-toggle-btn.is-active {
    background: #1657ef !important;
    border-color: #1657ef !important;
    color: #ffffff !important;
}

body.theme-white-black .theme-toggle-btn.is-active .app-icon,
body.theme-white-black .theme-toggle-btn.is-active .app-icon * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

@media (max-width: 575.98px) {
    .theme-topbar-toggle {
        padding: 3px;
    }

    .theme-toggle-btn {
        width: 32px;
        height: 32px;
    }
}

.scroll-top-button,
body.theme-dark-blue .scroll-top-button,
body.theme-white-black .scroll-top-button,
body.theme-green-vine .scroll-top-button {
    background: #1657ef !important;
    border-color: #1657ef !important;
    color: #ffffff !important;
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible,
body.theme-dark-blue .scroll-top-button:hover,
body.theme-dark-blue .scroll-top-button:focus-visible,
body.theme-white-black .scroll-top-button:hover,
body.theme-white-black .scroll-top-button:focus-visible,
body.theme-green-vine .scroll-top-button:hover,
body.theme-green-vine .scroll-top-button:focus-visible {
    background: #2f72ff !important;
    border-color: #2f72ff !important;
    color: #ffffff !important;
}

.scroll-top-button .app-icon,
.scroll-top-button .app-icon *,
body.theme-dark-blue .scroll-top-button .app-icon,
body.theme-dark-blue .scroll-top-button .app-icon *,
body.theme-white-black .scroll-top-button .app-icon,
body.theme-white-black .scroll-top-button .app-icon *,
body.theme-green-vine .scroll-top-button .app-icon,
body.theme-green-vine .scroll-top-button .app-icon * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Pedidos: distribucion movil compacta y sin recortes */
@media (max-width: 575.98px) {
    form[data-order-items].content-panel {
        width: calc(100% - 16px);
        margin-inline: 8px;
        padding: 12px !important;
        overflow: visible;
    }

    .order-product-selection-list {
        width: 100%;
        margin-inline: 0;
        padding-inline: 0;
    }

    .order-product-selection-list .catalog-selection-row {
        width: 100%;
        margin-inline: 0;
        overflow: hidden;
    }

    .order-product-selection-list .catalog-selection-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        width: 100%;
        min-width: 0;
    }

    .order-product-selection-list .catalog-selection-photo {
        order: 1;
        grid-column: 1;
    }

    .order-product-selection-list .catalog-selection-attributes {
        order: 2;
        grid-column: 2;
        min-width: 0;
    }

    .order-product-selection-list .order-reference-notes {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        padding: 10px;
        border-right: 0;
    }

    .order-product-selection-list .order-quantity-control {
        order: 4;
        grid-column: 1;
        width: 100%;
        min-height: 58px;
        padding: 8px;
        border-right: 1px solid var(--app-border);
        border-top: 1px solid var(--app-border);
    }

    .order-product-selection-list .order-quantity-control .form-control {
        display: block;
        width: 100%;
        max-width: 86px;
        min-height: 38px;
        margin-inline: auto;
    }

    .order-product-selection-list .catalog-selection-action {
        order: 5;
        grid-column: 2;
        width: 100%;
        min-height: 58px;
        border-top: 1px solid var(--app-border);
    }

    .order-product-selection-list .catalog-selection-price {
        order: 6;
        grid-column: 1 / -1;
        width: 100%;
        min-height: 46px;
    }
}

.catalog-saved-actions .action-icon-btn,
.catalog-saved-actions .action-icon-btn.btn-success,
.catalog-saved-actions .action-icon-btn.btn-whatsapp,
.catalog-saved-actions .action-icon-btn.btn-primary,
.catalog-saved-actions .action-icon-btn.btn-danger {
    background: #3f3f46 !important;
    border-color: #52525b !important;
    color: #ffffff !important;
}

.catalog-saved-actions .action-icon-btn:hover,
.catalog-saved-actions .action-icon-btn:focus,
.catalog-saved-actions .action-icon-btn.btn-success:hover,
.catalog-saved-actions .action-icon-btn.btn-success:focus,
.catalog-saved-actions .action-icon-btn.btn-whatsapp:hover,
.catalog-saved-actions .action-icon-btn.btn-whatsapp:focus,
.catalog-saved-actions .action-icon-btn.btn-primary:hover,
.catalog-saved-actions .action-icon-btn.btn-primary:focus,
.catalog-saved-actions .action-icon-btn.btn-danger:hover,
.catalog-saved-actions .action-icon-btn.btn-danger:focus {
    background: #52525b !important;
    border-color: #71717a !important;
    color: #ffffff !important;
}

.catalog-saved-actions .action-icon-btn .app-icon,
.catalog-saved-actions .action-icon-btn .app-icon * {
    color: #ffffff !important;
    stroke: currentColor !important;
}

.catalog-saved-actions .action-icon-btn.btn-whatsapp .app-icon,
.catalog-saved-actions .action-icon-btn.btn-whatsapp .app-icon * {
    fill: #ffffff !important;
    stroke: none !important;
}

/* Catalog builder: espera visual mientras se localiza la última selección. */
.catalog-selection-loading {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(8, 15, 28, 0.58);
    backdrop-filter: blur(2px);
    opacity: 1;
    transition: opacity 0.18s ease;
}

.catalog-selection-loading.is-hiding {
    opacity: 0;
    pointer-events: none;
}

.catalog-selection-loading-box {
    min-width: min(360px, calc(100vw - 48px));
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 24px 28px;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    background: #ffffff;
    color: #111827;
    text-align: center;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
}

.catalog-selection-loading-box strong {
    font-size: 1rem;
    font-weight: 850;
}

.catalog-selection-loading-box small {
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 700;
}

.catalog-selection-loading-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(21, 93, 252, 0.2);
    border-top-color: #155dfc;
    border-radius: 50%;
    animation: systemPhotosSpin 0.8s linear infinite;
}

body.is-catalog-selection-loading {
    cursor: progress;
}

