:root {
    --kiosk-primary: #12355b;
    --kiosk-accent: #ff7a59;
    --kiosk-bg: #eef4fb;
    --kiosk-panel: rgba(255,255,255,0.95);
    --kiosk-soft-border: rgba(18,53,91,.08);
}

body {
    background:
        radial-gradient(circle at top right, rgba(255,122,89,.14), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, var(--kiosk-bg) 100%);
    min-height: 100vh;
}

.kiosk-navbar {
    background: linear-gradient(135deg, var(--kiosk-primary), #1b4f86);
}

.kiosk-screen {
    align-items: flex-start;
}

.kiosk-card {
    border-radius: 1.5rem;
    background: var(--kiosk-panel);
    backdrop-filter: blur(10px);
}

.header-tools .operator-input {
    min-width: 180px;
}

.search-box {
    position: relative;
    min-width: 260px;
}

.search-box i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-box input {
    padding-left: 2.7rem;
}

.category-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: .6rem;
    margin-bottom: 1.1rem;
}

.category-filter {
    flex: 1 1 120px;
    border-radius: 999px;
    padding: .7rem 1.1rem;
    min-height: 46px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
}

.category-filter.active {
    box-shadow: 0 6px 16px rgba(0,0,0,.14);
}

.product-button {
    border-radius: 1.2rem;
    min-height: 140px;
    padding: 1rem .9rem !important;
    font-size: 1rem;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    overflow: hidden;
}

.product-button .fs-2 {
    font-size: 1.5rem !important;
    margin-bottom: .35rem !important;
}

.product-button .product-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: .8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

@@media (max-width: 575.98px) {
    .product-button .product-image { width: 48px; height: 48px; }
}

/* ═════════════════════════════════════════════════════════════════
   Payment-method reminder / lockdown banner
   ═════════════════════════════════════════════════════════════════ */
.mdk-payment-banner {
    padding: 14px 22px;
    border-radius: 0;
    border: none;
}
.mdk-payment-banner-reminder {
    background: #f6ead4;
    color: #6b5420;
    border-top: 1px solid #e4d5b0;
    border-bottom: 1px solid #e4d5b0;
}
.mdk-payment-banner-reminder .btn.btn-dark { background:#2b2620; border-color:#2b2620; }
.mdk-payment-banner-locked {
    background: linear-gradient(180deg, #c62828, #a72121);
    color: #fff;
    border-top: 1px solid #7e1a1a;
    border-bottom: 1px solid #7e1a1a;
    padding: 18px 22px;
    box-shadow: 0 4px 12px rgba(150,30,30,0.25);
}
.mdk-payment-banner-locked .btn.btn-light {
    background:#fff; color:#a72121; border-color:#fff;
}

/* Quando la cassa è in lockdown per metodo di pagamento mancante,
   blocchiamo i bottoni prodotto, preset, checkout e le azioni pagamento.
   La navbar e il banner restano attivi così il tenant può andare a Billing. */
.pos-payment-locked .product-button,
.pos-payment-locked .preset-button,
.pos-payment-locked .operator-shortcut,
.pos-payment-locked .checkout-panel button,
.pos-payment-locked #cartCheckoutBtn,
.pos-payment-locked .cart-checkout-actions button,
.pos-payment-locked .pos-toolbar-btn {
    pointer-events: none !important;
    opacity: 0.35 !important;
    filter: grayscale(0.6);
    cursor: not-allowed !important;
}
.pos-payment-locked .product-zone::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(198,40,40,0.02) 0 14px,
        rgba(198,40,40,0.05) 14px 28px
    );
    pointer-events: none;
    z-index: 1;
}

.product-button:hover,
.product-button:focus {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 28px rgba(0,0,0,.12);
    filter: saturate(1.05);
}

.product-button-pulse {
    animation: buttonPulse .18s ease;
}

@@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(.97); }
    100% { transform: scale(1); }
}

.product-title {
    min-height: 2.2rem;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    line-height: 1.15;
}

.product-qty-badge {
    position: absolute;
    top: .7rem;
    right: .7rem;
    min-width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.checkout-panel {
    border: 1px solid var(--kiosk-soft-border);
}

.cart-items {
    max-height: 47vh;
    overflow-y: auto;
    padding-right: .25rem;
}

.cart-line {
    border-radius: 1rem;
    background: #f8fafc;
    padding: 1rem;
    margin-bottom: .85rem;
    border: 1px solid var(--kiosk-soft-border);
}

.line-name,
.line-total {
    font-size: 1.06rem;
}

.quantity-box {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border-radius: .9rem;
    font-size: 1.1rem;
}

.quantity-value {
    min-width: 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.15rem;
}

.remove-btn {
    min-height: 48px;
    border-radius: .9rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .9rem;
}

.total-row {
    padding: .75rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(18,53,91,.06), rgba(255,122,89,.08));
}

.change-row {
    padding: .75rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--kiosk-soft-border);
}

.sticky-top-cart {
    top: 1rem;
}

.quick-action-btn {
    min-height: 58px;
    border-radius: 1rem;
    font-weight: 700;
}

.quick-cash .cash-chip {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: .4rem .5rem;
    border-radius: .75rem;
    font-weight: 700;
    font-size: .95rem;
}

.cash-input {
    min-height: 58px;
    border-radius: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.flash-input {
    animation: inputFlash .18s ease;
}

@@keyframes inputFlash {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.cash-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}

.keypad-btn {
    min-height: 56px;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.checkout-main-btn {
    min-height: 62px;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.08rem;
}

#soundToggleBtn.active {
    background: rgba(13,110,253,.08);
}

.table > :not(caption) > * > * {
    padding-top: .9rem;
    padding-bottom: .9rem;
}

@media (max-width: 1199.98px) {
    .cart-items {
        max-height: none;
    }
}

@media (max-width: 991.98px) {
    .sticky-top-cart {
        position: static !important;
    }

    .product-button {
        min-height: 148px;
    }
}

@media (max-width: 575.98px) {
    .search-box,
    .header-tools .operator-input {
        min-width: 100%;
    }

    .product-button {
        min-height: 138px;
        font-size: 1rem;
    }

    .quick-cash .cash-chip {
        flex: 1 1 calc(50% - .5rem);
    }
}


.kitchen-header-card {
    overflow: hidden;
}

.kitchen-stat {
    border-radius: 1.2rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--kiosk-soft-border);
    background: rgba(255,255,255,.9);
}

.stat-pending { background: linear-gradient(135deg, rgba(108,117,125,.12), rgba(255,255,255,.9)); }
.stat-progress { background: linear-gradient(135deg, rgba(255,193,7,.16), rgba(255,255,255,.95)); }
.stat-ready { background: linear-gradient(135deg, rgba(25,135,84,.14), rgba(255,255,255,.95)); }
.stat-total { background: linear-gradient(135deg, rgba(18,53,91,.10), rgba(255,255,255,.95)); }

.kitchen-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.kitchen-order-card {
    border-radius: 1.5rem;
}

.kitchen-order-card.Pending {
    border-left: 8px solid #6c757d;
}

.kitchen-order-card.InPreparation {
    border-left: 8px solid #ffc107;
}

.kitchen-order-card.Ready {
    border-left: 8px solid #198754;
}

.kitchen-receipt {
    line-height: 1;
}

.kitchen-items-list {
    display: grid;
    gap: .75rem;
}

.kitchen-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid var(--kiosk-soft-border);
}


.inventory-pill { background:#fff; border:1px solid var(--kiosk-soft-border); border-radius:1rem; padding:1rem; }
.stock-badge { position:absolute; top:.75rem; right:.75rem; }
.product-button.pulse { transform: scale(0.98); }


.stat-warning { background: linear-gradient(135deg, rgba(255,193,7,.22), rgba(255,255,255,.95)); }
.stat-critical { background: linear-gradient(135deg, rgba(220,53,69,.16), rgba(255,255,255,.96)); }

.kitchen-toolbar .btn {
    min-height: 46px;
    border-radius: 1rem;
}

.kitchen-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.kitchen-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 60vh;
}

.kitchen-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--kiosk-soft-border);
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.kitchen-column-body {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.kitchen-empty-column {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255,255,255,.72);
    border: 1px dashed rgba(18,53,91,.14);
    color: #6c757d;
    font-weight: 600;
}

.kitchen-order-card {
    border-radius: 1.5rem;
    transition: transform .15s ease, box-shadow .15s ease;
}

.kitchen-order-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
}

.kitchen-order-meta {
    min-width: 140px;
}

.kitchen-urgency-badge {
    display: inline-flex;
    align-items: center;
    margin-left: .4rem;
}

.kitchen-order-card.urgency-warning {
    box-shadow: 0 0 0 2px rgba(255,193,7,.28), 0 12px 30px rgba(255,193,7,.08);
}

.kitchen-order-card.urgency-critical {
    box-shadow: 0 0 0 2px rgba(220,53,69,.28), 0 14px 34px rgba(220,53,69,.10);
    animation: kitchenCriticalPulse 1.8s ease-in-out infinite;
}

@keyframes kitchenCriticalPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

body:fullscreen .navbar,
body:-webkit-full-screen .navbar {
    display: none;
}

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

    .kitchen-column {
        min-height: auto;
    }
}


.kitchen-order-card {
    border-radius: 1.5rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
    cursor: pointer;
}

.kitchen-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0,0,0,.10);
}

.kitchen-order-card.kitchen-card-working {
    opacity: .75;
    pointer-events: none;
}

.kitchen-age-badge {
    letter-spacing: .02em;
}

.kitchen-order-card.urgency-warning {
    box-shadow: 0 0 0 2px rgba(255,193,7,.28), 0 12px 30px rgba(255,193,7,.10);
    background: linear-gradient(180deg, rgba(255,193,7,.08), rgba(255,255,255,.96));
}

.kitchen-order-card.urgency-critical {
    box-shadow: 0 0 0 3px rgba(220,53,69,.24), 0 16px 38px rgba(220,53,69,.14);
    background: linear-gradient(180deg, rgba(220,53,69,.12), rgba(255,255,255,.97));
    animation: kitchenCriticalPulseStrong 1.1s ease-in-out infinite;
}

.kitchen-order-card.kitchen-new-order {
    animation: kitchenNewOrderFlash 1.1s ease-in-out 2;
}

@keyframes kitchenCriticalPulseStrong {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220,53,69,.25), 0 16px 38px rgba(220,53,69,.14); }
    50% { transform: scale(1.018); box-shadow: 0 0 0 9px rgba(220,53,69,.04), 0 18px 42px rgba(220,53,69,.18); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220,53,69,0), 0 16px 38px rgba(220,53,69,.14); }
}

@keyframes kitchenNewOrderFlash {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13,110,253,.35); }
    35% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(13,110,253,.06); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}

.checkout-busy .checkout-main-btn.is-busy {
    opacity: .85;
    pointer-events: none;
}

.checkout-busy .product-button,
.checkout-busy .qty-btn,
.checkout-busy .remove-btn,
.checkout-busy .variant-edit-btn,
.checkout-busy .add-cash-chip,
.checkout-busy .keypad-btn,
.checkout-busy #exactCashBtn,
.checkout-busy #clearCartBtn {
    pointer-events: none;
    opacity: .92;
}

.supervision-hero {
    background: linear-gradient(135deg, rgba(18,53,91,.08), rgba(255,122,89,.08));
}

.supervision-metric {
    border-radius: 1.25rem;
}

.revenue-card {
    background: linear-gradient(135deg, rgba(25,135,84,.10), rgba(25,135,84,.02));
}

.kitchen-live-card {
    background: linear-gradient(135deg, rgba(255,193,7,.14), rgba(255,193,7,.03));
}

.supervision-stat-box {
    border-radius: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
    text-align: center;
}

.supervision-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem .95rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
}

.top-rank {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #12355b;
    color: #fff;
    font-weight: 700;
}

.product-button.is-low-stock {
    box-shadow: 0 0 0 .24rem rgba(255,193,7,.22), 0 10px 22px rgba(0,0,0,.08);
}

.product-button.is-sold-out {
    opacity: .62;
    filter: grayscale(.15);
    box-shadow: 0 0 0 .24rem rgba(33,37,41,.16), 0 10px 22px rgba(0,0,0,.08);
}

.product-button.is-sold-out::after {
    content: "ESAURITO";
    position: absolute;
    inset: auto .8rem .8rem .8rem;
    background: rgba(33,37,41,.9);
    color: #fff;
    border-radius: .8rem;
    padding: .3rem .5rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.inventory-pill {
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(18,53,91,.08);
    box-shadow: 0 6px 16px rgba(0,0,0,.04);
}

#digitalQrCode canvas,
#digitalQrCode img {
    max-width: 100%;
    height: auto;
}

#digitalPaymentModal .modal-content {
    border-radius: 1.25rem;
}

.preset-panel,
.operator-shortcuts {
    border: 1px solid rgba(18,53,91,.08);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,.7);
}

.preset-button {
    border-radius: 999px;
    padding: .75rem 1rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.operator-shortcut-btn {
    border-radius: 999px;
    font-weight: 700;
}

.operator-shortcut-btn.active {
    background: #12355b;
    color: #fff;
    border-color: #12355b;
}

.operator-shortcuts-compact {
    width: 100%;
}

.header-tools {
    align-items: flex-start !important;
}

@media (min-width: 992px) {
    .operator-shortcuts-compact {
        max-width: 100%;
    }
}


/* STRESS MODE PRO */
.stress-toolbar .btn {
    border-radius: 999px;
    font-weight: 700;
}

.stress-badge {
    letter-spacing: .05em;
}

body.stress-mode {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef4fb 100%);
}

body.stress-mode .stress-hide,
body.stress-mode .search-box,
body.stress-mode .stress-help {
    display: none !important;
}

body.stress-mode .kiosk-screen {
    gap: 1rem !important;
}

body.stress-mode .product-zone {
    width: 62%;
}

body.stress-mode .checkout-zone {
    width: 38%;
}

body.stress-mode .kiosk-card {
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

body.stress-mode .preset-panel {
    position: sticky;
    top: .5rem;
    z-index: 5;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

body.stress-mode .preset-button {
    min-height: 64px;
    font-size: 1.05rem;
    padding: .95rem 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

body.stress-mode .category-section {
    margin-bottom: 1rem !important;
}

body.stress-mode .category-section h5,
body.stress-mode .category-section .badge.text-bg-light {
    display: none !important;
}

body.stress-mode .product-card {
    width: 33.3333%;
}

body.stress-mode .product-button {
    min-height: 200px;
    font-size: 1.22rem;
    padding: 1.35rem .8rem !important;
    border-radius: 1.2rem;
    box-shadow: 0 12px 24px rgba(0,0,0,.10);
}

body.stress-mode .product-title {
    min-height: auto;
    font-size: 1.15rem;
}

body.stress-mode .product-button .small.opacity-75 {
    font-size: .9rem;
}

body.stress-mode .checkout-panel {
    position: sticky;
    top: .5rem;
}

body.stress-mode .cart-items {
    max-height: 34vh;
}

body.stress-mode .summary-row.total-row {
    font-size: 2rem !important;
    padding: 1rem 1.15rem;
}

body.stress-mode .change-row {
    font-size: 1.2rem;
}

body.stress-mode .checkout-main-btn {
    min-height: 74px;
    font-size: 1.18rem;
    border-radius: 1.1rem;
}

body.stress-mode .cash-input {
    min-height: 66px;
    font-size: 1.6rem;
}

body.stress-mode .keypad-btn {
    min-height: 62px;
    font-size: 1.35rem;
}

body.stress-mode .operator-shortcuts-compact .btn {
    padding: .55rem .85rem;
}

body.stress-mode .operator-input {
    min-width: 150px;
}

body.fullscreen-mode .navbar,
body.fullscreen-mode .stress-help {
    display: none !important;
}

body.fullscreen-mode main.container-fluid {
    padding-top: .5rem !important;
}

@media (max-width: 1199.98px) {
    body.stress-mode .product-zone,
    body.stress-mode .checkout-zone {
        width: 100%;
    }

    body.stress-mode .product-card {
        width: 50%;
    }

    body.stress-mode .checkout-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    body.stress-mode .product-card {
        width: 50%;
    }

    body.stress-mode .preset-button {
        width: 100%;
    }

    body.stress-mode .product-button {
        min-height: 170px;
        font-size: 1.08rem;
    }
}


/* Header layout refinement */
.top-header-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(420px, 560px);
    gap: 1rem;
    align-items: start;
}

.header-controls-block {
    display: grid;
    gap: .75rem;
}

.header-controls-top,
.header-controls-bottom {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.toolbar-chip {
    border-radius: 999px;
    font-weight: 700;
    min-height: 40px;
    padding-inline: .95rem;
}

.operator-shortcuts-compact .btn {
    border-radius: 999px;
    font-weight: 700;
}

.stress-toolbar {
    justify-content: flex-end;
}

/* Stress mode layout fix */
body.stress-mode .kiosk-main-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}

body.stress-mode .product-zone {
    flex: 0 0 64%;
    max-width: 64%;
}

body.stress-mode .checkout-zone {
    flex: 0 0 36%;
    max-width: 36%;
}

body.stress-mode .checkout-panel {
    position: sticky;
    top: .5rem;
}

body.stress-mode .cart-items {
    max-height: 58vh;
}

body.stress-mode .preset-panel {
    margin-bottom: 1rem !important;
}

body.stress-mode .header-controls-bottom {
    justify-content: space-between;
}

body.stress-mode .stress-toolbar {
    justify-content: flex-end;
}

body.stress-mode .header-controls-top .search-box {
    display: none !important;
}

body.stress-mode .product-zone > .card > .card-body {
    padding-bottom: 1rem !important;
}

body.stress-mode .checkout-zone > .card {
    min-height: auto;
}

body.stress-mode .checkout-panel .card-body {
    padding: 1rem 1rem 1.1rem 1rem !important;
}

/* Fullscreen adjustments */
body.fullscreen-mode .kiosk-main-row {
    margin-top: 0 !important;
}

@media (max-width: 1199.98px) {
    .top-header-row {
        grid-template-columns: 1fr;
    }

    .header-controls-top,
    .header-controls-bottom,
    .stress-toolbar {
        justify-content: flex-start;
    }

    body.stress-mode .kiosk-main-row {
        display: block;
    }

    body.stress-mode .product-zone,
    body.stress-mode .checkout-zone {
        flex: none;
        max-width: 100%;
    }

    body.stress-mode .checkout-panel {
        position: static;
    }

    body.stress-mode .cart-items {
        max-height: none;
    }
}


/* Compact header refinement */
.compact-header {
    grid-template-columns: minmax(220px, 1fr) minmax(520px, 1.45fr);
    align-items: center;
    gap: .9rem 1rem;
}

.header-controls-inline {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(220px, 320px) auto;
    gap: .75rem;
    align-items: center;
    justify-content: end;
}

.compact-search {
    min-width: 0;
}

.compact-search input,
.compact-operator-input {
    min-height: 52px;
    font-size: 1rem;
    border-radius: 1rem;
}

.operator-compact-block {
    display: grid;
    gap: .55rem;
}

.operator-shortcuts-compact {
    gap: .45rem !important;
}

.operator-shortcuts-compact .btn {
    padding: .4rem .8rem;
    min-height: 36px;
    font-size: .9rem;
}

.compact-toolbar {
    justify-content: flex-end;
    align-items: center;
}

.compact-toolbar .toolbar-chip {
    min-height: 52px;
    padding-inline: 1rem;
    font-size: 1rem;
}

body.stress-mode .compact-header {
    grid-template-columns: minmax(220px, .9fr) minmax(520px, 1.3fr);
    margin-bottom: .75rem !important;
}

body.stress-mode .header-controls-inline {
    grid-template-columns: minmax(200px, 250px) minmax(210px, 290px) auto;
    gap: .6rem;
}

body.stress-mode .compact-search {
    display: none !important;
}

body.stress-mode .compact-operator-input,
body.stress-mode .compact-toolbar .toolbar-chip {
    min-height: 46px;
}

body.stress-mode .operator-shortcuts-compact .btn {
    min-height: 34px;
    padding: .35rem .7rem;
}

body.stress-mode .preset-panel {
    margin-top: 0 !important;
}

body.stress-mode #inventorySummary {
    margin-bottom: .75rem !important;
}

@media (max-width: 1399.98px) {
    .compact-header {
        grid-template-columns: 1fr;
    }

    .header-controls-inline {
        grid-template-columns: 1fr;
        justify-content: start;
    }

    .compact-toolbar {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .compact-toolbar {
        width: 100%;
    }

    .compact-toolbar .toolbar-chip {
        flex: 1 1 auto;
        justify-content: center;
    }
}


.smart-suggestions-panel {
    border: 1px solid rgba(18,53,91,.08);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,.8);
}

.smart-suggestion-btn {
    border-radius: 1rem;
    min-width: 220px;
    text-align: left;
    display: inline-flex;
    flex-direction: column;
    gap: .15rem;
    padding: .8rem .95rem;
    box-shadow: 0 6px 16px rgba(0,0,0,.04);
}

.smart-suggestion-btn.active {
    background: #12355b;
    color: #fff;
    border-color: #12355b;
}

.smart-suggestion-title {
    font-weight: 700;
}

.smart-suggestion-subtitle {
    font-size: .9rem;
    opacity: .8;
}

body.stress-mode .smart-suggestions-panel {
    margin-bottom: .85rem !important;
}


.smart-insight-pill {
    display: inline-flex;
    flex-direction: column;
    gap: .1rem;
    padding: .65rem .85rem;
    border-radius: .95rem;
    background: rgba(18,53,91,.06);
    border: 1px solid rgba(18,53,91,.08);
    min-width: 220px;
}

.smart-insight-title {
    font-weight: 700;
    font-size: .95rem;
}

.smart-insight-subtitle {
    font-size: .88rem;
    color: #5f6b7a;
}

.smart-suggestion-btn {
    position: relative;
    padding-left: 3rem;
}

.smart-suggestion-rank {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #12355b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
}

.smart-suggestion-text {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    align-items: flex-start;
}


.inventory-compact {
    display:flex;
    gap:.5rem;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.inventory-compact .col,
.inventory-compact > div {
    flex:0 0 auto;
}

.inventory-compact .card {
    padding:.4rem .7rem;
    border-radius:.8rem;
    font-size:.85rem;
}

.inventory-compact .card h6 {
    font-size:.7rem;
    margin-bottom:0;
}

.inventory-compact .card h3 {
    font-size:1rem;
    margin:0;
}


/* Refined compact inventory */
.inventory-compact {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    align-items: center;
}

.inventory-mini-pill {
    display: inline-flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 150px;
    max-width: 240px;
    padding: .6rem .8rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(18,53,91,.10);
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.inventory-mini-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    font-weight: 700;
}

.inventory-mini-value {
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 800;
    color: #1f2937;
}

.inventory-mini-detail {
    font-size: .84rem;
    color: #4b5563;
}

.inventory-mini-pill-warning {
    color: #8a6d3b;
    background: rgba(255,193,7,.12);
    border-color: rgba(255,193,7,.18);
}

/* neutralize old compact rules */
.inventory-compact .col,
.inventory-compact > div {
    flex: 0 0 auto;
}


/* v03.5.4 header refinement */
.refined-header {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(620px, 1.15fr);
    gap: 1rem 1.25rem;
    align-items: start;
}

.header-actions-column {
    display: flex;
    justify-content: flex-end;
}

.header-row-main {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(260px, 420px) auto;
    gap: .85rem;
    align-items: start;
    width: 100%;
}

.operator-box {
    display: grid;
    gap: .55rem;
}

.compact-search,
.operator-box {
    min-width: 0;
}

.compact-search input,
.compact-operator-input {
    min-height: 52px;
    border-radius: 1rem;
    font-size: 1rem;
}

.refined-toolbar {
    display: grid;
    gap: .75rem;
    align-content: start;
}

.toolbar-chip-main {
    min-width: 126px;
    min-height: 52px;
    border-radius: 1.1rem;
    font-weight: 800;
    font-size: .98rem;
    padding-inline: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.operator-shortcuts-compact {
    gap: .45rem !important;
}

.operator-shortcuts-compact .btn {
    border-radius: 999px;
    padding: .38rem .78rem;
    min-height: 34px;
    font-size: .9rem;
    font-weight: 700;
}

.inventory-compact {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    align-items: center;
}

.inventory-mini-pill {
    display: inline-flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 150px;
    max-width: 220px;
    padding: .55rem .78rem;
    border-radius: .95rem;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(18,53,91,.10);
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.inventory-mini-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    font-weight: 700;
}

.inventory-mini-value {
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 800;
    color: #1f2937;
}

.inventory-mini-detail {
    font-size: .82rem;
    color: #4b5563;
}

.inventory-mini-pill-warning {
    color: #8a6d3b;
    background: rgba(255,193,7,.12);
    border-color: rgba(255,193,7,.18);
}

@media (max-width: 1399.98px) {
    .refined-header {
        grid-template-columns: 1fr;
    }

    .header-row-main {
        grid-template-columns: 1fr;
    }

    .header-actions-column {
        justify-content: stretch;
    }

    .refined-toolbar {
        grid-template-columns: repeat(2, minmax(140px, max-content));
    }
}

@media (max-width: 767.98px) {
    .refined-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .toolbar-chip-main {
        min-width: 0;
        width: 100%;
    }
}


/* v03.5.5 layout correction */
@media (min-width: 1200px) {
    .kiosk-main-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 1rem;
    }

    .product-zone {
        flex: 0 0 64%;
        max-width: 64%;
    }

    .checkout-zone {
        flex: 0 0 36%;
        max-width: 36%;
    }

    .checkout-zone .checkout-panel {
        position: sticky;
        top: 1rem;
    }
}

.refined-header {
    grid-template-columns: minmax(280px, .95fr) minmax(540px, 1.05fr);
    gap: .9rem 1rem;
}

.header-row-main {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 300px) auto;
    gap: .7rem;
}

.compact-search input,
.compact-operator-input {
    min-height: 48px;
    font-size: .95rem;
}

.toolbar-chip-main {
    min-width: 112px;
    min-height: 48px;
    font-size: .92rem;
    padding-inline: .85rem;
}

.operator-shortcuts-compact .btn {
    padding: .34rem .68rem;
    min-height: 32px;
    font-size: .85rem;
}

.inventory-mini-pill {
    min-width: 128px;
    max-width: 180px;
    padding: .48rem .65rem;
}

.inventory-mini-label {
    font-size: .68rem;
}

.inventory-mini-value {
    font-size: 1.15rem;
}

.inventory-mini-detail {
    font-size: .78rem;
}

.preset-panel {
    padding: .9rem 1rem;
}

.preset-panel .small.text-muted {
    font-size: .92rem;
}

.preset-button {
    padding: .72rem 1rem;
    font-size: .95rem;
}

.category-filter {
    padding: .6rem .95rem;
    font-size: .95rem;
}

.product-button {
    min-height: 148px;
    font-size: 1rem;
    padding: 1rem .7rem !important;
}

.product-button .fs-2 {
    font-size: 1.5rem !important;
}

.product-title {
    min-height: 2.3rem;
    font-size: 1.02rem;
}

.product-button .small.opacity-75 {
    font-size: .88rem;
}

.product-button .badge {
    font-size: .82rem;
}

.cart-items {
    max-height: 52vh;
}

@media (max-width: 1399.98px) {
    .refined-header {
        grid-template-columns: 1fr;
    }

    .header-row-main {
        grid-template-columns: 1fr 1fr auto;
    }
}

@media (max-width: 1199.98px) {
    .kiosk-main-row {
        display: block;
    }

    .product-zone,
    .checkout-zone {
        max-width: 100%;
    }

    .checkout-zone .checkout-panel {
        position: static;
    }

    .header-row-main {
        grid-template-columns: 1fr;
    }

    .refined-toolbar {
        grid-template-columns: repeat(2, minmax(120px, max-content));
    }
}

body.stress-mode .product-button {
    min-height: 170px;
    font-size: 1.08rem;
}

body.stress-mode .product-zone {
    flex: 0 0 62%;
    max-width: 62%;
}

body.stress-mode .checkout-zone {
    flex: 0 0 38%;
    max-width: 38%;
}


/* v03.5.6 hard fix desktop columns */
@media (min-width: 1200px) {
    .kiosk-main-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1.68fr) minmax(380px, 1fr);
        gap: 1rem;
        align-items: start;
        margin-left: 0;
        margin-right: 0;
    }

    .kiosk-main-row > .product-zone,
    .kiosk-main-row > .checkout-zone {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .kiosk-main-row > .checkout-zone {
        min-width: 380px;
    }

    .checkout-zone .checkout-panel {
        position: sticky;
        top: 1rem;
    }

    body.stress-mode .kiosk-main-row {
        grid-template-columns: minmax(0, 1.55fr) minmax(420px, 1fr);
    }

    body.stress-mode .kiosk-main-row > .checkout-zone {
        min-width: 420px;
    }
}

@media (max-width: 1199.98px) {
    .kiosk-main-row {
        display: block !important;
    }

    .kiosk-main-row > .product-zone,
    .kiosk-main-row > .checkout-zone {
        max-width: 100% !important;
        width: 100% !important;
    }
}


/* v03.5.8 markup/layout correction */
@media (min-width: 1200px) {
    .kiosk-main-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1.58fr) minmax(420px, .98fr);
        gap: 1rem;
        align-items: start;
        margin-left: 0;
        margin-right: 0;
    }

    .kiosk-main-row > .product-zone,
    .kiosk-main-row > .checkout-zone {
        min-width: 0;
    }

    .checkout-zone .checkout-panel {
        position: sticky;
        top: 1rem;
    }
}

.refined-header {
    display: grid;
    grid-template-columns: minmax(260px, .92fr) minmax(560px, 1.08fr);
    gap: .85rem 1rem;
    align-items: start;
}

.header-title-block h2 {
    font-size: 2rem;
}

.inventory-compact {
    gap: .5rem;
}

.inventory-mini-pill {
    min-width: 118px;
    max-width: 160px;
    padding: .45rem .6rem;
}

.inventory-mini-value {
    font-size: 1.05rem;
}

.inventory-mini-detail {
    font-size: .74rem;
}

.header-row-main {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(210px, 280px) auto;
    gap: .65rem;
    align-items: start;
}

.compact-search input,
.compact-operator-input,
.toolbar-chip-main {
    min-height: 46px;
}

.toolbar-chip-main {
    min-width: 104px;
    padding-inline: .75rem;
    font-size: .9rem;
}

.operator-shortcuts-compact .btn {
    padding: .3rem .58rem;
    font-size: .82rem;
}

.preset-panel {
    padding: .8rem .9rem;
    margin-bottom: .9rem !important;
}

.preset-button {
    padding: .62rem .9rem;
    font-size: .92rem;
}

.category-toolbar {
    gap: .55rem;
    margin-bottom: .9rem !important;
}

.category-filter {
    padding: .52rem .82rem;
    font-size: .9rem;
}

.category-section {
    margin-bottom: 1rem !important;
}

.product-card {
    margin-bottom: 0;
}

.product-button {
    min-height: 136px;
    padding: .9rem .6rem !important;
}

.product-button .fs-2 {
    font-size: 1.35rem !important;
}

.product-title {
    min-height: 2rem;
    font-size: .98rem;
}

.product-button .small.opacity-75 {
    font-size: .82rem;
}

.stock-badge {
    font-size: .72rem;
}

@media (max-width: 1399.98px) {
    .refined-header {
        grid-template-columns: 1fr;
    }
    .header-row-main {
        grid-template-columns: 1fr 1fr auto;
    }
}

@media (max-width: 1199.98px) {
    .kiosk-main-row {
        display: block !important;
    }
    .checkout-zone .checkout-panel {
        position: static;
    }
    .header-row-main {
        grid-template-columns: 1fr;
    }
}


.predictive-card {
    border: 1px solid rgba(18,53,91,.08);
}

.predictive-alert-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem .85rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    background: rgba(255,255,255,.9);
}

.predictive-alert-pill.level-critical {
    background: rgba(220,53,69,.12);
    color: #842029;
    border-color: rgba(220,53,69,.18);
}

.predictive-alert-pill.level-warning {
    background: rgba(255,193,7,.16);
    color: #7a5a00;
    border-color: rgba(255,193,7,.22);
}

.predictive-alert-pill.level-info {
    background: rgba(13,110,253,.10);
    color: #0b4b91;
    border-color: rgba(13,110,253,.16);
}

.predictive-alert-pill.level-ok {
    background: rgba(25,135,84,.12);
    color: #0f5132;
    border-color: rgba(25,135,84,.18);
}

.predictive-forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.predictive-forecast-card {
    border-radius: 1.2rem;
    padding: 1rem 1rem 1.05rem;
    border: 1px solid rgba(18,53,91,.08);
    background: rgba(255,255,255,.92);
    box-shadow: 0 6px 16px rgba(0,0,0,.04);
}

.predictive-forecast-card.severity-critical {
    border-color: rgba(220,53,69,.2);
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.08);
}

.predictive-forecast-card.severity-warning {
    border-color: rgba(255,193,7,.22);
    box-shadow: 0 0 0 .2rem rgba(255,193,7,.08);
}

.predictive-metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

@media (max-width: 767.98px) {
    .predictive-metric-row {
        grid-template-columns: 1fr;
    }
}


/* Order Display */
.display-screen {
    min-height: calc(100vh - 2rem);
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.display-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--kiosk-primary);
}

.display-subtitle,
.display-meta {
    color: #5f6b7a;
    font-weight: 600;
}

.display-main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .9fr);
    gap: 1rem;
}

.display-highlight-panel,
.display-side-card {
    background: rgba(255,255,255,.94);
    border-radius: 1.5rem;
    box-shadow: 0 12px 26px rgba(0,0,0,.06);
    padding: 1.25rem;
}

.display-section-title {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #5f6b7a;
    font-weight: 800;
    margin-bottom: .85rem;
}

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

.display-number-card {
    min-height: 220px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(18,53,91,.08), rgba(255,255,255,.92));
    border: 1px solid rgba(18,53,91,.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    text-align: center;
}

.display-number-card.primary {
    background: linear-gradient(135deg, rgba(255,122,89,.16), rgba(18,53,91,.06));
    box-shadow: 0 0 0 .35rem rgba(255,122,89,.10);
}

.display-number-label {
    font-size: 1rem;
    color: #5f6b7a;
    font-weight: 700;
}

.display-number-value {
    font-size: 5rem;
    line-height: 1;
    font-weight: 900;
    color: #0f172a;
}

.display-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.display-side-value {
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
    color: var(--kiosk-primary);
}

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

.display-last-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    border-radius: 1rem;
    background: #f7fafc;
    border: 1px solid rgba(18,53,91,.08);
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

.display-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
    color: #6b7280;
    font-weight: 700;
    border: 1px dashed rgba(18,53,91,.16);
    border-radius: 1.25rem;
    background: rgba(255,255,255,.7);
}

body.display-pulse .display-number-card.primary {
    animation: displayPulse 1s ease;
}

@keyframes displayPulse {
    0% { transform: scale(1); }
    35% { transform: scale(1.025); }
    100% { transform: scale(1); }
}

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

    .display-highlight-grid {
        grid-template-columns: 1fr;
    }

    .display-number-card {
        min-height: 170px;
    }

    .display-number-value {
        font-size: 3.5rem;
    }
}


/* Order status tracking */
.order-status-shell {
    display: flex;
    justify-content: center;
}

.order-status-card {
    width: 100%;
    max-width: 760px;
    background: rgba(255,255,255,.95);
    border-radius: 1.5rem;
    box-shadow: 0 14px 28px rgba(0,0,0,.08);
    padding: 1.5rem;
}

.order-status-kicker {
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    font-weight: 800;
    font-size: .9rem;
}

.order-status-number {
    font-size: 5rem;
    line-height: 1;
    font-weight: 900;
    color: var(--kiosk-primary);
}

.order-status-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    border-radius: 1.25rem;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.order-status-badge.registered,
.order-status-badge.waiting {
    background: rgba(108,117,125,.12);
    color: #495057;
}

.order-status-badge.preparing {
    background: rgba(255,193,7,.16);
    color: #7a5a00;
}

.order-status-badge.ready {
    background: rgba(25,135,84,.14);
    color: #0f5132;
}

.order-status-badge.completed {
    background: rgba(13,110,253,.12);
    color: #0b4b91;
}

.order-status-badge.warning {
    background: rgba(220,53,69,.12);
    color: #842029;
}

.order-status-info {
    border: 1px solid rgba(18,53,91,.08);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(248,250,252,.8);
}

#displayVoiceToggle.active {
    background: rgba(18,53,91,.08);
}

@media (max-width: 767.98px) {
    .order-status-number {
        font-size: 3.6rem;
    }

    .order-status-badge {
        font-size: 1.5rem;
        min-height: 72px;
    }
}


.predictive-batch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .85rem;
}

.predictive-batch-card {
    border-radius: 1.2rem;
    padding: 1rem;
    border: 1px solid rgba(18,53,91,.08);
    background: linear-gradient(135deg, rgba(18,53,91,.04), rgba(255,255,255,.95));
    box-shadow: 0 6px 16px rgba(0,0,0,.04);
}

.predictive-batch-card.trend-up {
    border-color: rgba(255,122,89,.22);
    box-shadow: 0 0 0 .2rem rgba(255,122,89,.08);
}

.predictive-batch-footer {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .92rem;
    color: #495057;
}


.cassa-sync-badge {
    letter-spacing: .02em;
    font-weight: 700;
}


.smart-alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .9rem;
}

.smart-alert-card {
    border-radius: 1.2rem;
    padding: 1rem;
    border: 1px solid rgba(18,53,91,.08);
    background: rgba(255,255,255,.94);
    box-shadow: 0 6px 16px rgba(0,0,0,.04);
}

.smart-alert-card.level-critical {
    background: rgba(220,53,69,.08);
    border-color: rgba(220,53,69,.18);
}

.smart-alert-card.level-warning {
    background: rgba(255,193,7,.12);
    border-color: rgba(255,193,7,.22);
}

.smart-alert-card.level-info {
    background: rgba(13,110,253,.06);
    border-color: rgba(13,110,253,.14);
}

.smart-alert-head {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .5rem;
}

.smart-alert-icon {
    font-size: 1.2rem;
}

.smart-alert-title {
    font-weight: 800;
    color: #1f2937;
}

.smart-alert-detail {
    color: #495057;
    font-size: .95rem;
}


.self-order-product-btn {
    min-height: 110px;
    border-radius: 1.2rem;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    font-weight: 700;
}

.self-order-cart-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
}


.self-order-variant-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem .9rem;
    border: 1px solid rgba(18,53,91,.08);
    border-radius: .9rem;
    background: #f8fafc;
}


.public-site {
    color: #1f2937;
}

.public-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,122,89,.26), transparent 26%),
        radial-gradient(circle at 80% 10%, rgba(13,110,253,.20), transparent 24%),
        linear-gradient(135deg, #0f172a 0%, #12355b 52%, #1d4f91 100%);
}

.public-hero-glow {
    position: absolute;
    inset: auto -10% -35% auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    filter: blur(40px);
    pointer-events: none;
}

.public-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.78);
    font-weight: 800;
    margin-bottom: .9rem;
}

.public-kicker.dark {
    color: #4b5563;
}

.public-showcase-card {
    border-radius: 1.8rem;
    background: rgba(255,255,255,.94);
    padding: 1.25rem;
    box-shadow: 0 18px 36px rgba(0,0,0,.18);
}

.public-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.public-showcase-stack {
    display: grid;
    gap: .85rem;
}

.public-showcase-item {
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
}

.public-metric {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.public-metric-value {
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    font-weight: 900;
}

.public-metric-label {
    color: rgba(255,255,255,.72);
    margin-top: .25rem;
    font-size: .9rem;
}

.public-section-head h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.public-section-copy {
    max-width: 760px;
}

.public-soft-section {
    background: linear-gradient(180deg, rgba(18,53,91,.03), rgba(255,122,89,.04));
}

.public-feature-card,
.public-module-card,
.public-plan-card {
    border-radius: 1.5rem;
}

.public-feature-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(18,53,91,.12), rgba(255,122,89,.12));
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.public-flow-list {
    display: grid;
    gap: 1rem;
}

.public-flow-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
}

.public-flow-step {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #12355b;
    color: #fff;
    font-weight: 900;
}

.public-audience-box {
    height: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
}

.public-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.public-plan-card {
    position: relative;
    overflow: hidden;
}

.public-plan-card.featured {
    border: 2px solid rgba(13,110,253,.18);
    box-shadow: 0 18px 36px rgba(13,110,253,.12);
    transform: translateY(-4px);
}

.public-plan-kicker {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6b7280;
    font-weight: 800;
    margin-bottom: .7rem;
}

.public-plan-price {
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
}

.public-plan-price span {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 700;
}

.public-plan-list {
    padding-left: 1.15rem;
    margin: 0 0 1rem;
}

.public-plan-list li {
    margin-bottom: .5rem;
}

.public-benefit-list {
    display: grid;
    gap: 1rem;
}

.public-benefit-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: .9rem;
    align-items: start;
}

.public-benefit-item i {
    font-size: 1.2rem;
    color: #198754;
}

.public-dark-panel {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #0f172a, #12355b);
}

.public-onboarding-steps {
    display: grid;
    gap: 1rem;
}

.public-onboarding-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: .85rem;
    align-items: start;
}

.public-onboarding-step span {
    width: 48px;
    height: 48px;
    border-radius: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-weight: 900;
}

.public-final-cta {
    border-radius: 1.75rem;
}

@media (max-width: 991.98px) {
    .public-plan-card.featured {
        transform: none;
    }
}


body.public-layout-body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fff;
}

body.public-layout-body .public-page * {
    box-sizing: border-box;
}

.public-page {
    width: 100%;
    background: #fff;
    color: #1f2937;
}

.public-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

.public-topbar-wrap {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
    padding-top: 24px;
}

.public-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.public-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
}

.public-logo:hover {
    color: #fff;
}

.public-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.public-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,122,89,.22), transparent 26%),
        radial-gradient(circle at 78% 12%, rgba(13,110,253,.18), transparent 22%),
        linear-gradient(135deg, #0f172a 0%, #12355b 52%, #1d4f91 100%);
}

.public-hero-shell {
    padding-top: 130px;
    padding-bottom: 56px;
}

.public-kicker {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    margin-bottom: 12px;
}

.public-kicker-dark {
    color: #6b7280;
}

.public-hero-title {
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.02;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    max-width: 900px;
}

.public-hero-text {
    font-size: 1.18rem;
    line-height: 1.7;
    color: rgba(255,255,255,.84);
    max-width: 760px;
    margin-bottom: 28px;
}

.public-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.public-stats-row {
    margin-top: 6px;
}

.public-stat-card {
    height: 100%;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
}

.public-stat-value {
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 900;
    color: #fff;
}

.public-stat-label {
    margin-top: 8px;
    color: rgba(255,255,255,.74);
    font-size: .95rem;
}

.public-preview-card {
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    box-shadow: 0 24px 48px rgba(0,0,0,.18);
    padding: 22px;
}

.public-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.public-preview-list {
    display: grid;
    gap: 14px;
}

.public-preview-item {
    display: grid;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
    border-radius: 18px;
    padding: 18px 16px;
}

.public-preview-item strong {
    color: #111827;
}

.public-preview-item span {
    color: #6b7280;
    font-size: .95rem;
}

.public-hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(36px);
    opacity: .24;
    pointer-events: none;
}

.public-hero-orb-one {
    width: 260px;
    height: 260px;
    background: #ff7a59;
    left: -60px;
    top: 90px;
}

.public-hero-orb-two {
    width: 340px;
    height: 340px;
    background: #4f8cff;
    right: -80px;
    bottom: -80px;
}

.public-section-block {
    padding: 88px 0;
}

.public-section-soft {
    background: linear-gradient(180deg, rgba(18,53,91,.03), rgba(255,122,89,.04));
}

.public-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.public-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 900;
    color: #111827;
    margin-bottom: 14px;
}

.public-section-title-left {
    text-align: left;
}

.public-section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #6b7280;
}

.public-info-card,
.public-panel-card,
.public-pricing-card {
    height: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 26px rgba(15,23,42,.06);
    border: 1px solid rgba(18,53,91,.08);
    padding: 28px;
}

.public-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(18,53,91,.08), rgba(255,122,89,.12));
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.public-info-card h3,
.public-pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111827;
}

.public-info-card p,
.public-pricing-card p {
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 0;
    font-size: 1.02rem;
}

.public-flow-entry {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}

.public-flow-entry span {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #12355b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.public-flow-entry small,
.public-target-item span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: .95rem;
    line-height: 1.6;
}

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

.public-target-item {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
}

.public-inline-callout {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
}

.public-pricing-card.featured {
    border: 2px solid rgba(13,110,253,.16);
    box-shadow: 0 20px 38px rgba(13,110,253,.12);
    transform: translateY(-4px);
}

.public-plan-name {
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #6b7280;
    margin-bottom: 12px;
}

.public-price {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 900;
    color: #111827;
    margin-bottom: 18px;
}

.public-price span {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 700;
}

.public-pricing-list {
    padding-left: 18px;
    margin: 0;
}

.public-pricing-list li {
    margin-bottom: 10px;
    color: #374151;
}

@media (max-width: 991.98px) {
    .public-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .public-topbar-wrap {
        padding-top: 18px;
    }

    .public-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-hero-shell {
        padding-top: 120px;
        padding-bottom: 40px;
    }

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

    .public-pricing-card.featured {
        transform: none;
    }
}


body.public-layout-body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fff;
}

.enterprise-public * {
    box-sizing: border-box;
}

.enterprise-public {
    color: #111827;
    background: #fff;
}

.enterprise-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

.enterprise-nav-shell {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 30;
    padding-top: 22px;
}

.enterprise-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.enterprise-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
}

.enterprise-brand:hover {
    color: #fff;
}

.enterprise-nav-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.enterprise-nav-links a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-weight: 600;
}

.enterprise-nav-links a:hover {
    color: #fff;
}

.enterprise-nav-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.enterprise-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,122,89,.22), transparent 26%),
        radial-gradient(circle at 78% 12%, rgba(13,110,253,.18), transparent 22%),
        linear-gradient(135deg, #0f172a 0%, #12355b 52%, #1d4f91 100%);
}

.enterprise-hero-shell {
    padding-top: 130px;
    padding-bottom: 56px;
}

.enterprise-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    color: rgba(255,255,255,.8);
}

.enterprise-kicker.dark {
    color: #6b7280;
}

.enterprise-title {
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    line-height: 1.02;
    font-weight: 900;
    color: #fff;
    margin-bottom: 22px;
    max-width: 980px;
}

.enterprise-subtitle {
    max-width: 780px;
    color: rgba(255,255,255,.84);
    font-size: 1.18rem;
    line-height: 1.72;
    margin-bottom: 28px;
}

.enterprise-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.enterprise-actions.center {
    justify-content: center;
}

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

.enterprise-proof-card {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
}

.enterprise-proof-value {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 900;
    color: #fff;
}

.enterprise-proof-label {
    margin-top: 8px;
    color: rgba(255,255,255,.74);
    font-size: .95rem;
}

.enterprise-hero-frame {
    position: relative;
    min-height: 520px;
    border-radius: 32px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
}

.enterprise-hero-panel {
    position: absolute;
    background: rgba(255,255,255,.96);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
    max-width: 330px;
}

.enterprise-panel-top {
    top: 22px;
    right: 18px;
}

.enterprise-panel-mid {
    top: 170px;
    left: 22px;
}

.enterprise-panel-bottom {
    bottom: 26px;
    right: 24px;
}

.enterprise-panel-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
}

.enterprise-panel-copy {
    color: #6b7280;
    line-height: 1.6;
}

.enterprise-floating-card {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 290px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(15,23,42,.9);
    color: #fff;
    box-shadow: 0 24px 48px rgba(0,0,0,.22);
}

.enterprise-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(36px);
    opacity: .22;
    pointer-events: none;
}

.enterprise-glow.glow-left {
    width: 260px;
    height: 260px;
    background: #ff7a59;
    left: -60px;
    top: 100px;
}

.enterprise-glow.glow-right {
    width: 360px;
    height: 360px;
    background: #4f8cff;
    right: -90px;
    bottom: -80px;
}

.enterprise-section {
    padding: 92px 0;
}

.enterprise-soft {
    background: linear-gradient(180deg, rgba(18,53,91,.03), rgba(255,122,89,.04));
}

.enterprise-section-head {
    text-align: center;
    margin-bottom: 50px;
}

.enterprise-section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    font-weight: 900;
    color: #111827;
    margin-bottom: 14px;
}

.enterprise-section-title.left {
    text-align: left;
}

.enterprise-section-copy {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #6b7280;
}

.enterprise-feature-card,
.enterprise-panel,
.enterprise-plan-card,
.enterprise-roi-card,
.enterprise-final-card {
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(18,53,91,.08);
    box-shadow: 0 14px 30px rgba(15,23,42,.06);
}

.enterprise-feature-card {
    height: 100%;
    padding: 28px;
}

.enterprise-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(18,53,91,.08), rgba(255,122,89,.12));
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.enterprise-feature-card h3,
.enterprise-plan-card h3 {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.enterprise-feature-card p,
.enterprise-plan-card p {
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 0;
}

.enterprise-panel {
    height: 100%;
    padding: 32px;
}

.enterprise-flow-item,
.enterprise-benefit-item,
.enterprise-step-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}

.enterprise-flow-item span,
.enterprise-step-item span {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #12355b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.enterprise-flow-item small,
.enterprise-benefit-item small,
.enterprise-step-item small {
    display: block;
    margin-top: 4px;
    font-size: .95rem;
    line-height: 1.6;
    color: #6b7280;
}

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

.enterprise-stack-card {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
    display: grid;
    gap: 6px;
}

.enterprise-stack-card span {
    color: #6b7280;
    font-size: .95rem;
    line-height: 1.6;
}

.enterprise-plan-card {
    height: 100%;
    padding: 32px;
}

.enterprise-plan-card.featured {
    border: 2px solid rgba(13,110,253,.18);
    box-shadow: 0 22px 40px rgba(13,110,253,.12);
    transform: translateY(-4px);
}

.enterprise-plan-tier {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    color: #6b7280;
    margin-bottom: 12px;
}

.enterprise-plan-price {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 900;
    color: #111827;
    margin-bottom: 16px;
}

.enterprise-plan-card ul {
    padding-left: 18px;
    margin: 0;
}

.enterprise-plan-card li {
    margin-bottom: 10px;
    color: #374151;
}

.enterprise-roi-card {
    padding: 32px;
}

.enterprise-roi-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.enterprise-roi-output {
    text-align: center;
    margin-top: 28px;
}

.enterprise-roi-value {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #111827;
}

.enterprise-roi-copy {
    color: #6b7280;
    margin-top: 8px;
}

.enterprise-benefit-item {
    grid-template-columns: 30px 1fr;
}

.enterprise-benefit-item i {
    font-size: 1.2rem;
    color: #198754;
    margin-top: 2px;
}

.enterprise-panel-dark {
    background: linear-gradient(135deg, #0f172a, #12355b);
}

.enterprise-panel-dark .enterprise-kicker {
    color: rgba(255,255,255,.72);
}

.enterprise-final-card {
    margin-top: 48px;
    padding: 42px 36px;
    text-align: center;
}

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

    .enterprise-hero-frame {
        min-height: 460px;
    }
}

@media (max-width: 991.98px) {
    .enterprise-shell,
    .enterprise-nav {
        padding-left: 18px;
        padding-right: 18px;
    }

    .enterprise-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .enterprise-nav-links {
        gap: 14px;
    }

    .enterprise-hero-shell {
        padding-top: 138px;
        padding-bottom: 40px;
    }

    .enterprise-stack-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-plan-card.featured {
        transform: none;
    }

    .enterprise-hero-frame {
        min-height: 520px;
    }

    .enterprise-panel-top,
    .enterprise-panel-mid,
    .enterprise-panel-bottom,
    .enterprise-floating-card {
        position: static;
        transform: none;
        max-width: none;
        margin: 16px;
    }
}

@media (max-width: 575.98px) {
    .enterprise-title {
        font-size: 2.45rem;
    }

    .enterprise-subtitle {
        font-size: 1.02rem;
    }

    .enterprise-actions {
        flex-direction: column;
    }
}


.enterprise-footer {
    background: #0f172a;
    color: rgba(255,255,255,.82);
    padding: 52px 0;
    margin-top: 64px;
}

.enterprise-footer-brand {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.enterprise-footer-copy {
    color: rgba(255,255,255,.68);
    line-height: 1.7;
}

.enterprise-footer-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
}

.enterprise-footer-list {
    padding-left: 18px;
    margin: 0;
}

.enterprise-footer-list li {
    margin-bottom: 8px;
    color: rgba(255,255,255,.72);
}

/* ===== Iterazione 1: testimonials, commission, FAQ, trial, legal pages ===== */

.enterprise-hero-trial-note {
    margin-top: 18px;
    color: rgba(255,255,255,.75);
    font-size: .92rem;
    letter-spacing: .01em;
}

.enterprise-testimonial {
    background: #fff;
    border: 1px solid rgba(18,53,91,.08);
    border-radius: 22px;
    padding: 28px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 14px 30px rgba(18,53,91,.06);
    margin: 0;
}

.enterprise-testimonial-stars {
    color: #e6a83a;
    font-size: 1rem;
    display: inline-flex;
    gap: 2px;
}

.enterprise-testimonial blockquote {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #1d2530;
    font-weight: 500;
}

.enterprise-testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(18,53,91,.08);
}

.enterprise-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c44536, #d4a54a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .02em;
    flex: 0 0 auto;
}

.enterprise-testimonial figcaption strong {
    display: block;
    color: #1d2530;
    font-weight: 700;
    font-size: .95rem;
}

.enterprise-testimonial figcaption span {
    display: block;
    color: #64748b;
    font-size: .82rem;
}

[data-theme="dark"] .enterprise-testimonial {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
    box-shadow: none;
}
[data-theme="dark"] .enterprise-testimonial blockquote { color: #e7ecf3; }
[data-theme="dark"] .enterprise-testimonial figcaption strong { color: #e7ecf3; }
[data-theme="dark"] .enterprise-testimonial figcaption { border-top-color: rgba(255,255,255,.08); }

.enterprise-commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.enterprise-commission-step {
    background: #fff;
    border: 1px solid rgba(18,53,91,.08);
    border-radius: 20px;
    padding: 24px 22px;
    position: relative;
}

.enterprise-commission-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c44536, #d4a54a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 12px;
}

.enterprise-commission-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1d2530;
    margin-bottom: 8px;
}

.enterprise-commission-step p {
    color: #4a5568;
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
}

[data-theme="dark"] .enterprise-commission-step {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .enterprise-commission-step h4 { color: #e7ecf3; }
[data-theme="dark"] .enterprise-commission-step p { color: #a7b0be; }

.enterprise-commission-example {
    background: linear-gradient(135deg, rgba(196,69,54,.06), rgba(212,165,74,.06));
    border: 1px solid rgba(196,69,54,.15);
    border-radius: 22px;
    padding: 26px;
}

.enterprise-commission-example-title {
    font-weight: 700;
    color: #1d2530;
    margin-bottom: 16px;
    font-size: 1rem;
}

.enterprise-commission-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(18,53,91,.06);
}

.enterprise-commission-metric.highlight {
    background: linear-gradient(135deg, #1f3a2e, #3d5a3c);
    border-color: transparent;
}

.enterprise-commission-metric-label {
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

.enterprise-commission-metric-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1d2530;
    letter-spacing: -.01em;
}

.enterprise-commission-metric-hint {
    font-size: .78rem;
    color: #64748b;
}

.enterprise-commission-metric.highlight .enterprise-commission-metric-label,
.enterprise-commission-metric.highlight .enterprise-commission-metric-hint {
    color: rgba(255,255,255,.7);
}
.enterprise-commission-metric.highlight .enterprise-commission-metric-value {
    color: #fff;
}

[data-theme="dark"] .enterprise-commission-example { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .enterprise-commission-example-title { color: #e7ecf3; }
[data-theme="dark"] .enterprise-commission-metric { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .enterprise-commission-metric-value { color: #e7ecf3; }
[data-theme="dark"] .enterprise-commission-metric-label,
[data-theme="dark"] .enterprise-commission-metric-hint { color: #a7b0be; }

.enterprise-faq {
    max-width: 860px;
    margin: 0 auto;
}

.enterprise-faq .accordion-item {
    background: #fff;
    border: 1px solid rgba(18,53,91,.08);
    border-radius: 16px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.enterprise-faq .accordion-button {
    font-weight: 600;
    color: #1d2530;
    font-size: 1rem;
    padding: 18px 20px;
    background: transparent;
    box-shadow: none;
}

.enterprise-faq .accordion-button:not(.collapsed) {
    background: rgba(196,69,54,.06);
    color: #c44536;
}

.enterprise-faq .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(196,69,54,.15);
    border-color: transparent;
}

.enterprise-faq .accordion-body {
    padding: 4px 20px 20px;
    color: #4a5568;
    font-size: .95rem;
    line-height: 1.6;
}

[data-theme="dark"] .enterprise-faq .accordion-item {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .enterprise-faq .accordion-button { color: #e7ecf3; }
[data-theme="dark"] .enterprise-faq .accordion-button:not(.collapsed) {
    background: rgba(255,255,255,.06);
    color: #f5c6a0;
}
[data-theme="dark"] .enterprise-faq .accordion-body { color: #a7b0be; }

/* Footer extended */
.enterprise-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.enterprise-footer-brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.enterprise-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.enterprise-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    font-size: .78rem;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}

.enterprise-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.enterprise-footer-links li {
    margin-bottom: 8px;
}

.enterprise-footer-links a {
    color: rgba(255,255,255,.72);
    text-decoration: none;
    font-size: .93rem;
    transition: color .15s ease;
}

.enterprise-footer-links a:hover {
    color: #fff;
}

.enterprise-footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    align-items: baseline;
    color: rgba(255,255,255,.55);
    font-size: .85rem;
}

/* Legal / trial pages layout */
.enterprise-hero-legal {
    padding-bottom: 40px;
}

.enterprise-legal-content {
    max-width: 820px;
    margin: 0 auto;
    color: #1d2530;
    line-height: 1.65;
}

.enterprise-legal-content h2 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 10px;
    color: #1d2530;
}

.enterprise-legal-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #1d2530;
}

.enterprise-legal-content p,
.enterprise-legal-content ul {
    color: #4a5568;
    margin-bottom: 14px;
}

.enterprise-legal-content ul {
    padding-left: 22px;
}

.enterprise-legal-content code {
    background: rgba(18,53,91,.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: .88em;
    color: #1d2530;
}

[data-theme="dark"] .enterprise-legal-content,
[data-theme="dark"] .enterprise-legal-content h2,
[data-theme="dark"] .enterprise-legal-content h3 { color: #e7ecf3; }
[data-theme="dark"] .enterprise-legal-content p,
[data-theme="dark"] .enterprise-legal-content ul { color: #a7b0be; }
[data-theme="dark"] .enterprise-legal-content code {
    background: rgba(255,255,255,.08);
    color: #e7ecf3;
}

.plan-order-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,122,89,.10), transparent 24%),
        radial-gradient(circle at 78% 12%, rgba(13,110,253,.10), transparent 22%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.plan-order-hero {
    padding: 32px 0 64px;
}

.plan-order-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #12355b;
    text-decoration: none;
    font-weight: 700;
}

.plan-order-back:hover {
    color: #12355b;
}

.plan-summary-card,
.plan-form-card {
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(18,53,91,.08);
    box-shadow: 0 14px 30px rgba(15,23,42,.06);
    padding: 32px;
}

.plan-summary-kicker {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    color: #6b7280;
    margin-bottom: 12px;
}

.plan-summary-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #111827;
}

.plan-summary-price {
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
    color: #12355b;
    margin-bottom: 18px;
}

.plan-summary-description {
    color: #4b5563;
    line-height: 1.75;
}

.plan-summary-list {
    padding-left: 18px;
    margin: 0;
}

.plan-summary-list li {
    margin-bottom: 10px;
    color: #374151;
}

.plan-estimate-box {
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
}

@media (max-width: 991.98px) {
    .plan-summary-card,
    .plan-form-card {
        padding: 24px;
    }

    .plan-summary-title {
        font-size: 2rem;
    }

    .plan-summary-price {
        font-size: 2.4rem;
    }
}


.plan-order-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,122,89,.10), transparent 24%),
        radial-gradient(circle at 78% 12%, rgba(13,110,253,.10), transparent 22%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.plan-order-hero {
    padding: 32px 0 64px;
}

.plan-order-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #12355b;
    text-decoration: none;
    font-weight: 700;
}

.plan-order-back:hover {
    color: #12355b;
}

.plan-summary-card,
.plan-form-card {
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(18,53,91,.08);
    box-shadow: 0 14px 30px rgba(15,23,42,.06);
    padding: 32px;
}

.plan-summary-kicker {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    color: #6b7280;
    margin-bottom: 12px;
}

.plan-summary-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #111827;
}

.plan-summary-price {
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
    color: #12355b;
    margin-bottom: 18px;
}

.plan-summary-description {
    color: #4b5563;
    line-height: 1.75;
}

.plan-summary-list {
    padding-left: 18px;
    margin: 0;
}

.plan-summary-list li {
    margin-bottom: 10px;
    color: #374151;
}

.plan-estimate-box {
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(18,53,91,.08);
}

@media (max-width: 991.98px) {
    .plan-summary-card,
    .plan-form-card {
        padding: 24px;
    }

    .plan-summary-title {
        font-size: 2rem;
    }

    .plan-summary-price {
        font-size: 2.4rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Landing pro — hero restyle + numbers band + problem/solution
   ═══════════════════════════════════════════════════════════════ */

.lg-pulse {
    position: relative;
    box-shadow: 0 0 0 0 rgba(196,69,54,.55);
    animation: lgPulse 2.2s infinite;
}
@keyframes lgPulse {
    0% { box-shadow: 0 0 0 0 rgba(196,69,54,.55); }
    70% { box-shadow: 0 0 0 14px rgba(196,69,54,0); }
    100% { box-shadow: 0 0 0 0 rgba(196,69,54,0); }
}

.lg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.9);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 20px;
}

.lg-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74,222,128,.6);
    animation: lgPulseDot 2s infinite;
}

@keyframes lgPulseDot {
    0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
    70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.lg-highlight {
    background: linear-gradient(120deg, rgba(196,69,54,.28) 0%, rgba(196,69,54,.28) 100%);
    background-repeat: no-repeat;
    background-size: 100% 42%;
    background-position: 0 85%;
    padding: 0 4px;
    color: #ffb9b1;
}

.lg-cta-shadow {
    box-shadow: 0 16px 32px rgba(196,69,54,.42);
    transition: transform .18s ease, box-shadow .18s ease;
}
.lg-cta-shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(196,69,54,.52);
}

.lg-hero-avatars {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.lg-hero-avatar-stack {
    display: inline-flex;
}
.lg-hero-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .75rem;
    color: #fff;
    border: 2px solid rgba(255,255,255,.12);
    margin-left: -12px;
    letter-spacing: .02em;
}
.lg-hero-avatar:first-child { margin-left: 0; }

.lg-hero-avatar-label {
    color: rgba(255,255,255,.9);
}
.lg-hero-avatar-label .text-muted {
    color: rgba(255,255,255,.55) !important;
}

/* Mockup */
.lg-mockup-stage {
    position: relative;
    perspective: 1500px;
}

.lg-mockup-device {
    background: linear-gradient(180deg, #0f1621, #1a2333);
    border-radius: 18px;
    box-shadow: 0 28px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
    overflow: hidden;
    transform: rotateY(-6deg) rotateX(3deg);
    transition: transform .5s ease;
}
.lg-mockup-device:hover {
    transform: rotateY(-3deg) rotateX(2deg);
}

.lg-mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #0a0f17;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.lg-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.lg-mockup-url {
    margin-left: 14px;
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.lg-mockup-body {
    padding: 16px;
    background: linear-gradient(180deg, #f8f9fb, #eef1f5);
    color: #1d2530;
}

.lg-mk-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.lg-mk-kpi {
    border-radius: 12px;
    padding: 10px 12px;
    color: #fff;
}
.lg-mk-kpi-red { background: linear-gradient(135deg, #c44536, #e06050); }
.lg-mk-kpi-green { background: linear-gradient(135deg, #3d5a3c, #5a8459); }
.lg-mk-kpi-dark { background: linear-gradient(135deg, #1d2530, #36404d); }

.lg-mk-kpi-label {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .85;
    font-weight: 700;
}
.lg-mk-kpi-value {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 2px;
}

.lg-mk-chart {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 14px;
    border: 1px solid rgba(0,0,0,.05);
}
.lg-mk-chart svg { width: 100%; height: 70px; display: block; }
.lg-mk-chart-line { stroke-dasharray: 800; stroke-dashoffset: 800; animation: lgDrawChart 2.2s ease-out forwards; }
@keyframes lgDrawChart { to { stroke-dashoffset: 0; } }

.lg-mk-list {
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(0,0,0,.05);
}
.lg-mk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: .82rem;
}
.lg-mk-item + .lg-mk-item { border-top: 1px solid rgba(0,0,0,.05); }

.lg-mk-item-tag {
    color: #fff;
    font-weight: 800;
    font-size: .72rem;
    padding: 3px 6px;
    border-radius: 6px;
    flex-shrink: 0;
}
.lg-mk-item-pill {
    margin-left: auto;
    font-size: .68rem;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex-shrink: 0;
}
.lg-mk-item-pill.ok { background: rgba(25,135,84,.12); color: #198754; }
.lg-mk-item-pill.warn { background: rgba(253,126,20,.12); color: #fd7e14; }
.lg-mk-item-pill.pending { background: rgba(13,110,253,.12); color: #0d6efd; }

.lg-mockup-float {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
    font-size: .82rem;
    color: #1d2530;
    z-index: 2;
}
.lg-mockup-float-top { top: 12px; right: -28px; }
.lg-mockup-float-bottom { bottom: -18px; left: -24px; }

.lg-bar {
    display: inline-block;
    width: 8px;
    border-radius: 2px;
    align-self: flex-end;
}
.lg-mockup-float-top .d-flex { align-items: flex-end; }

.lg-mockup-sparkle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffd454, #ff9500);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

@media (max-width: 1199.98px) {
    .lg-mockup-device { transform: none; }
    .lg-mockup-float-top { right: 0; }
    .lg-mockup-float-bottom { left: 0; }
}

/* Numbers band */
.lg-numbers-band {
    background: linear-gradient(135deg, #1d2530 0%, #2a3444 100%);
    padding: 48px 0;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.lg-number-value {
    font-family: "Fraunces", serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffb9b1;
    line-height: 1;
    margin-bottom: 8px;
}
.lg-number-label {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    font-weight: 500;
    letter-spacing: .02em;
}

/* Problem / Solution */
.lg-problem-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(15,23,42,.06);
    height: 100%;
    box-shadow: 0 6px 24px rgba(15,23,42,.04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.lg-problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15,23,42,.1);
}

.lg-problem-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 18px;
}
.lg-problem-ico-red { background: linear-gradient(135deg, #c44536, #e06050); }
.lg-problem-ico-orange { background: linear-gradient(135deg, #fd7e14, #ffbd4a); }
.lg-problem-ico-green { background: linear-gradient(135deg, #3d5a3c, #5a8459); }

.lg-problem-label {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #c44536;
    margin-bottom: 6px;
}

.lg-problem-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1d2530;
    margin-bottom: 10px;
}

.lg-problem-copy {
    font-size: .95rem;
    color: #4a5568;
    line-height: 1.55;
    margin-bottom: 16px;
}

.lg-solution-tag {
    background: rgba(61,90,60,.08);
    border-left: 3px solid #3d5a3c;
    padding: 12px 14px;
    border-radius: 0 10px 10px 0;
    font-size: .88rem;
    color: #1d2530;
    line-height: 1.5;
}
.lg-solution-tag i {
    color: #3d5a3c;
    margin-right: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════
   /public v2 — palette LeoGrill + nuove sezioni
   Terracotta + verde bosco + panna, in linea con la piattaforma.
   ═══════════════════════════════════════════════════════════════════════ */

.enterprise-public {
    --ent-bg-warm: #faf6ee;
    --ent-bg-warm-2: #f2ecdf;
    --ent-bg-dark: #1d2530;
    --ent-surface: #ffffff;
    --ent-text: #2b2620;
    --ent-text-muted: #6b5f52;
    --ent-primary: #c44536;
    --ent-primary-600: #a83826;
    --ent-secondary: #3d5a3c;
    --ent-accent: #d4a54a;
    --ent-border: rgba(43,38,32,.08);
    background: var(--ent-bg-warm);
    color: var(--ent-text);
}

.enterprise-public .enterprise-hero {
    color: var(--ent-text);
    background:
        radial-gradient(ellipse 60% 40% at 10% 0%, rgba(196,69,54,.14), transparent 70%),
        radial-gradient(ellipse 40% 30% at 92% 8%, rgba(212,165,74,.18), transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(61,90,60,.10), transparent 70%),
        linear-gradient(180deg, var(--ent-bg-warm) 0%, var(--ent-bg-warm-2) 100%);
}

.enterprise-public .enterprise-hero .enterprise-brand { color: var(--ent-text); }
.enterprise-public .enterprise-hero .enterprise-nav-links a {
    color: rgba(43,38,32,.72);
}
.enterprise-public .enterprise-hero .enterprise-nav-links a:hover { color: var(--ent-primary); }

.enterprise-public .enterprise-hero .btn-outline-light {
    color: var(--ent-text);
    border-color: rgba(43,38,32,.22);
    background: rgba(255,255,255,.5);
}
.enterprise-public .enterprise-hero .btn-outline-light:hover {
    color: #fff;
    background: var(--ent-text);
    border-color: var(--ent-text);
}
.enterprise-public .enterprise-hero .btn-light {
    background: #fff;
    color: var(--ent-text);
    border-color: var(--ent-border);
}
.enterprise-public .enterprise-hero .btn-light:hover { background: #fff; color: var(--ent-primary); }

.enterprise-public .lg-hero-badge {
    background: rgba(255,255,255,.82);
    border-color: rgba(43,38,32,.10);
    color: var(--ent-text);
    box-shadow: 0 2px 8px rgba(43,38,32,.04);
}

.enterprise-public .enterprise-title {
    color: var(--ent-text);
    letter-spacing: -.015em;
}
.enterprise-public .enterprise-subtitle {
    color: var(--ent-text-muted);
}
.enterprise-public .enterprise-kicker {
    background: rgba(196,69,54,.08);
    color: var(--ent-primary);
    border: 1px solid rgba(196,69,54,.12);
}
.enterprise-public .enterprise-kicker.dark { background: rgba(43,38,32,.05); color: var(--ent-text); border-color: rgba(43,38,32,.08); }

.enterprise-public .lg-highlight {
    background: linear-gradient(120deg, rgba(212,165,74,.45), rgba(212,165,74,.45));
    background-repeat: no-repeat;
    background-size: 100% 42%;
    background-position: 0 85%;
    color: var(--ent-primary);
    padding: 0 4px;
    font-weight: 900;
}

.enterprise-public .enterprise-hero-trial-note {
    color: var(--ent-text-muted);
}
.enterprise-public .lg-hero-avatar { border-color: rgba(255,255,255,.95); }
.enterprise-public .lg-hero-avatar-label { color: var(--ent-text); }
.enterprise-public .lg-hero-avatar-label .text-muted { color: var(--ent-text-muted) !important; }

/* Sezioni generali */
.enterprise-public .enterprise-section { color: var(--ent-text); background: var(--ent-bg-warm); }
.enterprise-public .enterprise-soft { background: var(--ent-bg-warm-2); }
.enterprise-public .enterprise-section-title { color: var(--ent-text); letter-spacing: -.015em; }
.enterprise-public .enterprise-section-copy { color: var(--ent-text-muted); }

.enterprise-public .enterprise-feature-card {
    background: var(--ent-surface);
    border: 1px solid var(--ent-border);
    border-radius: 20px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 4px 16px rgba(43,38,32,.03);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.enterprise-public .enterprise-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196,69,54,.18);
    box-shadow: 0 18px 40px rgba(43,38,32,.08);
}
.enterprise-public .enterprise-feature-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--ent-primary), #e06050);
    color: #fff; font-size: 1.5rem; margin-bottom: 18px;
}

/* CTA primary */
.enterprise-public .btn-danger,
.enterprise-public .btn-primary {
    background: var(--ent-primary);
    border-color: var(--ent-primary);
}
.enterprise-public .btn-danger:hover,
.enterprise-public .btn-primary:hover {
    background: var(--ent-primary-600);
    border-color: var(--ent-primary-600);
}
.enterprise-public .lg-cta-shadow { box-shadow: 0 16px 32px rgba(196,69,54,.35); }
.enterprise-public .lg-cta-shadow:hover { box-shadow: 0 22px 40px rgba(196,69,54,.45); }

/* Numbers band */
.enterprise-public .lg-numbers-band {
    background: linear-gradient(135deg, var(--ent-text) 0%, #342d25 100%);
    color: #fff;
    border-top: 0; border-bottom: 0;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.enterprise-public .lg-numbers-band::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(196,69,54,.18), transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(212,165,74,.12), transparent 40%);
}
.enterprise-public .lg-numbers-band > .enterprise-shell { position: relative; }
.enterprise-public .lg-number-value { color: var(--ent-accent); }
.enterprise-public .lg-number-label { color: rgba(255,255,255,.7); }

/* Problem cards */
.enterprise-public .lg-problem-card { background: var(--ent-surface); border: 1px solid var(--ent-border); }
.enterprise-public .lg-problem-title { color: var(--ent-text); }
.enterprise-public .lg-problem-copy { color: var(--ent-text-muted); }
.enterprise-public .lg-problem-label { color: var(--ent-primary); }
.enterprise-public .lg-problem-ico-green { background: linear-gradient(135deg, var(--ent-secondary), #5a8459); }
.enterprise-public .lg-problem-ico-orange { background: linear-gradient(135deg, var(--ent-accent), #e7ba5b); }
.enterprise-public .lg-solution-tag {
    background: rgba(61,90,60,.08);
    border-left-color: var(--ent-secondary);
    color: var(--ent-text);
}
.enterprise-public .lg-solution-tag i { color: var(--ent-secondary); }

/* ═══════════════════════════════════════════════════════════
   NEW: Feature showcase tabs (Linear-style)
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-showcase {
    background: var(--ent-bg-warm-2);
    padding: 88px 0;
}
.enterprise-public .lg-showcase-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
    align-items: stretch;
}
.enterprise-public .lg-showcase-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.enterprise-public .lg-showcase-tab {
    background: transparent;
    border: 1px solid var(--ent-border);
    border-radius: 16px;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    transition: all .18s ease;
    color: var(--ent-text);
    display: flex; gap: 14px; align-items: flex-start;
}
.enterprise-public .lg-showcase-tab:hover { background: rgba(255,255,255,.7); border-color: rgba(196,69,54,.2); }
.enterprise-public .lg-showcase-tab.active {
    background: var(--ent-surface);
    border-color: var(--ent-primary);
    box-shadow: 0 10px 28px rgba(196,69,54,.12);
}
.enterprise-public .lg-showcase-tab-num {
    width: 32px; height: 32px; flex-shrink: 0;
    border-radius: 10px;
    background: rgba(196,69,54,.08);
    color: var(--ent-primary);
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.enterprise-public .lg-showcase-tab.active .lg-showcase-tab-num {
    background: var(--ent-primary); color: #fff;
}
.enterprise-public .lg-showcase-tab-title { font-weight: 800; margin-bottom: 2px; font-size: 1.02rem; }
.enterprise-public .lg-showcase-tab-copy { font-size: .85rem; color: var(--ent-text-muted); line-height: 1.45; }

.enterprise-public .lg-showcase-stage {
    position: relative;
    background: var(--ent-bg-dark);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(43,38,32,.18);
    min-height: 420px;
    overflow: hidden;
}
.enterprise-public .lg-showcase-panel {
    position: absolute;
    inset: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
    background: linear-gradient(180deg, #f8f9fb, #eef1f5);
    border-radius: 14px;
    padding: 16px;
    overflow: hidden;
}
.enterprise-public .lg-showcase-panel.active {
    opacity: 1; transform: translateY(0); pointer-events: auto;
}

/* Panel 1 — Cassa */
.enterprise-public .lg-panel-cassa { display: grid; grid-template-columns: 1fr 240px; gap: 12px; height: 100%; }
.enterprise-public .lg-panel-cassa-cat { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.enterprise-public .lg-panel-cat-btn { background: #fff; border: 1px solid rgba(43,38,32,.1); border-radius: 999px; padding: 4px 10px; font-size: .75rem; color: var(--ent-text); }
.enterprise-public .lg-panel-cat-btn.active { background: var(--ent-text); color: #fff; border-color: var(--ent-text); }
.enterprise-public .lg-panel-cassa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.enterprise-public .lg-panel-prod {
    border-radius: 10px;
    background: #fff;
    padding: 12px 10px;
    font-weight: 700;
    color: #fff;
    font-size: .78rem;
    min-height: 68px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.enterprise-public .lg-panel-cassa-cart {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    display: flex; flex-direction: column; gap: 6px;
    font-size: .78rem;
    color: var(--ent-text);
}
.enterprise-public .lg-panel-cart-line { display: flex; justify-content: space-between; }
.enterprise-public .lg-panel-cart-total {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed rgba(43,38,32,.15);
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 800; font-size: 1rem;
}

/* Panel 2 — Cucina */
.enterprise-public .lg-panel-kitchen { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.enterprise-public .lg-panel-kitchen-head { display: flex; gap: 8px; font-size: .75rem; color: var(--ent-text-muted); margin-bottom: 6px; }
.enterprise-public .lg-panel-kitchen-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.enterprise-public .lg-panel-kitchen-col {
    background: rgba(255,255,255,.7);
    border-radius: 10px;
    padding: 10px;
    display: flex; flex-direction: column; gap: 6px;
}
.enterprise-public .lg-panel-kitchen-col-label {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; opacity: .8;
    margin-bottom: 4px;
}
.enterprise-public .lg-panel-kitchen-ticket {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    border-left: 3px solid;
    font-size: .76rem;
    color: var(--ent-text);
}

/* Panel 3 — Self-order */
.enterprise-public .lg-panel-selforder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; height: 100%; }
.enterprise-public .lg-phone-frame {
    background: #1d2530;
    border-radius: 26px;
    padding: 12px;
    box-shadow: 0 20px 48px rgba(0,0,0,.35);
    aspect-ratio: 9/16;
    max-width: 220px;
    margin: 0 auto;
}
.enterprise-public .lg-phone-screen {
    background: #fff;
    border-radius: 18px;
    padding: 10px;
    height: 100%;
    display: flex; flex-direction: column; gap: 6px;
    font-size: .7rem;
}

/* Panel 4 — Dashboard */
.enterprise-public .lg-panel-dash { height: 100%; display: flex; flex-direction: column; gap: 10px; }
.enterprise-public .lg-panel-dash-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.enterprise-public .lg-panel-dash-kpi > div {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    color: var(--ent-text);
    font-size: .76rem;
}
.enterprise-public .lg-panel-dash-kpi strong { display: block; font-size: 1.1rem; margin-top: 2px; }

@media (max-width: 991.98px) {
    .enterprise-public .lg-showcase-grid { grid-template-columns: 1fr; }
    .enterprise-public .lg-showcase-stage { min-height: 360px; }
}

/* ═══════════════════════════════════════════════════════════
   NEW: Comparison table
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-compare-wrap {
    background: var(--ent-surface);
    border-radius: 24px;
    border: 1px solid var(--ent-border);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(43,38,32,.06);
}
.enterprise-public .lg-compare-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--ent-text);
}
.enterprise-public .lg-compare-table th,
.enterprise-public .lg-compare-table td {
    padding: 16px 18px;
    text-align: center;
    border-bottom: 1px solid var(--ent-border);
    font-size: .92rem;
}
.enterprise-public .lg-compare-table th:first-child,
.enterprise-public .lg-compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--ent-text-muted);
}
.enterprise-public .lg-compare-head th {
    font-weight: 800;
    font-size: .92rem;
    padding-top: 24px; padding-bottom: 24px;
    background: var(--ent-bg-warm-2);
}
.enterprise-public .lg-compare-head-leo {
    background: linear-gradient(135deg, var(--ent-primary), #e06050) !important;
    color: #fff !important;
    position: relative;
}
.enterprise-public .lg-compare-head-leo::before {
    content: "CONSIGLIATO";
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    font-size: .6rem;
    letter-spacing: .12em;
    font-weight: 900;
    background: rgba(255,255,255,.25);
    padding: 2px 8px;
    border-radius: 999px;
}
.enterprise-public .lg-compare-head-leo-offline {
    background: linear-gradient(135deg, #1d2530, #3a4656) !important;
    color: #fff !important;
    position: relative;
}
.enterprise-public .lg-compare-head-leo-offline::before {
    content: "NO INTERNET";
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    font-size: .6rem;
    letter-spacing: .12em;
    font-weight: 900;
    background: rgba(255,255,255,.18);
    padding: 2px 8px;
    border-radius: 999px;
}
.enterprise-public .lg-compare-cell-leo { background: rgba(196,69,54,.04); font-weight: 700; color: var(--ent-text); }
.enterprise-public .lg-compare-cell-leo-offline { background: rgba(29,37,48,.04); font-weight: 700; color: var(--ent-text); }
.enterprise-public .lg-compare-yes { color: var(--ent-secondary); font-size: 1.2rem; }
.enterprise-public .lg-compare-no { color: #a83826; font-size: 1.2rem; opacity: .5; }
.enterprise-public .lg-compare-partial { color: var(--ent-accent); font-size: 1.2rem; }
.enterprise-public .lg-compare-table tr:last-child td { border-bottom: 0; }

@media (max-width: 991.98px) {
    .enterprise-public .lg-compare-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .enterprise-public .lg-compare-table { min-width: 680px; }
}
@media (max-width: 767.98px) {
    .enterprise-public .lg-compare-table th,
    .enterprise-public .lg-compare-table td {
        padding: 10px 8px;
        font-size: .8rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   NEW: Case studies strip
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-case-card {
    background: var(--ent-surface);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--ent-border);
    box-shadow: 0 6px 20px rgba(43,38,32,.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.enterprise-public .lg-case-card::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 140px; height: 140px;
    background: radial-gradient(circle at 100% 0%, rgba(212,165,74,.18), transparent 70%);
    pointer-events: none;
}
.enterprise-public .lg-case-logo {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    color: var(--ent-primary);
    margin-bottom: 14px;
}
.enterprise-public .lg-case-metric {
    font-family: "Fraunces", serif;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ent-text);
    margin-bottom: 6px;
    letter-spacing: -.02em;
}
.enterprise-public .lg-case-metric-label {
    font-size: .92rem;
    color: var(--ent-text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}
.enterprise-public .lg-case-quote {
    font-style: italic;
    color: var(--ent-text);
    font-size: .92rem;
    line-height: 1.55;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ent-border);
}
.enterprise-public .lg-case-author {
    display: flex; gap: 10px; align-items: center;
    margin-top: auto;
}
.enterprise-public .lg-case-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff; font-size: .82rem;
}
.enterprise-public .lg-case-author-name { font-weight: 700; color: var(--ent-text); font-size: .88rem; line-height: 1.1; }
.enterprise-public .lg-case-author-role { font-size: .78rem; color: var(--ent-text-muted); }

/* ═══════════════════════════════════════════════════════════
   NEW: Made-in-Italy trust band
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-trust-band {
    background: var(--ent-bg-warm-2);
    padding: 72px 0;
    border-top: 1px solid var(--ent-border);
    border-bottom: 1px solid var(--ent-border);
}
.enterprise-public .lg-trust-item {
    background: var(--ent-surface);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--ent-border);
    text-align: center;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}
.enterprise-public .lg-trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(43,38,32,.08);
}
.enterprise-public .lg-trust-ico {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 14px;
}
.enterprise-public .lg-trust-ico-flag { background: linear-gradient(to right, #008c45 33%, #f4f5f0 33% 66%, #cd212a 66%); color: transparent; }
.enterprise-public .lg-trust-ico-flag::after {
    content: "🇮🇹"; color: initial; font-size: 1.6rem;
}
.enterprise-public .lg-trust-ico-gdpr { background: rgba(61,90,60,.1); color: var(--ent-secondary); }
.enterprise-public .lg-trust-ico-support { background: rgba(196,69,54,.1); color: var(--ent-primary); }
.enterprise-public .lg-trust-ico-pay { background: rgba(212,165,74,.15); color: #9a7a2e; }
.enterprise-public .lg-trust-title { font-weight: 800; font-size: 1rem; margin-bottom: 6px; color: var(--ent-text); }
.enterprise-public .lg-trust-copy { font-size: .85rem; color: var(--ent-text-muted); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════
   Team — foto con ombra morbida (PNG trasparente)
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-team-photo {
    position: relative;
    text-align: center;
}
.enterprise-public .lg-team-photo img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 18px 30px rgba(43,38,32,.18));
}
@media (max-width: 991.98px) {
    .enterprise-public .lg-team-photo { margin-bottom: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   NEW: Sticky mobile CTA
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    padding: 12px 16px;
    background: rgba(29,37,48,.96);
    backdrop-filter: blur(8px);
    z-index: 1040;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -8px 24px rgba(0,0,0,.2);
    transform: translateY(100%);
    transition: transform .3s ease;
}
.enterprise-public .lg-sticky-cta.show { transform: translateY(0); }
.enterprise-public .lg-sticky-cta-text { color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.2; }
.enterprise-public .lg-sticky-cta-text small { color: rgba(255,255,255,.6); display: block; font-size: .72rem; font-weight: 400; }
.enterprise-public .lg-sticky-cta .btn { flex-shrink: 0; }

@media (max-width: 767.98px) {
    .enterprise-public .lg-sticky-cta { display: flex; }
    .enterprise-public footer.enterprise-footer { padding-bottom: 88px; }
}

/* ═══════════════════════════════════════════════════════════
   Polish mockup per palette warm
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-mockup-device {
    background: linear-gradient(180deg, #1d2530, #2a3340);
    box-shadow:
        0 28px 60px rgba(43,38,32,.22),
        0 0 0 1px rgba(255,255,255,.06);
}
.enterprise-public .lg-mk-kpi-red { background: linear-gradient(135deg, var(--ent-primary), #e06050); }
.enterprise-public .lg-mk-kpi-green { background: linear-gradient(135deg, var(--ent-secondary), #5a8459); }
.enterprise-public .lg-mk-kpi-dark { background: linear-gradient(135deg, #342d25, #5a4e3e); }
.enterprise-public .lg-mk-chart-area { fill: rgba(196,69,54,.15); }
.enterprise-public .lg-mk-chart-line { stroke: var(--ent-primary); }
.enterprise-public .lg-mockup-sparkle { background: linear-gradient(135deg, var(--ent-accent), #e7ba5b); }

/* Testimonials polish */
.enterprise-public .testi-card,
.enterprise-public .enterprise-testimonial,
.enterprise-public .testimonial {
    background: var(--ent-surface);
    border-radius: 20px;
    border: 1px solid var(--ent-border);
}

/* Pricing polish (se usa enterprise-plan-card / .plan-card) */
.enterprise-public .plan-card,
.enterprise-public .enterprise-plan-card {
    background: var(--ent-surface);
    border: 1px solid var(--ent-border);
    border-radius: 22px;
}

/* FAQ polish */
.enterprise-public .accordion-item {
    background: var(--ent-surface);
    border-color: var(--ent-border);
}
.enterprise-public .accordion-button:not(.collapsed) {
    background: rgba(196,69,54,.06);
    color: var(--ent-text);
}

.enterprise-public .enterprise-glow.glow-left { background: #d4a54a; opacity: .22; }
.enterprise-public .enterprise-glow.glow-right { background: #c44536; opacity: .18; }

/* ═══════════════════════════════════════════════════════════
   Logo ticker marquee — fake client logos scroll
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-marquee {
    padding: 32px 0;
    background: var(--ent-bg-warm);
    border-top: 1px solid var(--ent-border);
    border-bottom: 1px solid var(--ent-border);
    overflow: hidden;
    position: relative;
}
.enterprise-public .lg-marquee-head {
    text-align: center;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ent-text-muted);
    font-weight: 700;
    margin-bottom: 18px;
}
.enterprise-public .lg-marquee-track {
    display: flex;
    gap: 56px;
    animation: lgMarquee 32s linear infinite;
    width: max-content;
}
.enterprise-public .lg-marquee:hover .lg-marquee-track { animation-play-state: paused; }
@keyframes lgMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.enterprise-public .lg-marquee-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    color: var(--ent-text-muted);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .02em;
    opacity: .55;
    transition: opacity .25s ease, color .25s ease;
    white-space: nowrap;
}
.enterprise-public .lg-marquee-logo:hover { opacity: 1; color: var(--ent-text); }
.enterprise-public .lg-marquee-logo i { font-size: 1.4rem; color: var(--ent-primary); }
.enterprise-public .lg-marquee-logo.serif { font-family: "Fraunces", serif; font-weight: 700; letter-spacing: -.01em; }
.enterprise-public .lg-marquee-logo.mono { font-family: ui-monospace, SFMono-Regular, monospace; text-transform: uppercase; font-size: .95rem; letter-spacing: .08em; }
.enterprise-public .lg-marquee-logo.rounded { background: rgba(43,38,32,.05); border-radius: 999px; padding: 6px 18px; }

/* ═══════════════════════════════════════════════════════════
   Interactive POS demo — "prova subito" inline
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-demo {
    padding: 88px 0;
    background: linear-gradient(180deg, var(--ent-bg-warm) 0%, var(--ent-bg-warm-2) 100%);
    position: relative;
}
.enterprise-public .lg-demo-wrap {
    background: var(--ent-surface);
    border-radius: 24px;
    border: 1px solid var(--ent-border);
    box-shadow: 0 20px 50px rgba(43,38,32,.08);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}
.enterprise-public .lg-demo-chrome {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 10px 14px;
    background: #1d2530;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.enterprise-public .lg-demo-chrome-dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.enterprise-public .lg-demo-chrome-url {
    margin-left: 14px;
    color: rgba(255,255,255,.65);
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: .78rem;
}
.enterprise-public .lg-demo-chrome-timer {
    margin-left: auto;
    color: rgba(255,255,255,.9);
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: .82rem;
    background: rgba(255,255,255,.08);
    padding: 2px 10px;
    border-radius: 999px;
}

.enterprise-public .lg-demo-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 0;
    background: #fff;
    min-height: 440px;
}

.enterprise-public .lg-demo-left {
    padding: 20px;
    border-right: 1px solid var(--ent-border);
}

.enterprise-public .lg-demo-intro {
    background: rgba(196,69,54,.06);
    border: 1px dashed rgba(196,69,54,.35);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: .88rem;
    color: var(--ent-text);
    display: flex;
    gap: 10px;
    align-items: center;
}
.enterprise-public .lg-demo-intro i { color: var(--ent-primary); font-size: 1.2rem; }

.enterprise-public .lg-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.enterprise-public .lg-demo-prod {
    border-radius: 14px;
    padding: 14px 10px;
    color: #fff;
    font-weight: 700;
    text-align: left;
    border: 0;
    cursor: pointer;
    transition: transform .1s ease, box-shadow .18s ease;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.enterprise-public .lg-demo-prod:active { transform: scale(.96); }
.enterprise-public .lg-demo-prod:hover { box-shadow: 0 8px 20px rgba(43,38,32,.14); }
.enterprise-public .lg-demo-prod-name { font-size: .95rem; line-height: 1.15; }
.enterprise-public .lg-demo-prod-price { font-size: .82rem; opacity: .85; font-weight: 600; margin-top: 8px; }

.enterprise-public .lg-demo-right {
    padding: 20px;
    background: var(--ent-bg-warm);
    display: flex;
    flex-direction: column;
}
.enterprise-public .lg-demo-cart-title {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    color: var(--ent-text-muted);
    margin-bottom: 10px;
}
.enterprise-public .lg-demo-cart-list {
    flex: 1;
    overflow-y: auto;
    font-size: .88rem;
    color: var(--ent-text);
}
.enterprise-public .lg-demo-cart-list .empty {
    color: var(--ent-text-muted);
    font-style: italic;
    font-size: .82rem;
    text-align: center;
    padding: 40px 10px;
}
.enterprise-public .lg-demo-cart-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--ent-border);
    animation: lgDemoPop .22s ease-out;
}
@keyframes lgDemoPop {
    from { transform: translateY(6px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.enterprise-public .lg-demo-cart-item-del {
    border: 0;
    background: transparent;
    color: rgba(43,38,32,.4);
    cursor: pointer;
    font-size: .9rem;
    padding: 0 4px;
}
.enterprise-public .lg-demo-cart-item-del:hover { color: var(--ent-primary); }

.enterprise-public .lg-demo-cart-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    margin-top: 10px;
    border-top: 2px solid var(--ent-text);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--ent-text);
}
.enterprise-public .lg-demo-cart-total span:last-child { color: var(--ent-primary); }

.enterprise-public .lg-demo-pay {
    background: var(--ent-primary);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: transform .12s ease, background .18s ease;
}
.enterprise-public .lg-demo-pay:hover { background: var(--ent-primary-600); }
.enterprise-public .lg-demo-pay:active { transform: scale(.98); }
.enterprise-public .lg-demo-pay:disabled { background: rgba(43,38,32,.2); cursor: not-allowed; }

.enterprise-public .lg-demo-hint {
    text-align: center;
    font-size: .7rem;
    color: var(--ent-text-muted);
    margin-top: 10px;
}
.enterprise-public .lg-demo-hint kbd {
    background: #fff;
    border: 1px solid rgba(43,38,32,.2);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: .7rem;
}

/* Success overlay */
.enterprise-public .lg-demo-success {
    position: absolute;
    inset: 0;
    background: rgba(250,246,238,.96);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 24px;
    border-radius: 24px;
    animation: lgDemoFadeIn .3s ease-out;
}
.enterprise-public .lg-demo-success.show { display: flex; }
@keyframes lgDemoFadeIn {
    from { opacity: 0; transform: scale(.98); }
    to { opacity: 1; transform: scale(1); }
}
.enterprise-public .lg-demo-success-inner {
    text-align: center;
    max-width: 440px;
}
.enterprise-public .lg-demo-success-icon {
    font-size: 4rem;
    color: var(--ent-secondary);
    margin-bottom: 12px;
    animation: lgDemoBounce .6s ease-out;
}
@keyframes lgDemoBounce {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.15) rotate(-3deg); }
    60% { transform: scale(.95); }
}
.enterprise-public .lg-demo-success-title {
    font-family: "Fraunces", serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ent-text);
    margin-bottom: 10px;
    line-height: 1.1;
}
.enterprise-public .lg-demo-success-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}
.enterprise-public .lg-demo-stat {
    background: #fff;
    border: 1px solid var(--ent-border);
    border-radius: 12px;
    padding: 12px 20px;
    min-width: 90px;
}
.enterprise-public .lg-demo-stat-value {
    font-family: "Fraunces", serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ent-primary);
    line-height: 1;
}
.enterprise-public .lg-demo-stat-label {
    font-size: .72rem;
    color: var(--ent-text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    margin-top: 4px;
}

@media (max-width: 767.98px) {
    .enterprise-public .lg-demo-body { grid-template-columns: 1fr; }
    .enterprise-public .lg-demo-left { border-right: 0; border-bottom: 1px solid var(--ent-border); }
    .enterprise-public .lg-demo-grid { grid-template-columns: repeat(2, 1fr); }
    .enterprise-public .lg-demo-success-title { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════
   Case study page — hero + charts
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-case-hero {
    padding: 88px 0 56px;
    background: linear-gradient(180deg, var(--ent-bg-warm) 0%, var(--ent-bg-warm-2) 100%);
    position: relative;
    overflow: hidden;
}
.enterprise-public .lg-case-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(196,69,54,.12), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(212,165,74,.12), transparent 40%);
}
.enterprise-public .lg-case-hero-content { position: relative; z-index: 1; }
.enterprise-public .lg-case-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--ent-text-muted);
    margin-bottom: 20px;
}
.enterprise-public .lg-case-hero-breadcrumb a { color: var(--ent-primary); text-decoration: none; font-weight: 600; }

.enterprise-public .lg-case-hero-title {
    font-family: "Fraunces", serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--ent-text);
    letter-spacing: -.02em;
    line-height: 1.05;
    margin-bottom: 20px;
}
.enterprise-public .lg-case-hero-lead {
    font-size: 1.2rem;
    color: var(--ent-text-muted);
    line-height: 1.5;
    max-width: 680px;
    margin-bottom: 32px;
}

.enterprise-public .lg-case-hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 40px;
}
.enterprise-public .lg-case-hero-metric {
    background: var(--ent-surface);
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid var(--ent-border);
    box-shadow: 0 6px 18px rgba(43,38,32,.05);
}
.enterprise-public .lg-case-hero-metric-value {
    font-family: "Fraunces", serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--ent-primary);
    line-height: 1;
    margin-bottom: 4px;
}
.enterprise-public .lg-case-hero-metric-label {
    font-size: .82rem;
    color: var(--ent-text-muted);
    font-weight: 600;
}

.enterprise-public .lg-case-section {
    padding: 64px 0;
}
.enterprise-public .lg-case-section.dark {
    background: var(--ent-bg-warm-2);
}
.enterprise-public .lg-case-section-label {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--ent-primary);
    margin-bottom: 12px;
}
.enterprise-public .lg-case-section-title {
    font-family: "Fraunces", serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ent-text);
    letter-spacing: -.015em;
    line-height: 1.15;
    margin-bottom: 20px;
}
.enterprise-public .lg-case-section-body {
    font-size: 1.05rem;
    color: var(--ent-text);
    line-height: 1.7;
    max-width: 680px;
}
.enterprise-public .lg-case-section-body p { margin-bottom: 16px; }

.enterprise-public .lg-case-chart-card {
    background: var(--ent-surface);
    border-radius: 20px;
    border: 1px solid var(--ent-border);
    padding: 28px;
    box-shadow: 0 10px 30px rgba(43,38,32,.05);
    height: 100%;
}
.enterprise-public .lg-case-chart-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--ent-text);
    margin-bottom: 4px;
}
.enterprise-public .lg-case-chart-sub {
    font-size: .82rem;
    color: var(--ent-text-muted);
    margin-bottom: 20px;
}
.enterprise-public .lg-case-chart-shell { position: relative; height: 220px; }

.enterprise-public .lg-case-quote-block {
    background: var(--ent-surface);
    border-radius: 24px;
    border: 1px solid var(--ent-border);
    padding: 48px;
    box-shadow: 0 14px 40px rgba(43,38,32,.06);
    position: relative;
}
.enterprise-public .lg-case-quote-block::before {
    content: "\201C";
    position: absolute;
    top: 8px; left: 24px;
    font-family: "Fraunces", serif;
    font-size: 8rem;
    color: rgba(196,69,54,.15);
    line-height: 1;
}
.enterprise-public .lg-case-quote-text {
    font-family: "Fraunces", serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ent-text);
    margin-bottom: 24px;
    position: relative;
}
.enterprise-public .lg-case-quote-author { display: flex; gap: 14px; align-items: center; position: relative; }

.enterprise-public .lg-case-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.enterprise-public .lg-case-ba-card {
    background: var(--ent-surface);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--ent-border);
}
.enterprise-public .lg-case-ba-label {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
}
.enterprise-public .lg-case-ba-card.before .lg-case-ba-label { color: #a83826; }
.enterprise-public .lg-case-ba-card.after .lg-case-ba-label { color: var(--ent-secondary); }
.enterprise-public .lg-case-ba-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .92rem;
    color: var(--ent-text);
    line-height: 1.8;
}
.enterprise-public .lg-case-ba-list li {
    padding-left: 24px;
    position: relative;
}
.enterprise-public .lg-case-ba-card.before .lg-case-ba-list li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: #a83826;
    font-weight: 700;
}
.enterprise-public .lg-case-ba-card.after .lg-case-ba-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--ent-secondary);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .enterprise-public .lg-case-before-after { grid-template-columns: 1fr; }
    .enterprise-public .lg-case-quote-block { padding: 32px 24px; }
    .enterprise-public .lg-case-quote-text { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════
   Stock showcase panel (5° tab del feature tour)
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-panel-stock {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.enterprise-public .lg-panel-stock-bar {
    background: linear-gradient(180deg, #f5efe1, #ede4d0);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    border: 1px solid rgba(43, 38, 32, .08);
}
.enterprise-public .lg-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    background: rgba(0, 0, 0, .04);
    color: #6b5f52;
}
.enterprise-public .lg-stock-pill .lg-stock-cat { text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.enterprise-public .lg-stock-pill .lg-stock-num { font-weight: 800; color: #1d2530; }
.enterprise-public .lg-stock-pill.is-warn { background: rgba(212, 165, 74, .22); color: #9a7a2e; }
.enterprise-public .lg-stock-pill.is-warn .lg-stock-num { color: #9a7a2e; }
.enterprise-public .lg-stock-pill.is-empty { background: rgba(196, 69, 54, .18); color: #c44536; }
.enterprise-public .lg-stock-pill.is-empty .lg-stock-num { color: #c44536; }

.enterprise-public .lg-panel-stock-popover {
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 14px 32px rgba(43, 38, 32, .14);
    border: 1px solid rgba(43, 38, 32, .06);
    font-size: .82rem;
    color: #1d2530;
    position: relative;
    margin-left: 28px;
    max-width: 320px;
    animation: lg-stock-pop-bob 3s ease-in-out infinite;
}
@keyframes lg-stock-pop-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.enterprise-public .lg-pop-arrow {
    position: absolute;
    top: -6px;
    left: 36px;
    width: 12px; height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(43, 38, 32, .06);
    border-left: 1px solid rgba(43, 38, 32, .06);
}
.enterprise-public .lg-pop-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(43, 38, 32, .08);
    margin-bottom: 8px;
}
.enterprise-public .lg-pop-cat {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 1rem;
}
.enterprise-public .lg-pop-total { font-weight: 800; color: #c44536; font-variant-numeric: tabular-nums; }
.enterprise-public .lg-pop-sub {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: #c44536;
    margin-bottom: 8px;
}
.enterprise-public .lg-pop-list { display: flex; flex-direction: column; gap: 4px; }
.enterprise-public .lg-pop-row {
    display: grid;
    grid-template-columns: 16px 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: .8rem;
}
.enterprise-public .lg-pop-row.is-empty { background: rgba(196, 69, 54, .08); color: #c44536; }
.enterprise-public .lg-pop-row.is-warn { background: rgba(212, 165, 74, .12); color: #9a7a2e; }
.enterprise-public .lg-pop-row.is-ok { color: #6b5f52; }
.enterprise-public .lg-pop-row > i { font-size: .85rem; }
.enterprise-public .lg-pop-row.is-ok > i { color: #3d5a3c; opacity: .55; }
.enterprise-public .lg-pop-name { font-weight: 600; }
.enterprise-public .lg-pop-qty { font-weight: 800; font-variant-numeric: tabular-nums; }
.enterprise-public .lg-pop-thr { font-size: .65rem; opacity: .55; }

.enterprise-public .lg-panel-stock-events {
    background: #1d2530;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: auto;
    font-size: .76rem;
}
.enterprise-public .lg-stock-event-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .55;
    margin-bottom: 6px;
}
.enterprise-public .lg-stock-event {
    display: grid;
    grid-template-columns: 44px 8px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}
.enterprise-public .lg-stock-event-time {
    color: rgba(255, 255, 255, .55);
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: .72rem;
}
.enterprise-public .lg-stock-event-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.enterprise-public .lg-stock-event-op {
    color: rgba(255, 255, 255, .5);
    font-size: .7rem;
}

/* ═══════════════════════════════════════════════════════════
   Sezione 'Magazzino vivo' standalone (con mockup grande)
   ═══════════════════════════════════════════════════════════ */
.enterprise-public .lg-mag-stat {
    background: var(--ent-surface);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--ent-border);
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}
.enterprise-public .lg-mag-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(43, 38, 32, .08);
}
.enterprise-public .lg-mag-stat-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.enterprise-public .lg-mag-stat-title {
    font-weight: 800;
    font-size: .95rem;
    color: var(--ent-text);
    margin-bottom: 4px;
}
.enterprise-public .lg-mag-stat-copy {
    font-size: .82rem;
    color: var(--ent-text-muted);
    line-height: 1.45;
}

/* Mockup grande */
.enterprise-public .lg-mag-mockup {
    position: relative;
    background: linear-gradient(180deg, #f8f4e9, #ede4d0);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(43, 38, 32, .08);
    box-shadow: 0 28px 60px rgba(43, 38, 32, .1), inset 0 0 0 1px rgba(255, 255, 255, .5);
    min-height: 360px;
}

.enterprise-public .lg-mag-mockup-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, .55);
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(43, 38, 32, .06);
}

.enterprise-public .lg-mag-mock-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    background: rgba(0, 0, 0, .04);
    color: #6b5f52;
    transition: transform .2s ease;
}
.enterprise-public .lg-mag-mock-pill strong {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
    opacity: .8;
}
.enterprise-public .lg-mag-mock-pill.is-warn { background: rgba(212, 165, 74, .25); color: #9a7a2e; }
.enterprise-public .lg-mag-mock-pill.is-empty { background: rgba(196, 69, 54, .2); color: #c44536; }
.enterprise-public .lg-mag-mock-pill.active {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(212, 165, 74, .4);
    background: rgba(212, 165, 74, .35);
}

.enterprise-public .lg-mag-mock-popover {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 16px;
    margin-left: 80px;
    max-width: 380px;
    box-shadow: 0 18px 44px rgba(43, 38, 32, .15);
    border: 1px solid rgba(43, 38, 32, .06);
    position: relative;
    color: #1d2530;
    animation: lg-mag-mock-bob 4s ease-in-out infinite;
}
@keyframes lg-mag-mock-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.enterprise-public .lg-mag-mock-pop-arrow {
    position: absolute;
    top: -7px;
    left: 80px;
    width: 14px; height: 14px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(43, 38, 32, .06);
    border-left: 1px solid rgba(43, 38, 32, .06);
}

.enterprise-public .lg-mag-mock-pop-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(43, 38, 32, .08);
    margin-bottom: 10px;
}
.enterprise-public .lg-mag-mock-pop-cat {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 1.2rem;
}
.enterprise-public .lg-mag-mock-pop-total {
    font-weight: 800;
    color: #c44536;
    font-variant-numeric: tabular-nums;
}
.enterprise-public .lg-mag-mock-pop-sub {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: #c44536;
    margin-bottom: 10px;
}

.enterprise-public .lg-mag-mock-pop-row {
    display: grid;
    grid-template-columns: 18px 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: .88rem;
    margin-bottom: 4px;
}
.enterprise-public .lg-mag-mock-pop-row.is-empty { background: rgba(196, 69, 54, .08); color: #c44536; }
.enterprise-public .lg-mag-mock-pop-row.is-warn { background: rgba(212, 165, 74, .14); color: #9a7a2e; }
.enterprise-public .lg-mag-mock-pop-row.is-ok { color: #6b5f52; }
.enterprise-public .lg-mag-mock-pop-row > i { font-size: .95rem; }
.enterprise-public .lg-mag-mock-pop-row.is-ok > i { color: #3d5a3c; opacity: .55; }
.enterprise-public .lg-mag-mock-pop-row > span { font-weight: 600; }
.enterprise-public .lg-mag-mock-pop-row > strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.enterprise-public .lg-mag-mock-pop-row > em { font-style: normal; font-size: .7rem; opacity: .6; }

.enterprise-public .lg-mag-mock-cursor {
    position: absolute;
    top: 56px;
    left: 130px;
    color: var(--ent-primary);
    font-size: 1.6rem;
    transform: rotate(-15deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25));
    animation: lg-mag-cursor 4s ease-in-out infinite;
}
@keyframes lg-mag-cursor {
    0%, 100% { transform: rotate(-15deg) translate(0, 0); }
    50% { transform: rotate(-12deg) translate(-3px, -2px); }
}

@media (max-width: 767.98px) {
    .enterprise-public .lg-mag-mock-popover { margin-left: 16px; max-width: calc(100% - 16px); }
    .enterprise-public .lg-mag-mock-cursor { display: none; }
    .enterprise-public .lg-mag-mock-pill { font-size: .72rem; padding: 4px 10px; }
}

/* ═══════════════════════════════════════════════════════════
   SelfOrder v2 — 2 step mobile-first (so2-*)
   ═══════════════════════════════════════════════════════════ */

.so2-page {
    --so2-primary: #c44536;
    --so2-primary-dark: #a83826;
    --so2-secondary: #3d5a3c;
    --so2-accent: #d4a54a;
    --so2-bg: #faf6ee;
    --so2-bg-2: #f2ecdf;
    --so2-surface: #ffffff;
    --so2-text: #2b2620;
    --so2-muted: #6b5f52;
    --so2-border: rgba(43, 38, 32, .1);
    --so2-shadow-sm: 0 4px 14px rgba(43, 38, 32, .06);
    --so2-shadow-md: 0 14px 34px rgba(43, 38, 32, .1);
    --so2-radius: 14px;

    min-height: 100vh;
    background: var(--so2-bg);
    color: var(--so2-text);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    padding: 0;
}

.so2-page * { box-sizing: border-box; }

/* ── Step 1: form dati cliente ──────────────────────────────────── */
.so2-step[data-step="1"] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 16px;
    background:
        radial-gradient(circle at 20% 10%, rgba(196, 69, 54, .08), transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(212, 165, 74, .12), transparent 45%),
        var(--so2-bg);
}

.so2-step1-card {
    background: var(--so2-surface);
    border-radius: 22px;
    box-shadow: var(--so2-shadow-md);
    border: 1px solid var(--so2-border);
    padding: 28px 22px;
    width: 100%;
    max-width: 460px;
    text-align: center;
}

.so2-hero-ico {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 12px;
    animation: so2-bob 3.5s ease-in-out infinite;
}
@keyframes so2-bob {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-6px) rotate(4deg); }
}

.so2-h1 {
    font-family: "Fraunces", serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 8px;
}

.so2-lead {
    font-size: .95rem;
    color: var(--so2-muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.so2-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }

.so2-field { display: block; }

.so2-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--so2-text);
    margin-bottom: 6px;
    letter-spacing: .01em;
}
.so2-req { color: var(--so2-primary); }
.so2-opt { color: var(--so2-muted); font-weight: 500; font-size: .72rem; }

.so2-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--so2-border);
    border-radius: 12px;
    background: var(--so2-bg);
    font-size: 1rem;
    color: var(--so2-text);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s ease, background .15s ease;
    min-height: 48px; /* touch target */
}
.so2-input:focus {
    outline: 0;
    border-color: var(--so2-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(196, 69, 54, .12);
}
.so2-input.is-invalid {
    border-color: var(--so2-primary);
    background: rgba(196, 69, 54, .05);
}

.so2-cta {
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    background: var(--so2-primary);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 16px;
    min-height: 54px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(196, 69, 54, .3);
    transition: transform .1s ease, background .15s ease, box-shadow .15s ease;
}
.so2-cta:hover { background: var(--so2-primary-dark); }
.so2-cta:active { transform: scale(.98); }

.so2-error {
    color: var(--so2-primary);
    font-size: .85rem;
    font-weight: 600;
    margin-top: 4px;
    min-height: 1.2em;
}

.so2-footer-mini {
    margin-top: 20px;
    font-size: .78rem;
    color: var(--so2-muted);
    text-align: center;
}
.so2-footer-mini i { color: var(--so2-secondary); margin-right: 4px; }

/* ── Step 2: prodotti + carrello ────────────────────────────────── */
.so2-step[data-step="2"] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 140px; /* space for the sticky cart */
}

.so2-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 246, 238, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--so2-border);
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
}

.so2-back {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--so2-surface);
    color: var(--so2-text);
    box-shadow: var(--so2-shadow-sm);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.so2-back:active { transform: scale(.95); }

.so2-topbar-title { min-width: 0; overflow: hidden; }
.so2-topbar-hello { font-size: 1rem; font-weight: 700; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so2-topbar-sub { font-size: .76rem; color: var(--so2-muted); line-height: 1.1; }

.so2-topbar-badge {
    background: var(--so2-text);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Category chips row */
.so2-cats {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.so2-cats::-webkit-scrollbar { display: none; }
.so2-cats { scrollbar-width: none; }

.so2-cat {
    flex: 0 0 auto;
    scroll-snap-align: start;
    border: 1.5px solid var(--so2-border);
    background: var(--so2-surface);
    color: var(--so2-muted);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all .15s ease;
}
.so2-cat.active {
    background: var(--so2-text);
    color: #fff;
    border-color: var(--so2-text);
}

/* Products grid */
.so2-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 6px 12px 16px;
}
@media (min-width: 576px) { .so2-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .so2-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .so2-products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 10px 20px 24px; } }

.so2-prod {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background: var(--so2-surface);
    border: 1.5px solid var(--so2-border);
    border-radius: var(--so2-radius);
    padding: 12px;
    text-align: left;
    cursor: pointer;
    min-height: 110px;
    transition: transform .1s ease, border-color .15s ease, box-shadow .15s ease;
    box-shadow: var(--so2-shadow-sm);
}
.so2-prod:active { transform: scale(.97); border-color: var(--so2-primary); }
.so2-prod:hover { box-shadow: var(--so2-shadow-md); }

.so2-prod-emoji { font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.so2-prod-name {
    font-weight: 700;
    font-size: .92rem;
    line-height: 1.2;
    color: var(--so2-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.so2-prod-price {
    margin-top: 6px;
    font-weight: 800;
    color: var(--so2-primary);
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}
.so2-prod-variants {
    font-size: .68rem;
    color: var(--so2-accent);
    font-weight: 700;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.so2-prod-variants i { font-size: .75rem; }

/* ── Sticky bottom cart drawer ──────────────────────────────────── */
.so2-cart {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--so2-surface);
    border-top: 1px solid var(--so2-border);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -18px 40px rgba(43, 38, 32, .15);
    z-index: 50;
    max-height: 72vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: max-height .3s ease;
}
.so2-cart[data-expanded="false"] { max-height: 138px; }
.so2-cart[data-expanded="false"] .so2-cart-body { display: none; }

/* Gentle pulse when a product is added */
.so2-cart.so2-cart-pulse .so2-cart-badge {
    animation: so2-cart-pulse .45s ease-out;
}
@keyframes so2-cart-pulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.so2-cart-handle {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 12px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--so2-text);
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.so2-cart-handle::before {
    content: "";
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 4px;
    border-radius: 4px;
    background: rgba(43, 38, 32, .15);
}
.so2-cart { position: fixed; }
.so2-cart-handle { position: relative; }

.so2-cart-badge {
    background: var(--so2-primary);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}
.so2-cart-handle-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: .95rem;
}
.so2-cart-handle-label i { color: var(--so2-primary); }
.so2-cart-handle-caret { opacity: .5; transition: transform .2s ease; }
.so2-cart[data-expanded="true"] .so2-cart-handle-caret { transform: rotate(180deg); }

.so2-cart-total {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--so2-primary);
    font-variant-numeric: tabular-nums;
}

.so2-cart-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 16px;
    min-height: 0;
}

.so2-cart-empty {
    color: var(--so2-muted);
    font-style: italic;
    text-align: center;
    padding: 20px 10px;
    font-size: .88rem;
}

.so2-cart-line {
    display: grid;
    grid-template-columns: 1fr auto auto 28px;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--so2-border);
}
.so2-cart-line:last-child { border-bottom: 0; }

.so2-cart-line-main { min-width: 0; }
.so2-cart-line-name {
    font-weight: 700;
    font-size: .92rem;
    color: var(--so2-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.so2-cart-vars {
    font-size: .74rem;
    color: var(--so2-accent);
    font-weight: 600;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.so2-cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--so2-bg-2);
    border-radius: 10px;
    padding: 2px;
}
.so2-qty-btn {
    width: 30px; height: 30px;
    border: 0;
    background: transparent;
    color: var(--so2-text);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
}
.so2-qty-btn:hover { background: var(--so2-surface); }
.so2-qty-btn:active { background: var(--so2-primary); color: #fff; }
.so2-qty-num {
    min-width: 22px;
    text-align: center;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: .95rem;
}

.so2-cart-amount {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: .9rem;
    color: var(--so2-text);
}

.so2-cart-remove {
    width: 28px; height: 28px;
    border: 0;
    background: transparent;
    color: var(--so2-muted);
    cursor: pointer;
    border-radius: 8px;
    font-size: .92rem;
}
.so2-cart-remove:hover { color: var(--so2-primary); background: rgba(196, 69, 54, .08); }

.so2-pay {
    margin: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
    background: var(--so2-secondary);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 16px;
    font-weight: 800;
    font-size: 1.05rem;
    min-height: 54px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(61, 90, 60, .3);
    transition: background .15s ease, transform .1s ease;
}
.so2-pay:hover:not(:disabled) { background: #2d4a2c; }
.so2-pay:active:not(:disabled) { transform: scale(.98); }
.so2-pay:disabled {
    background: rgba(43, 38, 32, .2);
    color: rgba(43, 38, 32, .4);
    cursor: not-allowed;
    box-shadow: none;
}

.so2-message { padding: 0 16px 12px; }

/* Variant modal cleanup */
.so2-variant-opt {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1.5px solid var(--so2-border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s ease;
    background: var(--so2-surface);
}
.so2-variant-opt:hover { border-color: var(--so2-primary); }
.so2-variant-opt:has(input:checked) {
    border-color: var(--so2-primary);
    background: rgba(196, 69, 54, .04);
}

/* Desktop: expanded cart drawer by default, products take more space */
@media (min-width: 992px) {
    .so2-cart[data-expanded="false"] { max-height: 138px; }
    .so2-cart { max-width: 420px; right: 20px; bottom: 20px; border-radius: 20px; }
    .so2-step[data-step="2"] { padding-bottom: 0; padding-right: 460px; }
    .so2-step[data-step="2"] .so2-cart[data-expanded="false"] { max-height: 160px; }
    .so2-cart { box-shadow: var(--so2-shadow-md); border: 1px solid var(--so2-border); }
}

/* Very small phones */
@media (max-width: 360px) {
    .so2-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px 10px 12px; }
    .so2-prod { min-height: 100px; padding: 10px; }
    .so2-prod-name { font-size: .86rem; }
    .so2-cart[data-expanded="false"] { max-height: 128px; }
}

/* Landscape short viewports */
@media (max-height: 600px) and (orientation: landscape) {
    .so2-step[data-step="1"] { padding: 16px; min-height: auto; }
    .so2-step1-card { padding: 20px; }
    .so2-hero-ico { font-size: 2rem; margin-bottom: 6px; }
}

/* ═══════════════════════════════════════════════════════════════════
   POS 4:3 layout — per schermi ELO, iPad classic e POS tradizionali
   Forza un grid 2-col (prodotti + carrello) compatto alla larghezza
   tipica 1024×768 o 1280×960. Nasconde suggerimenti e compatta header.
   ═══════════════════════════════════════════════════════════════════ */

body.pos-43 .kiosk-main-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: .75rem !important;
    align-items: start;
}
body.pos-43 .kiosk-main-row > .product-zone,
body.pos-43 .kiosk-main-row > .checkout-zone {
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}
/* Suggerimenti nascosti in 4:3 per guadagnare spazio */
body.pos-43 .kiosk-main-row > .suggestions-zone {
    display: none !important;
}

/* Header più compatto */
body.pos-43 .pos-header {
    gap: .35rem;
}
body.pos-43 .pos-title {
    font-size: 1.1rem !important;
    font-weight: 800;
}
body.pos-43 .pos-header-row-primary {
    padding: .25rem 0 !important;
}
body.pos-43 .pos-header-row-tools {
    gap: .4rem;
}
body.pos-43 .pos-toolbar-btn {
    padding: .25rem .5rem !important;
    font-size: .82rem;
}
/* Label estese dei button nascoste in 4:3 (resta solo l'icona) */
body.pos-43 .pos-toolbar-btn > span {
    display: none !important;
}
body.pos-43 .pos-operator-input {
    max-width: 130px;
}
body.pos-43 .pos-search {
    max-width: 220px;
}

/* Category toolbar compatta */
body.pos-43 .category-toolbar {
    gap: .25rem;
    padding: .25rem 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
}
body.pos-43 .category-toolbar::-webkit-scrollbar { display: none; }
body.pos-43 .category-filter {
    flex: 0 0 auto !important;
    padding: .25rem .6rem !important;
    font-size: .78rem !important;
    white-space: nowrap;
}

/* Products grid: 4 colonne fisse anche sotto 1200px */
body.pos-43 .product-zone .row.g-3 {
    --bs-gutter-x: .5rem;
    --bs-gutter-y: .5rem;
}
body.pos-43 .product-card {
    /* Override Bootstrap col-* classes per mantenere 4 colonne */
    flex: 0 0 25% !important;
    max-width: 25% !important;
}
@media (min-width: 1400px) {
    body.pos-43 .product-card {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
}

/* Product button ridotto ma toccabile */
body.pos-43 .product-button {
    min-height: 110px !important;
    padding: .65rem .5rem !important;
    font-size: .82rem;
}
body.pos-43 .product-title {
    font-size: .85rem !important;
    line-height: 1.15;
}
body.pos-43 .product-price {
    font-size: .9rem !important;
    font-weight: 800;
}

/* Checkout panel compatto */
body.pos-43 .checkout-panel {
    padding: .75rem !important;
}
body.pos-43 .checkout-panel .card-body {
    padding: .75rem !important;
}
body.pos-43 #cartTotal {
    font-size: 1.8rem !important;
}
body.pos-43 .checkout-main-btn {
    padding: .6rem .75rem !important;
    font-size: .92rem !important;
}
body.pos-43 #changeAmount {
    font-size: 1.3rem !important;
}
body.pos-43 .cart-items-compact .cart-item-row {
    padding: .35rem .5rem !important;
    font-size: .82rem;
}

/* Quick-cash chips in 2 righe strette */
body.pos-43 .cash-chip {
    padding: .2rem .55rem !important;
    font-size: .78rem !important;
}
body.pos-43 .quick-action-btn {
    padding: .55rem .75rem !important;
    font-size: .92rem !important;
}

/* Ops status strip più compatta */
body.pos-43 .ops-status-strip {
    padding: .25rem .5rem !important;
    font-size: .76rem !important;
}
body.pos-43 .ops-status-strip .ops-stat {
    padding: .1rem .4rem !important;
    gap: .3rem;
}
body.pos-43 .ops-status-strip .ops-label {
    display: none; /* solo icona sotto i 4:3 ristretti */
}
body.pos-43 .ops-inv-pill {
    font-size: .68rem !important;
    padding: .08rem .4rem !important;
}
body.pos-43 .ops-inv-pill .ops-inv-pill-cat {
    display: none; /* mostro solo il numero in 4:3 */
}

/* Toggle attivo evidenziato */
body.pos-43 #ratioToggle {
    background: var(--lg-primary, #c44536);
    color: #fff;
    border-color: var(--lg-primary, #c44536);
}

/* Narrow 4:3 (~1024px): ulteriore riduzione */
@media (max-width: 1100px) {
    body.pos-43 .kiosk-main-row {
        grid-template-columns: minmax(0, 1fr) 280px !important;
    }
    body.pos-43 .product-card {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
    body.pos-43 .pos-search { max-width: 160px; }
    body.pos-43 .pos-operator-input { max-width: 110px; }
}
