html,
body {
    min-height: 100%;
}

:root {
    --body-bg-rgb: 251, 246, 240;
    --body-bg-rgb2: 244, 231, 218;
    --primary-rgb: 159, 116, 80;
    --primary-tint1-rgb: 221, 194, 166;
    --primary-tint2-rgb: 194, 154, 116;
    --primary-tint3-rgb: 118, 103, 91;
    --default-body-bg-color: #fbf6f0;
    --default-background: #f4e7da;
    --primary-color: #9f7450;
    --primary-border: #9f7450;
    --menu-bg: #2d2520;
    --header-bg: #ffffff;
    --custom-white: #ffffff;
}

body {
    color: #2d2520;
    background-color: #fbf6f0;
}

h1:focus {
    outline: none;
}

.admin-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ddc2a6, #9f7450);
    color: #2d2520;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0;
}

.auth-placeholder {
    min-height: 100%;
    background: #ddc2a6;
}

.auth-placeholder img {
    max-width: min(420px, 76%);
}

.auth-brand-logo {
    width: min(180px, 65%);
    height: auto;
    object-fit: contain;
}

.auth-cover-logo {
    width: min(520px, 78%);
    height: auto;
    max-height: 78vh;
    padding: 2rem;
    background: rgba(255, 255, 255, .28);
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(45, 37, 32, .2);
}

.card,
.custom-card,
.main-header-dropdown,
.dropdown-menu,
.form-control,
.list-group-item {
    border-color: rgba(221, 194, 166, .65);
}

.card,
.custom-card,
.main-header-dropdown,
.dropdown-menu {
    background-color: #fffdfa;
}

.app-header {
    background-color: #ffffff;
    border-block-end-color: rgba(221, 194, 166, .65);
}

.header-content-center {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 .75rem;
}

.maintenance-topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 2rem;
    padding: .45rem .7rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.maintenance-topbar-badge--online {
    color: #8a4b05;
    background: #fff3cd;
    border-color: #ffd98a;
}

.maintenance-topbar-badge--offline {
    color: #0f6848;
    background: #dff8ec;
    border-color: #9ee3c2;
}

.maintenance-topbar-badge i {
    font-size: 1rem;
    line-height: 1;
}

.app-sidebar {
    background-color: #2d2520;
}

.app-sidebar .main-sidebar-header {
    background-color: #2d2520;
    border-block-end-color: rgba(221, 194, 166, .65);
    padding: .6rem .85rem;
}

.app-sidebar .main-sidebar-header .sidebar-brand-card {
    align-items: center;
    background: #fffdfa;
    border: 1px solid rgba(221, 194, 166, .75);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .14);
    display: flex;
    flex-direction: column;
    gap: .12rem;
    justify-content: center;
    min-height: 3.05rem;
    padding: .38rem .65rem .34rem;
    text-decoration: none;
    width: 100%;
}

.app-sidebar .main-sidebar-header .sidebar-brand-logo {
    height: 1.45rem;
    max-width: 8.6rem;
    object-fit: contain;
    width: auto;
}

.app-sidebar .main-sidebar-header .sidebar-brand-text {
    color: #9f7450;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08rem;
    line-height: 1;
    text-transform: uppercase;
}

.side-menu__item:hover,
.side-menu__item.active {
    color: #ddc2a6;
}

.sidebar-menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    list-style: none;
    text-align: left;
    width: 100%;
}

.sidebar-menu-toggle::-webkit-details-marker {
    display: none;
}

details[open] > .sidebar-menu-toggle .side-menu__angle {
    transform: rotate(180deg);
}

details[open] > .slide-menu {
    display: block !important;
}

details:not([open]) > .slide-menu {
    display: none !important;
}

.btn-primary {
    --bs-btn-bg: #9f7450;
    --bs-btn-border-color: #9f7450;
    --bs-btn-hover-bg: #8d6544;
    --bs-btn-hover-border-color: #8d6544;
    --bs-btn-active-bg: #7d593c;
    --bs-btn-active-border-color: #7d593c;
}

.btn-outline-primary {
    --bs-btn-color: #9f7450;
    --bs-btn-border-color: #9f7450;
    --bs-btn-hover-bg: #9f7450;
    --bs-btn-hover-border-color: #9f7450;
}

.bg-primary-transparent,
.btn-primary-light {
    background-color: rgba(221, 194, 166, .24) !important;
    color: #9f7450 !important;
}

.text-primary {
    color: #9f7450 !important;
}

.form-control:focus,
.form-check-input:focus {
    border-color: #9f7450;
    box-shadow: 0 0 0 .2rem rgba(221, 194, 166, .35);
}

.form-check-input:checked {
    background-color: #9f7450;
    border-color: #9f7450;
}

.catalog-empty {
    border: 1px dashed var(--default-border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.validation-message {
    color: rgb(var(--danger-rgb)) !important;
    display: block;
    margin-top: .25rem;
}

.dashboard-section {
    margin-block-end: 1.5rem;
}

.dashboard-section-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-block-end: .75rem;
}

.dashboard-section-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0;
}

.dashboard-kpi-card .card-body {
    min-height: 142px;
}

.dashboard-kpi-value {
    color: #2d2520;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.1;
}


.dashboard-social-value {
    color: #2d2520;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.dashboard-kpi-caption {
    color: var(--text-muted);
    font-size: .78rem;
    margin-top: 1.15rem;
}

.dashboard-social-card .card-body {
    min-height: 118px;
}

.dashboard-revenue-chart {
    align-items: end;
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(7, minmax(42px, 1fr));
    min-height: 280px;
}

.dashboard-revenue-bar {
    align-items: center;
    display: grid;
    gap: .5rem;
    grid-template-rows: auto 1fr auto;
    height: 100%;
    min-width: 0;
}

.dashboard-revenue-amount,
.dashboard-revenue-label {
    font-size: .75rem;
    text-align: center;
    white-space: nowrap;
}

.dashboard-revenue-amount {
    color: #2d2520;
    font-weight: 600;
}

.dashboard-revenue-label {
    color: var(--text-muted);
}

.dashboard-revenue-track {
    align-items: end;
    background: rgba(221, 194, 166, .22);
    border-radius: 8px;
    display: flex;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.dashboard-revenue-track span {
    background: linear-gradient(180deg, #6f8f72 0%, #9f7450 100%);
    border-radius: 8px 8px 0 0;
    display: block;
    height: var(--bar-height);
    width: 100%;
}

.dashboard-channel-row {
    align-items: center;
    border-bottom: 1px solid rgba(221, 194, 166, .55);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-block: .8rem;
}

.dashboard-channel-row:first-child {
    padding-top: 0;
}

.dashboard-channel-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dashboard-channel-metric {
    text-align: right;
}

.dashboard-channel-metric span,
.dashboard-channel-metric small {
    display: block;
}

.dashboard-channel-metric span {
    color: #2d2520;
    font-weight: 600;
}

.dashboard-channel-metric small {
    color: rgb(var(--success-rgb));
    font-size: .72rem;
}

@media (max-width: 575.98px) {
    .dashboard-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-revenue-chart {
        gap: .45rem;
        grid-template-columns: repeat(7, minmax(30px, 1fr));
        min-height: 220px;
    }

    .dashboard-revenue-amount {
        font-size: .68rem;
        writing-mode: vertical-rl;
    }
}

.product-image-preview img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
}

.product-list-table-wrap {
    min-height: 220px;
}

.product-image-column {
    width: 64px;
}

.product-image-cell {
    position: relative;
}

.product-list-thumbnail {
    align-items: center;
    background: #fffdfa;
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
    color: #9f7450;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 48px;
}

.product-list-thumbnail:not(:disabled) {
    cursor: zoom-in;
}

.product-list-thumbnail:disabled {
    color: rgba(159, 116, 80, .45);
    cursor: default;
}

.product-list-thumbnail img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-list-thumbnail i {
    font-size: 1.25rem;
}

.product-list-thumbnail:focus-visible {
    border-color: #9f7450;
    box-shadow: 0 0 0 .15rem rgba(159, 116, 80, .18);
    outline: 0;
}

.product-table-swatches {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    min-width: 46px;
}

.product-table-swatch {
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    display: inline-flex;
    height: 16px;
    width: 16px;
}

.product-filter-color-dropdown {
    min-width: 220px;
    position: relative;
}

.product-filter-color-toggle {
    align-items: center;
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.product-filter-color-toggle::after {
    display: none;
}

.product-filter-color-toggle-copy {
    align-items: center;
    display: inline-flex;
    gap: .55rem;
    min-width: 0;
}

.product-filter-color-menu {
    background: #fffdfa;
    border: 1px solid rgba(159, 116, 80, .22);
    border-radius: 8px;
    box-shadow: 0 .75rem 2rem rgba(39, 58, 52, .14);
    display: grid;
    gap: .25rem;
    left: 0;
    margin-top: .35rem;
    max-height: 280px;
    overflow-y: auto;
    padding: .35rem;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 30;
}

.product-filter-color-backdrop {
    background: transparent;
    border: 0;
    cursor: default;
    inset: 0;
    padding: 0;
    position: fixed;
    z-index: 29;
}

.product-filter-color-option {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--default-text-color);
    display: flex;
    gap: .55rem;
    padding: .45rem .55rem;
    text-align: left;
    width: 100%;
}

.product-filter-color-option:hover,
.product-filter-color-option.selected {
    background: rgba(221, 194, 166, .18);
    border-color: rgba(159, 116, 80, .25);
}

.product-filter-color-swatch {
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    display: inline-flex;
    flex: 0 0 auto;
    height: 16px;
    width: 16px;
}

.product-image-hover-preview {
    background: #fffdfa;
    border: 1px solid rgba(159, 116, 80, .28);
    border-radius: 8px;
    box-shadow: 0 1rem 2.5rem rgba(39, 58, 52, .22);
    left: 50%;
    max-width: min(360px, calc(100vw - 2rem));
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .12s ease-in-out, visibility .12s ease-in-out;
    visibility: hidden;
    width: 340px;
    z-index: 1060;
}

.product-image-cell:hover .product-image-hover-preview,
.product-image-cell:focus-within .product-image-hover-preview {
    opacity: 1;
    visibility: visible;
}

.product-image-hover-preview img {
    aspect-ratio: 1 / 1;
    background: #ffffff;
    display: block;
    object-fit: contain;
    width: 100%;
}

.product-image-hover-caption {
    display: grid;
    gap: .2rem;
    padding: .85rem 1rem;
}

.product-image-hover-caption strong,
.product-image-hover-subtitle,
.product-image-hover-updated span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.product-image-hover-updated {
    align-items: center;
    color: #6d7b75;
    display: inline-flex;
    gap: .35rem;
    font-size: .78rem;
    line-height: 1.35;
}

.product-image-hover-updated i {
    color: #9f7450;
    font-size: .9rem;
}

.product-image-hover-subtitle {
    color: #6d7b75;
    font-size: .78rem;
}

.bouquet-image-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .85rem;
}

.bouquet-image-gallery-thumb {
    background: #fffdfa;
    border: 1px solid rgba(221, 194, 166, .55);
    border-radius: 8px;
    height: 84px;
    overflow: hidden;
    position: relative;
    width: 84px;
}

.bouquet-image-gallery-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bouquet-image-gallery-remove {
    position: absolute;
    right: .3rem;
    top: .3rem;
}

.product-form-grid {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-barcode-preview {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin-left: auto;
    min-width: 220px;
    text-align: right;
}

.product-barcode-preview__svg {
    display: block;
    fill: #111827;
    height: 54px;
    max-width: 280px;
    width: 100%;
}

.product-barcode-preview__code {
    color: #111827;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.1;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.product-calculated-field[readonly] {
    background: rgba(221, 194, 166, .14);
    border-color: rgba(159, 116, 80, .2);
    color: #273a34;
    font-weight: 600;
}

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

    .product-barcode-preview {
        align-items: flex-end;
        margin-left: 0;
        min-width: min(100%, 220px);
        text-align: right;
        width: 100%;
    }

    .product-barcode-preview__svg {
        max-width: 240px;
    }
}

.product-image-dropzone {
    align-items: center;
    background: #fffdfa;
    border: 1px dashed rgba(159, 116, 80, .45);
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    gap: 1rem;
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 148px;
    padding: 1rem;
    position: relative;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.product-image-dropzone:hover,
.product-image-dropzone:focus-within {
    background: rgba(221, 194, 166, .12);
    border-color: #9f7450;
    box-shadow: 0 0 0 .15rem rgba(159, 116, 80, .1);
}

.product-image-input {
    inset: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.product-image-dropzone-preview {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
    display: flex;
    height: 116px;
    justify-content: center;
    overflow: hidden;
    width: 116px;
}

.product-image-dropzone-preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-image-dropzone-placeholder {
    align-items: center;
    background: rgba(159, 116, 80, .1);
    color: #9f7450;
    display: flex;
    font-size: 2rem;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.product-image-dropzone-copy {
    display: grid;
    gap: .3rem;
    min-width: 0;
}

.product-image-dropzone-title {
    color: #2d2520;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-image-dropzone-text {
    color: var(--default-text-color);
}

.product-image-dropzone-meta {
    color: var(--text-muted);
    font-size: .78rem;
}

.product-list-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
}

.bouquet-wizard {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.bouquet-wizard-step {
    align-items: center;
    background: #fffdfa;
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
    display: flex;
    gap: .75rem;
    min-width: 0;
    padding: .9rem 1rem;
}

.bouquet-wizard-step span {
    align-items: center;
    background: rgba(159, 116, 80, .12);
    border-radius: 50%;
    color: #9f7450;
    display: inline-flex;
    flex: 0 0 34px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.bouquet-wizard-step.active span {
    background: #9f7450;
    color: #ffffff;
}

.bouquet-wizard-step strong,
.bouquet-wizard-step small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bouquet-wizard-step small {
    color: var(--text-muted);
    font-size: .76rem;
}

.bouquet-panel {
    height: 100%;
}

.bouquet-panel .card-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.bouquet-stem-library {
    display: grid;
    gap: .65rem;
    max-height: 720px;
    overflow-y: auto;
    padding-right: .25rem;
}

.bouquet-stem-tile {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(221, 194, 166, .75);
    border-radius: 8px;
    color: inherit;
    display: grid;
    gap: .75rem;
    grid-template-columns: 58px minmax(0, 1fr) 30px;
    min-height: 74px;
    padding: .5rem;
    text-align: left;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, transform .15s ease-in-out;
    width: 100%;
}

.bouquet-stem-tile:hover,
.bouquet-stem-tile:focus {
    border-color: #9f7450;
    box-shadow: 0 8px 22px rgba(45, 37, 32, .08);
    transform: translateY(-1px);
}

.bouquet-stem-image,
.bouquet-recipe-media {
    align-items: center;
    background: rgba(221, 194, 166, .18);
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
    color: #9f7450;
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
}

.bouquet-stem-image {
    height: 58px;
    width: 58px;
}

.bouquet-stem-image img,
.bouquet-recipe-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bouquet-stem-image i {
    font-size: 1.45rem;
}

.bouquet-stem-copy {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.bouquet-stem-copy strong,
.bouquet-stem-copy small,
.bouquet-stem-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bouquet-stem-copy small {
    color: var(--text-muted);
    font-size: .74rem;
}

.bouquet-stem-copy span {
    color: #6f8f72;
    font-size: .76rem;
    font-weight: 700;
}

.bouquet-stem-swatches {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    min-height: 14px;
}

.bouquet-stem-copy .bouquet-stem-swatches {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.bouquet-stem-swatch {
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    display: inline-flex;
    flex: 0 0 auto;
    height: 12px;
    width: 12px;
}

.bouquet-stem-add {
    align-items: center;
    background: rgba(159, 116, 80, .12);
    border-radius: 50%;
    color: #9f7450;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.bouquet-counter {
    background: rgba(159, 116, 80, .12);
    border-radius: 8px;
    min-width: 82px;
    padding: .45rem .6rem;
    text-align: center;
}

.bouquet-counter strong,
.bouquet-counter span {
    display: block;
}

.bouquet-counter strong {
    color: #2d2520;
    font-size: 1.1rem;
    line-height: 1;
}

.bouquet-counter span {
    color: var(--text-muted);
    font-size: .72rem;
}

.bouquet-preview {
    display: grid;
    gap: 1rem;
}

.bouquet-preview-stage {
    align-items: center;
    background: linear-gradient(180deg, #fffdfa 0%, #f4e7da 100%);
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    min-height: 360px;
    overflow: visible;
    padding: 1.5rem;
    position: relative;
}

.bouquet-preview-empty {
    align-items: center;
    color: var(--text-muted);
    display: grid;
    gap: .35rem;
    justify-items: center;
    text-align: center;
}

.bouquet-preview-empty i {
    color: #9f7450;
    font-size: 2.4rem;
}

.bouquet-preview-empty strong {
    color: #2d2520;
}

.bouquet-bloom-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
    max-width: 380px;
    padding-bottom: 4.25rem;
}

.bouquet-layout-editor {
    bottom: 4.75rem;
    display: block;
    left: 1.5rem;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}

.bouquet-layout-zone {
    aspect-ratio: 1;
    border: 1px dashed rgba(159, 116, 80, .28);
    border-radius: 50%;
    bottom: auto;
    height: 82%;
    left: 8%;
    position: absolute;
    right: auto;
    top: 6%;
}

.bouquet-layout-zone span,
.bouquet-layout-staging span {
    background: rgba(255, 253, 250, .82);
    border: 1px solid rgba(221, 194, 166, .6);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .45rem;
    position: absolute;
    text-transform: uppercase;
}

.bouquet-layout-zone span {
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
}

.bouquet-layout-staging {
    background: rgba(255, 253, 250, .56);
    border-left: 1px dashed rgba(159, 116, 80, .32);
    bottom: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 21%;
}

.bouquet-layout-staging span {
    right: .5rem;
    top: .5rem;
}

.bouquet-stem-dot {
    align-items: center;
    background: radial-gradient(circle at 35% 30%, #ffffff 0 12%, var(--bloom-color) 13% 100%);
    border: 1px solid rgba(45, 37, 32, .14);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(45, 37, 32, .1);
    color: rgba(45, 37, 32, .72);
    cursor: grab;
    display: inline-flex;
    font-size: .68rem;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    left: var(--placement-x);
    line-height: 1;
    position: absolute;
    top: var(--placement-y);
    touch-action: none;
    transform: translate(-50%, -50%);
    transition: box-shadow .16s ease, transform .16s ease;
    width: 34px;
    z-index: 2;
}

.bouquet-stem-dot:hover,
.bouquet-stem-dot:focus {
    box-shadow: 0 14px 26px rgba(45, 37, 32, .18);
    outline: 2px solid rgba(159, 116, 80, .28);
    outline-offset: 2px;
    transform: translate(-50%, -50%) scale(1.08);
}

.bouquet-stem-dot.dragging {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.12);
    z-index: 4;
}

.bouquet-stem-dot-count {
    background: rgba(255, 255, 255, .72);
    border-radius: 999px;
    min-width: 16px;
    padding: 2px 4px;
    text-align: center;
}

.bouquet-stem-tooltip {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(159, 116, 80, .24);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(45, 37, 32, .16);
    color: #2d2520;
    display: grid;
    gap: .65rem;
    grid-template-columns: 52px minmax(0, 1fr) 30px;
    left: 50%;
    min-height: 68px;
    opacity: 0;
    padding: .5rem;
    pointer-events: none;
    position: absolute;
    text-align: left;
    top: -10px;
    transform: translate(-50%, -100%) scale(.98);
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
    visibility: hidden;
    width: min(280px, calc(100vw - 2rem));
    z-index: 12;
}

.bouquet-stem-tooltip::after {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #ffffff;
    bottom: -7px;
    content: "";
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.bouquet-stem-dot:hover .bouquet-stem-tooltip,
.bouquet-stem-dot:focus-within .bouquet-stem-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -100%) scale(1);
    visibility: visible;
}

.bouquet-stem-tooltip .bouquet-stem-image {
    height: 52px;
    width: 52px;
}

.bouquet-stem-tooltip .bouquet-stem-copy {
    gap: .1rem;
}

.bouquet-stem-tooltip .bouquet-stem-copy strong {
    font-size: .78rem;
}

.bouquet-stem-tooltip .bouquet-stem-copy small {
    font-size: .68rem;
}

.bouquet-stem-tooltip .bouquet-stem-copy span {
    font-size: .7rem;
}

.bouquet-stem-tooltip-edit {
    align-items: center;
    background: rgba(159, 116, 80, .12);
    border-radius: 50%;
    color: #9f7450;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    text-decoration: none;
    width: 30px;
}

.bouquet-stem-tooltip-edit:hover,
.bouquet-stem-tooltip-edit:focus {
    background: #9f7450;
    color: #ffffff;
}

.bouquet-mobile-summary {
    display: none;
}

.bouquet-bloom {
    align-items: center;
    background: radial-gradient(circle at 35% 30%, #ffffff 0 11%, var(--bloom-color) 12% 100%);
    border: 1px solid rgba(45, 37, 32, .12);
    border-radius: 52% 48% 54% 46%;
    box-shadow: 0 10px 20px rgba(45, 37, 32, .08);
    color: rgba(45, 37, 32, .72);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.bouquet-ribbon {
    align-items: center;
    background: #2d2520;
    border-radius: 8px;
    bottom: 1.5rem;
    color: #ffffff;
    display: inline-flex;
    gap: .45rem;
    left: 50%;
    max-width: calc(100% - 3rem);
    padding: .65rem .9rem;
    position: absolute;
    transform: translateX(-50%);
}

.bouquet-ribbon span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bouquet-recipe-list {
    display: grid;
    gap: .75rem;
}

.bouquet-recipe-empty {
    border: 1px dashed rgba(159, 116, 80, .35);
    border-radius: 8px;
    color: var(--text-muted);
    padding: 1rem;
    text-align: center;
}

.bouquet-recipe-item {
    align-items: start;
    background: #ffffff;
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
    display: grid;
    gap: .75rem;
    grid-template-columns: 64px minmax(0, 1fr);
    padding: .75rem;
}

.bouquet-recipe-media {
    height: 64px;
    width: 64px;
}

.bouquet-recipe-media i {
    font-size: 1.5rem;
}

.bouquet-recipe-main {
    min-width: 0;
}

.bouquet-recipe-main strong,
.bouquet-recipe-main small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bouquet-recipe-main small {
    color: var(--text-muted);
}

.bouquet-recipe-colors {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .4rem;
}

.bouquet-recipe-price {
    color: #6f8f72;
    font-size: .76rem;
    font-weight: 700;
    margin-top: .55rem;
}

.bouquet-quantity .form-control {
    min-width: 46px;
}

.bouquet-price-summary {
    align-items: center;
    background: rgba(111, 143, 114, .12);
    border: 1px solid rgba(111, 143, 114, .22);
    border-radius: 8px;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    padding: .75rem;
}

.bouquet-price-summary span {
    color: var(--text-muted);
    font-size: .78rem;
}

.bouquet-price-summary strong {
    color: #4e704f;
}

.bouquet-registration-accordion .accordion-item {
    background: transparent;
    border-color: rgba(221, 194, 166, .65);
}

.bouquet-registration-accordion .accordion-button {
    background: #fffdfa;
    color: #2d2520;
    font-weight: 700;
    padding: .85rem 1rem;
}

.bouquet-registration-accordion .accordion-body {
    background: #ffffff;
    padding: 1rem;
}

@media (max-width: 1199.98px) {
    .bouquet-wizard {
        grid-template-columns: 1fr;
    }

    .bouquet-stem-library {
        max-height: 420px;
    }

    .bouquet-layout-editor {
        display: none;
    }

    .bouquet-mobile-summary {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .bouquet-preview-stage {
        min-height: 280px;
        padding: 1rem;
    }

    .bouquet-layout-editor {
        display: none;
    }

    .bouquet-mobile-summary {
        display: block;
    }

    .bouquet-recipe-item {
        grid-template-columns: 1fr;
    }

    .bouquet-recipe-media {
        height: 96px;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .product-image-dropzone {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
}

.tag-input-control {
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--input-border);
    border-radius: .35rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    min-height: 38px;
    padding: .3rem .45rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.tag-input-control:focus-within {
    border-color: #9f7450;
    box-shadow: 0 0 0 .15rem rgba(159, 116, 80, .12);
}

.tag-input-chip {
    align-items: center;
    background: rgba(159, 116, 80, .12);
    border: 1px solid rgba(159, 116, 80, .28);
    border-radius: 999px;
    color: #6f4f35;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 600;
    gap: .35rem;
    line-height: 1;
    max-width: 100%;
    padding: .35rem .35rem .35rem .6rem;
}

.tag-input-chip > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-input-remove {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, .74);
    border: 0;
    border-radius: 999px;
    color: #9f7450;
    cursor: pointer;
    display: inline-flex;
    height: 18px;
    justify-content: center;
    padding: 0;
    width: 18px;
}

.tag-input-remove::before {
    content: "x";
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
}

.tag-input-remove:hover,
.tag-input-remove:focus {
    background: #9f7450;
    color: #ffffff;
}

.tag-input-field {
    border: 0;
    flex: 1 1 140px;
    min-width: 120px;
    outline: 0;
    padding: .2rem .1rem;
}

.tag-input-field::placeholder {
    color: var(--text-muted);
}

.stem-name-picker {
    position: relative;
}

.stem-name-picker-toggle {
    align-items: center;
    background-position: right .75rem center;
    display: flex;
    min-height: 38px;
    padding-right: 2.25rem;
    text-align: left;
}

.stem-name-picker-menu {
    background: #fff;
    border: 1px solid var(--default-border);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    display: none;
    left: 0;
    max-height: 260px;
    overflow-y: auto;
    padding: .35rem;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
}

.stem-name-picker-menu[style*="display: block"] {
    display: block;
}

.stem-name-picker:hover .stem-name-picker-menu,
.stem-name-picker:focus-within .stem-name-picker-menu {
    display: block;
}

.stem-name-picker-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--default-text-color);
    display: flex;
    gap: .55rem;
    padding: .4rem .45rem;
    text-align: left;
    width: 100%;
}

button.stem-name-picker-item img.stem-name-option-image,
button.stem-name-picker-toggle img.stem-name-option-image {
    display: block;
    height: 28px !important;
    max-height: 28px !important;
    max-width: 28px !important;
    min-height: 28px;
    min-width: 28px;
    width: 28px !important;
}

.stem-name-picker-item:hover,
.stem-name-picker-item.active {
    background: rgba(221, 194, 166, .22);
}

.stem-name-option-content {
    align-items: center;
    display: flex;
    gap: .55rem;
    min-width: 0;
}

.stem-name-option-content span,
.stem-name-option-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stem-name-option-image,
.stem-name-option-placeholder {
    align-items: center;
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 6px;
    display: inline-flex;
    flex: 0 0 28px;
    height: 28px;
    justify-content: center;
    object-fit: cover;
    width: 28px;
}

.stem-name-option-placeholder {
    background: rgba(221, 194, 166, .16);
    color: var(--text-muted);
    font-size: 1rem;
}

.color-selection-field {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    min-height: 38px;
}

.color-selection-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.color-selection-modal {
    display: none;
}

.color-selection-backdrop {
    display: none;
}

.color-selection-modal:target {
    display: block;
}

.color-selection-modal:target + .color-selection-backdrop {
    display: block;
}

.color-dialog-placeholder {
    align-items: center;
    border: 1px dashed var(--default-border);
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
}

.color-dialog-placeholder > i {
    color: #9f7450;
    font-size: 2rem;
}

.product-color-chooser {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    min-height: 38px;
}

.product-color-modal {
    display: block;
    z-index: 1060;
}

.product-color-modal .modal-dialog {
    max-width: min(1180px, calc(100vw - 2rem));
}

.product-color-modal .modal-content {
    border: 2px solid rgba(159, 116, 80, .42);
    box-shadow: 0 24px 72px rgba(23, 31, 38, .22), 0 0 0 1px rgba(255, 255, 255, .85);
}

.product-color-modal .modal-header,
.product-color-modal .modal-footer {
    background: #fffdfa;
    border-color: rgba(221, 194, 166, .75);
}

.product-color-chooser .color-selection-backdrop {
    background-color: #171f26;
    display: block;
    opacity: .36;
    z-index: 1055;
}

.product-color-dialog-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.color-card-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    max-height: 58vh;
    overflow: auto;
    padding-right: .25rem;
}

.color-group-card {
    border: 1px solid rgba(221, 194, 166, .55);
    border-radius: 8px;
    padding: .8rem;
}

.color-group-title {
    display: grid;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: .65rem;
    text-transform: uppercase;
}

.color-group-line,
.palette-accent-line {
    border-radius: 999px;
    display: inline-block;
    height: 3px;
    width: 72px;
}

.color-option-list {
    display: grid;
    gap: .45rem;
}

.color-option-button {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--default-text-color);
    display: flex;
    gap: .55rem;
    padding: .25rem;
    text-align: left;
}

.color-option-button:hover,
.color-option-button.selected {
    background: rgba(221, 194, 166, .18);
    border-color: rgba(159, 116, 80, .35);
}

.color-option-swatch,
.selected-color-swatch,
.palette-row-swatch,
.color-chip-swatch,
.image-color-result-swatch {
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    display: inline-flex;
    flex: 0 0 auto;
}

.color-option-swatch {
    align-items: center;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.color-option-swatch i {
    color: #173824;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .75);
}

.selected-colors-panel {
    background: #fffdfa;
    border: 1px solid rgba(221, 194, 166, .55);
    border-radius: 8px;
    padding: 1rem;
}

.selected-color-list {
    display: grid;
    gap: .65rem;
}

.selected-color-row {
    align-items: center;
    border: 1px solid rgba(221, 194, 166, .55);
    border-radius: 8px;
    display: grid;
    gap: .55rem;
    grid-template-columns: 34px minmax(0, 1fr) 120px 32px;
    padding: .55rem;
}

.bouquet-selected-color-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
}

.bouquet-color-role {
    justify-self: end;
}

.selected-color-swatch {
    height: 32px;
    width: 32px;
}

.selected-color-copy {
    display: grid;
    min-width: 0;
}

.selected-color-copy span {
    color: var(--text-muted);
    font-size: .78rem;
}

.color-chip {
    align-items: center;
    background: rgba(221, 194, 166, .18);
    border: 1px solid rgba(221, 194, 166, .5);
    border-radius: 999px;
    display: inline-flex;
    gap: .4rem;
    padding: .25rem .55rem .25rem .3rem;
}

.color-chip-swatch {
    height: 18px;
    width: 18px;
}

.color-chip-role {
    color: var(--text-muted);
    font-size: .72rem;
}

.color-maintenance-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(420px, 1.05fr) minmax(360px, .95fr) minmax(320px, .75fr);
}

.color-maintenance-table tr.selected td {
    background: rgba(231, 154, 170, .14);
}

.palette-subcolor-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.palette-mini-swatch {
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 4px;
    display: inline-block;
    height: 18px;
    width: 18px;
}

.palette-row-swatch {
    height: 28px;
    width: 28px;
}

.color-input-row {
    display: grid;
    gap: .5rem;
    grid-template-columns: 54px minmax(0, 1fr);
}

.color-editor-preview {
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    height: 72px;
}

.image-color-picker {
    border: 1px solid rgba(221, 194, 166, .65);
    border-radius: 8px;
    padding: .9rem;
}

.image-color-dropzone {
    align-items: center;
    border: 1px dashed rgba(159, 116, 80, .45);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-bottom: .75rem;
    min-height: 48px;
    padding: .65rem;
    text-align: center;
}

.image-color-picker.is-dragging .image-color-dropzone {
    background: rgba(221, 194, 166, .18);
    border-color: #9f7450;
}

.image-color-workspace {
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) 108px;
    margin-bottom: .65rem;
}

.image-color-preview-frame {
    background: rgba(221, 194, 166, .12);
    border: 1px solid rgba(221, 194, 166, .55);
    border-radius: 8px;
    min-height: 150px;
    overflow: hidden;
    position: relative;
}

.image-color-preview-frame img {
    display: none;
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.image-color-picker.has-image .image-color-preview-frame img {
    display: block;
}

.image-color-crosshair {
    border: 2px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 0 0 2px rgba(23, 56, 36, .85);
    display: none;
    height: 28px;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 28px;
}

.image-color-crosshair::before,
.image-color-crosshair::after {
    background: #ffffff;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.image-color-crosshair::before {
    height: 2px;
    width: 36px;
}

.image-color-crosshair::after {
    height: 36px;
    width: 2px;
}

.image-color-result {
    align-items: center;
    border: 1px solid rgba(221, 194, 166, .55);
    border-radius: 8px;
    display: grid;
    justify-items: center;
    padding: .65rem;
    text-align: center;
}

.image-color-result-swatch {
    height: 58px;
    width: 58px;
}

.catalog-empty.compact {
    padding: 1rem;
}

@media (max-width: 1199.98px) {
    .color-maintenance-grid,
    .product-color-dialog-grid {
        grid-template-columns: 1fr;
    }
}

.admin-form-section .card-header {
    background: rgba(221, 194, 166, .16);
}

.bouquet-component-row {
    padding: 1rem;
    border: 1px solid rgba(221, 194, 166, .45);
    border-radius: 12px;
    background: #fffdfa;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1080;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.side-menu__item.active {
    color: var(--primary-color);
}

.main-content.app-content {
    min-height: calc(100vh - 4rem);
}

.maintenance-admin-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .85fr);
}

.maintenance-admin-grid > .custom-card:nth-child(2) {
    grid-row: span 2;
}

.maintenance-admin-status-card h2 {
    color: #2f241f;
    font-size: 1.5rem;
    margin: .35rem 0 .4rem;
}

.maintenance-admin-status-card p {
    color: #7d6b60;
    margin: 0;
}

.maintenance-admin-kicker,
.maintenance-admin-preview-kicker {
    color: var(--primary-color);
    display: inline-block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.maintenance-admin-switch-row {
    align-items: center;
    background: rgba(221, 194, 166, .16);
    border: 1px solid rgba(221, 194, 166, .38);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding: 1rem;
}

.maintenance-admin-switch-row span {
    color: #7d6b60;
    display: block;
    font-size: .86rem;
    margin-top: .2rem;
}

.maintenance-admin-switch-row .maintenance-admin-updated {
    color: #9f7450;
    font-size: .78rem;
    font-weight: 700;
}

.maintenance-admin-switch .form-check-input {
    height: 1.45rem;
    width: 2.75rem;
}

.maintenance-admin-message {
    min-height: 150px;
}

.maintenance-admin-preview {
    background: #fbfbfa;
    border: 1px solid rgba(221, 194, 166, .42);
    border-radius: 8px;
    min-height: 390px;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.maintenance-admin-preview::before {
    background: url("../xintra/images/brand/TheSilkFlowerAppIcon.png") center / contain no-repeat;
    content: "";
    inset: 1.5rem;
    opacity: .04;
    position: absolute;
}

.maintenance-admin-preview > * {
    position: relative;
}

.maintenance-admin-preview img {
    display: block;
    margin: 0 auto 2.25rem;
    max-width: 180px;
    width: 60%;
}

.maintenance-admin-preview h3 {
    color: #242424;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    line-height: 1.05;
    margin: .7rem 0 1rem;
}

.maintenance-admin-preview p {
    color: #6d6d6d;
    line-height: 1.7;
    margin: 0 auto 1.5rem;
    max-width: 360px;
}

.maintenance-admin-preview-button {
    background: #cc7f82;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    padding: .75rem 1.25rem;
}

@media (max-width: 1199.98px) {
    .maintenance-admin-grid {
        grid-template-columns: 1fr;
    }

    .maintenance-admin-grid > .custom-card:nth-child(2) {
        grid-row: auto;
    }
}

.mobile-product-layout {
    background: #f7f2ef;
    min-height: 100vh;
    padding-bottom: 88px;
}

.mobile-capture-page {
    margin: 0 auto;
    max-width: 520px;
    padding: 1rem;
}

.mobile-capture-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mobile-capture-kicker {
    color: #9f7450;
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mobile-capture-header h1 {
    color: #242424;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
    margin: .2rem 0 0;
}

.mobile-icon-button {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(159, 116, 80, .22);
    border-radius: 8px;
    color: #242424;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.mobile-capture-panel {
    background: #fff;
    border: 1px solid rgba(159, 116, 80, .16);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(36, 36, 36, .06);
    margin-bottom: 1rem;
    padding: 1rem;
}

.mobile-panel-heading {
    align-items: center;
    display: flex;
    gap: .55rem;
    margin-bottom: .85rem;
}

.mobile-panel-heading i {
    color: #cc7f82;
    font-size: 1.2rem;
}

.mobile-panel-heading h2 {
    color: #242424;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.mobile-photo-picker {
    align-items: center;
    background: #fbfbfa;
    border: 1px dashed rgba(159, 116, 80, .35);
    border-radius: 8px;
    color: #6d6d6d;
    cursor: pointer;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.mobile-photo-picker.is-empty {
    min-height: 96px;
}

.mobile-photo-picker.has-images {
    min-height: 58px;
}

.mobile-photo-picker span {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    gap: .4rem;
    font-weight: 700;
}

.mobile-photo-strip {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(auto-fill, minmax(76px, 76px));
    margin-top: .75rem;
}

.mobile-photo-thumb {
    aspect-ratio: 1;
    background: #fbfbfa;
    border: 1px solid rgba(159, 116, 80, .2);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.mobile-photo-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.mobile-photo-thumb-delete {
    align-items: center;
    background: rgba(36, 36, 36, .82);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .8rem;
    height: 24px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: .3rem;
    top: .3rem;
    width: 24px;
}

.mobile-photo-thumb-delete:hover,
.mobile-photo-thumb-delete:focus-visible {
    background: rgba(36, 36, 36, .92);
}

.mobile-scanner-frame {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-scanner-video {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.mobile-action-row {
    display: grid;
    gap: .5rem;
    grid-template-columns: 1fr 1fr;
    margin-top: .75rem;
}

.mobile-find-row {
    align-items: center;
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 1rem;
}

.mobile-find-row .btn {
    min-height: 42px;
}

.mobile-use-photo-check {
    align-items: center;
    display: inline-flex;
    gap: .45rem;
    margin: 0;
    white-space: nowrap;
}

.mobile-muted {
    color: #6d6d6d;
    font-size: .85rem;
    margin-top: .5rem;
}

.mobile-selected-supplier {
    align-items: center;
    background: #fbfbfa;
    border: 1px solid rgba(159, 116, 80, .16);
    border-radius: 8px;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-top: .75rem;
    padding: .85rem;
}

.mobile-selected-supplier strong {
    color: #242424;
    display: block;
    font-size: .95rem;
}

.mobile-supplier-results {
    display: grid;
    gap: .5rem;
    margin-top: .75rem;
}

.mobile-supplier-result {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(159, 116, 80, .16);
    border-radius: 8px;
    color: #2d2520;
    display: grid;
    gap: .15rem;
    padding: .8rem .9rem;
    text-align: left;
}

.mobile-supplier-result small {
    color: #6d6d6d;
}

.mobile-supplier-result.is-selected {
    background: rgba(221, 194, 166, .22);
    border-color: rgba(159, 116, 80, .4);
}

.mobile-identifier-list {
    display: grid;
    gap: .5rem;
    margin-top: .85rem;
}

.mobile-identifier-item {
    background: #fbfbfa;
    border: 1px solid rgba(159, 116, 80, .16);
    border-radius: 8px;
    display: grid;
    gap: .15rem;
    padding: .75rem .85rem;
}

.mobile-identifier-item strong {
    color: #242424;
    font-size: .85rem;
    text-transform: capitalize;
}

.mobile-suggestion-card,
.mobile-warning-card,
.mobile-new-supplier-box {
    background: #fbfbfa;
    border: 1px solid rgba(159, 116, 80, .16);
    border-radius: 8px;
    padding: .85rem;
}

.mobile-result-status {
    border: 1px solid rgba(159, 116, 80, .18);
    border-radius: 8px;
    font-weight: 800;
    padding: .65rem .75rem;
}

.mobile-result-summary {
    align-items: center;
    display: flex;
    gap: .5rem;
    margin-bottom: .75rem;
}

.mobile-result-summary .mobile-result-status {
    align-items: center;
    display: inline-flex;
    gap: .45rem;
    margin-bottom: 0;
}

.mobile-result-info-button {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(159, 116, 80, .18);
    border-radius: 999px;
    color: #6d6d6d;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.mobile-result-info-button i {
    font-size: 1rem;
}

.mobile-result-status.is-success {
    background: rgba(58, 138, 94, .1);
    color: #2d704b;
}

.mobile-result-status.is-warning {
    background: rgba(205, 127, 80, .12);
    color: #9f5d31;
}

.mobile-result-status.is-muted {
    background: #fbfbfa;
    color: #6d6d6d;
}

.mobile-result-status-confidence {
    color: currentColor;
    font-size: .78rem;
    font-weight: 800;
    opacity: .88;
}

.mobile-result-reason {
    background: #fbfbfa;
    border: 1px solid rgba(159, 116, 80, .12);
    border-radius: 8px;
    color: #5a5a5a;
    font-size: .86rem;
    line-height: 1.5;
    margin-top: .75rem;
    padding: .75rem;
}

.mobile-result-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-result-grid .form-control,
.mobile-result-grid .form-select,
.mobile-result-grid .mobile-segmented-control {
    width: 100%;
}

.mobile-product-result-fields {
    display: grid;
    gap: .75rem;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-product-result-fields > div {
    min-width: 0;
}

.mobile-product-result-fields .form-control {
    width: 100%;
}

.mobile-suggestion-card {
    display: grid;
    gap: .35rem;
}

.mobile-existing-product-details {
    color: #5b5b5b;
    display: grid;
    gap: .2rem;
    margin-top: .35rem;
}

.mobile-existing-product-gallery {
    display: grid;
    gap: .65rem;
    margin-top: .75rem;
}

.mobile-existing-product-hero,
.mobile-existing-product-thumb img {
    background: #f4efe8;
    border: 1px solid rgba(159, 116, 80, .16);
    border-radius: 10px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.mobile-existing-product-hero {
    aspect-ratio: 4 / 3;
}

.mobile-existing-product-thumbnails {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

.mobile-existing-product-thumb img {
    aspect-ratio: 1 / 1;
}

.mobile-suggestion-card strong,
.mobile-warning-card strong {
    color: #242424;
    font-size: 1rem;
}

.mobile-suggestion-card p {
    color: #6d6d6d;
    margin: 0 0 .35rem;
}

.mobile-source-badge {
    background: rgba(204, 127, 130, .12);
    border-radius: 999px;
    color: #9f4b50;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 800;
    justify-self: start;
    padding: .25rem .55rem;
}

.mobile-segmented-control {
    border: 1px solid rgba(159, 116, 80, .22);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    width: 100%;
}

.mobile-segment {
    align-items: center;
    background: #fff;
    border: 0;
    color: #6d6d6d;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    width: 100%;
}

.mobile-segment.active {
    background: #cc7f82;
    color: #fff;
}

.mobile-save-action {
    margin-bottom: 1rem;
}

.mobile-save-hint {
    color: rgb(var(--danger-rgb));
    font-size: .82rem;
    margin-top: -.35rem;
    margin-bottom: 1rem;
}

@media (max-width: 420px) {
    .mobile-find-row,
    .mobile-result-grid,
    .mobile-product-result-fields {
        grid-template-columns: 1fr;
    }
}

.mobile-bottom-nav {
    background: #fff;
    border-top: 1px solid rgba(159, 116, 80, .16);
    bottom: 0;
    box-shadow: 0 -12px 28px rgba(36, 36, 36, .08);
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: 0;
    padding: .65rem 1rem;
    position: fixed;
    right: 0;
    z-index: 10;
}

.mobile-bottom-nav-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #6d6d6d;
    display: inline-flex;
    flex-direction: column;
    font-size: .75rem;
    font-weight: 800;
    gap: .15rem;
    min-height: 56px;
    justify-content: center;
}

.mobile-bottom-nav-item i {
    font-size: 1.25rem;
}

.mobile-bottom-nav-item.is-active {
    background: rgba(204, 127, 130, .12);
    color: #9f4b50;
}
