* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Tahoma, Arial, sans-serif; background: #eef1f6; color: #19212d; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.tablet-shell {
    max-width: 1180px;
    min-height: 100vh;
    margin: 0 auto;
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
    box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.06), 0 12px 32px rgba(31, 41, 55, 0.08);
    padding: 18px;
}

.topbar {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e4e9f2;
    position: sticky;
    top: 0;
    z-index: 20;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-badge {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffd76f, #ffb347);
    font-size: 28px;
}
.brand strong { display: block; font-size: 22px; }
.brand small { color: #5f6b7d; display: block; margin-top: 4px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.user-chip {
    display: flex;
    flex-direction: column;
    padding: 8px 14px;
    border-radius: 16px;
    background: #f5f8ff;
    border: 1px solid #dde6f6;
}
.user-chip span { color: #5f6b7d; font-size: 12px; }
.user-chip strong { font-size: 14px; }

.role-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0 16px;
}
.nav-pill {
    min-width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #dde6f4;
    color: #344054;
}
.nav-pill.active {
    background: #16243a;
    color: #ffffff;
    border-color: #16243a;
}

.page { display: grid; gap: 16px; }
.panel {
    background: #ffffff;
    border: 1px solid #e5eaf3;
    border-radius: 26px;
    padding: 18px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.section-head h3, .section-head h4 { margin: 0; }
.section-head small, .small-link { color: #667085; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 16px;
}
.hero-card.intro {
    background: linear-gradient(135deg, #16243a 0%, #263a5b 100%);
    color: #ffffff;
    border-radius: 30px;
    padding: 24px;
}
.hero-card h1 { margin: 0 0 10px; font-size: 34px; }
.hero-card p { margin: 0 0 16px; color: rgba(255,255,255,0.86); line-height: 1.8; }
.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.mini-stat {
    background: rgba(255,255,255,0.12);
    padding: 14px;
    border-radius: 18px;
}
.mini-stat strong { display: block; font-size: 24px; margin-bottom: 4px; }

.role-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    border-radius: 30px;
    color: #19212d;
    min-height: 290px;
    border: 1px solid rgba(0,0,0,0.05);
}
.role-card.manager { background: linear-gradient(180deg, #fff4da, #ffe3a6); }
.role-card.cashier { background: linear-gradient(180deg, #e1f3ff, #bde4ff); }
.role-card.chef { background: linear-gradient(180deg, #e7ffe9, #c8f7d0); }
.role-icon { font-size: 38px; }
.role-card h2 { margin: 0; font-size: 26px; }
.role-card p { margin: 0; line-height: 1.8; color: #344054; }
.enter-btn {
    display: inline-flex;
    align-self: flex-start;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.88);
    font-weight: bold;
}

.stats-grid, .grid-2 {
    display: grid;
    gap: 16px;
}
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.stat-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #e5eaf3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.stat-card span { font-size: 30px; }
.stat-card strong { font-size: 28px; }
.stat-card small { color: #667085; }

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.quick-tile {
    background: #f7f9fd;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    padding: 18px;
    min-height: 88px;
    display: flex;
    align-items: center;
}
.stack-list { display: grid; gap: 10px; }
.stack-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f9fbff;
    border: 1px solid #e9eef6;
}
.stack-item small, .danger-text { color: #b42318; }
.order-tile {
    padding: 14px;
    border: 1px solid #e7ecf4;
    border-radius: 18px;
    background: #fbfcff;
    display: grid;
    gap: 12px;
}
.order-side {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}
.order-actions-row {
    display: grid;
    gap: 10px;
}
.order-actions-row form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-wrap {
    overflow: auto;
    border: 1px solid #edf1f6;
    border-radius: 18px;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: #ffffff;
}
.data-table.compact { min-width: 960px; }
.data-table th,
.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #edf1f6;
    text-align: right;
    vertical-align: top;
}
.data-table th {
    background: #f8fafc;
    color: #475467;
    font-size: 14px;
}
.empty-row { text-align: center; color: #667085; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field span { font-weight: bold; font-size: 14px; color: #344054; }
.field input,
.field select,
.field textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #d8e1ed;
    background: #fff;
    padding: 13px 14px;
    min-height: 48px;
}
.field textarea { resize: vertical; min-height: 90px; }
.full { grid-column: 1 / -1; }
.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.form-actions.inline { align-self: end; }

.primary-btn,
.ghost-btn,
.small-btn {
    border: 0;
    border-radius: 16px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.primary-btn, .small-btn.solid {
    background: #16243a;
    color: #fff;
}
.ghost-btn, .small-btn {
    background: #eef3fb;
    color: #16243a;
}
.small-btn {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
}
.small-btn.danger { background: #fee4e2; color: #b42318; }

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.actions.stacked {
    flex-direction: column;
    align-items: stretch;
}
.badge {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    background: #eef2f6;
    color: #344054;
}
.badge.success { background: #dcfae6; color: #05603a; }
.badge.warning { background: #fff3d5; color: #9a6700; }
.badge.danger { background: #fee4e2; color: #b42318; }
.badge.neutral { background: #eef2f6; color: #344054; }

.flash-stack { display: grid; gap: 10px; margin-bottom: 14px; }
.flash {
    padding: 13px 16px;
    border-radius: 16px;
    font-weight: bold;
}
.flash.success { background: #dcfae6; color: #05603a; }
.flash.error { background: #fee4e2; color: #b42318; }

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    padding: 10px 12px;
    border-radius: 14px;
    background: #f3f6fb;
    border: 1px solid #dbe4f2;
}
.tag.active {
    background: #16243a;
    color: #fff;
    border-color: #16243a;
}

.product-section {
    padding: 14px;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    background: #fbfcff;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.product-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dfe7f2;
}
.product-top {
    display: flex;
    gap: 10px;
    align-items: center;
}
.product-top .emoji { font-size: 26px; }
.qty-input {
    width: 100%;
    border: 1px solid #d8e1ed;
    padding: 10px 12px;
    border-radius: 14px;
}

.summary-box {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: #16243a;
    color: #ffffff;
}
.summary-box small { color: rgba(255,255,255,0.8); }

.invoice-panel { max-width: 900px; margin: 0 auto; }
.invoice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.invoice-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.invoice-meta div,
.invoice-totals div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: #f7f9fd;
    border: 1px solid #e4e9f2;
}
.invoice-totals {
    display: grid;
    gap: 10px;
    max-width: 420px;
    margin-right: auto;
    margin-top: 16px;
}
.invoice-totals .total-line {
    background: #16243a;
    color: #ffffff;
}
.invoice-foot {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed #d0d7e2;
    text-align: center;
    color: #667085;
}

.kitchen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.kitchen-card {
    border: 2px dashed #dbe4f2;
    border-radius: 22px;
    padding: 18px;
    background: #ffffff;
    display: grid;
    gap: 14px;
}
.kitchen-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.kitchen-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bar-list { display: grid; gap: 14px; }
.bar-item { display: grid; gap: 8px; }
.bar-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bar-track {
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: #edf2f8;
}
.bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}
.info-box {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: #f7f9fd;
    border: 1px solid #e5eaf3;
}
.tips-list {
    margin: 0;
    padding-right: 18px;
    display: grid;
    gap: 10px;
    line-height: 1.9;
}
.empty {
    padding: 22px;
    text-align: center;
    color: #667085;
}
.delivery-only { display: none; }


.cashier-pos-page {
    display: grid;
    gap: 16px;
}
.cashier-pos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
    gap: 16px;
    align-items: start;
}
.cashier-catalog,
.cashier-cart {
    padding: 16px;
}
.cashier-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.cashier-toolbar h2 {
    margin: 0 0 6px;
    font-size: 28px;
}
.cashier-toolbar p {
    margin: 0;
    color: #667085;
    line-height: 1.8;
}
.cashier-toolbar-tools {
    display: flex;
    gap: 10px;
    align-items: center;
}
.cashier-search-wrap {
    min-width: 260px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f7f9fc;
    border: 1px solid #e1e7f0;
    border-radius: 16px;
}
.cashier-search-wrap input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
}
.cashier-category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.cashier-tab {
    border: 1px solid #d9e2ef;
    background: #f8fbff;
    color: #253247;
    border-radius: 999px;
    padding: 10px 14px;
}
.cashier-tab.is-active {
    background: #24364f;
    color: #fff;
    border-color: #24364f;
}
.cashier-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.cashier-product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dfe7f2;
    min-height: 220px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cashier-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    border-color: #cdd8e7;
}
.cashier-product-card.has-qty {
    border-color: #7ab5ff;
    box-shadow: 0 0 0 2px rgba(122, 181, 255, 0.18);
}
.cashier-product-media {
    min-height: 110px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef5ff, #fff7e9);
    display: grid;
    place-items: center;
}
.cashier-product-media .emoji {
    font-size: 56px;
    line-height: 1;
}
.cashier-product-body {
    display: grid;
    gap: 10px;
}
.cashier-product-meta {
    display: grid;
    gap: 4px;
}
.cashier-product-meta strong {
    font-size: 17px;
}
.cashier-product-meta small,
.cashier-price-stack small {
    color: #667085;
}
.cashier-product-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cashier-price-stack {
    display: grid;
    gap: 4px;
}
.cashier-price-stack span {
    font-size: 18px;
    font-weight: bold;
    color: #132238;
}
.qty-stepper {
    display: inline-grid;
    grid-template-columns: 42px 58px 42px;
    align-items: center;
    border: 1px solid #d8e1ed;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.qty-btn {
    border: 0;
    background: #eff4fb;
    min-height: 44px;
    font-size: 24px;
    color: #1f2d3d;
}
.qty-stepper .qty-input {
    min-height: 44px;
    border: 0;
    border-right: 1px solid #e3e9f2;
    border-left: 1px solid #e3e9f2;
    border-radius: 0;
    text-align: center;
    padding: 0 8px;
}
.cashier-cart {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 120px);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}
.cashier-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cashier-cart-head small {
    color: #667085;
}
.cashier-cart-head h3 {
    margin: 4px 0 0;
    font-size: 25px;
}
.cashier-cart-badge {
    min-width: 72px;
    padding: 10px 12px;
    border-radius: 18px;
    background: #24364f;
    color: #fff;
    text-align: center;
    display: grid;
}
.cashier-cart-badge span {
    font-size: 22px;
    font-weight: bold;
}
.service-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.service-chip {
    border: 1px solid #d9e2ef;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 10px;
    font-weight: bold;
    color: #344054;
}
.service-chip.active {
    background: #24364f;
    color: #fff;
    border-color: #24364f;
}
.cashier-cart-scroll {
    overflow: auto;
    display: grid;
    gap: 14px;
    padding-left: 2px;
}
.cashier-customer-box,
.selected-items-box,
.cashier-cost-box {
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e3e9f2;
}
.mini-fields {
    display: grid;
    gap: 10px;
}
.mini-fields.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.compact-field {
    gap: 6px;
}
.compact-field span {
    font-size: 13px;
}
.compact-field input,
.compact-field select,
.compact-field textarea {
    min-height: 44px;
    border-radius: 14px;
    padding: 11px 12px;
}
.tiny-head {
    margin-bottom: 12px;
}
.selected-items-list {
    display: grid;
    gap: 10px;
}
.cart-empty-state {
    text-align: center;
    color: #667085;
    padding: 18px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px dashed #d7dfeb;
}
.cart-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #e4ebf5;
}
.cart-line-main {
    display: grid;
    gap: 4px;
}
.cart-line-main strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.cart-line-main small {
    color: #667085;
}
.cart-line-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cart-qty-chip {
    min-width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #d8e1ed;
    display: grid;
    place-items: center;
    font-weight: bold;
}
.cart-mini-btn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 0;
    background: #eaf1fb;
    color: #1b283d;
    font-size: 18px;
}
.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 2px;
    color: #344054;
}
.summary-line-total {
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #24364f;
    color: #fff;
}
.cashier-summary-stick {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #dfe7f2;
}
.cashier-submit-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 18px;
    font-size: 18px;
}
.recent-orders-panel {
    overflow: hidden;
}
.cashier-product-card.is-hidden {
    display: none;
}
.dinein-only,
.delivery-only {
    display: none;
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-card.intro { grid-column: 1 / -1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .kitchen-grid, .invoice-meta { grid-template-columns: 1fr; }
    .cashier-pos-layout { grid-template-columns: 1fr; }
    .cashier-cart { position: static; max-height: none; }
    .cashier-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .tablet-shell { padding: 10px; }
    .topbar { border-radius: 18px; padding: 14px; position: static; }
    .hero-grid, .quick-grid, .stats-grid, .form-grid, .product-grid { grid-template-columns: 1fr; }
    .role-card { min-height: auto; }
    .cashier-toolbar,
    .cashier-product-foot,
    .cashier-cart-head { flex-direction: column; align-items: stretch; }
    .cashier-search-wrap { min-width: 0; }
    .cashier-products-grid,
    .mini-fields.two-cols,
    .service-switcher { grid-template-columns: 1fr; }
}

@media print {
    body { background: #fff; }
    .topbar, .role-nav, .flash-stack, .invoice-actions { display: none !important; }
    .tablet-shell { box-shadow: none; max-width: none; padding: 0; }
    .panel { border: 0; padding: 0; }
}

.cashier-clean-page {
    gap: 18px;
}
.cashier-clean-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(350px, 0.92fr);
    gap: 18px;
    align-items: start;
}
.cashier-clean-page .cashier-stage-panel,
.cashier-clean-page .cashier-cart-panel {
    padding: 18px;
    border-radius: 30px;
}
.cashier-clean-page .cashier-stage-panel {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.cashier-clean-page .cashier-cart-panel {
    position: sticky;
    top: 94px;
    max-height: calc(100vh - 120px);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
    border-color: #dce5f2;
}
.cashier-clean-page .cashier-stage-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.cashier-clean-page .cashier-stage-head small {
    display: block;
    color: #5f6b7d;
    margin-bottom: 6px;
    font-weight: bold;
}
.cashier-clean-page .cashier-stage-head h2 {
    margin: 0 0 6px;
    font-size: 30px;
}
.cashier-clean-page .cashier-stage-head p {
    margin: 0;
    color: #667085;
    line-height: 1.8;
}
.cashier-clean-page .cashier-main-search {
    min-width: 320px;
    min-height: 58px;
    padding: 14px 16px;
    border-radius: 20px;
    background: #f5f8fd;
}
.cashier-clean-page .cashier-main-search span {
    font-size: 20px;
}
.cashier-clean-page .cashier-main-search input {
    font-size: 16px;
}
.cashier-clean-page .cashier-category-tabs {
    margin-bottom: 18px;
    padding-bottom: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
}
.cashier-clean-page .cashier-tab {
    white-space: nowrap;
    padding: 12px 18px;
    border-radius: 16px;
    font-weight: bold;
    background: #f6f9fd;
}
.cashier-clean-page .cashier-clean-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.cashier-clean-page .cashier-clean-card {
    position: relative;
    min-height: 255px;
    padding: 14px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #dfe7f2;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}
.cashier-clean-page .cashier-clean-card:focus-visible {
    outline: 3px solid rgba(54, 113, 194, 0.25);
    outline-offset: 2px;
}
.cashier-clean-page .cashier-clean-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(20, 31, 51, 0.10);
}
.cashier-clean-page .cashier-clean-card.has-qty {
    border-color: #7ca9ea;
    box-shadow: 0 0 0 3px rgba(91, 144, 219, 0.16), 0 16px 30px rgba(20, 31, 51, 0.08);
}
.cashier-clean-page .cashier-product-media {
    min-height: 120px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef5ff, #fff5df);
    position: relative;
}
.cashier-clean-page .cashier-product-media .emoji {
    font-size: 60px;
}
.cashier-clean-page .cashier-card-qty {
    position: absolute;
    top: 10px;
    left: 10px;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: #16243a;
    color: #fff;
    display: none;
    place-items: center;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(22, 36, 58, 0.25);
}
.cashier-clean-page .cashier-card-qty.is-visible {
    display: grid;
}
.cashier-clean-page .cashier-product-body {
    gap: 12px;
}
.cashier-clean-page .cashier-product-meta strong {
    font-size: 18px;
    line-height: 1.5;
}
.cashier-clean-page .cashier-product-meta small {
    font-size: 13px;
}
.cashier-clean-page .cashier-product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #667085;
}
.cashier-clean-page .cashier-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #16243a;
}
.cashier-clean-page .cashier-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
}
.cashier-clean-page .cashier-card-add,
.cashier-clean-page .cashier-card-remove {
    border: 0;
    min-height: 48px;
    border-radius: 16px;
    font-weight: bold;
}
.cashier-clean-page .cashier-card-add {
    background: #16243a;
    color: #fff;
    font-size: 16px;
}
.cashier-clean-page .cashier-card-remove {
    background: #eef3fb;
    color: #16243a;
    font-size: 28px;
    line-height: 1;
}
.cashier-clean-page .cashier-hidden-qty {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}
.cashier-clean-page .cashier-clean-cart-head h3 {
    font-size: 28px;
}
.cashier-clean-page .cashier-cart-badge {
    min-width: 86px;
    border-radius: 20px;
}
.cashier-clean-page .cashier-cart-scroll {
    display: grid;
    gap: 14px;
    overflow: auto;
    padding-left: 2px;
}
.cashier-clean-page .cashier-cart-box {
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e2e9f3;
}
.cashier-clean-page .service-switcher {
    gap: 10px;
}
.cashier-clean-page .service-chip {
    min-height: 52px;
    border-radius: 18px;
    font-size: 15px;
}
.cashier-clean-page .selected-items-list {
    gap: 12px;
}
.cashier-clean-page .cashier-cart-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
}
.cashier-clean-page .cashier-cart-line-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.cashier-clean-page .cashier-cart-line-total {
    font-size: 16px;
    color: #16243a;
}
.cashier-clean-page .cart-line-actions {
    gap: 6px;
}
.cashier-clean-page .cart-mini-btn,
.cashier-clean-page .cart-remove-btn {
    border: 0;
    min-height: 36px;
    border-radius: 12px;
}
.cashier-clean-page .cart-mini-btn {
    width: 36px;
    background: #e9f0fa;
}
.cashier-clean-page .cart-remove-btn {
    padding: 0 12px;
    background: #feeceb;
    color: #b42318;
    font-weight: bold;
}
.cashier-clean-page .cashier-advanced-box {
    overflow: hidden;
}
.cashier-clean-page .cashier-advanced-box summary {
    cursor: pointer;
    font-weight: bold;
    list-style: none;
}
.cashier-clean-page .cashier-advanced-box summary::-webkit-details-marker {
    display: none;
}
.cashier-clean-page .cashier-advanced-box summary::after {
    content: '▾';
    float: left;
    color: #667085;
}
.cashier-clean-page .cashier-advanced-box[open] summary::after {
    transform: rotate(180deg);
}
.cashier-clean-page .cashier-advanced-content {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}
.cashier-clean-page .cashier-clean-summary {
    gap: 10px;
    padding: 16px;
    border-radius: 24px;
    border-color: #d8e2ef;
}
.cashier-clean-page .summary-line {
    padding: 4px 2px;
}
.cashier-clean-page .summary-line-total {
    margin-top: 6px;
    padding: 16px 18px;
    border-radius: 20px;
}
.cashier-clean-page .cashier-pay-btn {
    min-height: 58px;
    border-radius: 20px;
    font-size: 20px;
}

@media (max-width: 1024px) {
    .cashier-clean-page .cashier-clean-layout {
        grid-template-columns: 1fr;
    }
    .cashier-clean-page .cashier-cart-panel {
        position: static;
        max-height: none;
    }
}

@media (max-width: 720px) {
    .cashier-clean-page .cashier-stage-head {
        flex-direction: column;
        align-items: stretch;
    }
    .cashier-clean-page .cashier-main-search {
        min-width: 0;
    }
    .cashier-clean-page .cashier-clean-grid,
    .cashier-clean-page .service-switcher,
    .cashier-clean-page .mini-fields.two-cols {
        grid-template-columns: 1fr;
    }
    .cashier-clean-page .cashier-card-actions {
        grid-template-columns: 46px 1fr;
    }
}
