:root {
    --app-surface: var(--custom-white);
    --app-surface-soft: var(--default-body-bg-color);
    --app-ink: var(--default-text-color);
    --app-muted: var(--text-muted);
    --app-line: var(--default-border);
    --app-shadow: var(--box-shadow);
    --app-soft-shadow: 0 0.125rem 0 rgba(10, 10, 10, 0.02);
}

body {
    font-size: 0.95rem;
}

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

.header-logo img {
    object-fit: contain;
}

.header-logo .desktop-logo,
.header-logo .desktop-dark,
.header-logo .desktop-white {
    max-height: 2rem;
    max-width: 8.75rem;
    width: auto;
}

.header-logo .toggle-logo,
.header-logo .toggle-dark,
.header-logo .toggle-white {
    height: 2rem;
    width: 2rem;
}

.app-header .main-header-container,
.app-header .header-content-left,
.app-header .header-content-right,
.app-header .header-element {
    align-items: center;
}

.app-header .header-element {
    display: inline-flex;
}

.app-header .header-element form {
    align-items: center;
    display: inline-flex;
    margin: 0;
}

.app-header .header-logout-form {
    height: 2.5rem;
}

.app-header .header-link,
.app-header .header-button-link,
.app-header .quick-sale-link {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.app-header .header-button-link {
    appearance: none;
    height: 2.5rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 2.5rem;
}

.app-header .header-icon-button {
    color: inherit;
    font: inherit;
    vertical-align: middle;
}

.app-header .header-icon-button .header-link-icon {
    display: block;
    line-height: 1;
}

.app-header .quick-sale-link {
    gap: 0.25rem;
    min-height: 2.5rem;
}

.glaze-toast-container {
    margin-top: 4.25rem;
}

.glaze-toast {
    background: var(--custom-white);
    border: 1px solid var(--app-line) !important;
    border-radius: 0.85rem;
    box-shadow: var(--app-shadow);
    color: var(--default-text-color);
    min-width: min(360px, calc(100vw - 2rem));
    overflow: hidden;
}

.glaze-toast::before {
    content: "";
    display: block;
    height: 3px;
}

.glaze-toast-success::before {
    background: rgb(var(--success-rgb));
}

.glaze-toast-error::before {
    background: rgb(var(--danger-rgb));
}

.glaze-toast-body {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    padding: 0.8rem 0.85rem;
}

.glaze-toast-logo {
    align-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 999px;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.glaze-toast-logo img {
    height: 1.5rem;
    width: 1.5rem;
}

.glaze-toast strong,
.glaze-toast small {
    display: block;
}

.glaze-toast strong {
    font-size: 0.84rem;
    font-weight: 800;
}

.glaze-toast small {
    color: var(--app-muted);
    font-size: 0.8rem;
    line-height: 1.25;
}

[data-theme="dark"] .glaze-toast {
    background: var(--app-surface);
    border-color: var(--app-line) !important;
}

.pos-shell {
    max-width: 1440px;
}

.app-container {
    max-width: 1540px;
}

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

.catalog-product-card,
.product-card,
.receipt-card {
    border-color: var(--default-border, var(--app-line));
}

.section-head {
    border-bottom: 1px dashed var(--default-border, var(--app-line));
    padding-bottom: 0.85rem;
}

[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .list-group-item {
    background: var(--app-surface);
    border-color: var(--app-line);
    color: var(--app-ink);
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: var(--app-line);
}

.table {
    --bs-table-color: var(--app-ink);
    --bs-table-bg: var(--app-surface);
    --bs-table-hover-bg: var(--app-surface-soft);
}

.table thead th {
    color: var(--app-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: var(--app-surface-soft);
    border-bottom-color: var(--app-line);
}

.table tbody td {
    border-color: var(--default-border);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.module-ynex-card {
    color: inherit;
    min-height: 132px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.module-ynex-card:hover {
    color: inherit;
    transform: translateY(-2px);
}

.badge-soft-success {
    color: #0f6848;
    background: #dff6ec;
    border: 1px solid #bcebd8;
}

[data-theme="dark"] .text-secondary,
[data-theme="dark"] .text-muted {
    color: var(--app-muted) !important;
}

[data-theme="dark"] .text-bg-light {
    background-color: var(--app-surface-soft) !important;
    color: var(--app-ink) !important;
}

[data-theme="dark"] .text-bg-secondary {
    background-color: #4d403a !important;
    color: #f8eee8 !important;
}

[data-theme="dark"] .text-bg-success {
    background-color: #246348 !important;
    color: #e8fff4 !important;
}

[data-theme="dark"] .btn-outline-dark,
[data-theme="dark"] .btn-outline-secondary,
[data-theme="dark"] .btn-outline-primary {
    --bs-btn-color: var(--app-ink);
    --bs-btn-border-color: var(--app-line);
    --bs-btn-hover-bg: var(--app-surface-soft);
    --bs-btn-hover-border-color: var(--app-muted);
    --bs-btn-hover-color: var(--app-ink);
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.status-line {
    border: 1px solid var(--app-line);
    border-left: 4px solid rgb(var(--primary-rgb));
    border-radius: 0.375rem;
    padding: 0.625rem 0.75rem;
    font-weight: 600;
}

.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(var(--primary-rgb), 0.13), transparent 28%),
        var(--default-body-bg-color);
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.auth-shell {
    width: min(100%, 1080px);
}

.auth-screen {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
}

.auth-brand-panel,
.auth-card {
    min-height: 560px;
}

.auth-brand-panel {
    align-content: space-between;
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 0.85rem;
    box-shadow: var(--app-shadow);
    display: grid;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.auth-brand-panel h1 {
    color: var(--default-text-color);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 0.95;
    margin: 0 0 1rem;
}

.auth-brand-panel p {
    color: var(--app-muted);
    font-size: 1rem;
    margin: 0;
    max-width: 460px;
}

.auth-card {
    align-self: stretch;
    display: grid;
    align-content: center;
}

.auth-logo {
    display: block;
    max-width: 320px;
    width: 100%;
}

.auth-brand-name {
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: 0.32em;
}

.auth-brand-subtitle {
    color: rgb(var(--primary-rgb));
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.45em;
    margin-top: 0.35rem;
}

.product-button {
    height: 100%;
}

.category-filter-bar {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.pos-product-toolbar {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    margin-bottom: 0.85rem;
}

.pos-view-toggle {
    background: var(--app-surface-soft);
    border: 1px solid var(--app-line);
    border-radius: 999px;
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.25rem;
}

.pos-view-button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--app-muted);
    font-weight: 800;
    min-height: 36px;
    padding: 0.35rem 0.75rem;
}

.pos-view-button.active {
    background: var(--default-text-color);
    color: var(--custom-white);
}

.pos-availability-toggle {
    align-items: center;
    border: 1px solid var(--app-line);
    border-radius: 999px;
    color: var(--app-muted);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
}

.category-filter {
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 999px;
    color: var(--app-muted);
    flex: 0 0 auto;
    font-weight: 750;
    min-height: 42px;
    padding: 0.55rem 0.9rem;
}

.category-filter.active {
    background: var(--default-text-color);
    border-color: var(--default-text-color);
    color: var(--custom-white);
}

.product-grid {
    display: grid;
    gap: 1.1rem;
}

.product-category-section {
    display: grid;
    gap: 0.75rem;
}

.product-category-section.is-filtered-out,
.product-tile.is-filtered-out {
    display: none;
}

.product-category-heading {
    align-items: center;
    border-bottom: 1px solid var(--app-line);
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.45rem;
}

.product-category-heading h3 {
    color: var(--default-text-color);
    font-size: 0.95rem;
    font-weight: 850;
    margin: 0;
}

.product-category-heading span {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.product-category-products {
    display: grid;
    gap: 0.75rem;
}

.product-grid-small .product-category-products {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}

.product-grid-medium .product-category-products {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.product-grid-large .product-category-products {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
    width: 100%;
    min-height: 220px;
    border: 1px solid var(--app-line);
    border-radius: 1rem;
    background: var(--app-surface);
    padding: 0.75rem;
    text-align: left;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0.85rem;
    overflow: hidden;
    transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
    touch-action: manipulation;
}

.product-grid-small .product-card {
    min-height: 150px;
    padding: 0.55rem;
}

.product-grid-large .product-card {
    min-height: 292px;
    padding: 0.9rem;
}

.product-card:hover,
.product-card:focus {
    border-color: rgb(var(--primary-rgb));
    box-shadow: 0 0.75rem 1.75rem rgba(var(--primary-rgb), 0.14);
    transform: translateY(-1px);
}

.product-card:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    background: var(--default-body-bg-color);
}

.product-tile[data-product-available="0"] .product-card {
    border-style: dashed;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: 168px;
    border-radius: 0.85rem;
    background: var(--custom-white);
    display: grid;
    place-items: center;
    overflow: hidden;
    contain: paint;
}

.product-grid-small .product-image {
    max-height: 84px;
}

.product-grid-large .product-image {
    max-height: 210px;
}

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

.product-image-fallback {
    color: var(--default-text-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.product-info {
    display: grid;
    gap: 0.25rem;
    padding: 0 0.15rem 0.15rem;
}

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

.product-name {
    font-weight: 700;
    line-height: 1.2;
    min-height: 2.4em;
}

.product-grid-small .product-name {
    font-size: 0.82rem;
    min-height: 2.2em;
}

.product-grid-large .product-name {
    font-size: 1.05rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.product-meta strong,
.product-price {
    color: rgb(var(--secondary-rgb));
    font-weight: 800;
}

.product-meta small {
    color: var(--app-muted);
    white-space: nowrap;
}

.product-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid var(--app-line);
    background: var(--custom-white);
}

.product-thumb-empty {
    display: inline-grid;
    place-items: center;
    color: var(--app-muted);
}

.catalog-shell {
    max-width: 1500px;
}

.catalog-workspace {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(300px, 380px) 1fr;
}

.catalog-editor {
    align-self: start;
    position: sticky;
    top: 1rem;
}

.catalog-board {
    min-height: 560px;
}

.catalog-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.catalog-product-card {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 1rem;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.catalog-product-card:hover {
    border-color: rgb(var(--primary-rgb));
    box-shadow: var(--app-soft-shadow);
    transform: translateY(-1px);
}

.catalog-product-media {
    aspect-ratio: 4 / 3;
    background: var(--custom-white);
    display: grid;
    overflow: hidden;
    place-items: center;
}

.catalog-product-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.catalog-product-body {
    display: grid;
    gap: 0.85rem;
    padding: 0.9rem;
}

.catalog-actions {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
}

.catalog-actions form,
.catalog-actions button {
    min-width: 0;
    width: 100%;
}

.catalog-actions form:last-child {
    grid-column: 1 / -1;
}

.product-edit-modal {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 1rem;
    color: var(--app-ink);
}

.product-edit-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.product-edit-upload {
    grid-column: 1 / -1;
}

.catalog-product-body h3 {
    color: var(--default-text-color);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0.15rem 0 0;
}

.catalog-product-body small {
    color: var(--app-muted);
    font-weight: 700;
}

.catalog-product-footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.catalog-product-footer strong {
    color: rgb(var(--secondary-rgb));
    font-size: 1.05rem;
    font-weight: 850;
}

.catalog-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.catalog-product-tags span {
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.24);
    border-radius: 999px;
    color: var(--default-text-color);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.22rem 0.55rem;
}

.qr-code-pill {
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 999px;
    color: var(--default-text-color);
    display: inline-flex;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
}

.customer-qr-card {
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 1rem;
    box-shadow: var(--app-shadow);
    color: var(--app-ink);
    display: grid;
    gap: 1rem;
    justify-items: center;
    padding: 1.5rem;
    text-align: center;
}

.customer-qr-brand {
    color: var(--default-text-color);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.3em;
}

.customer-qr-subtitle {
    color: rgb(var(--primary-rgb));
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.28em;
}

.customer-qr-image {
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 1rem;
    display: block;
    height: auto;
    max-width: 320px;
    padding: 0.75rem;
    width: 100%;
}

.customer-qr-name {
    font-size: 1.2rem;
    font-weight: 800;
}

.customer-qr-code {
    color: var(--app-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.tier-badge {
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.6rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.tier-bronze {
    background: var(--default-body-bg-color);
    border-color: var(--default-border);
    color: #87522a;
}

.tier-silver {
    background: #f4f6f8;
    border-color: var(--default-border);
    color: #52616f;
}

.tier-gold {
    background: #fff6d8;
    border-color: #ead17a;
    color: #7a5b00;
}

.tier-diamond {
    background: #edf8ff;
    border-color: #a9d8f0;
    color: #14617c;
}

.ticket-panel {
    position: sticky;
    top: 1rem;
    border-radius: 1rem;
}

.qr-customer-panel {
    border-bottom: 1px solid var(--app-line);
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
}

.qr-customer-panel .section-head {
    margin-bottom: 0.75rem;
}

.qr-scan-form {
    display: grid;
    gap: 0.35rem;
}

.selected-customer-card {
    border: 1px solid var(--default-border);
    border-radius: 0.85rem;
    background: var(--custom-white);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    padding: 0.85rem;
}

[data-theme="dark"] .selected-customer-card,
[data-theme="dark"] .customer-points,
[data-theme="dark"] .history-sale,
[data-theme="dark"] .advisory-line,
[data-theme="dark"] .mixed-payment-head span,
[data-theme="dark"] .mixed-payment-status,
[data-theme="dark"] .ticket-note-pills span,
[data-theme="dark"] .reward-redemption-panel,
[data-theme="dark"] .reward-next-panel,
[data-theme="dark"] .clip-loader,
[data-theme="dark"] .clip-payment-details > div,
[data-theme="dark"] .catalog-product-media,
[data-theme="dark"] .empty-state {
    background: var(--app-surface-soft);
    border-color: var(--app-line);
}

.selected-customer-card strong,
.selected-customer-card span {
    display: block;
}

.selected-customer-card span {
    color: var(--app-muted);
    font-size: 0.86rem;
}

.customer-points {
    align-self: center;
    border-radius: 0.75rem;
    background: var(--custom-white);
    color: var(--default-text-color);
    min-width: 76px;
    padding: 0.5rem 0.65rem;
    text-align: center;
}

.customer-points span {
    color: rgb(var(--secondary-rgb));
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.customer-points small {
    color: var(--app-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.customer-tier-line {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.customer-tier-line small {
    color: var(--app-muted);
}

.customer-history {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.history-sale {
    align-items: center;
    border: 1px solid var(--default-border);
    border-radius: 0.75rem;
    color: inherit;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
}

.history-sale:hover {
    border-color: rgb(var(--primary-rgb));
}

.history-sale strong,
.history-sale small {
    display: block;
}

.history-sale small,
.history-empty {
    color: var(--app-muted);
}

.history-empty {
    border: 1px dashed var(--app-line);
    border-radius: 0.75rem;
    padding: 0.75rem;
    text-align: center;
}

.pos-advisory-panel {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.advisory-line {
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-left: 4px solid rgb(var(--warning-rgb));
    border-radius: 0.75rem;
    color: var(--default-text-color);
    font-size: 0.88rem;
    font-weight: 650;
    padding: 0.65rem 0.75rem;
}

.advisory-promo {
    border-left-color: #38a169;
}

.ticket-items {
    display: grid;
    gap: 0.45rem;
    min-height: 160px;
}

.ticket-item {
    border-bottom: 1px solid var(--default-border);
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.ticket-item .fw-semibold {
    font-size: 0.94rem;
}

.ticket-item .small {
    line-height: 1.25;
}

.ticket-note-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.ticket-note-pills span {
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 999px;
    color: var(--default-text-color);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.1;
    padding: 0.25rem 0.5rem;
}

.ticket-item .ticket-line-actions {
    display: grid;
    justify-items: end;
}

.ticket-customize-button {
    color: rgb(var(--primary-rgb));
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.ticket-customize-button:hover {
    color: var(--default-text-color);
}

.ticket-totals {
    border-top: 1px solid var(--app-line);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    display: grid;
    gap: 0.45rem;
}

.ticket-totals > div,
.receipt-totals > div,
.receipt-payments > div,
.receipt-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.ticket-total,
.receipt-total {
    font-size: 1.15rem;
}

.btn,
.form-control,
.form-select {
    min-height: 42px;
}

.form-control,
.form-select {
    background-color: var(--app-surface);
    border-color: var(--default-border);
    color: var(--app-ink);
    border-radius: 0.65rem;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    border-color: var(--app-line);
}

[data-theme="dark"] .form-control::placeholder {
    color: #8f7d72;
}

.form-control:focus,
.form-select:focus {
    border-color: rgb(var(--primary-rgb));
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

.btn {
    border-radius: 0.7rem;
    font-weight: 650;
}

.is-loading {
    pointer-events: none;
    opacity: 0.72;
}

.btn-lg {
    min-height: 54px;
}

.empty-state {
    border: 1px dashed var(--app-line);
    border-radius: 0.5rem;
    color: var(--app-muted);
    padding: 1rem;
    text-align: center;
}

.checkout-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mixed-payment-panel {
    border: 1px solid var(--app-line);
    border-radius: 0.85rem;
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
}

.reward-redemption-panel,
.reward-next-panel {
    border: 1px solid var(--app-line);
    border-radius: 0.85rem;
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
}

.reward-next-panel {
    color: var(--app-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.reward-redemption-list {
    display: grid;
    gap: 0.5rem;
}

.reward-redemption-option {
    align-items: center;
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 0.75rem;
    color: var(--default-text-color);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    min-height: 46px;
    padding: 0.65rem 0.75rem;
    text-align: left;
}

.reward-redemption-option span {
    font-weight: 750;
}

.reward-redemption-option strong {
    color: rgb(var(--primary-rgb));
    white-space: nowrap;
}

.reward-redemption-option.active {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgb(var(--primary-rgb));
}

.mixed-payment-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.mixed-payment-head strong,
.mixed-payment-head span {
    display: block;
}

.mixed-payment-head span {
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 999px;
    color: var(--default-text-color);
    font-weight: 800;
    min-width: 96px;
    padding: 0.45rem 0.7rem;
    text-align: center;
}

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

.mixed-payment-actions .btn {
    min-height: 36px;
    padding-inline: 0.45rem;
}

.mixed-field-label {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.mixed-field-label .form-label {
    margin-bottom: 0.35rem;
}

.mixed-field-label .btn-link {
    color: rgb(var(--primary-rgb));
    font-size: 0.75rem;
    font-weight: 800;
    min-height: auto;
    padding: 0;
    text-decoration: none;
}

.mixed-payment-status {
    background: var(--custom-white);
    border: 1px dashed var(--app-line);
    border-radius: 0.75rem;
    color: var(--app-muted);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.6rem 0.75rem;
}

.mixed-payment-status.is-ready {
    background: rgba(var(--success-rgb), 0.1);
    border-color: rgba(var(--success-rgb), 0.25);
    color: rgb(var(--success-rgb));
}

.mixed-payment-status.is-warning {
    background: rgba(var(--warning-rgb), 0.1);
    border-color: rgba(var(--warning-rgb), 0.25);
    color: rgb(var(--warning-rgb));
}

.mixed-payment-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr 1fr;
}

.addon-modal {
    border: 1px solid var(--app-line);
    border-radius: 1rem;
}

.clip-payment-modal {
    border: 1px solid var(--app-line);
    border-radius: 1rem;
    box-shadow: var(--app-shadow);
}

.clip-payment-modal .modal-body {
    display: grid;
    gap: 1rem;
    justify-items: center;
    padding: 2rem;
    text-align: center;
}

.sale-complete-icon {
    align-items: center;
    background: rgba(var(--success-rgb), 0.12);
    border: 1px solid rgba(var(--success-rgb), 0.22);
    border-radius: 999px;
    color: rgb(var(--success-rgb));
    display: inline-flex;
    font-size: 2rem;
    height: 72px;
    justify-content: center;
    width: 72px;
}

.sale-complete-actions {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.clip-loader {
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 999px;
    display: grid;
    height: 72px;
    place-items: center;
    width: 72px;
}

.clip-payment-details {
    display: grid;
    gap: 0.5rem;
    width: 100%;
}

.clip-payment-details > div {
    align-items: center;
    background: var(--custom-white);
    border: 1px solid var(--app-line);
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    text-align: left;
}

.clip-payment-details span {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.clip-payment-details strong {
    color: var(--default-text-color);
    font-size: 0.9rem;
    text-align: right;
}

.addon-options {
    display: grid;
    gap: 0.65rem;
}

.addon-option {
    align-items: center;
    border: 1px solid var(--app-line);
    border-radius: 0.85rem;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    min-height: 58px;
    padding: 0.75rem;
}

.addon-option:hover {
    border-color: rgb(var(--primary-rgb));
}

.addon-option span,
.addon-option strong,
.addon-option small {
    display: block;
}

.addon-option small {
    color: rgb(var(--secondary-rgb));
    font-weight: 750;
}

.bar-instructions {
    border-top: 1px solid var(--app-line);
    padding-top: 1rem;
}

.bar-instructions-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.bar-option-groups,
.bar-option-group {
    display: grid;
    gap: 0.75rem;
}

.bar-option-group > span {
    color: var(--app-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bar-option-group > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bar-option-pill {
    align-items: center;
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 999px;
    color: var(--app-ink);
    cursor: pointer;
    display: inline-flex;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.55rem 0.85rem;
}

.bar-option-pill:hover {
    border-color: rgb(var(--primary-rgb));
}

.bar-option-pill:has(input:checked) {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: rgb(var(--primary-rgb));
}

.reward-catalog-form,
.reward-catalog-row {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(180px, 1.2fr) 120px 96px minmax(220px, 1.5fr) 92px auto;
}

.commercial-list {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.section-hint {
    color: var(--app-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.commercial-row {
    align-items: end;
    border: 1px solid var(--app-line);
    border-radius: 0.85rem;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
    padding: 0.85rem;
}

.addon-row {
    grid-template-columns: 3rem repeat(3, minmax(0, 1fr));
}

.bar-options-admin {
    display: grid;
    gap: 0.75rem;
}

.bar-option-row {
    align-items: end;
    border: 1px solid var(--app-line);
    border-radius: 0.85rem;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 3rem repeat(2, minmax(0, 1fr));
    min-width: 0;
    padding: 0.85rem;
}

.commercial-row > *,
.bar-option-row > *,
.category-row > *,
.category-edit-form > *,
.promotion-row > * {
    min-width: 0;
}

.sortable-list {
    position: relative;
}

.is-sortable-dragging,
.is-sortable-dragging * {
    cursor: grabbing !important;
    user-select: none;
}

.sortable-list.is-saving {
    opacity: 0.72;
    pointer-events: none;
}

.sortable-list.is-sorting {
    touch-action: none;
}

.sortable-row {
    background: var(--app-surface);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.sortable-row.is-dragging {
    border-color: rgb(var(--primary-rgb));
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    opacity: 0.58;
    transform: scale(0.99);
}

.drag-handle {
    cursor: grab;
    touch-action: none;
}

.drag-handle:active {
    cursor: grabbing;
}

.drag-handle:hover,
.drag-handle:focus-visible {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: rgb(var(--primary-rgb));
    outline: none;
}

.promotion-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-row {
    align-items: end;
    grid-template-columns: minmax(0, 1fr) minmax(7.5rem, auto) auto;
}

.category-edit-form {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.category-usage {
    color: var(--app-muted);
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.2rem;
    justify-content: center;
    line-height: 1.15;
    min-height: 2.625rem;
    white-space: nowrap;
}

.commercial-check {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    min-height: 42px;
    margin: 0;
}

.commercial-row .btn,
.bar-option-row .btn,
.category-row .btn {
    white-space: nowrap;
}

.addon-row .commercial-check {
    grid-column: 2;
}

.addon-row > button[type="submit"] {
    grid-column: 3 / -1;
    justify-self: end;
}

.bar-option-row .commercial-check {
    grid-column: 2;
}

.bar-option-row > button[type="submit"] {
    grid-column: 3;
    justify-self: end;
}

.promotion-row .commercial-check {
    align-self: center;
}

.promotion-row > button[type="submit"] {
    justify-self: end;
}

.cash-close-form {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(180px, 1fr) auto;
}

.reward-catalog-list {
    display: grid;
    gap: 0.75rem;
}

.reward-catalog-row {
    border: 1px solid var(--app-line);
    border-radius: 0.85rem;
    padding: 0.85rem;
}

.reward-active-check {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    min-height: 42px;
    margin: 0;
}

.reward-number-input {
    min-width: 86px;
}

.receipt-card {
    width: min(100%, 620px);
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 0.85rem;
    padding: 1.15rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.06);
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    border-bottom: 1px solid var(--app-line);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.receipt-logo {
    display: block;
    max-width: 150px;
    width: 100%;
}

.receipt-store {
    color: var(--app-muted);
    display: grid;
    gap: 0.12rem;
    font-size: 0.75rem;
    margin-top: 0.45rem;
}

.receipt-store strong {
    color: var(--default-text-color);
    font-size: 0.84rem;
}

.receipt-folio span,
.receipt-folio small {
    color: var(--app-muted);
    display: block;
}

.receipt-folio strong {
    color: var(--default-text-color);
    display: block;
    font-size: 0.86rem;
    margin: 0.1rem 0;
}

.receipt-lines {
    display: grid;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid var(--default-border);
    padding-bottom: 0.5rem;
}

.receipt-totals,
.receipt-payments {
    border-top: 1px solid var(--app-line);
    padding-top: 0.65rem;
    margin-top: 0.65rem;
    display: grid;
    gap: 0.35rem;
}

.receipt-footer {
    color: var(--app-muted);
    display: grid;
    gap: 0.25rem;
    text-align: center;
    margin-top: 0.85rem;
}

.receipt-footer strong {
    color: var(--default-text-color);
}

.glaze-public-body {
    background: #fffaf7;
    color: #3f2517;
    min-height: 100vh;
    overflow-x: hidden;
    --public-pink: #f47fa0;
    --public-pink-dark: #d95d80;
    --public-cream: #fff1e6;
    --public-caramel: #f2b366;
    --public-brown: #5b3422;
    --public-ink: #2f1b14;
    --public-muted: #80665a;
    --public-line: #f3d7cc;
    --public-shadow: 0 24px 70px rgba(91, 52, 34, 0.13);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.glaze-public-body main {
    min-height: 100vh;
    overflow-x: clip;
}

.rewards-landing {
    align-items: center;
    background: #fffaf7;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: clamp(1.5rem, 5vw, 5rem);
    margin-inline: auto;
    max-width: 1220px;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(1.5rem, 5vw, 4.5rem);
    position: relative;
}

.rewards-landing::before {
    background: var(--public-cream);
    border-radius: 999px 0 0 999px;
    bottom: 0;
    content: "";
    position: absolute;
    right: min(-18vw, -140px);
    top: 0;
    width: min(45vw, 560px);
}

.rewards-landing > * {
    position: relative;
    z-index: 1;
}

.rewards-hero {
    align-content: center;
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    min-width: 0;
}

.rewards-brand {
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.rewards-brand img {
    display: block;
    height: auto;
    max-width: 360px;
    width: min(100%, 360px);
}

.rewards-copy {
    max-width: 760px;
}

.rewards-copy span,
.rewards-kicker {
    color: var(--public-pink-dark);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rewards-copy h1,
.rewards-success h1 {
    color: var(--public-ink);
    font-size: clamp(2.45rem, 5vw, 4.7rem);
    font-weight: 800;
    line-height: 0.98;
    margin: 0 0 1.1rem;
    max-width: 760px;
    overflow-wrap: break-word;
}

.rewards-copy p {
    color: var(--public-muted);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.65;
    margin: 0;
    max-width: 650px;
}

.rewards-feature-list {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
}

.rewards-feature-list > div {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--public-line);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(91, 52, 34, 0.06);
    display: flex;
    gap: 0.75rem;
    min-height: 82px;
    padding: 1rem;
}

.rewards-feature-list i {
    align-items: center;
    background: var(--public-cream);
    border-radius: 50%;
    color: var(--public-pink-dark);
    display: inline-flex;
    flex: 0 0 40px;
    font-size: 1.2rem;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.rewards-feature-list span {
    color: var(--public-brown);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.2;
}

.rewards-note {
    align-items: center;
    color: var(--public-muted);
    display: inline-flex;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.rewards-note i {
    color: var(--public-pink-dark);
    font-size: 1.2rem;
}

.rewards-signup-card {
    align-self: center;
    background: #ffffff;
    border: 1px solid var(--public-line);
    border-radius: 24px;
    box-shadow: var(--public-shadow);
    color: var(--public-ink);
    min-width: 0;
    overflow: hidden;
}

.rewards-signup-card .card-header {
    background: transparent;
    border-color: var(--public-line) !important;
    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem) 1rem;
}

.rewards-signup-card .card-header h2 {
    color: var(--public-ink);
    font-weight: 800;
    margin: 0;
}

.rewards-signup-card .card-body {
    padding: 1.15rem clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem);
}

.rewards-signup-card .form-label {
    color: var(--public-brown);
    font-weight: 700;
}

.rewards-signup-card .form-control {
    background: #fffdfb;
    border-color: #ead0c5;
    border-radius: 14px;
    color: var(--public-ink);
    min-height: 48px;
}

.rewards-signup-card .form-control:focus {
    border-color: var(--public-pink);
    box-shadow: 0 0 0 0.2rem rgba(244, 127, 160, 0.16);
}

.rewards-landing .btn-primary {
    background: var(--public-pink);
    border-color: var(--public-pink);
    border-radius: 14px;
    color: #ffffff;
    font-weight: 800;
    min-height: 50px;
}

.rewards-landing .btn-primary:hover,
.rewards-landing .btn-primary:focus {
    background: var(--public-pink-dark);
    border-color: var(--public-pink-dark);
}

.glaze-public-body .btn-primary {
    background: var(--public-pink);
    border-color: var(--public-pink);
    border-radius: 14px;
    color: #ffffff;
    font-weight: 800;
}

.glaze-public-body .btn-primary:hover,
.glaze-public-body .btn-primary:focus {
    background: var(--public-pink-dark);
    border-color: var(--public-pink-dark);
    color: #ffffff;
}

.glaze-public-body .btn-outline-primary {
    border-color: var(--public-pink);
    border-radius: 14px;
    color: var(--public-pink-dark);
    font-weight: 800;
}

.glaze-public-body .btn-outline-primary:hover,
.glaze-public-body .btn-outline-primary:focus {
    background: var(--public-pink);
    border-color: var(--public-pink);
    color: #ffffff;
}

.rewards-form {
    display: grid;
    gap: 1rem;
}

.rewards-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.rewards-privacy-note {
    color: var(--public-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
}

.rewards-success {
    background: #fffaf7;
    display: grid;
    min-height: 100vh;
    padding: 1.25rem;
    place-items: center;
}

.rewards-success-card {
    background: #ffffff;
    border: 1px solid var(--public-line);
    border-radius: 24px;
    box-shadow: var(--public-shadow);
    color: var(--public-ink);
    display: grid;
    gap: 1.4rem;
    max-width: 620px;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    text-align: center;
    width: min(100%, 620px);
}

.rewards-success-logo {
    justify-self: center;
    max-width: 260px;
    width: 100%;
}

.rewards-success-card p {
    color: var(--public-muted);
    line-height: 1.6;
}

.rewards-qr {
    background: #fffdfb;
    border: 1px dashed #eacdc1;
    border-radius: 20px;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    padding: 1rem;
}

.rewards-qr svg {
    height: auto;
    max-width: 260px;
    width: 100%;
}

.rewards-qr strong {
    color: var(--public-brown);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.status-line {
    background: var(--public-cream);
    border: 1px solid var(--public-line);
    border-radius: 16px;
    color: var(--public-brown);
    font-weight: 750;
    padding: 0.85rem 1rem;
}

.wallet-actions,
.wallet-other {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.wallet-unavailable {
    color: var(--public-muted);
    font-size: 0.88rem;
    text-align: center;
    width: 100%;
}

@media (max-width: 991.98px) {
    .auth-screen,
    .rewards-landing {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel,
    .auth-card,
    .rewards-hero {
        min-height: auto;
    }

    .auth-brand-panel h1 {
        font-size: 2.4rem;
    }

    .rewards-feature-list {
        grid-template-columns: 1fr;
    }

    .rewards-landing {
        background: #fffaf7;
        overflow: hidden;
    }

    .rewards-landing::before {
        display: none;
    }

    .rewards-copy h1 {
        font-size: clamp(2.45rem, 11vw, 4.5rem);
    }

    .module-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ticket-panel {
        position: static;
    }

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

    .catalog-editor {
        position: static;
    }

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

    .pos-view-toggle {
        justify-content: stretch;
    }

    .pos-view-button {
        flex: 1 1 0;
    }

    .reward-catalog-form,
    .reward-catalog-row,
    .commercial-row,
    .bar-option-row,
    .promotion-row,
    .category-row,
    .category-edit-form,
    .cash-close-form {
        grid-template-columns: 1fr 1fr;
    }

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

    .category-edit-form {
        grid-template-columns: 1fr 1fr;
    }

    .category-edit-form > button[type="submit"],
    .category-row > form:last-child .btn {
        justify-self: stretch;
        width: 100%;
    }

    .category-usage {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        white-space: normal;
    }

    .addon-row {
        grid-template-columns: 3rem repeat(2, minmax(0, 1fr));
    }

    .addon-row > div:nth-of-type(3) {
        grid-column: 2 / -1;
    }

    .addon-row .commercial-check {
        grid-column: 2;
    }

    .addon-row > button[type="submit"] {
        grid-column: 3;
    }

    .bar-option-row {
        grid-template-columns: 3rem repeat(2, minmax(0, 1fr));
    }

    .bar-option-row .commercial-check {
        grid-column: 2;
    }

    .bar-option-row > button[type="submit"] {
        grid-column: 3;
    }

    .reward-description-field {
        grid-column: 1 / -1;
    }
}

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

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

    .product-card {
        min-height: 220px;
    }

    .product-image {
        max-height: 132px;
    }

    .product-name {
        font-size: 0.95rem;
    }

    .reward-catalog-form,
    .reward-catalog-row,
    .commercial-row,
    .bar-option-row,
    .promotion-row,
    .category-row,
    .category-edit-form,
    .cash-close-form,
    .mixed-payment-grid {
        grid-template-columns: 1fr;
    }

    .addon-row > div:nth-of-type(3),
    .addon-row .commercial-check,
    .addon-row > button[type="submit"],
    .bar-option-row .commercial-check,
    .bar-option-row > button[type="submit"],
    .promotion-row .commercial-check,
    .promotion-row > button[type="submit"],
    .category-edit-form > button[type="submit"] {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
    }

    .addon-row .drag-handle,
    .bar-option-row .drag-handle {
        justify-self: start;
    }

    .receipt-header {
        display: grid;
    }

    .receipt-folio {
        text-align: left !important;
    }

    .rewards-form-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .no-print,
    .navbar {
        display: none !important;
    }

    main.container-fluid {
        padding: 0 !important;
    }

    .receipt-card {
        width: 72mm;
        max-width: 72mm;
        border: 0;
        box-shadow: none;
        color: #1f1a17;
        font-size: 11px;
        padding: 0;
    }

    .receipt-logo {
        max-width: 34mm;
    }

    .receipt-header,
    .receipt-line {
        gap: 0.45rem;
    }

    .receipt-lines,
    .receipt-totals,
    .receipt-payments {
        gap: 0.3rem;
    }

    .ticket-note-pills {
        gap: 0.15rem;
    }

    .ticket-note-pills span {
        background: transparent;
        border: 0;
        font-size: 10px;
        padding: 0;
    }

    .customer-qr-card {
        border: 0;
        box-shadow: none;
        margin: 0 auto;
        max-width: 420px;
    }
}

.glaze-public-body {
    background: #fff8f3;
    color: #321c14;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

.glaze-public-body .btn {
    border-radius: 999px;
    font-weight: 800;
    padding-inline: 1.3rem;
}

.glaze-public-body .btn-primary {
    --bs-btn-bg: #ef7198;
    --bs-btn-border-color: #ef7198;
    --bs-btn-hover-bg: #df5d86;
    --bs-btn-hover-border-color: #df5d86;
    --bs-btn-active-bg: #cc4f78;
    --bs-btn-active-border-color: #cc4f78;
}

.public-navbar {
    background: rgba(255, 248, 243, 0.92);
    border-bottom: 1px solid rgba(111, 64, 40, 0.12);
    backdrop-filter: blur(16px);
    min-height: 5rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.public-navbar .navbar-brand img {
    height: auto;
    max-height: 3.1rem;
    width: min(13.5rem, 52vw);
}

.public-navbar .nav-link {
    color: #6f4a3a;
    font-weight: 800;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link:focus {
    color: #ef7198;
}

.public-nav-action {
    border-color: rgba(111, 64, 40, 0.26);
    color: #321c14;
}

.public-hero {
    padding: clamp(3rem, 8vw, 7rem) 0 clamp(2.5rem, 7vw, 5.5rem);
}

.public-hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
}

.public-kicker {
    color: #ef7198;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.public-hero-copy h1,
.public-section-head h2,
.public-rewards-grid h2,
.public-location-card h2 {
    color: #321c14;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.98;
}

.public-hero-copy h1 {
    font-size: clamp(3rem, 8vw, 6.8rem);
    max-width: 12ch;
}

.public-hero-copy p {
    color: #7a5d50;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.75;
    margin: 1.25rem 0 0;
    max-width: 40rem;
}

.public-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.public-hero-product {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, #fff 0%, #ffe9d7 100%);
    border: 1px solid rgba(111, 64, 40, 0.12);
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.public-hero-product img {
    height: 86%;
    object-fit: contain;
    width: 86%;
}

.public-section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.public-section-head {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.public-section-head h2,
.public-rewards-grid h2,
.public-location-card h2 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    margin: 0;
}

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

.public-product-card {
    background: #fff;
    border: 1px solid rgba(111, 64, 40, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 3rem rgba(111, 64, 40, 0.08);
    display: grid;
    gap: 1rem;
    overflow: hidden;
    padding: 1rem;
}

.public-product-image {
    align-items: center;
    aspect-ratio: 1.1 / 1;
    background: #fff8f3;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.public-product-image img {
    height: 86%;
    object-fit: contain;
    width: 86%;
}

.public-product-card h3 {
    color: #321c14;
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.public-product-card p,
.public-rewards-grid p,
.public-location-card p,
.public-footer p {
    color: #7a5d50;
    line-height: 1.65;
    margin: 0;
}

.public-rewards-band {
    background: #ef7198;
    color: #fff;
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.public-rewards-band .public-kicker,
.public-rewards-band h2,
.public-rewards-band p {
    color: #fff;
}

.public-rewards-grid {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr) auto;
}

.public-benefits {
    display: grid;
    gap: 0.75rem;
}

.public-benefits div,
.public-location-info div {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.public-benefits div {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1rem;
    color: #fff;
    font-weight: 800;
    padding: 0.9rem 1rem;
}

.public-benefits i,
.public-location-info i {
    font-size: 1.25rem;
}

.public-location-section {
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.public-location-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(111, 64, 40, 0.12);
    border-radius: 1.5rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.public-location-info {
    display: grid;
    gap: 0.8rem;
}

.public-location-info div {
    background: #fff8f3;
    border-radius: 1rem;
    color: #6f4a3a;
    font-weight: 800;
    padding: 1rem;
}

.public-footer {
    background: #321c14;
    color: #fff;
    padding: 2rem 0;
}

.public-footer-grid {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.public-footer img {
    background: #fff8f3;
    border-radius: 999px;
    max-width: 11rem;
    padding: 0.55rem 0.8rem;
}

.public-footer p {
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.85rem;
}

.public-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.public-footer-links a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.public-footer-links a:hover,
.public-footer-links a:focus {
    color: #f7b86f;
}

@media (max-width: 991.98px) {
    .public-hero-grid,
    .public-rewards-grid,
    .public-location-card {
        grid-template-columns: 1fr;
    }

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

    .public-rewards-action {
        justify-self: start;
    }
}

@media (max-width: 575.98px) {
    .public-navbar {
        min-height: 4.3rem;
    }

    .public-hero-copy h1 {
        font-size: clamp(2.65rem, 16vw, 4.2rem);
    }

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

    .public-footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}

