/* /Components/CatalogModelCartLinesGrid.razor.rz.scp.css */
.catalog-model-cart-grid[b-95a4d654y1] {
    --cmc-pad-x: 0.75rem;
    min-width: 14rem;
    max-width: 30rem;
    padding: 0.25rem 0 0.35rem;
}

.catalog-model-cart-grid-head[b-95a4d654y1],
.catalog-model-cart-grid-row[b-95a4d654y1] {
    display: grid;
    grid-template-columns: var(--cmc-cols);
    align-items: center;
    justify-items: center;
    column-gap: 0.4rem;
    box-sizing: border-box;
    /* Stesso padding orizzontale su header e righe → icone centrate sui valori */
    padding-left: var(--cmc-pad-x);
    padding-right: var(--cmc-pad-x);
}

/* Area tocco ~48px per dito / tablet */
.catalog-model-cart-grid-row[b-95a4d654y1] {
    min-height: 48px;
}

.catalog-model-cart-grid-head[b-95a4d654y1] {
    padding-top: 0.15rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 0.1rem;
}

.catalog-model-cart-grid-cell[b-95a4d654y1] {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    text-align: center;
}

.catalog-model-cart-grid-cell[b-95a4d654y1]  .mud-typography {
    width: 100%;
    text-align: center;
    line-height: 1.2;
}

.catalog-model-cart-grid-head-icon[b-95a4d654y1] {
    color: var(--mud-palette-lines-inputs);
    font-size: 14px !important;
    margin: 0 !important;
    display: block;
}

.catalog-model-cart-grid-code[b-95a4d654y1] {
    justify-content: flex-start;
    text-align: left;
}

.catalog-model-cart-grid-code[b-95a4d654y1]  .mud-typography {
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.catalog-model-cart-grid-qty[b-95a4d654y1] {
    justify-content: center;
}

.catalog-model-cart-grid-qty[b-95a4d654y1]  .mud-typography {
    font-weight: 600;
    text-align: center;
}

[b-95a4d654y1] .catalog-model-cart-grid-menu-item {
    min-height: 48px !important;
    padding: 0 !important;
}

[b-95a4d654y1] .catalog-model-cart-grid-menu-item .mud-menu-item-content,
[b-95a4d654y1] .catalog-model-cart-grid-menu-item .mud-list-item-content {
    /* Padding orizzontale gestito dalla griglia; verticale per tocco */
    min-height: 48px !important;
    padding: 0.65rem 0 !important;
    align-items: center;
}

[b-95a4d654y1] .catalog-model-cart-grid-menu-item .mud-list-item-icon {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-wkyxx2qcaz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* FAB Grotty: stessa riga del "torna su" catalogo; si sposta a sinistra quando quello è visibile */
.grotty-fab[b-wkyxx2qcaz] {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1600;
    transition: right 0.2s ease;
}

.grotty-fab--shift-left[b-wkyxx2qcaz] {
    /* 32 (margine) + 56 (MudFab Medium) + 12 (gap) */
    right: 100px;
}

main[b-wkyxx2qcaz] {
    flex: 1;
}

.sidebar[b-wkyxx2qcaz] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-wkyxx2qcaz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-wkyxx2qcaz]  a, .top-row[b-wkyxx2qcaz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-wkyxx2qcaz]  a:hover, .top-row[b-wkyxx2qcaz]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-wkyxx2qcaz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-wkyxx2qcaz] {
        justify-content: space-between;
    }

    .top-row[b-wkyxx2qcaz]  a, .top-row[b-wkyxx2qcaz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-wkyxx2qcaz] {
        flex-direction: row;
    }

    .sidebar[b-wkyxx2qcaz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-wkyxx2qcaz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-wkyxx2qcaz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-wkyxx2qcaz], article[b-wkyxx2qcaz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-wkyxx2qcaz] {
    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: 1000;
}

    #blazor-error-ui .dismiss[b-wkyxx2qcaz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Pages/CalendarPage.razor.rz.scp.css */
/* Fill viewport below AppBar; MudCalendar defaults to Height=700px otherwise. */
.calendar-page[b-r8txjj9jj0] {
    height: calc(100dvh - 64px);
    max-height: calc(100dvh - 64px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    padding: 8px 16px;
}

.calendar-page[b-r8txjj9jj0]  .mud-calendar {
    flex: 1 1 auto;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
}

.calendar-page[b-r8txjj9jj0]  .mud-calendar > .flex-grow-1 {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.calendar-page[b-r8txjj9jj0]  .mud-cal-month-view,
.calendar-page[b-r8txjj9jj0]  .mud-cal-week-view,
.calendar-page[b-r8txjj9jj0]  .mud-cal-day-view {
    height: 100%;
    min-height: 0;
}
/* /Pages/CartsPage.razor.rz.scp.css */
/* Totali toolbar: label sopra, valuta/valore sotto. */
.cart-totals-bar[b-a9m98ukddv] {
    flex-wrap: wrap;
}

.cart-totals-item[b-a9m98ukddv] {
    min-width: 0;
}

.cart-totals-label[b-a9m98ukddv] {
    line-height: 1.2;
    opacity: 0.85;
}

.cart-totals-value[b-a9m98ukddv] {
    line-height: 1.25;
    white-space: nowrap;
}

/* Toolbar: Carrelli non deve overfloware sul Tipo ordine (nomi lunghi + flex min-width:auto). */
[b-a9m98ukddv] .cart-toolbar-grid > .mud-grid-item.cart-toolbar-carts,
[b-a9m98ukddv] .cart-toolbar-grid > .mud-grid-item.cart-toolbar-order-type {
    min-width: 0;
}

[b-a9m98ukddv] .cart-toolbar-carts-stack {
    min-width: 0;
    width: 100%;
}

.cart-toolbar-carts-field[b-a9m98ukddv] {
    min-width: 0;
    overflow: hidden;
}

[b-a9m98ukddv] .cart-toolbar-carts-field .mud-input-control,
[b-a9m98ukddv] .cart-toolbar-order-type .mud-input-control {
    width: 100%;
    max-width: 100%;
}

/*
 * Blocco Codice → Stone nella stessa cella: dati in alto, descrizione subito sotto
 * (niente ChildRowContent → niente riga di separazione).
 */
.cart-product-block[b-a9m98ukddv] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    min-width: 0;
}

.cart-product-main[b-a9m98ukddv] {
    display: grid;
    grid-template-columns: minmax(8rem, 1.4fr) minmax(7rem, 1.1fr) 44pt 44pt 44pt 44pt;
    column-gap: 4px;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.cart-product-code[b-a9m98ukddv],
.cart-product-cat[b-a9m98ukddv] {
    min-width: 0;
    word-break: break-word;
}

.cart-product-attr[b-a9m98ukddv] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cart-product-desc[b-a9m98ukddv] {
    width: 100%;
    min-width: 0;
    margin: 6px 0 0 0;
    padding: 0;
    font-size: 0.75rem;
    line-height: 1.25;
    color: var(--mud-palette-text-secondary);
    white-space: normal;
    word-break: break-word;
}

[b-a9m98ukddv] col.cart-product-col {
    width: auto;
    min-width: 28rem;
}

/* Prezzo: label | €+importo; % sulla stessa riga sotto il prezzo. */
[b-a9m98ukddv] col.cart-price-col {
    width: auto;
    min-width: 9rem;
}

[b-a9m98ukddv] th.cart-price-cell,
[b-a9m98ukddv] td.cart-price-cell {
    vertical-align: top !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    white-space: nowrap;
}

[b-a9m98ukddv] th.cart-price-cell .mud-table-cell-content,
[b-a9m98ukddv] td.cart-price-cell .mud-table-cell-content {
    display: block !important;
    width: max-content;
    max-width: none;
}

.cart-price-block[b-a9m98ukddv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: max-content;
}

.cart-price-block--with-labels[b-a9m98ukddv] {
    display: grid;
    grid-template-columns: auto max-content;
    column-gap: 6px;
    row-gap: 2px;
    align-items: start;
    width: max-content;
}

[b-a9m98ukddv] .cart-price-label {
    text-align: right !important;
    white-space: nowrap !important;
    line-height: 1.25;
    padding-top: 0.2em;
}

.cart-price-values[b-a9m98ukddv] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
}

/* ::deep: Class su MudText non riceve lo scope attribute Blazor */
[b-a9m98ukddv] .cart-price-amount,
[b-a9m98ukddv] .cart-price-discounts {
    white-space: nowrap !important;
    line-height: 1.25;
    word-break: keep-all;
}

[b-a9m98ukddv] th.cart-product-cell,
[b-a9m98ukddv] td.cart-product-cell {
    vertical-align: top !important;
    width: 100%;
}

[b-a9m98ukddv] th.cart-product-cell .mud-table-cell-content,
[b-a9m98ukddv] td.cart-product-cell .mud-table-cell-content {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
}

/* Riga allineata in alto: prezzo/qty partono come Codice (niente sfalsamento) */
[b-a9m98ukddv] .mud-table-body .mud-table-row > td.mud-table-cell {
    vertical-align: top;
}

/* Area tocco comoda su tablet / touch (nota riga, elimina riga) */
[b-a9m98ukddv] .cart-row-touch-btn.mud-icon-button {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
}

[b-a9m98ukddv] .cart-row-touch-btn .mud-icon-root {
    font-size: 1.65rem;
}

[b-a9m98ukddv] .cart-validate-cell {
    text-align: center;
    vertical-align: middle;
}

[b-a9m98ukddv] .cart-validate-cell .mud-table-cell-content,
[b-a9m98ukddv] th.cart-validate-cell,
[b-a9m98ukddv] td.cart-validate-cell {
    text-align: center !important;
}

[b-a9m98ukddv] .cart-validate-row-icon.mud-icon-root {
    font-size: 1.85rem;
    display: inline-flex;
    vertical-align: middle;
}

[b-a9m98ukddv] .cart-validate-row-btn.mud-icon-button {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
}

[b-a9m98ukddv] .cart-validate-row-btn .mud-icon-root {
    font-size: 1.85rem;
}

[b-a9m98ukddv] .cart-avail-cell {
    text-align: center !important;
    vertical-align: middle;
}

[b-a9m98ukddv] .cart-avail-cell .mud-table-cell-content,
[b-a9m98ukddv] th.cart-avail-cell,
[b-a9m98ukddv] td.cart-avail-cell {
    text-align: center !important;
}

[b-a9m98ukddv] .cart-avail-cell .mud-table-cell-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

.cart-avail-inner[b-a9m98ukddv] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cart-avail-qty[b-a9m98ukddv] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    min-height: 1.5rem;
    max-width: 100%;
    padding: 0.3rem 0.45rem;
    border-radius: 0.75rem;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    box-sizing: border-box;
    opacity: 0.75;
}

.cart-avail-qty--date[b-a9m98ukddv] {
    padding: 0.3rem 0.4rem;
    gap: 0.05rem;
    font-size: 0.6rem;
}

.cart-avail-line[b-a9m98ukddv] {
    display: block;
    line-height: 1.15;
}

.cart-avail-qty-changed[b-a9m98ukddv] {
    background: var(--mud-palette-warning);
    color: var(--mud-palette-warning-text);
}

/* Stessa altezza di Elimina (StartIcon standard MudButton medium) */
[b-a9m98ukddv] .cart-confirm-btn.mud-button-root {
    height: 36px;
    min-height: 36px;
    padding-top: 0;
    padding-bottom: 0;
}

.cart-confirm-btn[b-a9m98ukddv]  .mud-button-label {
    gap: 0;
    line-height: 1;
}

.cart-confirm-countdown[b-a9m98ukddv] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.cart-confirm-countdown-ring[b-a9m98ukddv] {
    color: inherit !important;
}

[b-a9m98ukddv] .cart-confirm-countdown-ring.mud-progress-circular {
    color: inherit !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 1.25rem !important;
    max-height: 1.25rem !important;
}

[b-a9m98ukddv] .cart-confirm-countdown-ring .mud-progress-circular-circle {
    stroke: currentColor !important;
}

.cart-confirm-countdown-num[b-a9m98ukddv] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    pointer-events: none;
}

[b-a9m98ukddv] .cart-row-qty-stack {
    flex-wrap: nowrap;
    justify-content: center;
}

[b-a9m98ukddv] .cart-row-qty-field {
    flex: 0 0 4.75rem;
    width: 4.75rem;
    max-width: 4.75rem;
    min-width: 4.75rem;
}

[b-a9m98ukddv] .cart-row-qty-field .mud-input-control-input-container {
    min-width: 0;
}

/* Icone note testata / stampa PDF nel box dati cliente */
[b-a9m98ukddv] .cart-customer-action-btn.mud-icon-button {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
}

[b-a9m98ukddv] .cart-customer-action-btn .mud-icon-root {
    font-size: 1.75rem;
}

/* Warning prerequisiti: layout d-flex align-center (icona centrata sul banner) */
.cart-prereq-alert.mud-alert[b-a9m98ukddv] {
    width: 100%;
}

.cart-prereq-alert .mud-alert-icon[b-a9m98ukddv],
[b-a9m98ukddv] .cart-prereq-alert-icon.mud-icon-root {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 2rem !important;
    width: 2rem;
    height: 2rem;
}
/* /Pages/CatalogPage.razor.rz.scp.css */
/* Quantità centrata; disponibilità ancorata alla sua sinistra */
.catalog-qty-row[b-px37mhvcvn] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 0.5rem;
    width: 100%;
    padding-top: 0.75rem;
}

.catalog-qty-row-side[b-px37mhvcvn] {
    display: flex;
    align-items: center;
    min-width: 0;
}

.catalog-qty-row-side-left[b-px37mhvcvn] {
    justify-content: flex-end;
}

.catalog-availability-stack[b-px37mhvcvn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    line-height: 1.1;
    gap: 0.15rem;
}

.catalog-availability-value[b-px37mhvcvn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    min-height: 1.5rem;
    padding: 0.2rem 0.45rem;
    border-radius: 0.75rem;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    box-sizing: border-box;
    opacity: 0.75;
    white-space: nowrap;
    cursor: pointer;
}

.catalog-availability-value--date[b-px37mhvcvn] {
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    min-height: auto;
    white-space: normal;
}

.catalog-availability-line[b-px37mhvcvn] {
    display: block;
    line-height: 1.15;
}

.catalog-qty-row-center[b-px37mhvcvn] {
    display: flex;
    justify-content: center;
    align-items: center;
}

[b-px37mhvcvn] .catalog-qty-field.mud-input-control {
    width: 7.5rem;
    max-width: 7.5rem;
    min-width: 7.5rem;
    margin-top: 0;
    margin-bottom: 0;
    flex: 0 0 7.5rem;
}

[b-px37mhvcvn] .catalog-qty-field .mud-input-control-input-container {
    min-width: 0;
}

/* Badge pezzi modello: stesso stile di .mud-badge-catalog (toolbar catalogo). */
[b-px37mhvcvn] .mud-badge-card-cart {
    height: 23px;
    min-width: 23px;
    font-size: 8pt;
    transform: translate(10pt, -10pt);
}

.catalog-model-cart-activator[b-px37mhvcvn] {
    cursor: pointer;
    display: inline-flex;
    line-height: 0;
}

/* Cella varianti cards/carousel: click su tutta l'area (icona + TouchApp). */
.catalog-var-cell[b-px37mhvcvn] {
    position: relative;
    overflow: hidden;
}

[b-px37mhvcvn] .catalog-var-tooltip.mud-tooltip-root {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
}

[b-px37mhvcvn] .catalog-var-menu.mud-menu {
    width: 100%;
    height: 100%;
    display: flex;
    align-self: stretch;
    align-items: stretch;
}

.catalog-var-activator[b-px37mhvcvn] {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.catalog-model-cart-badge[b-px37mhvcvn] {
    display: inline-flex;
}

.catalog-model-cart-icon[b-px37mhvcvn] {
    /* Allineato a MudIconButton Size.Large width 30pt (stella wishlist). */
    font-size: 30pt;
    width: 30pt;
    height: 30pt;
}

/* Nested MudMenu Label+StartIcon: stessa riga delle MudMenuItem sorelle. */
[b-px37mhvcvn] .catalog-model-cart-list-submenu.mud-menu {
    position: relative;
    display: block;
    width: 100%;
}

/* Badge quantità piccolo sull'icona StartIcon (colore info; icona resta Default). */
[b-px37mhvcvn] .catalog-model-cart-list-submenu.mud-menu[data-cart-qty]::after {
    content: attr(data-cart-qty);
    position: absolute;
    left: 26px;
    top: 2px;
    z-index: 1;
    box-sizing: border-box;
    min-width: 12px;
    height: 12px;
    padding: 0 2px;
    border-radius: 6px;
    background-color: var(--mud-palette-info);
    color: var(--mud-palette-info-text);
    font-size: 7px;
    font-weight: 600;
    line-height: 12px;
    text-align: center;
    pointer-events: none;
}


/* Slideshow: dettagli fuori dal MudCarousel (che clippa). Scroll = pagina, non carousel. */
.catalog-carousel-page[b-px37mhvcvn] {
    overflow: visible;
    padding-bottom: 2rem;
    box-sizing: border-box;
}

.catalog-carousel-page-stack[b-px37mhvcvn] {
    height: auto !important;
    width: 100%;
    overflow: visible;
}

.catalog-carousel-details[b-px37mhvcvn] {
    width: 100%;
    overflow: visible;
    padding-bottom: 1rem;
}

/* Varianti lista: Caption tipography sul Label del MudMenu (activator nativo apre in DataGrid) */
[b-px37mhvcvn] .catalog-list-var-menu.mud-menu .mud-button-root,
[b-px37mhvcvn] .catalog-list-var-menu.mud-menu .mud-button-label,
[b-px37mhvcvn] .catalog-list-var-menu .mud-button-root,
[b-px37mhvcvn] .catalog-list-var-menu .mud-button-label {
    text-transform: none !important;
    font-size: var(--mud-typography-caption-size) !important;
    font-family: var(--mud-typography-caption-family) !important;
    font-weight: var(--mud-typography-caption-weight) !important;
    letter-spacing: var(--mud-typography-caption-letterspacing) !important;
    line-height: 1 !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Solo Label (testo): non forzare colore sul menu Icon TouchApp (Color.Warning) */
[b-px37mhvcvn] .catalog-list-var-menu.mud-menu .mud-button-root:has(.mud-button-label),
[b-px37mhvcvn] .catalog-list-var-menu.mud-menu .mud-button-label,
[b-px37mhvcvn] .catalog-list-var-menu .mud-button-root:has(.mud-button-label),
[b-px37mhvcvn] .catalog-list-var-menu .mud-button-label {
    color: var(--mud-palette-text-primary) !important;
}

[b-px37mhvcvn] .catalog-list-var-menu-changed.mud-menu .mud-button-root:has(.mud-button-label),
[b-px37mhvcvn] .catalog-list-var-menu-changed.mud-menu .mud-button-label,
[b-px37mhvcvn] .catalog-list-var-menu-changed .mud-button-root:has(.mud-button-label),
[b-px37mhvcvn] .catalog-list-var-menu-changed .mud-button-label {
    color: var(--mud-palette-warning) !important;
}

/* Torna su — solo vista cards, stessa riga del FAB Grotty (MainLayout si sposta a sinistra).
   z-index sotto ai MudDialog (~1300) così resta coperta da CollectionsView; Grotty resta a 1600. */
.catalog-scroll-to-top[b-px37mhvcvn] {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1200;
}
/* /Pages/MultimediaFilesPage.razor.rz.scp.css */
/* flex:1 — BodyContent MudTreeView non ha flex-grow; senza, la riga si restringe al testo. */
.mm-folder-row[b-x8c8zc4e1j] {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    min-height: 2.7em;
    cursor: pointer;
    gap: 6px;
}

/* ::deep: MudText non riceve l'attributo di CSS isolation della pagina. */
[b-x8c8zc4e1j] .mm-folder-name {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.mm-folder-actions[b-x8c8zc4e1j] {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
}

.mm-folder-badge[b-x8c8zc4e1j] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mm-folder-icon[b-x8c8zc4e1j] {
    font-size: 1.35rem !important;
}

/* Tree selection/padding: global mud-custom-theme*.css */
/* /Pages/OrdersPage.razor.rz.scp.css */
/* Totali toolbar: label sopra, valuta/valore sotto (come carrello). */
.cart-totals-bar[b-ejem4d87s4] {
    flex-wrap: wrap;
}

.cart-totals-item[b-ejem4d87s4] {
    min-width: 0;
}

.cart-totals-label[b-ejem4d87s4] {
    line-height: 1.2;
    opacity: 0.85;
}

.cart-totals-value[b-ejem4d87s4] {
    line-height: 1.25;
    white-space: nowrap;
}

/* Stesso blocco prodotto del carrello (sola lettura). */
.cart-product-block[b-ejem4d87s4] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    min-width: 0;
}

.cart-product-main[b-ejem4d87s4] {
    display: grid;
    grid-template-columns: minmax(6rem, 1fr) minmax(6rem, 1fr) 44pt 44pt 44pt 44pt;
    column-gap: 4px;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.cart-product-code[b-ejem4d87s4],
.cart-product-cat[b-ejem4d87s4] {
    min-width: 0;
    word-break: break-word;
}

.cart-product-attr[b-ejem4d87s4] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cart-product-desc[b-ejem4d87s4] {
    width: 100%;
    min-width: 0;
    margin: 6px 0 0 0;
    padding: 0;
    font-size: 0.75rem;
    line-height: 1.25;
    color: var(--mud-palette-text-secondary);
    white-space: normal;
    word-break: break-word;
}

[b-ejem4d87s4] col.cart-product-col {
    width: auto;
    min-width: 18rem;
}

[b-ejem4d87s4] th.cart-product-cell,
[b-ejem4d87s4] td.cart-product-cell {
    vertical-align: top !important;
    width: 100%;
}

[b-ejem4d87s4] th.cart-product-cell .mud-table-cell-content,
[b-ejem4d87s4] td.cart-product-cell .mud-table-cell-content {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
}

[b-ejem4d87s4] .mud-table-body .mud-table-row > td.mud-table-cell {
    vertical-align: top;
}

[b-ejem4d87s4] .cart-flag-cell,
[b-ejem4d87s4] .cart-image-cell,
[b-ejem4d87s4] .cart-notes-cell {
    vertical-align: middle !important;
}

[b-ejem4d87s4] .cart-image-cell .catalog-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cart-flag-stack[b-ejem4d87s4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

[b-ejem4d87s4] .cart-row-touch-btn.mud-icon-button {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
}

[b-ejem4d87s4] .cart-row-touch-btn .mud-icon-root {
    font-size: 1.65rem;
}

[b-ejem4d87s4] .order-header-notes-btn.mud-icon-button {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    min-height: 3.5rem;
}

[b-ejem4d87s4] .order-header-notes-btn .mud-icon-root {
    font-size: 2.1rem;
}

[b-ejem4d87s4] col.cart-price-col {
    width: auto;
    min-width: 9rem;
}

[b-ejem4d87s4] th.cart-price-cell,
[b-ejem4d87s4] td.cart-price-cell {
    vertical-align: top !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    white-space: nowrap;
}

[b-ejem4d87s4] th.cart-price-cell .mud-table-cell-content,
[b-ejem4d87s4] td.cart-price-cell .mud-table-cell-content {
    display: block !important;
    width: max-content;
    max-width: none;
}

.cart-price-block[b-ejem4d87s4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: max-content;
}

.cart-price-block--with-labels[b-ejem4d87s4] {
    display: grid;
    grid-template-columns: auto max-content;
    column-gap: 6px;
    row-gap: 2px;
    align-items: start;
    width: max-content;
}

[b-ejem4d87s4] .cart-price-label {
    text-align: right !important;
    white-space: nowrap !important;
    line-height: 1.25;
    padding-top: 0.2em;
}

.cart-price-values[b-ejem4d87s4] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
}

[b-ejem4d87s4] .cart-price-amount,
[b-ejem4d87s4] .cart-price-discounts {
    white-space: nowrap !important;
    line-height: 1.25;
    word-break: keep-all;
}

[b-ejem4d87s4] .cart-qty-cell {
    text-align: center;
    vertical-align: top;
}

[b-ejem4d87s4] .mud-datagrid-group .mud-table-cell {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.order-group-header[b-ejem4d87s4] {
    display: grid;
    grid-template-columns: 40pt auto minmax(5.5rem, 9rem) minmax(0, 1fr) 160pt 70pt;
    align-items: center;
    column-gap: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.order-group-check[b-ejem4d87s4] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-group-menu[b-ejem4d87s4] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-group-id[b-ejem4d87s4] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

[b-ejem4d87s4] .order-group-state-icon.mud-icon-root {
    font-size: 2rem;
}

.order-group-party[b-ejem4d87s4] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.order-group-party-actions[b-ejem4d87s4] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.order-group-price[b-ejem4d87s4] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    width: 160pt;
    min-width: 160pt;
    box-sizing: border-box;
    text-align: right;
}

.order-group-qty[b-ejem4d87s4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70pt;
    min-width: 70pt;
    box-sizing: border-box;
    text-align: center;
}

.order-group-amount[b-ejem4d87s4] {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.order-group-net[b-ejem4d87s4] {
    color: var(--mud-palette-info);
}
