:root {
    --blue: #4466dc;
    --blue-dark: #3554c9;
    --blue-soft: #eef2ff;
    --bg: #e6e6e6;
    --card: #ffffff;
    --text: #25282f;
    --muted: #8b8f98;
    --line: #d4d4d4;
    --green: #3cb14a;
    --red: #ef4444;
    --yellow: #f7c948;
    --purple: #bb5de8;
    --shadow: 0 2px 8px rgba(39, 56, 112, 0.15);
    --radius: 6px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Nunito Sans", sans-serif;
}

.auth-screen {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(68, 102, 220, 0.16), transparent 30%),
        linear-gradient(180deg, #eef2ff 0%, #e6e6e6 70%);
}

.auth-wrap {
    display: grid;
    gap: 1rem;
    width: min(100%, 960px);
}

.auth-visual,
.auth-card {
    padding: 1.4rem;
    border-radius: 20px;
    border: 1px solid #dbe3fb;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 44px rgba(43, 69, 155, 0.12);
}

.auth-visual h1 {
    margin: 0.6rem 0;
    font-size: clamp(1.9rem, 6vw, 2.8rem);
    font-weight: 800;
}

.auth-visual p {
    margin: 0;
    color: #5d6885;
    font-size: 1rem;
    line-height: 1.6;
}

.hero-chip,
.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
}

.hero-chip {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

.brand-badge {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-size: 1.45rem;
}

.phone-mockup {
    width: min(100%, 320px);
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 28px;
    background: linear-gradient(180deg, #2f4fc7 0%, #4e72ef 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.phone-topbar {
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.phone-search {
    height: 52px;
    margin-top: 1rem;
    border-radius: 14px;
    background: #fff;
}

.phone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.phone-grid span {
    display: block;
    height: 72px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
}

body.drawer-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.offline-banner {
    position: fixed;
    top: 12px;
    left: 50%;
    z-index: 1600;
    transform: translate(-50%, -140%);
    width: min(92vw, 720px);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #172554;
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

.offline-banner.show {
    transform: translate(-50%, 0);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(21, 30, 68, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.drawer-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: min(86vw, 360px);
    height: 100vh;
    padding: 1.25rem 1rem 1.5rem;
    background: #fff;
    box-shadow: 18px 0 44px rgba(20, 28, 66, 0.2);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
}

.mobile-drawer.show {
    transform: translateX(0);
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8ebf5;
}

.mobile-drawer__badge {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}

.mobile-drawer__header h1 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.mobile-drawer__header p {
    margin: 0.1rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.mobile-drawer__section {
    color: #7380a7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-drawer__nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    color: #2c3761;
    font-weight: 700;
}

.mobile-drawer__nav a.active,
.mobile-drawer__nav a:hover {
    background: #eef2ff;
    color: var(--blue);
}

.mobile-app-shell {
    width: min(100%, 760px);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--bg);
}

.mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(48, 72, 163, 0.24);
}

.mobile-topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    min-height: 106px;
    padding: 3.5rem 1rem 1.15rem;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
}

.mobile-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
    min-width: 0;
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mobile-content {
    padding: 0.45rem 0 6.25rem;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: min(100%, 760px);
    transform: translateX(-50%);
    background: #fff;
    border-top: 1px solid #dfe2ea;
    box-shadow: 0 -4px 16px rgba(42, 54, 98, 0.12);
}

.mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.9rem 0.2rem 0.8rem;
    color: #4b63c9;
    font-size: 0.9rem;
    font-weight: 700;
}

.mobile-bottom-nav__item i {
    font-size: 1.45rem;
}

.mobile-bottom-nav__item.active {
    background: var(--blue);
    color: #fff;
}

.mobile-strip-card,
.glass-panel,
.report-card,
.receipt-card,
.wide-action-card,
.hero-placeholder,
.health-card,
.tile-card,
.category-accordion,
.search-action-row,
.admin-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.mobile-strip-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.95rem;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 0.9rem 0.8rem;
}

.strip-back,
.strip-date {
    display: inline-flex;
    align-items: center;
}

.strip-back {
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--blue);
    font-size: 1.6rem;
}

.strip-date {
    gap: 0.8rem;
    color: #444;
    font-size: 1.12rem;
    font-weight: 700;
}

.strip-date i {
    color: #38a0ff;
    font-size: 1.7rem;
}

.report-stack,
.receipt-feed,
.category-stack {
    display: grid;
    gap: 0.85rem;
    padding: 0 0.8rem;
}

.report-card {
    position: relative;
    display: block;
    padding: 1.15rem 3.7rem 1.1rem 1rem;
    min-height: 130px;
}

.report-card__title {
    margin-bottom: 1rem;
    color: #33363d;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.report-card__value {
    color: var(--blue);
    font-size: clamp(1.55rem, 4.8vw, 2.3rem);
    font-weight: 800;
    line-height: 1.1;
}

.report-card__meta {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.report-card__arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--blue);
    font-size: 2rem;
}

.receipt-card {
    overflow: hidden;
}

.receipt-card__summary {
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
}

.receipt-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #15b981;
    font-size: 1.55rem;
}

.receipt-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex: 1;
}

.receipt-card h3 {
    margin: 0 0 0.15rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.receipt-card__cashier {
    color: #555b66;
    font-size: 0.95rem;
    font-weight: 700;
}

.receipt-card__time {
    color: var(--muted);
    font-size: 0.88rem;
}

.receipt-card__amount {
    color: var(--blue);
    font-size: 1.25rem;
    font-weight: 800;
    white-space: nowrap;
}

.receipt-card__lines {
    border-top: 1px solid #ececf1;
}

.receipt-line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid #efeff4;
    color: #50545b;
    font-size: 0.95rem;
    font-weight: 700;
}

.receipt-line-item:first-child {
    border-top: 0;
}

.wide-action-card {
    display: block;
    margin-top: 0.45rem;
    padding: 1.25rem 1rem;
    color: var(--blue);
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
}

.search-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 0.65rem;
    margin: 0 0 0.9rem;
    padding: 0.8rem;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.search-action-row--triple {
    grid-template-columns: minmax(0, 1fr) 92px 92px;
}

.search-entry,
.square-action {
    background: #fff;
    border-radius: 8px;
}

.search-entry {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 78px;
    padding: 0 0.95rem;
    color: #a1a3ab;
    font-size: clamp(1rem, 4vw, 1.12rem);
    font-weight: 700;
}

.search-entry i {
    color: var(--blue);
    font-size: 1.8rem;
}

.search-entry--form input {
    width: 100%;
    border: 0;
    outline: none;
    color: #666a73;
    font-size: 1rem;
    font-weight: 700;
}

.square-action {
    display: grid;
    place-items: center;
    min-height: 78px;
    color: var(--blue);
    font-size: 2rem;
}

.hero-placeholder {
    min-height: 74px;
    margin: 0 0.8rem 1.1rem;
}

.section-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 0.95rem;
    margin-bottom: 0.8rem;
}

.section-caption__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.section-caption h2 {
    margin: 0;
    font-size: clamp(1.18rem, 4vw, 1.55rem);
    font-weight: 800;
}

.beta-pill {
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: #e7efff;
    color: #5d79d7;
    font-size: 0.8rem;
    font-weight: 800;
}

.help-pill {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.section-caption--compact {
    margin-top: 1rem;
}

.section-caption--compact i {
    color: var(--blue);
    font-size: 2rem;
}

.health-card {
    margin: 0 0.8rem;
    padding: 1.35rem 0 0;
    text-align: center;
}

.score-ring {
    display: grid;
    place-items: center;
    width: 148px;
    height: 148px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: conic-gradient(var(--yellow) calc(var(--score) * 1%), #efefef 0);
}

.score-ring__inner {
    display: grid;
    place-items: center;
    width: 106px;
    height: 106px;
    border-radius: 50%;
    background: #fff;
    color: #d9ac27;
    font-size: 1.75rem;
    font-weight: 800;
}

.health-card > p {
    margin: 0 auto;
    max-width: 88%;
    padding-bottom: 1.25rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #e8e8ee;
}

.health-grid__item {
    display: grid;
    place-items: center;
    gap: 0.45rem;
    min-height: 170px;
    padding: 1.25rem 1rem;
    border-right: 1px solid #e8e8ee;
    border-bottom: 1px solid #e8e8ee;
}

.health-grid__item:nth-child(2n) {
    border-right: 0;
}

.health-grid__item strong {
    font-size: 2rem;
    font-weight: 800;
}

.health-grid__item span {
    color: #444851;
    font-size: 0.95rem;
    font-weight: 700;
}

.health-grid__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.health-grid__icon.warning {
    background: #fff8cd;
    color: #e4af10;
}

.health-grid__icon.danger {
    background: #ffe8e8;
    color: #ef5b5b;
}

.health-grid__icon.purple {
    background: #f4e7ff;
    color: #c156e7;
}

.health-grid__icon.green {
    background: #e0f7e5;
    color: #41aa56;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0.8rem;
}

.tile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 152px;
    padding: 1rem;
    text-align: center;
}

.tile-card--feature {
    min-height: 188px;
}

.tile-card--single {
    grid-column: span 1;
}

.tile-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    border-radius: 0 var(--radius) 0 var(--radius);
    background: var(--green);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.tile-card__headline {
    color: var(--blue);
    font-size: clamp(1.15rem, 5vw, 1.9rem);
    font-weight: 800;
}

.tile-card__headline--small {
    font-size: clamp(1rem, 4vw, 1.45rem);
}

.tile-card__subtext,
.tile-card__label {
    margin-top: 0.8rem;
    color: #61656e;
    font-size: clamp(0.98rem, 3.5vw, 1.1rem);
    font-weight: 700;
    line-height: 1.25;
}

.tile-card__metric {
    font-size: clamp(1.9rem, 7vw, 2.65rem);
    font-weight: 800;
    line-height: 1;
}

.tile-card__metric.blue {
    color: var(--blue);
}

.tile-card__metric.green {
    color: var(--green);
}

.tile-card__metric.red {
    color: var(--red);
}

.category-accordion {
    overflow: hidden;
}

.category-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 0.85rem;
    cursor: pointer;
    list-style: none;
}

.category-accordion summary::-webkit-details-marker {
    display: none;
}

.category-accordion__lead {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--blue);
    font-size: 1rem;
    font-weight: 800;
}

.category-accordion__lead i {
    color: #4d4d4d;
}

.category-accordion__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--blue);
    font-size: 1.45rem;
}

.checkbox-shell {
    width: 28px;
    height: 28px;
    border: 2px solid #858585;
    border-radius: 4px;
}

.category-accordion[open] .category-accordion__meta i {
    transform: rotate(180deg);
}

.category-accordion__body {
    border-top: 1px solid #ececf1;
    padding: 0.2rem 0 0;
}

.item-row,
.list-row,
.receipt-line,
.cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
}

.item-row + .item-row,
.list-row + .list-row,
.cart-row + .cart-row {
    border-top: 1px solid #edf0f6;
}

.item-row strong,
.list-row strong,
.receipt-line strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
}

.item-row small,
.list-row small,
.receipt-line small {
    color: var(--muted);
    font-size: 0.84rem;
}

.empty-state {
    display: grid;
    place-items: center;
    gap: 0.55rem;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted);
}

.empty-state.compact {
    padding: 1.1rem;
}

.empty-state i {
    font-size: 1.75rem;
}

.glass-panel,
.panel-block {
    padding: 1rem;
    margin: 0 0.8rem 0.95rem;
}

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

.section-heading h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.section-heading p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.stats-grid,
.dashboard-grid,
.page-grid {
    display: grid;
    gap: 0.9rem;
    padding: 0 0.8rem;
}

.metric-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.metric-card h3 {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.metric-card i {
    color: var(--blue);
    font-size: 1.6rem;
}

.soft-blue,
.soft-cyan,
.soft-white {
    background: #fff;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
}

.form-control,
.form-select {
    min-height: 46px;
    border: 1px solid #d4daec;
    border-radius: 10px;
}

.form-label {
    margin-bottom: 0.4rem;
    color: #4d5678;
    font-weight: 700;
}

.btn-primary {
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: var(--blue-dark);
    --bs-btn-hover-border-color: var(--blue-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: var(--blue);
    --bs-btn-hover-border-color: var(--blue);
}

.pos-layout {
    display: grid;
    gap: 1rem;
    padding: 0.8rem;
}

.pos-toolbar,
.cart-selectors,
.summary-inputs,
.checkout-actions {
    display: grid;
    gap: 0.75rem;
}

.search-shell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0 0.9rem;
    background: #f6f8fd;
    border-radius: 999px;
}

.search-shell i {
    color: var(--blue);
}

.category-scroller {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.chip {
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    background: #eef2ff;
    color: var(--blue);
    font-weight: 700;
    white-space: nowrap;
}

.chip.active {
    background: var(--blue);
    color: #fff;
}

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

.product-card {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
    border: 1px solid #dde2f0;
    border-radius: 16px;
    background: #fff;
    text-align: left;
}

.product-card strong {
    font-size: 0.95rem;
}

.product-card small {
    color: var(--muted);
}

.product-thumb {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #eef2ff;
    color: var(--blue);
    font-weight: 800;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: #526079;
    font-size: 0.8rem;
    font-weight: 700;
}

.cart-items {
    min-height: 220px;
    border: 1px dashed #d9dfef;
    border-radius: 18px;
}

.cart-row-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.cart-qty button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-weight: 800;
}

.summary-lines {
    display: grid;
    gap: 0.65rem;
}

.summary-lines div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
}

.summary-lines strong {
    color: var(--blue);
}

.receipt-preview {
    white-space: pre-wrap;
    font-family: Consolas, monospace;
    font-size: 0.9rem;
}

.qr-card {
    padding: 1rem;
}

.qr-box {
    width: 164px;
    height: 164px;
    margin: 0 auto;
    border-radius: 18px;
    background:
        linear-gradient(90deg, #111 12px, transparent 12px) 0 0 / 36px 36px,
        linear-gradient(#111 12px, transparent 12px) 0 0 / 36px 36px,
        linear-gradient(90deg, transparent 24px, #111 24px 36px, transparent 36px) 0 0 / 36px 36px,
        linear-gradient(transparent 24px, #111 24px 36px, transparent 36px) 0 0 / 36px 36px,
        #fff;
    border: 10px solid #fff;
    box-shadow: inset 0 0 0 1px #000, var(--shadow);
}

@media (min-width: 768px) {
    .auth-wrap {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }

    .stats-grid,
    .dashboard-grid,
    .page-grid,
    .pos-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 520px) {
    .mobile-bottom-nav__item {
        font-size: 0.78rem;
    }

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

    .search-action-row--triple {
        grid-template-columns: minmax(0, 1fr) 76px 76px;
    }

    .search-action-row {
        grid-template-columns: minmax(0, 1fr) 76px;
    }

    .tile-grid {
        gap: 0.65rem;
    }
}
