:root {
    color-scheme: light;
    --forest: #173f2a;
    --leaf: #2f7a45;
    --gold: #f0b84f;
    --cream: #f7f0df;
    --paper: rgba(255, 255, 255, 0.86);
    --ink: #192319;
    --muted: #64705f;
    --line: rgba(54, 45, 31, 0.14);
    --danger: #b4233a;
    --success: #14804f;
    --shadow: 0 24px 70px rgba(37, 30, 18, 0.14);
    --radius: 24px;
    font-family: "Trebuchet MS", "Aptos", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(240, 184, 79, 0.25), transparent 24rem),
        radial-gradient(circle at 88% 16%, rgba(47, 122, 69, 0.18), transparent 22rem),
        linear-gradient(145deg, #fbf6ea, #eee2cc 55%, #f7f0df);
    color: var(--ink);
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

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

.login-body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.login-wrap {
    display: grid;
    width: min(1040px, 100%);
    grid-template-columns: 1.1fr 420px;
    gap: 24px;
    align-items: stretch;
}

.login-hero,
.login-card,
.panel,
.sidebar,
.topbar,
.metric,
.mini-card,
.product-card,
.table-card,
.order-card {
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.login-hero {
    min-height: 520px;
    border-radius: 34px;
    padding: clamp(28px, 5vw, 54px);
    background:
        linear-gradient(135deg, rgba(23, 63, 42, 0.9), rgba(47, 122, 69, 0.72)),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,.14)'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3C/g%3E%3C/svg%3E");
    color: white;
}

.login-hero h1,
.qr-hero h1 {
    margin: 24px 0 12px;
    max-width: 680px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.95;
}

.login-hero p,
.qr-hero p {
    max-width: 580px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.65;
}

.login-card {
    display: grid;
    align-content: center;
    gap: 18px;
    border-radius: 34px;
    padding: 32px;
}

.brand-pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(240, 184, 79, 0.18);
    color: var(--forest);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    padding: 9px 13px;
    text-transform: uppercase;
}

.login-hero .brand-pill,
.qr-hero .brand-pill {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
    padding: 12px 14px;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.primary,
.secondary,
.ghost,
.danger,
.tiny {
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 16px;
    font-weight: 900;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary {
    background: linear-gradient(135deg, var(--forest), var(--leaf));
    color: #fff;
    padding: 14px 18px;
}

.secondary {
    border: 1px solid var(--line);
    background: #fff8e9;
    color: var(--forest);
    padding: 10px 13px;
}

.ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
    padding: 10px 13px;
}

.danger {
    background: rgba(180, 35, 58, 0.1);
    color: var(--danger);
}

.tiny {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
}

.primary:hover,
.secondary:hover,
.ghost:hover {
    transform: translateY(-1px);
}

.full {
    width: 100%;
}

.app {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 18px;
    min-height: 100vh;
    padding: 18px;
    transition: grid-template-columns 0.22s ease;
}

.sidebar {
    position: sticky;
    top: 18px;
    display: flex;
    height: calc(100vh - 36px);
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    border-radius: 30px;
    padding: 18px;
    transition: opacity 0.18s ease, transform 0.22s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 950;
}

.logo span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--forest), var(--gold));
    color: white;
}

.user-card {
    display: grid;
    gap: 4px;
    border-radius: 22px;
    background: rgba(23, 63, 42, 0.08);
    padding: 15px;
}

.user-card small,
td small,
.mini-card small,
.order-card small,
.product-card small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.muted {
    color: var(--muted);
    line-height: 1.6;
}

.sidebar nav {
    display: grid;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}

.sidebar nav::-webkit-scrollbar {
    width: 8px;
}

.sidebar nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(23, 63, 42, 0.24);
}

.sidebar nav a {
    border-radius: 17px;
    color: var(--muted);
    font-weight: 850;
    padding: 12px 14px;
}

.sidebar nav a.active,
.sidebar nav a:hover {
    background: linear-gradient(135deg, rgba(23, 63, 42, 0.13), rgba(240, 184, 79, 0.2));
    color: var(--forest);
}

.main {
    min-width: 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    border-radius: 30px;
    padding: 20px;
}

.topbar h1 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
}

.menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
}

.sidebar-edge-toggle {
    position: fixed;
    z-index: 120;
    top: 50%;
    left: 260px;
    display: inline-grid;
    width: 34px;
    height: 58px;
    place-items: center;
    border: 1px solid var(--admin-line, var(--line));
    border-left: 0;
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, 0.96);
    color: var(--admin-primary, var(--forest));
    cursor: pointer;
    box-shadow: 10px 12px 28px rgba(32, 41, 71, 0.12);
    transform: translateY(-50%);
    transition: left 0.22s ease, background 0.18s ease, color 0.18s ease;
}

.sidebar-edge-toggle:hover,
.sidebar-edge-toggle:focus-visible {
    background: var(--admin-primary, var(--forest));
    color: #fff;
    outline: none;
}

.sidebar-edge-toggle .admin-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.22s ease;
}

.app.sidebar-collapsed .sidebar-edge-toggle {
    left: 0;
}

.app.sidebar-collapsed .sidebar-edge-toggle .admin-icon {
    transform: rotate(180deg);
}

@media (min-width: 1081px) {
    .app.sidebar-collapsed {
        grid-template-columns: 0 minmax(0, 1fr);
    }

    .app.sidebar-collapsed .sidebar {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-28px);
    }
}

.alert {
    margin-bottom: 16px;
    border-radius: 18px;
    padding: 13px 15px;
    font-weight: 800;
}

.alert.success {
    background: rgba(20, 128, 79, 0.12);
    color: var(--success);
}

.alert.error {
    background: rgba(180, 35, 58, 0.12);
    color: var(--danger);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.metric {
    display: grid;
    gap: 8px;
    border-radius: 24px;
    padding: 20px;
}

.metric span {
    color: var(--muted);
    font-weight: 900;
}

.metric strong {
    font-size: clamp(24px, 4vw, 36px);
}

.report-filter-form {
    align-items: end;
}

.printable-report {
    display: grid;
    gap: 18px;
}

.report-print-header h2 {
    margin: 8px 0 0;
}

.report-print-header p {
    color: var(--muted);
    margin: 8px 0 0;
}

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

.report-grid h3,
.printable-report h3 {
    margin: 0 0 10px;
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.stock-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.section-stack {
    display: grid;
    gap: 18px;
}

.stock-shop-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -4px 0 18px;
    border: 1px solid rgba(23, 63, 42, 0.15);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(23, 63, 42, 0.1), rgba(240, 184, 79, 0.18));
    padding: 16px 18px;
}

.stock-shop-note strong {
    color: var(--forest);
    font-size: 1.05rem;
}

.stock-shop-note span {
    color: var(--muted);
    font-weight: 750;
}

.critical-row {
    border-color: rgba(180, 35, 58, 0.35);
    background: linear-gradient(135deg, rgba(255, 239, 239, 0.9), rgba(255, 255, 255, 0.92));
}

.panel {
    border-radius: 30px;
    padding: 20px;
}

.panel + .panel,
.panel h2 + .form-grid,
.panel h2 + .product-grid,
.panel h2 + .cards {
    margin-top: 14px;
}

.panel h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.panel > h2:not(:first-child),
.panel > .section-title:not(:first-child) {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.panel > .form-grid + h2,
.panel > .manage-list + h2,
.panel > .table-wrap + h2,
.panel > .cards + h2 {
    margin-top: 26px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

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

.wide {
    grid-column: 1 / -1;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check input {
    width: auto;
}

.cards,
.product-grid,
.table-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 13px;
}

.mini-card,
.product-card,
.table-card,
.order-card {
    overflow: hidden;
    border-radius: 24px;
}

.mini-card {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.alert-card {
    border-color: rgba(240, 184, 79, 0.55);
    background: rgba(255, 246, 225, 0.92);
}

.product-card img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    background: #f2eadb;
}

.product-card div {
    display: grid;
    gap: 5px;
    padding: 13px;
}

.product-card span {
    width: fit-content;
    border-radius: 999px;
    background: var(--forest);
    color: white;
    font-size: 13px;
    font-weight: 900;
    padding: 7px 10px;
}

.table-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    text-align: center;
}

.table-card.is-passive {
    opacity: 0.58;
    filter: grayscale(0.45);
}

.table-card img {
    margin: auto;
    border-radius: 18px;
    background: white;
    padding: 8px;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 13px 10px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.pos-picker,
.inline-form,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.pos-picker select {
    flex: 1 1 260px;
}

.pos-picker input,
.inline-form input {
    max-width: 90px;
}

.pos-shell {
    display: grid;
    gap: 18px;
}

.pos-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pos-mode-tabs a {
    display: grid;
    gap: 5px;
    min-height: 86px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(250, 242, 222, 0.86));
    color: var(--ink);
    padding: 18px;
    text-decoration: none;
    box-shadow: var(--soft-shadow);
}

.pos-mode-tabs a.active {
    border-color: rgba(23, 63, 42, 0.35);
    background: linear-gradient(135deg, var(--forest), var(--green));
    color: white;
}

.pos-mode-tabs span,
.pos-cart-panel p {
    color: inherit;
    font-size: 0.88rem;
    opacity: 0.76;
}

.pos-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
    gap: 16px;
    align-items: start;
}

.pos-workspace.compact {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
}

.pos-workspace.pos-sale-form,
.pos-table-add-form.pos-sale-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 92px;
    transition: padding-right 0.22s ease;
}

.pos-workspace.pos-sale-form.has-pinned-cart,
.pos-table-add-form.pos-sale-form.has-pinned-cart {
    padding-right: var(--pos-fixed-cart-space, 456px);
}

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

.pos-sale-form .pos-menu-panel,
.pos-sale-form .pos-cart-panel {
    width: 100%;
}

.pos-sale-form .pos-cart-panel {
    position: static;
}

.pos-sale-form .pos-cart-panel.pos-cart-bubble {
    position: fixed !important;
    width: 60px;
    max-width: 60px;
}

.pos-sale-form .pos-cart-panel.pos-cart-bubble.is-expanded {
    width: min(420px, calc(100vw - 28px));
    max-width: min(720px, calc(100vw - 28px));
}

.pos-sale-form .pos-cart-panel.pos-cart-bubble.is-expanded.is-resized {
    max-width: min(720px, calc(100vw - 20px));
}

.pos-menu-panel {
    display: grid;
    gap: 16px;
}

.payment-toggle {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.payment-toggle label {
    cursor: pointer;
}

.payment-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 98px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
}

.payment-toggle input:checked + span {
    background: var(--forest);
    color: white;
}

.pos-cart-payment {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff9ec;
    padding: 12px;
}

.pos-cart-payment > span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.pos-cart-payment .payment-toggle {
    width: 100%;
    justify-content: space-between;
}

.pos-cart-payment .payment-toggle label {
    flex: 1;
}

.pos-cart-payment .payment-toggle span {
    width: 100%;
}

.pos-product-toolbar {
    display: grid;
    gap: 12px;
}

.pos-product-toolbar-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    gap: 14px;
    align-items: end;
}

.pos-product-toolbar-head h2 {
    margin: 6px 0 4px;
    color: var(--forest);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.pos-product-toolbar-head p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.pos-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pos-category-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff9eb;
    color: var(--green);
    padding: 10px 14px;
    font-weight: 900;
}

.pos-category-tabs button.active {
    background: var(--forest);
    color: white;
}

.pos-category-tabs button b {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: rgba(23, 63, 42, 0.1);
    font-size: 0.72rem;
    line-height: 1;
    padding: 0 7px;
}

.pos-category-tabs button.active b {
    background: rgba(255, 255, 255, 0.2);
}

.pos-category-tabs--visual {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(168px, 210px);
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
}

.pos-category-tabs--visual::-webkit-scrollbar {
    height: 8px;
}

.pos-category-tabs--visual::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(23, 63, 42, 0.22);
}

.pos-category-tabs--visual button {
    position: relative;
    min-height: 82px;
    justify-content: flex-start;
    border-radius: 18px;
    padding: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #fffdf7, #f7eedc);
    box-shadow: 0 12px 26px rgba(31, 48, 36, 0.08);
    scroll-snap-align: start;
}

.pos-category-tabs--visual button img,
.pos-category-tabs--visual button i {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 14px;
    background: #efe5cd;
    object-fit: cover;
}

.pos-category-tabs--visual button i .admin-icon {
    width: 28px;
    height: 28px;
}

.pos-category-tabs--visual button > span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.pos-category-tabs--visual button strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--forest);
    font-size: 0.9rem;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pos-category-tabs--visual button small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.pos-category-tabs--visual button.active {
    border-color: rgba(23, 63, 42, 0.48);
    background: linear-gradient(135deg, #173f2a, #2f7d51);
    box-shadow: 0 16px 32px rgba(23, 63, 42, 0.2);
}

.pos-category-tabs--visual button.active strong,
.pos-category-tabs--visual button.active small {
    color: #fff;
}

.pos-category-tabs--visual button.active img,
.pos-category-tabs--visual button.active i {
    outline: 2px solid rgba(255, 255, 255, 0.72);
}

.pos-category-sections {
    display: grid;
    gap: 18px;
}

.pos-category-section {
    display: grid;
    gap: 12px;
    scroll-margin-top: 14px;
}

.pos-category-section.is-hidden {
    display: none;
}

.pos-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(23, 63, 42, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 253, 246, 0.98), rgba(246, 238, 219, 0.9)),
        repeating-linear-gradient(90deg, rgba(23, 63, 42, 0.035) 0 1px, transparent 1px 24px);
    padding: 12px 14px;
    box-shadow: 0 14px 28px rgba(31, 48, 36, 0.07);
}

.pos-category-heading img,
.pos-category-heading > i {
    display: grid;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 16px;
    background: #efe5cd;
    object-fit: cover;
}

.pos-category-heading > i .admin-icon {
    width: 32px;
    height: 32px;
}

.pos-category-heading--favorites {
    border-color: rgba(240, 184, 79, 0.36);
    background: linear-gradient(135deg, #fff7e7, #eef8ef);
}

.pos-category-heading div {
    min-width: 0;
    margin-right: auto;
}

.pos-category-heading span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pos-category-heading h3 {
    margin: 2px 0 0;
    color: var(--forest);
    font-size: 1.08rem;
}

.pos-category-heading strong {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(23, 63, 42, 0.1);
    color: var(--forest);
    font-size: 0.82rem;
    padding: 8px 11px;
}

.pos-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
    gap: 12px;
    align-items: stretch;
    justify-content: start;
}

.pos-sale-form.has-pinned-cart .pos-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(108px, 132px));
    gap: 10px;
}

.pos-sale-form.has-pinned-cart .pos-product-tile {
    border-radius: 18px;
    gap: 6px;
    min-height: 170px;
    padding: 8px;
}

.pos-sale-form.has-pinned-cart .pos-product-tile img {
    border-radius: 14px;
}

.pos-sale-form.has-pinned-cart .pos-product-tile span {
    font-size: 0.68rem;
}

.pos-sale-form.has-pinned-cart .pos-product-tile strong {
    min-height: 32px;
    font-size: 0.86rem;
    line-height: 1.18;
}

.pos-sale-form.has-pinned-cart .pos-product-tile b {
    padding: 7px 9px;
    font-size: 0.78rem;
}

.pos-product-tile {
    position: relative;
    display: grid;
    grid-template-rows: auto auto minmax(38px, auto) auto;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 246px;
    border: 1px solid rgba(46, 86, 55, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdf6, #f4ead4);
    color: var(--ink);
    padding: 10px;
    text-align: left;
    box-shadow: 0 12px 30px rgba(31, 48, 36, 0.08);
}

.pos-product-tile:hover {
    transform: translateY(-2px);
}

.pos-product-tile.is-hidden {
    display: none;
}

.pos-product-tile.has-count {
    border-color: rgba(23, 63, 42, 0.42);
    box-shadow: 0 16px 34px rgba(23, 63, 42, 0.16);
}

.pos-product-tile--favorite,
.pos-product-tile--manual-favorite {
    border-color: rgba(240, 184, 79, 0.62);
    background: linear-gradient(180deg, #fffaf0, #f5ead4);
}

.pos-product-favorite-toggle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    background: rgba(23, 63, 42, 0.72);
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(31, 48, 36, 0.2);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.pos-product-favorite-toggle:hover,
.pos-product-favorite-toggle:focus-visible {
    transform: scale(1.08);
    outline: none;
}

.pos-product-favorite-toggle.is-active {
    background: #f0b84f;
    color: #173f2a;
}

.pos-product-favorite-toggle.is-loading {
    pointer-events: none;
    opacity: 0.68;
}

.pos-product-favorite-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    max-width: calc(100% - 54px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    padding: 5px 8px;
    color: #173f2a;
    background: #ffd37a;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(44, 27, 6, 0.12);
}

.pos-product-tile em {
    position: absolute;
    top: 46px;
    right: 8px;
    display: grid;
    min-width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #f0b84f;
    color: #173f2a;
    font-style: normal;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(44, 27, 6, 0.18);
}

.pos-product-tile em[hidden] {
    display: none;
}

.pos-product-tile img {
    aspect-ratio: 1;
    width: 100%;
    border-radius: 18px;
    background: #f3efd8;
    object-fit: cover;
}

.pos-product-tile span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.pos-product-tile strong {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    font-size: 0.98rem;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pos-product-tile b {
    width: fit-content;
    border-radius: 999px;
    background: var(--forest);
    color: white;
    padding: 8px 12px;
}

.pos-cart-panel {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
    border: 1px solid rgba(23, 63, 42, 0.16);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    padding: 18px;
    box-shadow: var(--soft-shadow);
}

.pos-cart-panel footer,
.table-order-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pos-cart-panel footer {
    border-top: 1px dashed var(--line);
    padding-top: 12px;
}

.pos-cart-panel footer strong {
    color: var(--green);
    font-size: 1.5rem;
}

.pos-submit {
    min-height: 58px;
    font-size: 1rem;
}

.pos-submit:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.pos-cart-line {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    gap: 4px 9px;
    border-style: solid;
    background: #fffaf0;
    padding: 8px;
}

.pos-cart-line img {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    object-fit: cover;
}

.pos-cart-line > div:not(.qty-tools) {
    min-width: 0;
    line-height: 1.12;
}

.pos-cart-line > div:not(.qty-tools) strong {
    display: block;
    overflow: hidden;
    color: var(--admin-ink, var(--ink));
    font-size: 0.88rem;
    line-height: 1.12;
}

.pos-cart-line > div:not(.qty-tools) small {
    display: block;
    margin-top: 2px;
    color: var(--admin-muted, var(--muted));
    font-size: 0.76rem;
    line-height: 1.1;
}

.pos-cart-line .qty-tools {
    grid-column: 2;
    justify-content: flex-start;
    gap: 4px;
    margin-top: -1px;
}

.pos-cart-line .qty-tools button {
    min-width: 28px;
    height: 26px;
    font-size: 0.82rem;
    line-height: 1;
}

.pos-cart-line .qty-tools button[data-pos-remove] {
    min-width: 40px;
    padding: 0 9px;
}

.pos-cart-bubble {
    position: fixed !important;
    right: clamp(14px, 3vw, 32px);
    bottom: clamp(14px, 3vw, 32px);
    z-index: 130;
    width: 60px;
    height: 60px;
    min-width: 0;
    max-width: 60px;
    min-height: 0;
    max-height: 60px;
    border: 0;
    border-radius: 18px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    backdrop-filter: none;
    overflow: visible;
    touch-action: auto;
}

.pos-cart-bubble-toggle {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    justify-items: center;
    width: 60px;
    min-width: 0;
    height: 60px;
    min-height: 0;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #173f2a, #2f7a45);
    color: #fff;
    cursor: pointer;
    padding: 0;
    text-align: center;
    box-shadow: 0 16px 34px rgba(23, 63, 42, 0.28);
    touch-action: none;
    user-select: none;
}

.pos-cart-bubble-toggle * {
    pointer-events: none;
}

[data-pos-cart-toggle] .admin-icon {
    pointer-events: none;
}

.pos-cart-bubble-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
}

.pos-cart-bubble-icon .admin-icon {
    width: 22px;
    height: 22px;
}

.pos-cart-bubble-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ffb84d;
    color: #173f2a;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
    padding: 0 5px;
    box-shadow: 0 8px 18px rgba(24, 34, 52, 0.18);
}

.pos-cart-bubble-badge[hidden] {
    display: none;
}

.pos-cart-bubble-copy {
    display: none;
    min-width: 0;
    gap: 2px;
}

.pos-cart-bubble-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.98rem;
}

.pos-cart-bubble-copy small {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 850;
}

.pos-cart-bubble-toggle b {
    display: none;
    font-size: 1.08rem;
    white-space: nowrap;
}

.pos-cart-bubble-toggle i {
    display: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 950;
    padding: 8px 10px;
    white-space: nowrap;
}

.pos-cart-bubble .pos-cart-content {
    display: none;
}

.pos-cart-bubble.is-dragging,
.pos-cart-bubble.is-dragging .pos-cart-bubble-toggle,
.pos-cart-bubble.is-resizing,
.pos-cart-bubble.is-resizing .pos-cart-resize-handle {
    cursor: grabbing;
    transition: none;
    user-select: none;
}

.pos-cart-bubble.is-expanded {
    height: auto;
    min-height: 0;
    width: min(420px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    max-height: min(58dvh, 500px);
    border: 1px solid rgba(23, 63, 42, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 80px rgba(24, 34, 52, 0.22);
    padding: 10px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.pos-cart-bubble.is-expanded.is-resized {
    max-height: calc(100dvh - 20px);
}

.pos-cart-bubble.is-expanded .pos-cart-bubble-toggle {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    min-width: 0;
    height: 58px;
    min-height: 58px;
    border-radius: 20px;
    box-shadow: none;
    padding: 10px;
    text-align: left;
}

.pos-cart-bubble.is-expanded .pos-cart-bubble-copy,
.pos-cart-bubble.is-expanded .pos-cart-bubble-toggle b,
.pos-cart-bubble.is-expanded .pos-cart-bubble-toggle i {
    display: grid;
}

.pos-cart-bubble.is-expanded .pos-cart-bubble-toggle b,
.pos-cart-bubble.is-expanded .pos-cart-bubble-toggle i {
    display: inline-flex;
}

.pos-cart-bubble.is-expanded .pos-cart-content {
    display: grid;
    flex: 1 1 auto;
    gap: 14px;
    min-height: 0;
    max-height: min(42dvh, 400px);
    overflow: auto;
    padding: 10px 4px 4px;
}

.pos-cart-tools {
    display: flex;
    justify-content: flex-end;
}

.pos-cart-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    border: 1px solid rgba(23, 63, 42, 0.16);
    border-radius: 999px;
    background: #f6faf7;
    color: #173f2a;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 950;
    padding: 8px 12px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pos-cart-pin:hover,
.pos-cart-pin:focus-visible {
    border-color: rgba(23, 63, 42, 0.34);
    background: #edf7ef;
    outline: none;
    transform: translateY(-1px);
}

.pos-cart-pin .admin-icon {
    width: 16px;
    height: 16px;
}

.pos-cart-bubble.is-pinned .pos-cart-pin {
    border-color: rgba(23, 63, 42, 0.34);
    background: linear-gradient(135deg, #173f2a, #2f7a45);
    color: #fff;
}

.pos-cart-bubble.is-expanded.is-resized .pos-cart-content {
    flex: 1 1 auto;
    height: 100%;
    max-height: none;
}

.pos-cart-bubble.is-expanded .pos-cart-bubble-toggle i {
    background: rgba(255, 255, 255, 0.24);
}

.pos-cart-resize-handle {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 0 0 24px 0;
    cursor: nwse-resize;
    touch-action: none;
}

.pos-cart-bubble.is-expanded .pos-cart-resize-handle {
    display: block;
}

.pos-cart-resize-handle::after {
    position: absolute;
    right: 9px;
    bottom: 9px;
    width: 15px;
    height: 15px;
    border-right: 3px solid rgba(23, 63, 42, 0.34);
    border-bottom: 3px solid rgba(23, 63, 42, 0.34);
    content: "";
}

.pos-cart-bubble.is-pinned .pos-cart-resize-handle {
    right: auto;
    left: 0;
    border-radius: 0 0 0 24px;
    cursor: nesw-resize;
}

.pos-cart-bubble.is-pinned .pos-cart-resize-handle::after {
    right: auto;
    left: 9px;
    border-right: 0;
    border-left: 3px solid rgba(23, 63, 42, 0.34);
}

.pos-cart-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.pos-cart-head h2 {
    margin: 6px 0 0;
}

.pos-cart-head p {
    margin-top: 5px;
}

.pos-cart-bubble:not(.has-items) .pos-cart-bubble-toggle {
    background: linear-gradient(135deg, #5d6476, #7b8193);
}

.pos-table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
}

.waiter-table-card {
    position: relative;
    min-width: 0;
}

.pos-table-tile {
    display: grid;
    gap: 8px;
    min-height: 132px;
    border: 1px solid var(--line);
    border-radius: 26px;
    color: var(--ink);
    padding: 16px;
    text-decoration: none;
}

.pos-table-tile.is-empty {
    background: linear-gradient(135deg, #f3f4f0, #ffffff);
}

.pos-table-tile.is-busy {
    border-color: rgba(29, 78, 216, 0.22);
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.pos-table-tile.is-preparing {
    border-color: rgba(34, 197, 94, 0.32);
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
}

.pos-table-tile.is-ready {
    border-color: rgba(21, 128, 61, 0.5);
    background: linear-gradient(135deg, #15803d, #166534);
    color: #fff;
}

.pos-table-tile.is-served {
    border-color: rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
}

.pos-table-tile.is-occupied {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, #fef3c7, #fff7ed);
}

.pos-table-tile.active {
    outline: 3px solid rgba(240, 184, 79, 0.9);
}

.pos-table-tile.has-waiter-call {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 18px 36px rgba(239, 68, 68, 0.12);
}

.waiter-call-badge-form {
    position: absolute;
    top: -9px;
    right: -9px;
    z-index: 4;
    margin: 0;
}

.waiter-call-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.28);
    cursor: pointer;
}

.waiter-call-badge .admin-icon {
    width: 20px;
    height: 20px;
}

.waiter-call-badge em,
.mobile-ops-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
    padding: 0 4px;
}

.waiter-call-badge em {
    top: -7px;
    right: -7px;
}

.pos-table-tile strong {
    font-size: 1.1rem;
}

.pos-table-tile b {
    margin-top: auto;
    color: var(--green);
}

.pos-table-tile.is-ready b,
.pos-table-tile.is-served b {
    color: #fff;
}

.pos-table-detail {
    display: grid;
    gap: 16px;
}

.pos-table-info-panel,
.pos-table-add-form {
    display: grid;
    gap: 16px;
}

.pos-table-detail-title {
    align-items: center;
}

.pos-table-detail-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pos-table-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.pos-table-back .admin-icon {
    width: 18px;
    height: 18px;
}

.pos-table-detail-actions {
    justify-content: flex-end;
}

.pos-table-name {
    color: var(--ink);
    font-size: 1.1rem;
}

.pos-table-total {
    color: var(--green);
    font-size: 1.35rem;
}

.pos-table-add-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    gap: 16px;
    align-items: start;
}

.pos-table-add-form.pos-sale-form .pos-table-add-layout {
    display: block;
}

.pos-table-products-section {
    min-width: 0;
}

.order-card-pos {
    border: 1px solid rgba(23, 63, 42, 0.13);
    background: linear-gradient(135deg, #fffdf7, #f7edd8);
}

.pos-order-actions {
    gap: 10px;
}

.pos-order-actions .secondary,
.pos-order-actions .primary {
    min-height: 44px;
}

.table-order-summary {
    display: grid;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fffaf0;
    padding: 14px;
}

.order-card-items {
    display: grid;
    gap: 8px;
}

.order-item-edit-row,
.table-order-summary .order-item-edit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(23, 63, 42, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    padding: 8px;
}

.order-item-edit-row.is-readonly {
    grid-template-columns: minmax(0, 1fr);
}

.order-item-edit-main,
.table-order-summary .order-item-edit-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.order-item-edit-main span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 850;
}

.order-item-edit-main strong {
    white-space: nowrap;
}

.order-item-qty-form,
.order-item-delete-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.order-item-qty-form input[type="number"] {
    width: 72px;
    min-height: 38px;
    padding: 6px 8px;
    text-align: center;
}

.order-item-qty-form .secondary,
.order-item-delete-form .tiny {
    min-height: 38px;
}

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

.delivery-fields {
    align-items: end;
}

.cart-lines {
    display: grid;
    gap: 8px;
    margin: 14px 0;
}

.cart-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    padding: 11px;
}

.order-card {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
    padding: 15px;
}

.order-card > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-card ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
}

.order-card li span {
    color: var(--muted);
}

.inline {
    display: inline-block;
    margin-left: 8px;
}

.form-section-title {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(16, 36, 62, 0.1);
    border-radius: 8px;
    background: rgba(16, 36, 62, 0.04);
    padding: 12px;
}

.form-section-title strong {
    color: #10243e;
    font-size: 0.95rem;
}

.form-section-title small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.45;
}

.qr-body {
    overflow-x: hidden;
    background: linear-gradient(180deg, #f8fbf7 0%, #eef6ef 54%, #f9faf6 100%);
    color: #12221a;
}

.qr-hero {
    padding: clamp(28px, 6vw, 68px);
    background: linear-gradient(135deg, #0d2b22 0%, #17613f 58%, #c7963e 100%);
    color: white;
}

.qr-menu-hero {
    padding: clamp(22px, 5vw, 54px) 18px;
    box-shadow: 0 18px 44px rgba(11, 44, 31, 0.14);
}

.qr-hero-inner {
    display: grid;
    width: min(1120px, 100%);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 22px;
    align-items: center;
}

.qr-hero-copy {
    min-width: 0;
}

.qr-menu-hero h1 {
    margin: 18px 0 8px;
    max-width: 760px;
    font-size: clamp(34px, 7vw, 60px);
    letter-spacing: 0;
}

.qr-menu-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
}

.waiter-form {
    display: flex;
    max-width: 680px;
    flex-wrap: wrap;
    gap: 10px;
}

.waiter-form input {
    flex: 1 1 280px;
}

.qr-waiter-card {
    display: grid;
    max-width: none;
    grid-template-columns: 1fr;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 42px rgba(8, 22, 14, 0.16);
    padding: 14px;
    backdrop-filter: blur(16px);
}

.qr-waiter-card div {
    display: grid;
    gap: 3px;
}

.qr-waiter-card strong {
    color: #fff;
    font-size: 1.08rem;
}

.qr-waiter-card small {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 850;
}

.qr-waiter-card input {
    flex: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.qr-waiter-card .primary {
    min-height: 48px;
}

.qr-menu {
    display: grid;
    width: min(1120px, 100%);
    gap: 18px;
    margin: 0 auto;
    padding: 16px;
}

.qr-category-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    gap: 9px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(18, 34, 26, 0.08);
    background: rgba(248, 251, 247, 0.94);
    box-shadow: 0 12px 24px rgba(20, 38, 26, 0.06);
    backdrop-filter: blur(14px);
    scrollbar-width: none;
}

.qr-category-bar::-webkit-scrollbar {
    display: none;
}

.qr-category-bar button {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(18, 34, 26, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #273c31;
    cursor: pointer;
    font-weight: 950;
    padding: 9px 12px 9px 15px;
    box-shadow: 0 8px 18px rgba(27, 40, 31, 0.06);
    white-space: nowrap;
}

.qr-category-bar button b {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: rgba(23, 63, 42, 0.08);
    color: currentColor;
    font-size: 12px;
}

.qr-category-bar button.active {
    border-color: rgba(18, 54, 38, 0.22);
    background: linear-gradient(135deg, #123426, #1f7a4d);
    color: #fff;
    box-shadow: 0 14px 28px rgba(24, 87, 55, 0.2);
}

.qr-category-bar button.active b {
    background: rgba(255, 255, 255, 0.18);
}

.qr-menu-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    gap: 12px;
    align-items: center;
    padding-top: 2px;
}

.qr-menu-toolbar div {
    display: grid;
    gap: 3px;
}

.qr-menu-toolbar span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.qr-menu-toolbar strong {
    color: var(--forest);
    font-size: 1.28rem;
}

.qr-menu-toolbar input {
    min-height: 48px;
    border-color: rgba(18, 34, 26, 0.12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(27, 40, 31, 0.06);
}

.qr-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 16px;
}

.qr-product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid rgba(18, 34, 26, 0.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(25, 35, 25, 0.09);
}

.qr-product-card.is-hidden {
    display: none;
}

.qr-product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    background: #eef4e6;
}

.qr-product-card div {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 8px;
    padding: 14px;
}

.qr-product-card span {
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(199, 150, 62, 0.14);
    color: #6b4b11;
    font-size: 11px;
    font-weight: 950;
    padding: 6px 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-product-card h2 {
    overflow: hidden;
    margin: 0;
    color: #16251b;
    font-size: 0.85rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.qr-product-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #68766c;
    font-size: 0.86rem;
    line-height: 1.42;
}

.qr-product-card strong {
    width: fit-content;
    border-radius: 999px;
    background: linear-gradient(135deg, #123426, #1f7a4d);
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 12px;
}

.qr-empty-state {
    border: 1px dashed rgba(23, 63, 42, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    font-weight: 900;
    padding: 24px;
    text-align: center;
}

.qr-menu section h2 {
    font-size: clamp(26px, 4vw, 42px);
}

@media (min-width: 721px) {
    .qr-menu {
        width: min(1060px, 100%);
    }

    .qr-products {
        grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
        gap: 14px;
    }

    .qr-product-card {
        border-radius: 16px;
    }

    .qr-product-card div {
        gap: 6px;
        padding: 12px;
    }

    body.qr-body .qr-product-card h2 {
        font-size: 0.85rem !important;
        line-height: 1.18;
    }

    .qr-product-card p {
        font-size: 0.8rem;
    }

    .qr-product-card strong {
        font-size: 0.84rem;
        padding: 7px 10px;
    }
}

@media (max-width: 720px) {
    .qr-menu-hero {
        padding: 18px 12px 20px;
    }

    .qr-hero-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qr-menu-hero h1 {
        margin-top: 14px;
        font-size: 34px;
        line-height: 1;
    }

    .qr-waiter-card {
        border-radius: 18px;
        padding: 12px;
    }

    .qr-menu {
        gap: 13px;
        padding: 12px;
    }

    .qr-category-bar {
        margin: 0 -12px;
        padding: 10px 12px;
    }

    .qr-category-bar button {
        min-height: 42px;
        padding: 8px 10px 8px 13px;
    }

    .qr-menu-toolbar {
        grid-template-columns: 1fr;
    }

    .qr-menu-toolbar strong {
        font-size: 1.12rem;
    }

    .qr-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .qr-product-card {
        border-radius: 16px;
    }

    .qr-product-card img {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .qr-product-card div {
        gap: 6px;
        padding: 10px;
    }

    .qr-product-card span {
        font-size: 10px;
        padding: 5px 7px;
    }

    .qr-product-card h2 {
        font-size: 0.85rem;
        line-height: 1.15;
    }

    .qr-product-card p {
        -webkit-line-clamp: 2;
        font-size: 0.76rem;
    }

    .qr-product-card strong {
        font-size: 0.82rem;
        padding: 7px 9px;
    }
}

.store-body {
    background:
        radial-gradient(circle at 12% 8%, rgba(240, 184, 79, 0.28), transparent 25rem),
        radial-gradient(circle at 88% 0%, rgba(23, 63, 42, 0.18), transparent 24rem),
        #f8f0df;
}

.store-header {
    position: sticky;
    top: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1320px, calc(100% - 28px));
    margin: 12px auto 0;
    border: 1px solid rgba(108, 84, 51, 0.16);
    border-radius: 999px;
    background: rgba(255, 250, 239, 0.9);
    box-shadow: 0 22px 55px rgba(39, 31, 18, 0.12);
    padding: 10px 12px;
    backdrop-filter: blur(18px);
}

.store-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 950;
    padding-right: 10px;
}

.store-brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.store-back-button {
    display: inline-grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(108, 84, 51, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--forest);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.store-back-button:hover {
    background: rgba(23, 63, 42, 0.09);
    box-shadow: inset 0 0 0 1px rgba(23, 63, 42, 0.04);
    transform: translateX(-2px);
}

.store-logo span,
.store-logo img {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 17px;
    background: var(--forest);
    color: #fff;
    object-fit: cover;
}

.store-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.store-account-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 4px;
    white-space: nowrap;
}

.store-home-button {
    position: absolute;
    left: 50%;
    top: calc(100% - 8px);
    z-index: 2;
    display: inline-grid;
    width: 72px;
    min-width: 72px;
    height: 72px;
    place-items: center;
    border: 7px solid rgba(255, 248, 230, 0.92);
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.88), transparent 38%),
        linear-gradient(145deg, #fff8df, #ead9b2);
    color: var(--forest);
    padding: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 22px 44px rgba(59, 33, 19, 0.18), inset 0 -3px 0 rgba(107, 61, 31, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.store-home-button:hover {
    color: #1f5a2d;
    transform: translate(-50%, -54%);
    box-shadow: 0 28px 52px rgba(59, 33, 19, 0.24), inset 0 -3px 0 rgba(107, 61, 31, 0.08);
}

.store-home-button span {
    position: relative;
    display: block;
    width: 24px;
    height: 20px;
    border-radius: 4px 4px 7px 7px;
    background: currentColor;
}

.store-home-button span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -13px;
    width: 22px;
    height: 22px;
    border-radius: 5px 5px 2px 2px;
    background: currentColor;
    transform: translateX(-50%) rotate(45deg);
}

.store-home-button span::after {
    content: "";
    position: absolute;
    left: 9px;
    bottom: 0;
    width: 6px;
    height: 10px;
    border-radius: 2px 2px 0 0;
    background: rgba(255, 248, 230, 0.9);
}

.store-account-actions .store-account-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 34%, #fff 0 7px, transparent 7.8px),
        radial-gradient(ellipse at 50% 78%, #fff 0 15px, transparent 15.8px),
        linear-gradient(145deg, #ffb11c, #f07a00);
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.24), 0 12px 24px rgba(240, 122, 0, 0.24);
}

.store-account-links {
    display: grid;
    align-content: center;
    gap: 3px;
    line-height: 1.05;
}

.store-header nav .store-account-action {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    font-weight: 950;
    padding: 0;
    text-decoration: none;
}

.store-header nav .account-login {
    color: #111;
}

.store-header nav .account-register {
    color: #c0392b;
}

.store-header nav .store-account-action:hover {
    color: #fff8de;
    text-shadow: 0 1px 8px rgba(18, 61, 37, 0.28);
}

.store-account-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    border: 1px solid rgba(108, 84, 51, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--forest);
    padding: 8px 13px 8px 9px;
}

.store-account-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 36%, currentColor 0 5px, transparent 5.8px),
        radial-gradient(ellipse at 50% 84%, currentColor 0 11px, transparent 11.8px),
        rgba(23, 63, 42, 0.1);
    color: var(--forest);
}

.store-account-signed {
    max-width: min(270px, 36vw);
    text-decoration: none;
}

.store-header nav .store-account-signed {
    color: var(--forest);
    padding: 8px 14px 8px 9px;
}

.store-account-signed strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-account-signed small {
    color: var(--store-red, #d33b2f);
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
}

.store-account-signed .store-account-links {
    min-width: 0;
}

.store-header nav a,
.store-nav-button {
    border-radius: 999px;
    border: 1px solid rgba(108, 84, 51, 0.14);
    background: rgba(255, 255, 255, 0.62);
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    font-family: inherit;
    padding: 11px 15px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.store-header nav a:hover,
.store-header nav .store-nav-button:hover {
    background: rgba(23, 63, 42, 0.09);
    color: var(--forest);
    box-shadow: inset 0 0 0 1px rgba(23, 63, 42, 0.04);
}

.store-header nav .store-account-box .store-account-action,
.store-header nav .store-account-box .store-account-action:hover {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.store-nav-button [data-cart-count],
.floating-cart strong {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    background: var(--forest);
    color: #fff;
    font-size: 12px;
    margin-left: 4px;
    padding: 0 6px;
}

.store-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    background: var(--forest);
    color: #fff8de;
    padding: 13px 18px;
    box-shadow: 0 16px 34px rgba(23, 63, 42, 0.24);
}

.store-header nav .store-cart-button:hover {
    background: #102f20;
    color: #fff;
}

.store-cart-button .cart-icon::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 11px;
    margin-right: 7px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 3px 3px 5px 5px;
    box-shadow: 0 -5px 0 -3px currentColor;
}

.store-cart-button [data-cart-count] {
    background: #f0b84f;
    color: #173f2a;
    margin-left: 0;
}

.storefront {
    max-width: 1440px;
    margin: auto;
    padding: clamp(18px, 4vw, 46px);
}

.store-hero {
    position: relative;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(108, 84, 51, 0.14);
    border-radius: clamp(30px, 5vw, 54px);
    background:
        linear-gradient(105deg, rgba(255, 252, 244, 0.97), rgba(255, 244, 221, 0.88) 48%, rgba(221, 235, 204, 0.72)),
        radial-gradient(circle at 88% 18%, rgba(240, 184, 79, 0.34), transparent 18rem);
    box-shadow: 0 32px 90px rgba(39, 31, 18, 0.13);
    margin-bottom: 28px;
    padding: clamp(32px, 7vw, 82px);
}

.store-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -42% auto;
    width: min(46vw, 520px);
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle at 45% 42%, rgba(23, 63, 42, 0.22), transparent 0 38%),
        radial-gradient(circle at 52% 50%, rgba(240, 184, 79, 0.28), transparent 0 62%);
    filter: blur(2px);
    pointer-events: none;
}

.hero-card,
.store-section,
.checkout-cart,
.checkout-customer,
.store-preview {
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.store-hero > div:first-child {
    position: relative;
    z-index: 1;
    max-width: 940px;
}

.store-hero h1 {
    max-width: 900px;
    margin: 22px 0 14px;
    color: #132719;
    font-size: clamp(44px, 7vw, 94px);
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.store-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.65;
}

.store-hero .brand-pill {
    border-color: rgba(23, 63, 42, 0.13);
    background: rgba(255, 255, 255, 0.72);
    color: var(--forest);
}

.hero-actions,
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-facts span {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    padding: 9px 12px;
}

.hero-card {
    display: none;
    align-content: start;
    gap: 16px;
    border-radius: 38px;
    padding: 20px;
}

.hero-card > strong {
    font-size: 22px;
}

.hero-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-products article {
    overflow: hidden;
    border-radius: 24px;
    background: #fff8e9;
}

.hero-products img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
}

.hero-products span {
    display: block;
    font-size: 13px;
    font-weight: 900;
    padding: 10px;
}

.store-section {
    border-radius: 34px;
    margin-top: 22px;
    padding: clamp(18px, 3vw, 28px);
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-title h2 {
    max-width: 700px;
    margin: 10px 0 0;
    font-size: clamp(30px, 5vw, 58px);
    line-height: 0.98;
}

#store-search {
    max-width: 420px;
    border-radius: 999px;
}

.category-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.category-pills button {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--muted);
    cursor: pointer;
    font-weight: 900;
    padding: 10px 14px;
}

.category-pills button.active {
    background: var(--forest);
    color: white;
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.menu-tabs a {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-weight: 950;
    padding: 11px 15px;
}

.menu-tabs a.active {
    background: var(--forest);
    color: #fff;
    box-shadow: 0 14px 30px rgba(23, 63, 42, 0.18);
}

.store-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
}

.store-product {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 46px rgba(39, 31, 18, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.store-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 62px rgba(39, 31, 18, 0.13);
}

.store-product.is-hidden {
    display: none;
}

.store-product > img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    background: #efe3ce;
}

.store-product > div {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.store-product h3 {
    margin: 0;
    font-size: 22px;
}

.store-product p {
    min-height: 40px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.product-buy {
    display: grid;
    grid-template-columns: auto minmax(145px, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.product-buy strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    border-radius: 999px;
    background: var(--forest);
    color: white;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
    padding: 13px 16px;
}

.store-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 156px;
    min-height: 48px;
    padding: 14px 17px;
    font-size: 15px;
    white-space: nowrap;
}

.store-add-button [data-store-product-count] {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: #f0b84f;
    color: #173f2a;
    font-size: 13px;
    font-weight: 950;
    padding: 0 7px;
}

.store-add-button [data-store-product-count][hidden] {
    display: none;
}

.store-add-button.has-count {
    box-shadow: 0 12px 26px rgba(23, 63, 42, 0.22);
}

/* Poster-inspired storefront theme: forest green, warm wood, parchment cream. */
.store-body {
    --poster-green: #123d25;
    --poster-leaf: #315f2f;
    --poster-wood: #6b3d1f;
    --poster-bark: #3b2113;
    --poster-gold: #d8952e;
    --poster-cream: #fbf0d4;
    --poster-paper: #fff8e6;
    background:
        radial-gradient(circle at 12% -8%, rgba(216, 149, 46, 0.34), transparent 26rem),
        radial-gradient(circle at 88% 6%, rgba(37, 95, 40, 0.28), transparent 27rem),
        linear-gradient(180deg, rgba(18, 61, 37, 0.12), transparent 20rem),
        repeating-linear-gradient(90deg, rgba(107, 61, 31, 0.035) 0 1px, transparent 1px 46px),
        #f4ead4;
}

.store-body::before,
.store-body::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.store-body::before {
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(33, 92, 42, 0.28), transparent 18rem),
        radial-gradient(ellipse at 100% 0%, rgba(33, 92, 42, 0.22), transparent 18rem),
        linear-gradient(120deg, transparent 0 42%, rgba(96, 58, 27, 0.07) 42% 44%, transparent 44% 100%);
    opacity: 0.95;
}

.store-body::after {
    inset: auto 0 0;
    height: 180px;
    background:
        linear-gradient(180deg, transparent, rgba(18, 61, 37, 0.2)),
        repeating-linear-gradient(-22deg, rgba(18, 61, 37, 0.18) 0 3px, transparent 3px 18px);
    mask-image: linear-gradient(180deg, transparent, #000 40%);
}

.store-header {
    border-color: rgba(83, 49, 25, 0.24);
    background:
        linear-gradient(135deg, rgba(255, 248, 230, 0.95), rgba(244, 224, 185, 0.9)),
        linear-gradient(90deg, rgba(107, 61, 31, 0.12), transparent);
    box-shadow: 0 22px 55px rgba(59, 33, 19, 0.18);
    outline: 1px solid rgba(255, 255, 255, 0.42);
}

.store-logo span,
.store-logo img {
    background:
        linear-gradient(145deg, var(--poster-green), #255f2d);
    box-shadow: inset 0 0 0 2px rgba(255, 248, 230, 0.16), 0 12px 24px rgba(18, 61, 37, 0.24);
}

.store-back-button,
.store-account-box {
    border-color: rgba(83, 49, 25, 0.18);
    background: rgba(255, 248, 230, 0.74);
    box-shadow: inset 0 -2px 0 rgba(107, 61, 31, 0.08);
}

.store-account-actions {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.store-account-icon {
    background:
        radial-gradient(circle at 50% 36%, currentColor 0 5px, transparent 5.8px),
        radial-gradient(ellipse at 50% 84%, currentColor 0 11px, transparent 11.8px),
        linear-gradient(145deg, rgba(255, 232, 170, 0.85), rgba(244, 224, 185, 0.88));
}

.store-header nav a,
.store-nav-button {
    border-color: rgba(83, 49, 25, 0.18);
    background: rgba(255, 248, 230, 0.72);
    color: #36513a;
    box-shadow: inset 0 -2px 0 rgba(107, 61, 31, 0.08);
}

.store-cart-button,
.floating-cart {
    background: linear-gradient(135deg, var(--poster-green), #1f5a2d);
    color: #fff8de;
    box-shadow: 0 16px 34px rgba(18, 61, 37, 0.32);
}

.store-header nav .store-cart-button {
    color: #fff8de;
}

.store-cart-button [data-cart-count],
.floating-cart strong {
    background: var(--poster-gold);
    color: #17351f;
}

.store-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.68fr);
    gap: clamp(22px, 4vw, 46px);
    align-items: center;
    border: 1px solid rgba(94, 57, 28, 0.22);
    background:
        radial-gradient(circle at 22% 12%, rgba(255, 236, 176, 0.72), transparent 24rem),
        linear-gradient(112deg, rgba(255, 247, 226, 0.98), rgba(244, 226, 190, 0.9) 48%, rgba(211, 228, 188, 0.76)),
        repeating-linear-gradient(90deg, rgba(95, 54, 27, 0.08) 0 2px, transparent 2px 28px);
    box-shadow: 0 38px 95px rgba(59, 33, 19, 0.18);
}

.store-hero > div:first-child::before {
    content: attr(data-store-label);
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    border: 1px solid rgba(107, 61, 31, 0.24);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(107, 61, 31, 0.12), rgba(255, 248, 230, 0.88));
    color: #6b3d1f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: 0.04em;
    padding: 9px 15px;
}

.store-hero::before {
    content: "";
    position: absolute;
    inset: -20% -8% auto auto;
    width: min(36vw, 430px);
    height: 250px;
    border-radius: 0 0 999px 999px;
    background:
        radial-gradient(circle at 30% 35%, rgba(42, 98, 38, 0.34) 0 12%, transparent 13%),
        radial-gradient(circle at 54% 40%, rgba(42, 98, 38, 0.3) 0 15%, transparent 16%),
        radial-gradient(circle at 74% 28%, rgba(42, 98, 38, 0.25) 0 12%, transparent 13%);
    filter: blur(0.4px);
    opacity: 0.9;
}

.store-hero::after {
    inset: auto -6% -34% auto;
    width: min(38vw, 480px);
    background:
        radial-gradient(circle at 45% 42%, rgba(18, 61, 37, 0.25), transparent 0 38%),
        radial-gradient(circle at 52% 50%, rgba(216, 149, 46, 0.32), transparent 0 62%);
}

.store-hero h1 {
    max-width: 820px;
    color: var(--poster-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 7.4vw, 104px);
    letter-spacing: -0.045em;
    text-shadow: 0 2px 0 rgba(255, 248, 230, 0.8);
}

.store-hero p {
    color: #4f604b;
    font-size: clamp(17px, 1.8vw, 21px);
}

.store-hero .brand-pill {
    border-color: rgba(18, 61, 37, 0.18);
    background: rgba(255, 248, 230, 0.78);
    color: var(--poster-green);
    box-shadow: 0 10px 22px rgba(59, 33, 19, 0.08);
}

.hero-actions .primary {
    background: linear-gradient(135deg, var(--poster-green), #235e2d);
    box-shadow: 0 18px 35px rgba(18, 61, 37, 0.24);
}

.hero-actions .secondary,
.hero-facts span {
    border-color: rgba(83, 49, 25, 0.18);
    background: rgba(255, 248, 230, 0.78);
}

.hero-poster-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    border: 1px solid rgba(80, 47, 24, 0.22);
    border-radius: 38px;
    background:
        linear-gradient(180deg, rgba(255, 247, 224, 0.94), rgba(238, 215, 174, 0.9)),
        repeating-linear-gradient(90deg, rgba(96, 58, 27, 0.13) 0 1px, transparent 1px 22px);
    box-shadow: 0 28px 66px rgba(59, 33, 19, 0.18);
    padding: clamp(16px, 2.4vw, 24px);
}

.poster-sign {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.7), transparent 6rem),
        linear-gradient(135deg, #f7dfad, #c88b45 52%, #8f542a);
    color: #17351f;
    padding: 22px 18px 18px;
    text-align: center;
}

.poster-sign::before,
.poster-sign::after {
    content: "";
    position: absolute;
    top: -34px;
    width: 8px;
    height: 48px;
    border-radius: 999px;
    background: linear-gradient(#5f371d, #2e1a0f);
}

.poster-sign::before {
    left: 18%;
}

.poster-sign::after {
    right: 18%;
}

.poster-sign small {
    color: #5f371d;
    font-family: "Trebuchet MS", sans-serif;
    font-weight: 950;
}

.poster-sign strong {
    color: var(--poster-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 0.9;
    text-transform: uppercase;
}

.poster-sign span {
    border-radius: 999px;
    background: var(--poster-green);
    color: var(--poster-cream);
    font-size: 0.78rem;
    font-weight: 950;
    padding: 8px 12px;
    text-transform: uppercase;
}

.poster-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.poster-values span {
    border-radius: 16px;
    background: linear-gradient(135deg, #6b3d1f, #3b2113);
    color: #fff6dc;
    font-weight: 950;
    padding: 10px 12px;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 248, 230, 0.12), 0 10px 18px rgba(59, 33, 19, 0.12);
}

.poster-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.poster-showcase article {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(80, 47, 24, 0.16);
    border-radius: 24px;
    background: rgba(255, 248, 230, 0.9);
    min-height: 96px;
    padding: 10px;
}

.poster-showcase img {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    object-fit: cover;
    background: #e9d7b8;
}

.poster-showcase strong {
    display: block;
    color: var(--poster-green);
    font-size: 0.95rem;
    line-height: 1.15;
    padding: 0;
}

.poster-showcase span {
    position: static;
    justify-self: start;
    border-radius: 999px;
    background: var(--poster-green);
    color: #fff8de;
    font-size: 0.86rem;
    font-weight: 950;
    padding: 8px 10px;
}

.store-section {
    border-color: rgba(83, 49, 25, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 248, 230, 0.94), rgba(249, 238, 213, 0.9)),
        repeating-linear-gradient(90deg, rgba(91, 57, 31, 0.04) 0 1px, transparent 1px 30px);
}

.section-title h2 {
    color: var(--poster-green);
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.035em;
}

#store-search {
    border: 1px solid rgba(83, 49, 25, 0.2);
    background: rgba(255, 251, 240, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
    min-height: 54px;
}

.category-pills {
    gap: 12px;
    padding: 4px 0 16px;
}

.category-pills button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    border-color: rgba(83, 49, 25, 0.18);
    border-radius: 22px;
    background: rgba(255, 248, 230, 0.86);
    color: #36513a;
    box-shadow: 0 12px 26px rgba(59, 33, 19, 0.08);
}

.category-pills button img,
.category-pills button i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    object-fit: cover;
    background: #efe1bd;
    color: var(--poster-green);
    font-style: normal;
    font-weight: 950;
}

.category-pills button.active {
    background: linear-gradient(135deg, var(--poster-green), #235e2d);
    color: #fff8de;
}

.store-products {
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 22px;
}

.store-product {
    border-color: rgba(83, 49, 25, 0.16);
    border-radius: 34px;
    background: rgba(255, 250, 238, 0.94);
    box-shadow: 0 20px 48px rgba(59, 33, 19, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.store-product:hover {
    border-color: rgba(216, 149, 46, 0.44);
    box-shadow: 0 26px 60px rgba(59, 33, 19, 0.16);
    transform: translateY(-3px);
}

.store-product-media {
    position: relative;
    overflow: hidden;
    margin: 10px 10px 0;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(216, 149, 46, 0.16), rgba(35, 94, 45, 0.12)),
        #ead9b9;
}

.store-product-media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.store-product-media figcaption {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    background: rgba(255, 248, 230, 0.88);
    color: var(--poster-green);
    font-size: 0.76rem;
    font-weight: 950;
    padding: 8px 10px;
    backdrop-filter: blur(10px);
}

.store-product > div {
    padding: 18px 20px 20px;
}

.store-product > div > small {
    width: fit-content;
    border-radius: 999px;
    background: rgba(216, 149, 46, 0.16);
    color: #6b3d1f;
    font-weight: 950;
    padding: 6px 10px;
}

.store-product h3 {
    color: #17271a;
    font-size: 24px;
}

.store-product p {
    color: #62715d;
}

.product-buy strong {
    min-width: 112px;
    background: radial-gradient(circle at 30% 20%, #276b36, var(--poster-green));
    box-shadow: inset 0 0 0 2px rgba(255, 248, 230, 0.12), 0 12px 24px rgba(18, 61, 37, 0.18);
    font-size: 20px;
}

.store-add-button {
    min-height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #7a461f, #3b2113);
    box-shadow: 0 14px 28px rgba(59, 33, 19, 0.18);
}

.store-add-button:hover {
    background: linear-gradient(135deg, #8f542a, #4b2b18);
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 20px;
    align-items: start;
}

.checkout-choice-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 20px;
    align-items: start;
}

.checkout-choice-stack {
    display: grid;
    gap: 16px;
}

.checkout-choice-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 10px;
    min-height: 190px;
    border: 1px solid rgba(83, 49, 25, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 18%, rgba(216, 149, 46, 0.28), transparent 12rem),
        linear-gradient(135deg, rgba(255, 250, 238, 0.98), rgba(239, 222, 188, 0.9));
    box-shadow: 0 22px 52px rgba(59, 33, 19, 0.12);
    color: #17351f;
    padding: clamp(22px, 3vw, 34px);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.checkout-choice-card:hover {
    border-color: rgba(216, 149, 46, 0.46);
    box-shadow: 0 30px 66px rgba(59, 33, 19, 0.18);
    transform: translateY(-3px);
}

.checkout-choice-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -48px;
    width: 170px;
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle at 42% 42%, rgba(255, 248, 230, 0.82) 0 26%, transparent 27%),
        radial-gradient(circle, rgba(18, 61, 37, 0.18), transparent 68%);
}

.checkout-choice-card span {
    width: fit-content;
    border-radius: 999px;
    background: rgba(18, 61, 37, 0.1);
    color: var(--poster-green);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    padding: 8px 10px;
    text-transform: uppercase;
}

.checkout-choice-card strong {
    position: relative;
    z-index: 1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 0.95;
}

.checkout-choice-card small {
    position: relative;
    z-index: 1;
    max-width: 520px;
    color: #5a684f;
    font-size: 1rem;
    line-height: 1.55;
}

.choice-register {
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 248, 230, 0.28), transparent 13rem),
        linear-gradient(135deg, var(--poster-green), #235e2d);
    color: #fff8de;
}

.choice-register span {
    background: rgba(255, 248, 230, 0.16);
    color: #ffe9a8;
}

.choice-register small {
    color: rgba(255, 248, 230, 0.86);
}

.choice-guest {
    border-color: rgba(107, 61, 31, 0.22);
}

.customer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: 16px;
}

.customer-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.account-form-card {
    display: grid;
    gap: 16px;
    border-radius: 36px;
    padding: clamp(22px, 4vw, 42px);
}

.account-form-head {
    max-width: 860px;
}

.account-form-head h1 {
    margin: 12px 0 10px;
    color: var(--poster-green, var(--forest));
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.account-form-head p {
    color: var(--muted);
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.55;
    margin: 0 0 6px;
}

.account-form-card .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.human-check {
    align-items: center;
    border: 1px solid rgba(83, 49, 25, 0.18);
    border-radius: 20px;
    background: rgba(255, 248, 230, 0.72);
    color: var(--forest);
    font-weight: 950;
    min-height: 58px;
    padding: 14px 16px;
}

.checkout-cart,
.checkout-customer {
    border-radius: 28px;
    padding: clamp(18px, 2.2vw, 26px);
}

.checkout-cart h3,
.checkout-customer h3 {
    margin-top: 0;
}

.empty-cart {
    border: 1px dashed var(--line);
    border-radius: 18px;
    color: var(--muted);
    padding: 14px;
}

.store-cart-line {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.store-cart-line img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
}

.store-cart-line strong {
    display: block;
}

.store-cart-line small {
    color: var(--muted);
}

.qty-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.qty-tools button {
    min-width: 32px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    cursor: pointer;
    font-weight: 950;
}

.qty-tools button[data-store-remove] {
    width: auto;
    min-width: 44px;
    padding: 0 10px;
    background: #fff4ef;
    color: #a53824;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid var(--line);
    margin-top: 12px;
    padding-top: 14px;
    font-size: 20px;
    font-weight: 950;
}

.checkout-button {
    width: 100%;
    margin-top: 14px;
}

.checkout-cart .checkout-button {
    width: auto;
    justify-self: start;
    padding-inline: 18px;
}

.checkout-button.is-disabled {
    opacity: 0.5;
    pointer-events: auto;
}

.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(21, 18, 12, 0.28);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.cart-drawer-backdrop.open {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(440px, 100vw);
    height: 100dvh;
    border-left: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 0%, rgba(240, 184, 79, 0.2), transparent 18rem),
        #fffaf0;
    box-shadow: -28px 0 70px rgba(23, 63, 42, 0.24);
    transform: translateX(105%);
    transition: transform 0.24s ease;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 22px;
}

.cart-drawer-head h2 {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: 1;
}

.cart-close {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--forest);
    cursor: pointer;
    font-size: 28px;
    font-weight: 900;
}

.drawer-lines {
    overflow-y: auto;
    padding: 8px 22px;
}

.cart-drawer-footer {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding: 18px 22px 22px;
}

.cart-drawer-footer small {
    color: var(--muted);
    line-height: 1.45;
}

.floating-cart {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: none;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--forest);
    color: white;
    box-shadow: var(--shadow);
    cursor: pointer;
    font-weight: 950;
    padding: 13px 16px;
}

.floating-cart strong {
    background: #f0b84f;
    color: #173f2a;
    margin-left: 0;
}

.narrow-storefront {
    max-width: 1180px;
}

.account-page .narrow-storefront {
    max-width: 1320px;
}

.checkout-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    padding: clamp(22px, 4vw, 38px);
}

.checkout-hero h1 {
    margin: 10px 0;
    max-width: 760px;
    font-size: clamp(34px, 4.8vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.checkout-hero p,
.account-hint {
    max-width: 820px;
    color: var(--muted);
    line-height: 1.6;
}

.checkout-hero > .secondary {
    align-self: center;
    white-space: nowrap;
}

.checkout-page .checkout-cart,
.checkout-page .checkout-customer,
.account-page .checkout-cart,
.account-page .checkout-customer {
    background: rgba(255, 255, 255, 0.92);
}

.checkout-page .checkout-cart {
    position: sticky;
    top: 96px;
}

.store-preview {
    display: grid;
    gap: 12px;
    border-radius: 30px;
    margin-bottom: 14px;
    padding: 24px;
}

.store-preview img {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    object-fit: cover;
}

.store-preview h3 {
    margin: 0;
    color: var(--preview-color);
    font-size: 34px;
    line-height: 1;
}

.store-preview p {
    color: var(--muted);
}

.settings-extra {
    margin-top: 18px;
}

.finance-source-note,
.finance-calc-preview {
    border: 1px solid rgba(20, 128, 79, 0.16);
    border-radius: 18px;
    background: rgba(235, 247, 228, 0.7);
    color: var(--forest);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.55;
    margin: 0;
    padding: 14px;
}

.finance-settings-panel input {
    font-weight: 900;
}

.critical-row {
    background: rgba(180, 35, 58, 0.08);
    color: var(--danger);
    font-weight: 900;
}

.kitchen-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kitchen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.kitchen-ticket {
    display: grid;
    gap: 12px;
    border: 2px solid var(--line);
    border-radius: 28px;
    background: #fffaf0;
    padding: 16px;
    box-shadow: 0 16px 34px rgba(37, 30, 18, 0.1);
}

.kitchen-ticket header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.kitchen-ticket header strong {
    font-size: 22px;
}

.kitchen-ticket header span {
    border-radius: 999px;
    background: var(--forest);
    color: white;
    font-size: 12px;
    font-weight: 950;
    padding: 7px 10px;
}

.kitchen-ticket p {
    margin: 0;
    color: var(--muted);
    font-weight: 850;
}

.kitchen-ticket ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kitchen-ticket li {
    border-radius: 16px;
    background: white;
    padding: 10px;
}

.kitchen-ticket li b {
    color: var(--forest);
}

.kitchen-ticket li small {
    display: block;
    color: var(--muted);
}

.kitchen-ticket.status-received {
    border-color: rgba(240, 184, 79, 0.72);
}

.kitchen-ticket.status-preparing {
    border-color: rgba(47, 122, 69, 0.45);
}

.kitchen-ticket.status-ready {
    border-color: rgba(37, 99, 235, 0.35);
}

.kitchen-note {
    margin-bottom: 14px;
}

.kitchen-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.kitchen-actions button,
.kitchen-actions a {
    min-height: 48px;
    padding-inline: 10px;
}

.kitchen-actions button:disabled {
    cursor: default;
    opacity: 0.72;
}

.waiter-mobile {
    display: grid;
    gap: 18px;
}

.waiter-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.waiter-hero p {
    color: var(--muted);
    margin: 8px 0 0;
}

.waiter-calls .cards {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.waiter-table-grid {
    grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
}

.waiter-order-panel {
    display: grid;
    gap: 14px;
}

.waiter-action-stack {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.waiter-action-stack form,
.waiter-action-stack .payment-actions {
    margin: 0;
}

.waiter-action-stack .payment-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.waiter-order-form {
    display: grid;
    gap: 14px;
}

.waiter-cart-panel {
    position: static;
}

.waiter-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.map-preview {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.map-preview iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 24px;
    background: #efe3ce;
}

.courier-cards {
    margin-top: 14px;
}

.courier-card a {
    width: fit-content;
}

.courier-mobile .section-title {
    align-items: center;
}

.courier-order p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.manage-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 26px;
}

.catalog-stack {
    gap: 20px;
}

.catalog-split {
    display: grid;
    grid-template-columns: minmax(270px, 0.34fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.catalog-category-panel {
    position: static;
}

.catalog-category-panel .category-filter-list {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.catalog-product-panel {
    min-width: 0;
}

.catalog-filter-bar {
    border: 1px solid rgba(23, 63, 42, 0.12);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(237, 248, 230, 0.74));
    margin: 0 0 14px;
    padding: 12px;
}

.catalog-filter-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px;
    align-items: end;
}

.catalog-filter-form label {
    margin: 0;
}

.bulk-edit-form {
    display: grid;
    gap: 14px;
}

.bulk-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid rgba(23, 63, 42, 0.12);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(237, 248, 230, 0.72));
    padding: 12px;
}

.bulk-toolbar select {
    width: min(320px, 100%);
}

.bulk-toolbar button {
    width: auto;
}

.bulk-table {
    min-width: 1120px;
}

.bulk-table input,
.bulk-table select {
    min-width: 130px;
}

.bulk-table .product-name-cell input {
    min-width: 230px;
}

.bulk-checks {
    display: grid;
    gap: 7px;
    min-width: 170px;
}

.bulk-checks label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 850;
}

.bulk-checks input {
    width: auto;
}

.category-filter-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.category-filter-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--ink);
    padding: 10px;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.category-filter-card:hover,
.category-filter-card.active {
    transform: translateY(-1px);
    border-color: rgba(23, 63, 42, 0.32);
    box-shadow: 0 18px 38px rgba(37, 30, 18, 0.12);
}

.category-filter-card.active {
    background: linear-gradient(135deg, var(--forest), #27583b);
    color: #fff;
}

.category-filter-card img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    background: #f8f2df;
}

.category-filter-card strong,
.category-filter-card small {
    display: block;
}

.category-filter-card small {
    color: inherit;
    opacity: 0.78;
}

.create-panel {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.create-panel + .create-panel,
.create-panel + .bulk-edit-form {
    margin-top: 14px;
}

.create-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-weight: 900;
    color: var(--forest);
}

.create-panel summary::-webkit-details-marker {
    display: none;
}

.create-panel summary b {
    border-radius: 999px;
    background: rgba(23, 63, 42, 0.1);
    padding: 7px 12px;
}

.create-panel[open] summary {
    border-bottom: 1px solid var(--line);
}

.create-panel .form-grid,
.create-panel .action-row {
    padding: 14px;
}

.create-panel.subtle summary {
    color: var(--muted);
}

.catalog-products-table th,
.catalog-products-table td {
    text-align: left;
    vertical-align: middle;
}

.catalog-products-table th:nth-child(1),
.catalog-products-table td:nth-child(1),
.catalog-products-table th:nth-child(6),
.catalog-products-table td:nth-child(6),
.catalog-products-table th:nth-child(7),
.catalog-products-table td:nth-child(7),
.catalog-products-table th:nth-child(8),
.catalog-products-table td:nth-child(8),
.catalog-products-table th:nth-child(9),
.catalog-products-table td:nth-child(9) {
    text-align: center;
}

.catalog-products-table input[type="checkbox"] {
    display: inline-grid;
    margin: 0 auto;
    width: 18px;
    height: 18px;
}

.product-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
}

.product-name-cell img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    object-fit: cover;
    background: #f8f2df;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(23, 63, 42, 0.1);
    color: var(--forest);
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 900;
}

.compact-action {
    display: inline-flex;
    width: auto;
    white-space: nowrap;
    padding: 9px 12px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.product-detail-grid > img {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 26px;
    object-fit: cover;
    background: #f8f2df;
}

.panel.product-materials {
    margin: 0;
}

.product-row-list {
    margin-top: 18px;
}

.product-row-card summary {
    min-height: 84px;
}

.product-row-card summary img {
    width: 68px;
    height: 68px;
    border-radius: 18px;
}

.manage-card,
.edit-panel {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.manage-card.critical-row {
    border-color: rgba(221, 75, 57, 0.42);
    background: rgba(255, 242, 238, 0.86);
}

.permission-matrix {
    display: grid;
    gap: 12px;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    padding: 0 12px 12px;
}

.permission-check {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    padding: 10px 12px;
}

.manage-card summary,
.edit-panel summary {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    list-style: none;
}

.manage-card summary::-webkit-details-marker,
.edit-panel summary::-webkit-details-marker {
    display: none;
}

.manage-card summary img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #f8f2df;
}

.manage-card summary span,
.product-card .edit-panel {
    min-width: 0;
}

.manage-card summary strong,
.manage-card summary small {
    display: block;
}

.manage-card summary b {
    margin-left: auto;
    color: var(--green);
    font-size: 0.82rem;
}

.manage-card .form-grid,
.edit-panel .form-grid {
    padding: 0 12px 12px;
}

.admin-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-product-card {
    align-self: start;
}

.admin-product-card.is-passive {
    opacity: 0.62;
    filter: grayscale(0.35);
}

.manage-card.is-passive {
    opacity: 0.62;
    filter: grayscale(0.35);
}

.admin-product-card .edit-panel {
    margin: 12px 0 0;
    box-shadow: none;
}

.admin-product-card .edit-panel summary {
    justify-content: center;
    font-weight: 800;
    color: var(--green);
}

.product-materials {
    display: grid;
    gap: 12px;
    margin: 0 12px 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(237, 248, 230, 0.78));
    padding: 14px;
}

.product-materials h3 {
    margin: 0;
    color: var(--forest);
    font-size: 18px;
}

.product-materials p {
    margin: -5px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.recipe-list {
    display: grid;
    gap: 8px;
}

.recipe-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(23, 63, 42, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    padding: 10px;
}

.recipe-row span,
.recipe-row small {
    display: block;
}

.recipe-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.65fr);
    gap: 10px;
}

.recipe-form button {
    grid-column: 1 / -1;
}

.notification-list {
    display: grid;
    gap: 12px;
}

.notification-center-actions,
.notification-item-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.notification-center-actions form,
.notification-item-actions form {
    margin: 0;
}

.notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
}

.notification-item.unread {
    border-color: rgba(240, 184, 79, 0.72);
    box-shadow: 0 16px 36px rgba(240, 184, 79, 0.16);
}

.notification-item.priority-high {
    background: linear-gradient(135deg, rgba(255, 247, 214, 0.94), rgba(255, 255, 255, 0.9));
}

.notification-item p {
    margin: 7px 0;
    color: var(--muted);
}

.notification-item-actions {
    flex: 0 0 auto;
}

.empty-state {
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 24px;
    color: var(--muted);
}

.receipt-body {
    margin: 0;
    background: #f3f0e8;
    color: #111;
    font-family: "Courier New", monospace;
}

.receipt {
    width: min(380px, calc(100vw - 24px));
    margin: 18px auto;
    padding: 18px;
    background: #fff;
    border: 1px solid #d8d0be;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.receipt header {
    text-align: center;
    border-bottom: 1px dashed #111;
    padding-bottom: 10px;
}

.receipt h1 {
    margin: 0 0 8px;
    font-size: 22px;
}

.receipt p {
    margin: 4px 0;
}

.receipt-meta {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px dashed #111;
}

.receipt-meta div,
.receipt-lines div,
.receipt footer div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.receipt-lines {
    display: grid;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px dashed #111;
}

.receipt-note {
    padding: 10px 0;
    border-bottom: 1px dashed #111;
}

.receipt footer {
    display: grid;
    gap: 8px;
    padding-top: 12px;
}

.receipt .grand {
    font-size: 20px;
    border-top: 2px solid #111;
    padding-top: 8px;
}

.print-button {
    width: 100%;
    margin-top: 16px;
}

@media (max-width: 1080px) {
    .login-wrap,
    .app,
    .split,
    .stock-layout,
    .catalog-split {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        z-index: 10;
        inset: 12px auto 12px 12px;
        width: min(310px, calc(100vw - 24px));
        max-height: calc(100vh - 24px);
        transform: translateX(calc(-100% - 24px));
        transition: transform 0.22s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .menu-toggle {
        display: inline-flex;
    }

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

    .store-hero,
    .checkout-grid,
    .checkout-choice-grid,
    .customer-grid,
    .report-grid,
    .pos-workspace,
    .pos-workspace.compact,
    .pos-table-add-layout,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .pos-cart-panel {
        position: static;
    }

    .checkout-hero {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .section-title {
        align-items: stretch;
        flex-direction: column;
    }

    #store-search {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .login-body,
    .app {
        padding: 10px;
    }

    .login-hero {
        min-height: auto;
    }

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

    .stock-shop-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .metric-grid,
    .form-grid,
    .recipe-form,
    .pos-mode-tabs {
        grid-template-columns: 1fr;
    }

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

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

    .waiter-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .kitchen-actions,
    .waiter-action-stack .payment-actions {
        grid-template-columns: 1fr;
    }

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

    .panel,
    .login-card,
    .login-hero {
        border-radius: 24px;
        padding: 18px;
    }

    .store-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 6px;
        top: 8px;
        width: calc(100% - 18px);
        border-radius: 28px;
        margin-top: 8px;
        padding: 8px;
    }

    .store-header nav {
        grid-column: 3;
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        flex-wrap: nowrap;
        justify-content: flex-end;
        justify-self: end;
        gap: 6px;
        margin-left: auto;
    }

    .store-brand-group {
        grid-column: 1;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
        gap: 7px;
    }

    .store-back-button {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .store-logo {
        gap: 8px;
        min-width: 0;
        padding-right: 0;
    }

    .store-logo span,
    .store-logo img {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .store-logo strong,
    .store-account-signed strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .store-logo strong {
        max-width: 92px;
        font-size: 13px;
        letter-spacing: -0.01em;
    }

    .store-account-box {
        min-height: 44px;
    }

    .store-account-actions {
        gap: 4px;
        min-height: 44px;
        padding-inline: 0;
    }

    .store-account-actions .store-account-icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .store-account-links {
        gap: 1px;
    }

    .store-header nav .store-account-action {
        font-size: 12px;
        line-height: 1.05;
    }

    .store-header nav .store-cart-button {
        min-height: 44px;
        min-width: 92px;
        margin-left: 0;
        padding: 9px 10px;
        gap: 4px;
        font-size: 12px;
    }

    .store-cart-button .cart-icon {
        white-space: nowrap;
    }

    .store-cart-button .cart-icon::before {
        width: 11px;
        height: 9px;
        margin-right: 5px;
    }

    .store-nav-button [data-cart-count],
    .floating-cart strong {
        min-width: 20px;
        height: 20px;
        font-size: 11px;
        padding: 0 5px;
    }

    .store-home-button {
        position: relative;
        grid-column: 2;
        left: auto;
        top: auto;
        z-index: 3;
        width: 56px;
        min-width: 56px;
        height: 56px;
        border-width: 5px;
        transform: translateY(24px);
    }

    .store-home-button:hover {
        transform: translateY(20px);
    }

    .store-home-button span {
        width: 21px;
        height: 17px;
    }

    .store-home-button span::before {
        top: -11px;
        width: 19px;
        height: 19px;
    }

    .account-form-card {
        border-radius: 26px;
        padding: 20px;
    }

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

    .account-form-head h1 {
        font-size: 42px;
    }

    .store-account-signed {
        max-width: 100%;
    }

    .storefront {
        padding: 12px;
    }

    .cart-drawer {
        width: 100vw;
    }

    .checkout-page .checkout-cart {
        position: static;
    }

    .floating-cart {
        display: none;
    }

    .store-hero h1 {
        font-size: 42px;
    }

    .store-hero {
        padding: 28px 20px;
    }

    .hero-poster-card {
        border-radius: 28px;
        padding: 14px;
    }

    .poster-sign strong {
        font-size: 34px;
    }

    .poster-showcase {
        gap: 8px;
    }

    .poster-showcase article {
        min-height: 150px;
        border-radius: 20px;
    }

    .category-pills button {
        min-height: 56px;
        padding: 8px 11px;
    }

    .category-pills button img,
    .category-pills button i {
        width: 38px;
        height: 38px;
    }

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

    .bulk-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

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

    .bulk-toolbar button,
    .bulk-toolbar select {
        width: 100%;
    }

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

    .catalog-category-panel {
        position: static;
    }

    .product-buy strong,
    .store-add-button {
        width: 100%;
    }

    .hero-products {
        grid-template-columns: 1fr 1fr;
    }

    .store-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .store-logo strong {
        display: none;
    }

    .store-header nav {
        width: 100%;
    }

    .store-account-actions .store-account-icon {
        width: 36px;
        height: 36px;
        border-radius: 13px;
    }

    .store-header nav .store-account-action {
        font-size: 11px;
    }

    .store-header nav .store-cart-button {
        min-width: 48px;
        padding-inline: 10px;
    }

    .store-cart-button .cart-icon {
        font-size: 0;
    }

    .store-cart-button .cart-icon::before {
        margin-right: 0;
        vertical-align: -1px;
    }
}

@media (max-width: 370px) {
    .store-back-button {
        width: 36px;
        height: 36px;
    }

    .store-logo span,
    .store-logo img {
        width: 40px;
        height: 40px;
    }

    .store-account-links {
        display: none;
    }
}

/* Storefront v47: customer-facing premium ordering theme. */
.store-body {
    --store-green: var(--forest, #123d25);
    --store-deep: #0b2818;
    --store-red: #d33b2f;
    --store-red-dark: #a92820;
    --store-orange: #f08a22;
    --store-gold: #f2c15a;
    --store-cream: #fff3d7;
    --store-paper: rgba(255, 251, 241, 0.92);
    --store-ink: #192419;
    --store-muted: #66735f;
    --store-line: rgba(87, 54, 27, 0.18);
    --store-shadow: 0 24px 70px rgba(50, 29, 14, 0.16);
    background:
        radial-gradient(circle at 8% 2%, rgba(211, 59, 47, 0.16), transparent 19rem),
        radial-gradient(circle at 82% 0%, rgba(44, 104, 45, 0.26), transparent 26rem),
        radial-gradient(circle at 50% 22%, rgba(242, 193, 90, 0.2), transparent 31rem),
        linear-gradient(180deg, #fff7e5 0%, #f5ead1 54%, #e9dbc0 100%);
    color: var(--store-ink);
    max-width: 100vw;
    overflow-x: hidden;
}

.store-body::before {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(20, 82, 41, 0.23), transparent 17rem),
        radial-gradient(ellipse at 100% 0%, rgba(211, 59, 47, 0.11), transparent 18rem),
        linear-gradient(120deg, transparent 0 46%, rgba(103, 58, 26, 0.07) 46% 47%, transparent 47% 100%);
}

.store-ui-icon {
    width: 1.05em;
    height: 1.05em;
    display: inline-block;
    flex: 0 0 auto;
    fill: currentColor;
}

.store-header {
    top: 10px;
    width: min(1360px, calc(100% - 24px));
    border-color: rgba(95, 58, 26, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(255, 238, 196, 0.91)),
        radial-gradient(circle at 90% 0%, rgba(211, 59, 47, 0.12), transparent 15rem);
    box-shadow: 0 24px 60px rgba(53, 31, 15, 0.18);
    padding: 9px 12px;
}

.store-brand-group {
    gap: 11px;
}

.store-back-button {
    width: 48px;
    height: 48px;
    border-color: rgba(95, 58, 26, 0.18);
    background: rgba(255, 251, 242, 0.82);
    color: var(--store-green);
    font-family: inherit;
    font-size: 22px;
    box-shadow: inset 0 -2px 0 rgba(95, 58, 26, 0.06), 0 12px 24px rgba(53, 31, 15, 0.08);
}

.store-back-button .store-ui-icon {
    width: 24px;
    height: 24px;
}

.store-logo {
    color: var(--store-ink);
    text-decoration: none;
}

.store-logo span,
.store-logo img {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, var(--store-green), #256235);
    box-shadow: inset 0 0 0 2px rgba(255, 243, 215, 0.18), 0 13px 26px rgba(18, 61, 37, 0.24);
}

.store-logo strong {
    color: var(--store-ink);
    font-weight: 950;
    letter-spacing: -0.02em;
}

.store-home-button {
    width: 76px;
    min-width: 76px;
    height: 76px;
    border: 8px solid rgba(255, 246, 222, 0.94);
    background:
        radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.9), transparent 34%),
        linear-gradient(145deg, #fff8df, #ead9b2);
    color: var(--store-green);
    box-shadow: 0 22px 42px rgba(53, 31, 15, 0.2), inset 0 -3px 0 rgba(95, 58, 26, 0.1);
}

.store-home-button:hover {
    color: #2a6a39;
    box-shadow: 0 30px 54px rgba(53, 31, 15, 0.25), inset 0 -3px 0 rgba(95, 58, 26, 0.1);
}

.store-home-button .store-ui-icon {
    width: 32px;
    height: 32px;
}

.store-home-button span,
.store-home-button span::before,
.store-home-button span::after {
    display: none;
}

.store-header nav {
    gap: 9px;
}

.store-header nav a,
.store-nav-button,
.store-account-box {
    border-color: rgba(95, 58, 26, 0.18);
    background: rgba(255, 251, 242, 0.72);
    color: #36513a;
    box-shadow: inset 0 -2px 0 rgba(95, 58, 26, 0.06), 0 10px 22px rgba(53, 31, 15, 0.06);
}

.store-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.store-whatsapp-link .store-ui-icon {
    color: #1e8f52;
    width: 18px;
    height: 18px;
}

.store-account-actions {
    min-height: 54px;
    gap: 9px;
    border-radius: 999px;
    background: rgba(255, 251, 242, 0.58);
    padding: 4px 9px 4px 4px;
}

.store-account-icon,
.store-account-actions .store-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(145deg, var(--store-red), var(--store-orange));
    color: #fff;
    box-shadow: 0 13px 26px rgba(211, 59, 47, 0.22);
}

.store-account-icon .store-ui-icon {
    width: 24px;
    height: 24px;
}

.store-account-links {
    gap: 2px;
}

.store-header nav .account-login {
    color: var(--store-ink);
}

.store-header nav .account-register {
    color: var(--store-red);
}

.store-header nav .store-account-action:hover {
    color: var(--store-green);
    text-shadow: none;
}

.store-cart-button,
.floating-cart {
    background: linear-gradient(135deg, var(--store-green), #1f5a2f);
    color: #fff9ea;
    box-shadow: 0 16px 34px rgba(18, 61, 37, 0.3);
}

.store-header nav .store-cart-button {
    min-height: 52px;
    padding: 12px 17px;
}

.store-cart-button .cart-icon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.store-cart-button .cart-icon::before {
    content: none;
}

.store-cart-button .store-ui-icon,
.floating-cart .store-ui-icon {
    width: 18px;
    height: 18px;
}

.store-cart-button [data-cart-count],
.floating-cart strong,
.store-add-button [data-store-product-count] {
    background: var(--store-gold);
    color: #22331e;
}

.storefront {
    max-width: 1460px;
    padding: clamp(18px, 4vw, 48px);
}

.store-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.7fr);
    gap: clamp(24px, 4.2vw, 54px);
    border-color: rgba(95, 58, 26, 0.2);
    border-radius: clamp(32px, 4.8vw, 58px);
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 247, 210, 0.8), transparent 21rem),
        radial-gradient(circle at 86% 12%, rgba(211, 59, 47, 0.14), transparent 18rem),
        linear-gradient(112deg, rgba(255, 250, 235, 0.99), rgba(255, 236, 197, 0.88) 48%, rgba(218, 233, 194, 0.72)),
        repeating-linear-gradient(90deg, rgba(95, 54, 27, 0.06) 0 1px, transparent 1px 28px);
    box-shadow: 0 40px 100px rgba(59, 33, 19, 0.17);
}

.store-hero > div:first-child::before {
    border-color: rgba(211, 59, 47, 0.22);
    background:
        linear-gradient(135deg, rgba(211, 59, 47, 0.1), rgba(255, 251, 242, 0.9));
    color: #8d2b20;
}

.store-hero h1 {
    color: var(--store-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7.6vw, 108px);
    text-shadow: 0 2px 0 rgba(255, 250, 235, 0.9);
}

.store-hero p {
    color: var(--store-muted);
    font-size: clamp(17px, 1.8vw, 22px);
}

.store-hero .brand-pill,
.section-title .brand-pill {
    border-color: rgba(211, 59, 47, 0.16);
    background: rgba(255, 255, 255, 0.72);
    color: var(--store-green);
    box-shadow: 0 10px 22px rgba(59, 33, 19, 0.08);
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
}

.store-action-button,
.hero-actions .primary,
.hero-actions .secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 56px;
    border-radius: 18px;
    font-weight: 950;
    padding-inline: 20px;
}

.hero-actions .primary {
    background: linear-gradient(135deg, var(--store-green), #246337);
    box-shadow: 0 18px 35px rgba(18, 61, 37, 0.25);
}

.hero-actions .secondary {
    border-color: rgba(211, 59, 47, 0.22);
    background: rgba(255, 251, 242, 0.82);
    color: var(--store-red);
}

.hero-facts {
    gap: 12px;
}

.hero-facts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border-color: rgba(95, 58, 26, 0.16);
    background: rgba(255, 251, 242, 0.76);
    color: #52634e;
}

.hero-facts .store-ui-icon {
    color: var(--store-red);
    width: 18px;
    height: 18px;
}

.hero-poster-card {
    border-color: rgba(95, 58, 26, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 251, 238, 0.95), rgba(242, 224, 187, 0.9)),
        radial-gradient(circle at 80% 0%, rgba(211, 59, 47, 0.12), transparent 13rem);
    box-shadow: 0 30px 70px rgba(59, 33, 19, 0.18);
}

.poster-sign {
    background:
        radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.72), transparent 6rem),
        linear-gradient(135deg, #f8dfa9, #d79a4c 50%, #80451e);
}

.poster-sign small,
.poster-values span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.poster-values span {
    background: linear-gradient(135deg, var(--store-red-dark), #4a2417);
}

.poster-showcase article {
    border-color: rgba(95, 58, 26, 0.16);
    background: rgba(255, 251, 242, 0.94);
}

.poster-showcase img,
.store-product-media img {
    filter: saturate(1.04) contrast(1.01);
}

.poster-showcase span {
    background: linear-gradient(135deg, var(--store-green), #276b38);
}

.store-section {
    border-color: rgba(95, 58, 26, 0.18);
    border-radius: 36px;
    background:
        linear-gradient(180deg, rgba(255, 251, 242, 0.95), rgba(249, 238, 213, 0.92)),
        radial-gradient(circle at 100% 0%, rgba(211, 59, 47, 0.08), transparent 17rem);
    box-shadow: 0 26px 78px rgba(59, 33, 19, 0.12);
}

.section-title h2 {
    color: var(--store-green);
    font-family: Georgia, "Times New Roman", serif;
}

#store-search {
    border-color: rgba(95, 58, 26, 0.18);
    background:
        linear-gradient(90deg, rgba(255, 251, 242, 0.96), rgba(255, 255, 255, 0.88));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 14px 30px rgba(59, 33, 19, 0.08);
    min-height: 56px;
    color: var(--store-ink);
}

.category-pills {
    gap: 12px;
    scrollbar-width: thin;
}

.category-pills button {
    min-height: 66px;
    border-color: rgba(95, 58, 26, 0.16);
    border-radius: 22px;
    background: rgba(255, 251, 242, 0.9);
    color: #36513a;
    box-shadow: 0 13px 28px rgba(59, 33, 19, 0.08);
}

.category-pills button img,
.category-pills button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(211, 59, 47, 0.13), rgba(242, 193, 90, 0.22));
    color: var(--store-red);
}

.category-pills button i .store-ui-icon {
    width: 22px;
    height: 22px;
}

.category-pills button.active {
    background: linear-gradient(135deg, var(--store-red), var(--store-red-dark));
    color: #fff9ea;
    box-shadow: 0 16px 32px rgba(211, 59, 47, 0.22);
}

.category-pills button.active i,
.category-pills button.active img {
    background: rgba(255, 249, 234, 0.18);
    color: #fff9ea;
}

.store-products {
    grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
    gap: 18px;
}

.store-product {
    position: relative;
    border-color: rgba(95, 58, 26, 0.14);
    border-radius: 34px;
    background: rgba(255, 252, 246, 0.96);
    box-shadow: 0 22px 54px rgba(59, 33, 19, 0.1);
}

.store-product::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.store-product:hover {
    border-color: rgba(211, 59, 47, 0.32);
    box-shadow: 0 30px 68px rgba(59, 33, 19, 0.16);
}

.store-product-media {
    margin: 12px 12px 0;
    border-radius: 26px;
    background:
        radial-gradient(circle at 70% 18%, rgba(211, 59, 47, 0.14), transparent 10rem),
        linear-gradient(135deg, rgba(242, 193, 90, 0.22), rgba(44, 104, 45, 0.11)),
        #ead9b9;
}

.store-product-media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.store-product-media figcaption {
    background: rgba(255, 251, 242, 0.9);
    color: var(--store-green);
}

.store-product > div > small {
    background: rgba(211, 59, 47, 0.1);
    color: var(--store-red-dark);
}

.store-product h3 {
    color: var(--store-ink);
    font-size: 21px;
    letter-spacing: -0.02em;
}

.store-product p {
    color: var(--store-muted);
}

.product-buy {
    grid-template-columns: minmax(98px, auto) minmax(138px, 1fr);
}

.product-buy strong {
    min-width: 104px;
    background: linear-gradient(135deg, var(--store-green), #286b39);
    box-shadow: inset 0 0 0 2px rgba(255, 249, 234, 0.13), 0 13px 26px rgba(18, 61, 37, 0.18);
    font-size: 18px;
}

.store-add-button {
    min-height: 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--store-red), var(--store-red-dark));
    box-shadow: 0 15px 30px rgba(211, 59, 47, 0.2);
}

.customer-profile-form .account-form-head h2 {
    margin: 10px 0 8px;
    color: var(--store-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 0.95;
}

.customer-history-card {
    grid-column: 1 / -1;
}

.checkout-hero h1,
.account-hint {
    overflow-wrap: anywhere;
}

.store-add-button:hover,
.store-add-button.has-count {
    background: linear-gradient(135deg, #ea4b3e, #b92d24);
    box-shadow: 0 18px 36px rgba(211, 59, 47, 0.25);
}

.store-add-button .store-ui-icon {
    width: 18px;
    height: 18px;
}

.cart-drawer {
    border-left-color: rgba(95, 58, 26, 0.18);
    background:
        radial-gradient(circle at 20% 0%, rgba(211, 59, 47, 0.12), transparent 18rem),
        linear-gradient(180deg, #fffaf0, #f7ead1);
}

.cart-close {
    color: var(--store-red);
}

.floating-cart {
    border: 1px solid rgba(255, 249, 234, 0.2);
}

.floating-cart span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

@media (max-width: 1080px) {
    .store-hero {
        grid-template-columns: 1fr;
    }

    .hero-poster-card {
        max-width: 680px;
    }
}

@media (max-width: 700px) {
    .store-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        justify-content: space-between;
        gap: 7px;
        width: calc(100% - 16px);
        border-radius: 28px;
        padding: 8px;
    }

    .store-brand-group {
        min-width: 0;
        gap: 7px;
    }

    .store-back-button {
        width: 40px;
        height: 40px;
    }

    .store-logo span,
    .store-logo img {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .store-logo strong {
        display: none;
    }

    .store-home-button {
        position: absolute;
        left: 50%;
        top: calc(100% - 8px);
        grid-column: 2;
        width: 58px;
        min-width: 58px;
        height: 58px;
        border-width: 5px;
        transform: translate(-50%, -50%);
    }

    .store-home-button:hover {
        transform: translate(-50%, -54%);
    }

    .store-home-button .store-ui-icon {
        width: 25px;
        height: 25px;
    }

    .store-header nav {
        grid-column: 3;
        justify-self: end;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .store-whatsapp-link {
        display: none !important;
    }

    .store-account-actions {
        min-height: 42px;
        gap: 5px;
        padding: 3px;
    }

    .store-account-links {
        display: grid;
    }

    .store-account-actions .store-account-icon,
    .store-account-icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .store-account-icon .store-ui-icon {
        width: 19px;
        height: 19px;
    }

    .store-header nav .store-account-action {
        font-size: 11px;
        line-height: 1.05;
    }

    .store-header nav .store-cart-button {
        min-width: 92px;
        min-height: 42px;
        padding: 9px 10px;
        font-size: 12px;
    }

    .store-cart-button .cart-icon {
        gap: 5px;
    }

    .store-cart-button .cart-icon span {
        display: inline;
    }

    .store-cart-button .store-ui-icon {
        width: 16px;
        height: 16px;
    }

    .storefront {
        padding: 12px;
    }

    .store-hero {
        border-radius: 30px;
        padding: 72px 20px 24px;
    }

    .store-hero h1 {
        font-size: clamp(42px, 13vw, 66px);
    }

    .checkout-hero h1 {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.05;
    }

    .store-action-button,
    .hero-actions .primary,
    .hero-actions .secondary {
        width: 100%;
        flex: 1 1 100%;
        min-height: 52px;
    }

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

    .hero-facts span {
        width: 100%;
    }

    .hero-poster-card {
        border-radius: 28px;
    }

    .poster-showcase {
        grid-template-columns: 1fr;
    }

    .section-title {
        align-items: stretch;
        flex-direction: column;
    }

    #store-search {
        max-width: none;
        width: 100%;
    }

    .store-section {
        border-radius: 28px;
        padding: 18px;
    }

    .store-products {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .store-product {
        grid-template-columns: 118px minmax(0, 1fr);
        align-items: start;
        border-radius: 24px;
    }

    .store-product-media {
        margin: 10px 0 10px 10px;
        border-radius: 20px;
        width: 108px;
        min-height: 0;
        aspect-ratio: 1;
    }

    .store-product-media img {
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .store-product-media figcaption,
    .store-product > div > small {
        display: none;
    }

    .store-product > div {
        padding: 12px;
        gap: 8px;
    }

    .store-product h3 {
        font-size: 18px;
    }

    .store-product p {
        min-height: auto;
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 13px;
    }

    .product-buy {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-buy strong,
    .store-add-button {
        width: 100%;
    }
}

@media (max-width: 470px) {
    .store-header {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .store-logo strong {
        display: none;
    }

    .store-account-links {
        display: none;
    }

    .store-account-actions {
        padding: 3px;
    }

    .store-header nav .store-cart-button {
        min-width: 74px;
        padding-inline: 10px;
    }

    .store-cart-button .cart-icon span {
        display: inline;
        font-size: 11px;
    }

    .store-cart-button .cart-icon {
        gap: 4px;
    }

    .store-hero {
        padding-top: 66px;
    }

    .poster-values {
        grid-template-columns: 1fr;
    }

    .poster-showcase article {
        min-height: 136px;
    }

    .category-pills button {
        min-height: 56px;
        border-radius: 18px;
        padding: 8px 10px;
    }

    .category-pills button img,
    .category-pills button i {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }
}

@media (max-width: 700px) {
    .store-header .store-home-button {
        position: absolute;
        left: 50%;
        top: calc(100% - 8px);
        grid-column: auto;
        transform: translate(-50%, -50%);
    }

    .store-header .store-home-button:hover {
        transform: translate(-50%, -54%);
    }

    .store-header nav .store-cart-button .cart-icon span {
        display: inline;
    }
}

@media (max-width: 470px) {
    .store-header .store-home-button {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .store-header nav .store-cart-button {
        min-width: 74px;
    }
}

body.admin-body,
body.admin-login-body {
    --admin-primary: #6f5ae8;
    --admin-primary-dark: #4338ca;
    --admin-secondary: #35b7a8;
    --admin-warning: #ffb84d;
    --admin-danger: #ff6b7a;
    --admin-ink: #24304a;
    --admin-muted: #7b8193;
    --admin-line: #edf0f7;
    --admin-surface: #ffffff;
    --admin-soft: #f6f7fb;
    --admin-shadow: 0 18px 45px rgba(32, 41, 71, 0.08);
    --admin-shadow-strong: 0 28px 70px rgba(32, 41, 71, 0.14);
    background:
        radial-gradient(circle at 78% 0%, rgba(111, 90, 232, 0.12), transparent 30rem),
        radial-gradient(circle at 20% 12%, rgba(53, 183, 168, 0.1), transparent 28rem),
        linear-gradient(180deg, #fbfcff 0%, #f4f6fb 46%, #eef2f8 100%);
    color: var(--admin-ink);
    font-family: "Nunito Sans", "Trebuchet MS", "Segoe UI", sans-serif;
}

.admin-icon {
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
    flex: 0 0 auto;
    fill: currentColor;
}

.admin-login-body .login-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.admin-login-body .login-feature-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 950;
    padding: 10px 14px;
}

.admin-login-body .login-feature-list .admin-icon {
    width: 18px;
    height: 18px;
}

.admin-login-body .login-hero,
.admin-login-body .login-card {
    border-color: var(--admin-line);
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow-strong);
}

.admin-login-body .login-hero {
    background:
        linear-gradient(135deg, rgba(67, 56, 202, 0.94), rgba(111, 90, 232, 0.78)),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 18rem);
}

.admin-login-body .primary {
    background: linear-gradient(135deg, var(--admin-primary), #8c7cf5);
    box-shadow: 0 14px 30px rgba(111, 90, 232, 0.24);
}

.admin-login-body input:focus {
    border-color: rgba(111, 90, 232, 0.55);
    box-shadow: 0 0 0 4px rgba(111, 90, 232, 0.1);
    outline: none;
}

.admin-body .app {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0;
    min-height: 100vh;
    padding: 0;
    background: transparent;
}

.admin-body .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    border: 0;
    border-right: 1px solid var(--admin-line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 18px 0 44px rgba(32, 41, 71, 0.04);
    padding: 24px 18px;
    backdrop-filter: blur(18px);
}

.admin-body .logo {
    min-height: 58px;
    border-bottom: 1px solid var(--admin-line);
    padding-bottom: 20px;
    color: var(--admin-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-body .logo span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--admin-primary), #9b8cff);
    box-shadow: 0 14px 28px rgba(111, 90, 232, 0.24);
}

.admin-body .logo strong {
    display: grid;
    gap: 2px;
    color: #232946;
    font-size: 15px;
    line-height: 1.05;
}

.admin-body .logo small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--admin-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.admin-body .logo small .admin-icon {
    width: 13px;
    height: 13px;
    color: var(--admin-primary);
}

.admin-body .user-card {
    border: 1px solid rgba(111, 90, 232, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(111, 90, 232, 0.11), rgba(53, 183, 168, 0.08)),
        #fbfcff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 16px;
}

.admin-body .user-card strong {
    color: #1f2a44;
}

.admin-body .sidebar nav {
    gap: 5px;
    padding: 4px 4px 4px 0;
}

.admin-body .sidebar nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    color: #81879b;
    font-size: 14px;
    font-weight: 850;
    padding: 12px 14px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-body .sidebar nav a::before {
    display: none;
}

.admin-body .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 12px;
    background: #f4f6ff;
    color: #9aa2bd;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-body .nav-icon .admin-icon {
    width: 18px;
    height: 18px;
}

.admin-body .nav-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-body .sidebar nav a.active,
.admin-body .sidebar nav a:hover {
    background: linear-gradient(135deg, rgba(111, 90, 232, 0.12), rgba(111, 90, 232, 0.04));
    color: var(--admin-primary-dark);
    transform: translateX(2px);
}

.admin-body .sidebar nav a.active .nav-icon,
.admin-body .sidebar nav a:hover .nav-icon {
    background: linear-gradient(135deg, var(--admin-primary), #8c7cf5);
    color: #fff;
    box-shadow: 0 12px 22px rgba(111, 90, 232, 0.2);
    transform: scale(1.03);
}

.admin-body .sidebar-actions {
    display: grid;
    gap: 8px;
    border-top: 1px solid var(--admin-line);
    padding-top: 12px;
}

.admin-body .sidebar-action {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    background: #fff;
    color: var(--admin-primary-dark);
    cursor: pointer;
    font-weight: 900;
    padding: 0 12px;
}

.admin-body .sidebar-action:hover {
    background: #f7f8ff;
}

.admin-body .sidebar form {
    margin-top: auto;
}

.admin-body .mobile-ops-nav {
    display: none;
}

.admin-body .main {
    min-height: 100vh;
    padding: 26px 30px 38px;
}

.admin-body .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--admin-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--admin-shadow);
    padding: 18px 20px;
}

.admin-body .topbar-left,
.admin-body .topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-body .topbar-heading {
    min-width: 0;
}

.admin-body .topbar h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 0;
    color: #202942;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 950;
    letter-spacing: -0.03em;
}

.admin-body .page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(111, 90, 232, 0.15), rgba(53, 183, 168, 0.12));
    color: var(--admin-primary-dark);
}

.admin-body .page-icon .admin-icon {
    width: 24px;
    height: 24px;
}

.admin-body .topbar-heading small {
    display: block;
    margin-top: 4px;
    color: var(--admin-muted);
    font-weight: 800;
}

.admin-body .brand-pill {
    background: rgba(111, 90, 232, 0.1);
    color: var(--admin-primary-dark);
}

.admin-body .admin-pwa-link,
.admin-body .notification-enable,
.admin-body .branch-select select,
.admin-body .topbar-notification-button,
.admin-body .menu-toggle {
    min-height: 44px;
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    background: #fff;
    color: #4c5875;
    box-shadow: 0 10px 24px rgba(32, 41, 71, 0.05);
}

.admin-body .admin-pwa-link {
    font-weight: 950;
    padding: 0 14px;
}

.admin-body .topbar-notification-button {
    position: relative;
    width: 44px;
    min-width: 44px;
    padding: 0;
    color: var(--admin-primary-dark);
    text-decoration: none;
}

.admin-body .topbar-notification-button.is-unread {
    border-color: rgba(111, 90, 232, 0.28);
    background: linear-gradient(135deg, rgba(111, 90, 232, 0.14), rgba(53, 183, 168, 0.12));
}

.admin-body .topbar-notification-button .admin-icon {
    width: 20px;
    height: 20px;
}

.admin-body .notification-dot {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef3340;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1;
}

.admin-body .icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-body .icon-button .admin-icon {
    width: 18px;
    height: 18px;
}

.admin-body .notification-enable {
    color: #fff;
    background: linear-gradient(135deg, var(--admin-primary), #8b7cf6);
    box-shadow: 0 14px 28px rgba(111, 90, 232, 0.22);
}

.admin-body .panel,
.admin-body .metric,
.admin-body .mini-card,
.admin-body .product-card,
.admin-body .table-card,
.admin-body .order-card,
.admin-body .manage-card,
.admin-body .pos-cart-panel,
.admin-body .pos-product-tile,
.admin-body .pos-table-tile,
.admin-body .checkout-cart,
.admin-body .account-form-card {
    border: 1px solid var(--admin-line);
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
    backdrop-filter: none;
}

.admin-body .panel {
    border-radius: 24px;
    padding: 22px;
}

.admin-body .panel h2,
.admin-body .section-title h2 {
    color: #202942;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.admin-body .metric-grid {
    gap: 18px;
}

.admin-body .metric {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    border: 0;
    color: #fff;
    border-radius: 20px;
    padding: 24px;
}

.admin-body .metric::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 28px;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.26);
}

.admin-body .metric .metric-icon {
    position: absolute;
    right: 27px;
    top: 35px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(40, 45, 70, 0.5);
}

.admin-body .metric .metric-icon .admin-icon {
    width: 30px;
    height: 30px;
}

.admin-body .metric:nth-child(4n+1) {
    background: linear-gradient(135deg, #a79bff, #7867f0);
}

.admin-body .metric:nth-child(4n+2) {
    background: linear-gradient(135deg, #ffd889, #ffb84d);
}

.admin-body .metric:nth-child(4n+3) {
    background: linear-gradient(135deg, #b9a8f7, #8b79da);
}

.admin-body .metric:nth-child(4n) {
    background: linear-gradient(135deg, #ff9da9, #ff6b7a);
}

.admin-body .metric span,
.admin-body .metric small {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.82);
}

.admin-body .metric strong {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.03em;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
    border-color: #e4e8f3;
    border-radius: 13px;
    background: #fbfcff;
    color: var(--admin-ink);
}

.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus {
    border-color: rgba(111, 90, 232, 0.55);
    box-shadow: 0 0 0 4px rgba(111, 90, 232, 0.1);
    outline: none;
}

.admin-body .primary {
    border-radius: 13px;
    background: linear-gradient(135deg, var(--admin-primary), #8c7cf5);
    box-shadow: 0 12px 24px rgba(111, 90, 232, 0.2);
}

.admin-body .secondary,
.admin-body .ghost {
    border-color: var(--admin-line);
    border-radius: 13px;
    background: #fff;
    color: var(--admin-primary-dark);
}

.admin-body .danger {
    border-radius: 13px;
    background: rgba(255, 107, 122, 0.1);
    color: #d92d4b;
}

.admin-body table {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-body th {
    border: 0;
    background: #f7f8fc;
    color: #8b91a3;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.admin-body th:first-child {
    border-radius: 14px 0 0 14px;
}

.admin-body th:last-child {
    border-radius: 0 14px 14px 0;
}

.admin-body td {
    border-bottom-color: #edf0f7;
    color: #3d465f;
}

.admin-body .table-wrap {
    border-radius: 18px;
}

.admin-body .alert.success {
    background: rgba(53, 183, 168, 0.12);
    color: #138477;
}

.admin-body .alert.error {
    background: rgba(255, 107, 122, 0.12);
    color: #d92d4b;
}

.admin-body .pos-mode-tabs a,
.admin-body .payment-toggle,
.admin-body .pos-cart-payment,
.admin-body .table-order-summary,
.admin-body .cart-line {
    border-color: var(--admin-line);
    background: #fbfcff;
}

.admin-body .pos-mode-tabs a.active,
.admin-body .payment-toggle input:checked + span,
.admin-body .pos-category-tabs button.active,
.admin-body .pos-product-tile b {
    background: linear-gradient(135deg, var(--admin-primary), #8c7cf5);
    color: #fff;
}

.admin-body .pos-product-tile {
    background: linear-gradient(180deg, #ffffff, #f8f9fd);
}

.admin-body .pos-product-tile.has-count {
    border-color: rgba(111, 90, 232, 0.42);
    box-shadow: 0 18px 38px rgba(111, 90, 232, 0.15);
}

.admin-body .pos-product-tile em {
    background: var(--admin-warning);
    color: #442900;
}

.admin-body .pos-cart-bubble {
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    scroll-snap-type: x proximity;
}

.admin-body .pos-cart-bubble.is-expanded {
    border: 1px solid var(--admin-line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 80px rgba(32, 41, 71, 0.2);
    backdrop-filter: blur(18px);
}

.admin-body .open-order-cards {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.admin-body .open-order-cards .order-card {
    margin-bottom: 0;
}

.admin-body .pos-table-tile.is-preparing {
    border-color: rgba(34, 197, 94, 0.34);
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
}

.admin-body .pos-table-tile.is-ready {
    border-color: rgba(21, 128, 61, 0.5);
    background: linear-gradient(135deg, #15803d, #166534);
    color: #fff;
}

.admin-body .pos-table-tile.is-served {
    border-color: rgba(37, 99, 235, 0.55);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
}

.admin-body .pos-table-tile.is-occupied {
    border-color: rgba(245, 158, 11, 0.38);
    background: linear-gradient(135deg, #fef3c7, #fff7ed);
}

.admin-body .pos-table-tile.is-ready b,
.admin-body .pos-table-tile.is-served b {
    color: #fff;
}

.account-helper-link {
    display: inline-flex;
    justify-content: center;
    color: var(--forest);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.customer-admin-toolbar .create-panel,
.settings-test-form {
    margin-top: 16px;
}

.customer-admin-table td {
    vertical-align: middle;
}

.customer-admin-table .status-pill.paid {
    background: rgba(20, 128, 79, 0.12);
    color: #087443;
}

.customer-admin-table .status-pill.pending {
    background: rgba(255, 184, 77, 0.18);
    color: #8a4d00;
}

.customer-edit-row td {
    border-bottom: 0;
    background: #fbfcff;
}

.customer-edit-row details {
    border: 1px solid var(--admin-line);
    border-radius: 16px;
    background: #fff;
    padding: 12px;
}

.customer-edit-row summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--admin-primary-dark);
}

.customer-edit-form {
    margin-top: 12px;
}

.notification-rule-settings {
    margin: 18px 0;
    border: 1px solid var(--admin-line);
    border-radius: 22px;
    background: #fbfcff;
    padding: 14px;
}

.notification-rule-settings summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.notification-rule-settings summary::-webkit-details-marker {
    display: none;
}

.notification-rule-settings summary strong,
.notification-targets span {
    color: var(--admin-primary-dark);
    font-weight: 950;
}

.notification-rule-settings summary small {
    color: var(--admin-muted);
    font-weight: 750;
}

.notification-rule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.notification-rule-card {
    display: grid;
    gap: 10px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: #fff;
    padding: 14px;
}

.notification-rule-card header {
    display: grid;
    gap: 4px;
    border-bottom: 1px solid var(--admin-line);
    padding-bottom: 10px;
}

.notification-rule-card header strong {
    color: #202942;
    font-size: 1rem;
}

.notification-rule-card header small,
.notification-targets small {
    color: var(--admin-muted);
    line-height: 1.45;
}

.notification-targets {
    display: grid;
    gap: 7px;
    border-top: 1px dashed var(--admin-line);
    padding-top: 10px;
}

@media (min-width: 1081px) {
    .admin-body .app.sidebar-collapsed {
        grid-template-columns: 0 minmax(0, 1fr);
    }

    .admin-body .app.sidebar-collapsed .sidebar {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-32px);
    }
}

@media (max-width: 900px) {
    .pos-workspace.pos-sale-form.has-pinned-cart,
    .pos-table-add-form.pos-sale-form.has-pinned-cart {
        padding-right: 0;
    }
}

@media (max-width: 1080px) {
    body.admin-body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .admin-body .app {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 10px;
    }

    .admin-body .sidebar {
        position: fixed;
        z-index: 90;
        inset: 10px auto 10px 10px;
        width: min(320px, calc(100vw - 20px));
        height: auto;
        max-height: calc(100dvh - 20px);
        border: 1px solid var(--admin-line);
        border-radius: 24px;
        box-shadow: var(--admin-shadow-strong);
        transform: translateX(calc(-100% - 24px));
        transition: transform 0.2s ease;
    }

    .admin-body .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-edge-toggle {
        top: 96px;
        left: 0;
        width: 34px;
        height: 52px;
    }

    .sidebar-edge-toggle .admin-icon {
        transform: rotate(180deg);
    }

    .admin-body .sidebar.open + .sidebar-edge-toggle {
        left: min(320px, calc(100vw - 20px));
    }

    .admin-body .sidebar.open + .sidebar-edge-toggle .admin-icon {
        transform: rotate(0deg);
    }

    .admin-body .main {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0;
    }

    .admin-body .topbar {
        position: sticky;
        top: 8px;
        z-index: 40;
        margin-bottom: 18px;
        padding: 12px;
        border-radius: 20px;
    }

    .admin-body .pos-shell,
    .admin-body .pos-workspace,
    .admin-body .pos-sale-form,
    .admin-body .pos-menu-panel,
    .admin-body .pos-cart-panel,
    .admin-body .pos-table-add-layout,
    .admin-body .pos-table-products-section,
    .admin-body .pos-table-info-panel,
    .admin-body .panel {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .admin-body .topbar {
        align-items: stretch;
        gap: 10px;
    }

    .admin-body .topbar-left {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .admin-body .topbar-actions {
        align-items: stretch;
        flex-direction: column;
        min-width: 0;
    }

    .admin-body .topbar-heading {
        min-width: 0;
    }

    .admin-body .topbar-heading .brand-pill,
    .admin-body .topbar-heading small {
        display: none;
    }

    .admin-body .topbar h1 {
        margin: 0;
        font-size: 20px;
        line-height: 1.1;
    }

    .admin-body .menu-toggle {
        min-width: 44px;
    }

    .admin-body .topbar-notification-button {
        width: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .admin-body .page-icon {
        width: 34px;
        height: 34px;
    }

    .admin-body .topbar-actions,
    .admin-body .branch-select {
        width: 100%;
    }

    .admin-body .topbar-actions:empty {
        display: none;
    }

    .admin-body .main {
        padding-bottom: 92px;
    }

    .notification-item {
        align-items: stretch;
        flex-direction: column;
    }

    .notification-center-actions,
    .notification-item-actions {
        justify-content: stretch;
    }

    .notification-center-actions > *,
    .notification-center-actions form,
    .notification-center-actions button,
    .notification-item-actions > *,
    .notification-item-actions form,
    .notification-item-actions button,
    .notification-item-actions a {
        width: 100%;
    }

    .order-item-edit-row,
    .table-order-summary .order-item-edit-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .order-item-qty-form,
    .order-item-delete-form {
        width: 100%;
    }

    .order-item-qty-form input[type="number"] {
        flex: 1;
        width: auto;
    }

    .order-item-qty-form button,
    .order-item-delete-form button {
        flex: 1;
    }

    .admin-body .mobile-ops-nav {
        position: fixed !important;
        z-index: 110;
        top: auto !important;
        right: 10px;
        bottom: calc(var(--mobile-ops-bottom, 8px) + env(safe-area-inset-bottom));
        left: 10px;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        gap: 6px;
        border: 1px solid rgba(226, 231, 242, 0.92);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 44px rgba(32, 41, 71, 0.16);
        padding: 7px;
        backdrop-filter: blur(16px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .admin-body .sidebar.open ~ .mobile-ops-nav {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 18px));
    }

    .admin-body .mobile-ops-nav a {
        display: grid;
        min-width: 0;
        min-height: 58px;
        place-items: center;
        gap: 3px;
        border-radius: 15px;
        color: #76809a;
        text-align: center;
        text-decoration: none;
        font-size: 11px;
        font-weight: 950;
    }

    .admin-body .mobile-ops-nav span {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 10px;
        background: #f3f5fb;
        color: currentColor;
    }

    .admin-body .mobile-ops-badge {
        top: -8px;
        right: -10px;
        color: #fff;
    }

    .admin-body .mobile-ops-nav .admin-icon {
        width: 16px;
        height: 16px;
    }

    .admin-body .mobile-ops-nav b {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-body .mobile-ops-nav a.active {
        background: linear-gradient(135deg, rgba(111, 90, 232, 0.14), rgba(53, 183, 168, 0.1));
        color: var(--admin-primary-dark);
    }

    .admin-body .mobile-ops-nav a.active span {
        background: linear-gradient(135deg, var(--admin-primary), #8c7cf5);
        color: #fff;
    }

    .admin-body .pos-cart-bubble {
        right: 12px;
        bottom: calc(86px + env(safe-area-inset-bottom));
        left: auto;
        width: 56px;
        height: 56px;
        max-width: 56px;
        max-height: 56px;
        border-radius: 17px;
        padding: 0;
    }

    .admin-body .pos-cart-bubble-toggle {
        grid-template-columns: 1fr;
        width: 56px;
        height: 56px;
        min-width: 0;
        min-height: 0;
        border-radius: 17px;
        padding: 0;
    }

    .admin-body .pos-cart-bubble-icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .admin-body .pos-cart-bubble-toggle i {
        display: none;
    }

    .admin-body .pos-cart-bubble-toggle b {
        font-size: 0.98rem;
    }

    .admin-body .pos-cart-bubble.is-expanded .pos-cart-content {
        max-height: min(34dvh, 270px);
        padding-top: 9px;
    }

    .admin-body .pos-cart-bubble.is-expanded.is-resized .pos-cart-content {
        height: 100%;
        max-height: none;
    }

    .admin-body .pos-cart-bubble.is-expanded {
        right: 10px;
        bottom: calc(86px + env(safe-area-inset-bottom));
        left: auto;
        width: min(350px, calc(100vw - 20px));
        height: auto;
        max-width: calc(100vw - 20px);
        max-height: min(50dvh, calc(100dvh - 120px));
        border-radius: 24px;
        padding: 9px;
    }

    .admin-body .pos-cart-bubble.is-expanded.is-resized {
        max-height: calc(100dvh - 110px);
    }

    .admin-body .pos-cart-bubble.is-expanded .pos-cart-bubble-toggle {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        width: 100%;
        height: 54px;
        min-height: 54px;
        border-radius: 18px;
        padding: 8px;
    }

    .admin-body .pos-cart-resize-handle {
        width: 42px;
        height: 42px;
        border-radius: 0 0 22px 0;
    }

    .admin-body .pos-cart-bubble.is-pinned .pos-cart-resize-handle {
        right: auto;
        left: 0;
        border-radius: 0 0 0 22px;
    }

    .admin-body .pos-cart-head h2 {
        font-size: 20px;
    }

    .admin-body .metric {
        min-height: 110px;
        padding: 20px;
    }

    .customer-admin-table th,
    .customer-admin-table td {
        white-space: nowrap;
    }

    .admin-body .pos-mode-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .admin-body .pos-mode-tabs a {
        min-height: 54px;
        border-radius: 14px;
        gap: 2px;
        padding: 8px 6px;
        text-align: center;
    }

    .admin-body .pos-mode-tabs a strong {
        font-size: 12px;
        line-height: 1.1;
    }

    .admin-body .pos-mode-tabs a span {
        display: none;
    }

    .admin-body .pos-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .admin-body .pos-product-tile {
        gap: 4px;
        min-height: 128px;
        min-width: 0;
        border-radius: 12px;
        padding: 5px;
    }

    .admin-body .pos-product-tile:hover {
        transform: none;
    }

    .admin-body .pos-product-tile img {
        border-radius: 9px;
    }

    .admin-body .pos-product-tile span {
        display: none;
    }

    .admin-body .pos-product-tile strong {
        display: -webkit-box;
        min-height: 24px;
        overflow: hidden;
        font-size: 10px;
        line-height: 1.18;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .admin-body .pos-product-tile b {
        border-radius: 9px;
        font-size: 10px;
        line-height: 1;
        padding: 6px 5px;
    }

    .admin-body .pos-product-tile em {
        top: 4px;
        right: 4px;
        min-width: 22px;
        height: 22px;
        border-width: 1px;
        font-size: 10px;
    }

    .admin-body .pos-sale-form.has-pinned-cart .pos-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(96px, 120px));
        gap: 10px;
    }
}

@media (max-width: 700px) {
    #urunler.store-section {
        padding: 14px 10px 18px;
    }

    #urunler .section-title {
        gap: 10px;
        margin-bottom: 12px;
    }

    #urunler .brand-pill {
        font-size: 10px;
        padding: 8px 10px;
    }

    #store-search {
        min-height: 42px;
        border-radius: 15px;
        font-size: 13px;
        padding: 10px 12px;
    }

    .store-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .store-product {
        display: flex;
        min-width: 0;
        flex-direction: column;
        border-radius: 18px;
        box-shadow: 0 12px 26px rgba(59, 33, 19, 0.09);
    }

    .store-product:hover {
        transform: none;
    }

    .store-product-media {
        width: auto;
        min-height: 0;
        margin: 6px 6px 0;
        border-radius: 14px;
        aspect-ratio: 1;
    }

    .store-product-media img {
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .store-product-media figcaption,
    .store-product > div > small,
    .store-product p {
        display: none;
    }

    .store-product > div {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 7px;
        padding: 8px 7px 7px;
    }

    .store-product h3 {
        display: -webkit-box;
        min-height: 31px;
        margin: 0;
        overflow: hidden;
        color: var(--store-ink);
        font-size: 12px;
        line-height: 1.22;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .product-buy {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: auto;
    }

    .product-buy strong {
        width: 100%;
        min-width: 0;
        border-radius: 12px;
        font-size: 12px;
        padding: 7px 5px;
    }

    .store-add-button {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        border-radius: 13px;
        gap: 4px;
        padding: 8px 5px;
        font-size: 11px;
        line-height: 1;
    }

    .store-add-button span {
        font-size: 0;
    }

    .store-add-button span::after {
        content: "Ekle";
        font-size: 11px;
    }

    .store-add-button .store-ui-icon {
        width: 13px;
        height: 13px;
    }

    .store-add-button [data-store-product-count] {
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .store-products {
        gap: 6px;
    }

    .store-product h3 {
        font-size: 11px;
    }

    .store-add-button .store-ui-icon {
        display: none;
    }
}

/* Storefront v94: immersive restaurant homepage and ordering shell. */
.store-body {
    --store-night: #071411;
    --store-night-soft: #10231e;
    --store-evergreen: #164b36;
    --store-ivory: #f7f3e9;
    --store-paper: #fffdf8;
    --store-brass: #c7a66a;
    --store-coral: #d85b4b;
    --store-ink: #17201d;
    --store-muted: #68736e;
    background: var(--store-ivory);
}

.store-body::before,
.store-body::after {
    content: none;
}

.store-header {
    position: sticky;
    top: 0;
    left: auto;
    z-index: 100;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: none;
    border: 0;
    border-radius: 0;
    background: var(--store-night);
    box-shadow: 0 10px 35px rgba(7, 20, 17, 0.18);
}

.store-utility-bar {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 6px max(24px, calc((100% - 1360px) / 2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--store-evergreen);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.store-utility-bar p,
.store-utility-bar div {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
}

.store-utility-bar p span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7ed89d;
    box-shadow: 0 0 0 5px rgba(126, 216, 157, 0.12);
}

.store-utility-bar a {
    color: #fff;
    text-decoration: none;
}

.store-header-main {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
    min-height: 88px;
    align-items: center;
    gap: 28px;
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
}

.store-brand-group {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.store-back-button {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    box-shadow: none;
}

.store-logo {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.store-logo span,
.store-logo img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: var(--store-evergreen);
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.05);
    color: #fff;
}

.store-logo strong {
    display: grid;
    gap: 4px;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-logo strong small {
    color: var(--store-brass);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.store-primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.store-header .store-primary-nav a {
    position: relative;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
    text-decoration: none;
}

.store-header .store-primary-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--store-brass);
    transition: transform 180ms ease;
}

.store-header .store-primary-nav a:hover {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
}

.store-header .store-primary-nav a:hover::after {
    transform: scaleX(1);
}

.store-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.store-actions .store-account-box {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 4px 11px 4px 4px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    color: #fff;
    text-decoration: none;
}

.store-actions .store-account-icon {
    width: 36px;
    height: 36px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: var(--store-brass);
}

.store-actions .store-account-links {
    display: grid;
    gap: 1px;
}

.store-actions .store-account-links strong,
.store-actions .store-account-links small {
    max-width: 110px;
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-actions .store-account-links small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 9px;
}

.store-actions .store-whatsapp-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    color: #7ed89d;
}

.store-actions .store-cart-button {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--store-brass);
    border-radius: 4px;
    background: var(--store-brass);
    box-shadow: none;
    color: var(--store-night);
}

.store-actions .store-cart-button:hover {
    border-color: #dcc38d;
    background: #dcc38d;
    color: var(--store-night);
}

.store-actions .store-cart-button [data-cart-count] {
    background: var(--store-night);
    color: #fff;
}

.store-header .store-mobile-nav {
    display: none;
}

.storefront-premium .storefront {
    width: 100%;
    max-width: none;
    padding: 0;
}

.storefront-premium #urunler,
.storefront-premium #deneyim,
.storefront-premium #iletisim {
    scroll-margin-top: 128px;
}

.storefront-premium .storefront > .alert {
    width: min(1280px, calc(100% - 48px));
    margin: 20px auto;
}

.storefront-premium .store-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    min-height: clamp(560px, calc(100svh - 170px), 720px);
    align-items: end;
    gap: 42px;
    width: 100%;
    margin: 0;
    padding: 76px max(36px, calc((100% - 1280px) / 2)) 72px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background-image: var(--store-hero-image);
    background-position: center;
    background-size: cover;
    box-shadow: none;
}

.storefront-premium .store-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 13, 11, 0.94) 0%, rgba(4, 13, 11, 0.76) 35%, rgba(4, 13, 11, 0.2) 73%, rgba(4, 13, 11, 0.12) 100%);
}

.storefront-premium .store-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(4, 13, 11, 0.78), transparent);
}

.store-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 820px;
    gap: 22px;
}

.storefront-premium .store-hero > .store-hero-content::before {
    content: none;
    display: none;
}

.store-hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--store-brass);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.store-hero-kicker i {
    width: 38px;
    height: 1px;
    background: currentColor;
}

.storefront-premium .store-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 72px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 0.98;
    text-shadow: 0 4px 34px rgba(0, 0, 0, 0.3);
}

.storefront-premium .store-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.65;
}

.storefront-premium .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.storefront-premium .store-action-button,
.storefront-premium .hero-actions .primary,
.storefront-premium .hero-actions .secondary {
    min-height: 52px;
    padding: 14px 19px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 900;
}

.storefront-premium .hero-actions .primary {
    border: 1px solid var(--store-brass);
    background: var(--store-brass);
    box-shadow: none;
    color: var(--store-night);
}

.storefront-premium .hero-actions .secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(8, 24, 20, 0.42);
    box-shadow: none;
    color: #fff;
    backdrop-filter: blur(8px);
}

.storefront-premium .hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.storefront-premium .hero-facts span {
    min-height: 0;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.storefront-premium .hero-facts span:first-child {
    padding-left: 0;
}

.storefront-premium .hero-facts span:last-child {
    border-right: 0;
}

.storefront-premium .hero-facts .store-ui-icon {
    color: var(--store-brass);
}

.store-hero-notes {
    position: relative;
    z-index: 1;
    display: grid;
    align-self: end;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.store-hero-notes span {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.store-hero-notes small {
    color: var(--store-brass);
    font-size: 10px;
    font-weight: 900;
}

.store-hero-notes strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
}

.store-hero-scroll {
    position: absolute;
    right: max(28px, calc((100% - 1280px) / 2));
    bottom: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.store-hero-scroll .store-ui-icon {
    width: 18px;
    height: 18px;
    transform: rotate(-90deg);
}

.store-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--store-night);
    color: #fff;
}

.store-proof-strip article {
    display: grid;
    gap: 4px;
    min-height: 112px;
    align-content: center;
    justify-items: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.store-proof-strip article:last-child {
    border-right: 0;
}

.store-proof-strip strong {
    color: var(--store-brass);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
}

.store-proof-strip span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.storefront-premium #urunler.store-section {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 88px 0 96px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.storefront-premium #urunler .section-title {
    margin-bottom: 28px;
    align-items: end;
}

.storefront-premium #urunler .section-title .brand-pill {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--store-evergreen);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.storefront-premium #urunler .section-title h2 {
    max-width: 720px;
    margin: 12px 0 10px;
    color: var(--store-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.08;
}

.storefront-premium #urunler .section-title p {
    max-width: 650px;
    margin: 0;
    color: var(--store-muted);
    font-size: 14px;
    line-height: 1.65;
}

.storefront-premium #store-search {
    min-height: 50px;
    border: 1px solid #d9d9d2;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

.storefront-premium .category-pills {
    gap: 8px;
    margin-bottom: 30px;
}

.storefront-premium .category-pills button {
    min-height: 52px;
    border: 1px solid #deded6;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    color: #42504b;
}

.storefront-premium .category-pills button img,
.storefront-premium .category-pills button i {
    width: 34px;
    height: 34px;
    border-radius: 3px;
    background: #edf3ef;
    color: var(--store-evergreen);
}

.storefront-premium .category-pills button.active {
    border-color: var(--store-evergreen);
    background: var(--store-evergreen);
    box-shadow: none;
    color: #fff;
}

.storefront-premium .store-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.storefront-premium .store-product {
    overflow: hidden;
    border: 1px solid #e1e1d9;
    border-radius: 6px;
    background: var(--store-paper);
    box-shadow: 0 16px 38px rgba(16, 35, 30, 0.08);
}

.storefront-premium .store-product::after {
    content: none;
}

.storefront-premium .store-product:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 75, 54, 0.34);
    box-shadow: 0 24px 50px rgba(16, 35, 30, 0.13);
}

.storefront-premium .store-product-media {
    margin: 0;
    border-radius: 0;
    background: #e8ece8;
}

.storefront-premium .store-product-media img {
    aspect-ratio: 4 / 3;
}

.storefront-premium .store-product-media figcaption {
    border-radius: 3px;
    background: rgba(7, 20, 17, 0.78);
    color: #fff;
}

.storefront-premium .store-product > div {
    padding: 20px;
}

.storefront-premium .store-product > div > small {
    width: fit-content;
    border-radius: 3px;
    background: #edf3ef;
    color: var(--store-evergreen);
}

.storefront-premium .store-product h3 {
    color: var(--store-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    letter-spacing: 0;
}

.storefront-premium .product-buy {
    grid-template-columns: minmax(92px, auto) minmax(138px, 1fr);
}

.storefront-premium .product-buy > strong {
    border-radius: 3px;
    background: var(--store-night);
    box-shadow: none;
}

.storefront-premium .store-add-button {
    min-height: 48px;
    border-radius: 3px;
    background: var(--store-evergreen);
    box-shadow: none;
}

.store-experience-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 76px;
    align-items: center;
    padding: 96px max(36px, calc((100% - 1280px) / 2));
    background: var(--store-night-soft);
    color: #fff;
}

.store-section-kicker {
    color: var(--store-brass);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.store-experience-band h2,
.store-contact-band h2 {
    margin: 14px 0 18px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.08;
}

.store-experience-band p,
.store-contact-band p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.75;
}

.store-experience-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.store-experience-values span {
    display: grid;
    min-height: 180px;
    align-content: center;
    gap: 8px;
    padding: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.store-experience-values span:last-child {
    border-right: 0;
}

.store-experience-values .store-ui-icon {
    width: 27px;
    height: 27px;
    margin-bottom: 10px;
    color: var(--store-brass);
}

.store-experience-values strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 500;
}

.store-experience-values small {
    color: rgba(255, 255, 255, 0.5);
}

.store-contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: 72px max(36px, calc((100% - 1280px) / 2));
    background: var(--store-evergreen);
    color: #fff;
}

.store-contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.store-contact-actions a {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.store-contact-actions a:first-child {
    border-color: var(--store-brass);
    background: var(--store-brass);
    color: var(--store-night);
}

.store-contact-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--store-brass);
    font-size: 12px;
    font-weight: 900;
}

.store-contact-hours .store-ui-icon {
    width: 16px;
    height: 16px;
}

.store-footer {
    background: #050e0c;
    color: #fff;
}

.store-footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(150px, 0.65fr));
    gap: 52px;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 74px 0 64px;
}

.store-footer-main > div,
.store-footer-main > nav {
    display: grid;
    align-content: start;
    gap: 12px;
}

.store-footer-main > div > strong,
.store-footer-main > nav > strong {
    margin-bottom: 6px;
    color: var(--store-brass);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.store-footer-main p,
.store-footer-main a,
.store-footer-main small {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.7;
    text-decoration: none;
}

.store-footer-main a:hover {
    color: #fff;
}

.store-footer-brand p {
    max-width: 380px;
    margin-top: 8px;
}

.store-footer .store-logo {
    width: fit-content;
}

.store-footer-bottom {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.38);
    font-size: 10px;
    font-weight: 750;
}

@media (max-width: 1120px) {
    .store-header-main {
        grid-template-columns: minmax(220px, 1fr) auto;
    }

    .store-header .store-primary-nav {
        display: none;
    }

    .storefront-premium .store-hero h1 {
        font-size: 60px;
    }

    .storefront-premium .store-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .store-utility-bar {
        display: none;
    }

    .store-header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 68px;
        gap: 8px;
        width: calc(100% - 20px);
    }

    .store-brand-group {
        gap: 6px;
    }

    .store-back-button {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .store-logo {
        gap: 8px;
    }

    .store-logo span,
    .store-logo img {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .store-logo strong {
        display: grid;
        max-width: 142px;
        font-size: 12px;
    }

    .store-logo strong small {
        display: none;
    }

    .store-actions {
        gap: 6px;
    }

    .store-actions .store-account-box {
        width: 40px;
        min-height: 40px;
        justify-content: center;
        padding: 0;
    }

    .store-actions .store-account-icon {
        width: 38px;
        height: 38px;
    }

    .store-actions .store-account-links,
    .store-actions .store-whatsapp-link {
        display: none;
    }

    .store-actions .store-cart-button {
        min-width: 76px;
        min-height: 40px;
        padding: 8px 9px;
        font-size: 11px;
    }

    .store-header .store-mobile-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-top: 1px solid rgba(255, 255, 255, 0.09);
    }

    .store-header .store-mobile-nav a {
        display: flex;
        min-width: 0;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.7);
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: 10px;
        font-weight: 800;
        text-decoration: none;
    }

    .store-header .store-mobile-nav .store-ui-icon {
        width: 15px;
        height: 15px;
        color: var(--store-brass);
    }

    .storefront-premium .store-hero {
        grid-template-columns: 1fr;
        min-height: max(430px, calc(100svh - 156px));
        padding: 52px 20px 46px;
        background-position: 58% center;
    }

    .storefront-premium .store-hero::before {
        background: linear-gradient(90deg, rgba(4, 13, 11, 0.93) 0%, rgba(4, 13, 11, 0.69) 65%, rgba(4, 13, 11, 0.34) 100%);
    }

    .store-hero-content {
        gap: 16px;
    }

    .storefront-premium .store-hero h1 {
        font-size: 44px;
        line-height: 1.02;
    }

    .storefront-premium .store-hero p {
        max-width: 92%;
        font-size: 15px;
        line-height: 1.5;
    }

    .storefront-premium .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .storefront-premium .store-action-button,
    .storefront-premium .hero-actions .primary,
    .storefront-premium .hero-actions .secondary {
        width: 100%;
        min-height: 48px;
    }

    .storefront-premium .hero-facts {
        display: grid;
        gap: 8px;
        padding-top: 14px;
    }

    .storefront-premium .hero-facts span,
    .storefront-premium .hero-facts span:first-child {
        padding: 0;
        border: 0;
    }

    .store-hero-notes,
    .store-hero-scroll {
        display: none;
    }

    .store-proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-proof-strip article {
        min-height: 90px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .storefront-premium #urunler.store-section {
        width: calc(100% - 24px);
        padding: 54px 0 60px;
    }

    .storefront-premium #urunler .section-title {
        align-items: stretch;
    }

    .storefront-premium #urunler .section-title h2 {
        font-size: 34px;
    }

    .storefront-premium .store-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .storefront-premium .store-product {
        display: flex;
        flex-direction: column;
        border-radius: 5px;
    }

    .storefront-premium .store-product-media {
        width: 100%;
        margin: 0;
        border-radius: 0;
        aspect-ratio: 1;
    }

    .storefront-premium .store-product-media img {
        aspect-ratio: 1;
    }

    .storefront-premium .store-product > div {
        padding: 11px;
    }

    .storefront-premium .store-product h3 {
        min-height: 40px;
        font-size: 17px;
        line-height: 1.15;
    }

    .storefront-premium .product-buy {
        grid-template-columns: 1fr;
    }

    .storefront-premium .product-buy > strong,
    .storefront-premium .store-add-button {
        width: 100%;
    }

    .store-experience-band {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }

    .store-experience-band h2,
    .store-contact-band h2 {
        font-size: 34px;
    }

    .store-experience-values {
        grid-template-columns: 1fr;
    }

    .store-experience-values span {
        min-height: 118px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .store-experience-values span:last-child {
        border-bottom: 0;
    }

    .store-contact-band {
        align-items: flex-start;
        flex-direction: column;
        padding: 54px 20px;
    }

    .store-contact-actions {
        width: 100%;
        justify-content: stretch;
    }

    .store-contact-actions a {
        flex: 1 1 140px;
        justify-content: center;
    }

    .store-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 24px;
        width: calc(100% - 40px);
        padding: 54px 0 46px;
    }

    .store-footer-brand {
        grid-column: 1 / -1;
    }

    .store-footer-main > div:last-child {
        grid-column: 1 / -1;
    }

    .store-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        width: calc(100% - 40px);
        min-height: 86px;
        padding: 16px 0;
    }

    .storefront-premium .store-add-button span {
        font-size: 10px;
    }

    .storefront-premium .store-add-button span::after {
        content: none;
    }
}

@media (max-width: 380px) {
    .store-logo strong {
        max-width: 96px;
        font-size: 10px;
    }

    .store-actions .store-cart-button {
        min-width: 68px;
    }

    .storefront-premium .store-hero h1 {
        font-size: 38px;
    }

    .store-header .store-mobile-nav a {
        gap: 3px;
        font-size: 9px;
    }
}

/* Storefront v98: compact, accessible mini-cart. */
body.cart-is-open {
    overflow: visible;
}

.cart-drawer-backdrop {
    display: none !important;
    pointer-events: none;
}

.cart-drawer {
    top: 128px;
    right: 16px;
    z-index: 110;
    grid-template-rows: auto minmax(110px, auto) auto;
    width: min(380px, calc(100vw - 32px));
    height: auto;
    min-height: 318px;
    max-height: calc(100dvh - 144px);
    overflow: visible;
    border: 1px solid rgba(22, 75, 54, 0.2);
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 24px 64px rgba(5, 20, 16, 0.24);
    opacity: 0;
    transform: translateX(calc(100% + 32px));
    transition: transform 220ms ease, opacity 180ms ease;
}

.cart-drawer::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 28px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-top: 1px solid rgba(22, 75, 54, 0.2);
    border-left: 1px solid rgba(22, 75, 54, 0.2);
    background: #f7f4eb;
}

.cart-drawer.open {
    opacity: 1;
    transform: translateX(0);
}

.cart-drawer-head {
    align-items: flex-start;
    padding: 18px 18px 16px;
    border-bottom: 1px solid #e1e5df;
    background: #f7f4eb;
    border-radius: 8px 8px 0 0;
}

.cart-drawer-head .brand-pill {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--store-evergreen, #164b36);
    font-size: 10px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cart-drawer-head h2 {
    margin: 6px 0 0;
    color: var(--store-ink, #17201d);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.05;
}

.cart-drawer-head p {
    max-width: 290px;
    margin: 7px 0 0;
    color: var(--store-muted, #68736e);
    font-size: 11px;
    line-height: 1.45;
}

.cart-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid #d8ded8;
    border-radius: 4px;
    background: #fff;
    color: var(--store-night, #071411);
    box-shadow: none;
    font-family: inherit;
    font-size: 22px;
    line-height: 1;
}

.cart-close:hover,
.cart-close:focus-visible {
    border-color: var(--store-evergreen, #164b36);
    background: var(--store-evergreen, #164b36);
    color: #fff;
    outline: none;
}

.cart-drawer .drawer-lines {
    min-height: 110px;
    max-height: min(390px, calc(100dvh - 390px));
    margin: 0;
    padding: 12px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.cart-drawer .empty-cart {
    display: grid;
    min-height: 104px;
    place-items: center;
    margin: 0;
    padding: 20px;
    border: 1px dashed #d7ddd6;
    border-radius: 6px;
    background: #f7f9f5;
    color: var(--store-muted, #68736e);
    text-align: center;
}

.cart-drawer .store-cart-line {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 0;
}

.cart-drawer .store-cart-line img {
    width: 52px;
    height: 52px;
    border-radius: 4px;
}

.cart-drawer-footer {
    gap: 12px;
    padding: 16px 18px 18px;
    border-top: 1px solid #e1e5df;
    background: #fffdf8;
    border-radius: 0 0 8px 8px;
}

.cart-drawer-footer .cart-total {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #dfe4de;
    color: var(--store-ink, #17201d);
    font-size: 18px;
}

.cart-drawer-footer .checkout-button {
    min-height: 48px;
    margin: 0;
    border-radius: 4px;
    background: var(--store-evergreen, #164b36);
    box-shadow: none;
}

.cart-drawer-footer .checkout-button.is-disabled {
    background: #dbe3dc;
    color: #77827b;
    opacity: 1;
}

@media (max-width: 480px) {
    .cart-drawer {
        top: 126px;
        right: 12px;
        bottom: auto;
        width: min(340px, calc(100vw - 24px));
        min-height: 260px;
        max-height: calc(100dvh - 142px);
        transform: translateX(calc(100% + 24px));
    }

    .cart-drawer.open {
        transform: translateX(0);
    }

    .cart-drawer .drawer-lines {
        max-height: calc(100dvh - 405px);
    }

    .cart-drawer-head {
        padding: 15px 15px 13px;
    }

    .cart-drawer-head p {
        display: none;
    }

    .cart-drawer .drawer-lines,
    .cart-drawer-footer {
        padding-right: 14px;
        padding-left: 14px;
    }

    .cart-drawer .drawer-lines {
        min-height: 82px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .cart-drawer .empty-cart {
        min-height: 76px;
        padding: 14px;
    }

    .cart-drawer-footer {
        gap: 8px;
        padding-top: 12px;
        padding-bottom: 14px;
    }

    .cart-drawer-footer .checkout-button {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-drawer,
    .cart-drawer-backdrop {
        transition: none;
    }
}

/* Storefront v101: lighter hospitality palette and balanced navigation. */
.store-header {
    border-bottom: 1px solid rgba(18, 65, 46, 0.12);
    background: #fffdf8;
    box-shadow: 0 10px 30px rgba(7, 20, 17, 0.1);
}

.store-utility-bar {
    border-bottom: 0;
    background: #1d6a4b;
    color: rgba(255, 255, 255, 0.86);
}

.store-header-main {
    min-height: 84px;
}

.store-logo {
    color: var(--store-ink);
}

.store-logo span,
.store-logo img {
    border-color: rgba(22, 75, 54, 0.14);
    background: #1d6a4b;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.08), 0 8px 20px rgba(22, 75, 54, 0.18);
}

.store-logo strong {
    color: var(--store-ink);
}

.store-logo strong small {
    color: #2b795a;
}

.store-header .store-primary-nav a {
    display: inline-flex;
    width: 92px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: #394a44;
}

.store-header .store-primary-nav a:hover {
    color: #155a3e;
}

.store-header .store-actions .store-account-box,
.store-header .store-actions .store-cart-button {
    width: 126px;
    min-width: 126px;
    min-height: 46px;
    height: 46px;
}

.store-actions .store-account-box {
    border-color: #dce6df;
    background: #f2f7f3;
    color: #173b2d;
}

.store-actions .store-account-icon {
    width: 36px;
    height: 36px;
    background: #e4eee7;
    color: #1d6a4b;
}

.store-actions .store-account-links small {
    color: #728078;
}

.store-actions .store-whatsapp-link {
    border-color: #dce6df;
    background: #f2f7f3;
    color: #1d8b58;
}

.store-header .store-actions .store-cart-button {
    padding: 10px 14px;
    border-color: #1d6a4b;
    background: #1d6a4b;
    color: #fff;
}

.store-actions .store-cart-button:hover {
    border-color: #15553c;
    background: #15553c;
    color: #fff;
}

.store-actions .store-cart-button [data-cart-count] {
    background: #d5b46f;
    color: #10241c;
}

.storefront-premium .store-hero::before {
    background: linear-gradient(90deg, rgba(4, 13, 11, 0.88) 0%, rgba(4, 13, 11, 0.67) 37%, rgba(4, 13, 11, 0.14) 76%, rgba(4, 13, 11, 0.05) 100%);
}

.store-proof-strip {
    border-bottom: 1px solid #e2e5dc;
    background: #fffdf8;
    color: var(--store-ink);
    box-shadow: 0 14px 32px rgba(16, 35, 30, 0.06);
}

.store-proof-strip article {
    border-right-color: #e5e5dd;
}

.store-proof-strip strong {
    color: #1d6a4b;
}

.store-proof-strip span {
    color: #738078;
}

.storefront-premium #urunler.store-section {
    background: #fbfaf5;
}

.storefront-premium .store-product {
    border-color: #e5e6df;
    background: #fff;
}

.storefront-premium .store-add-button,
.store-contact-actions a:first-child {
    background: #1d6a4b;
    color: #fff;
}

.store-contact-actions a:first-child {
    border-color: rgba(255, 255, 255, 0.36);
}

@media (max-width: 760px) {
    .store-header-main {
        min-height: 64px;
    }

    .store-header .store-actions .store-account-box,
    .store-header .store-actions .store-cart-button {
        position: relative;
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 42px;
        min-height: 42px;
        justify-content: center;
        padding: 0;
        border-radius: 4px;
    }

    .store-actions .store-account-icon {
        width: 40px;
        height: 40px;
        border-radius: 3px;
    }

    .store-header .store-actions .store-cart-button .cart-icon span {
        display: none;
    }

    .store-actions .store-cart-button [data-cart-count] {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 20px;
        height: 20px;
        border: 2px solid #fffdf8;
        font-size: 9px;
    }

    .store-header .store-mobile-nav {
        border-top-color: #e5e8e1;
        background: #fffdf8;
    }

    .store-header .store-mobile-nav a {
        min-height: 46px;
        border-right-color: #e5e8e1;
        color: #43534d;
    }

    .store-header .store-mobile-nav .store-ui-icon {
        color: #1d6a4b;
    }

    .storefront-premium .store-hero::before {
        background: linear-gradient(90deg, rgba(4, 13, 11, 0.84) 0%, rgba(4, 13, 11, 0.58) 68%, rgba(4, 13, 11, 0.2) 100%);
    }
}

/* Keep the mini-cart anchored to the header; visibility does not depend on a sliding transform. */
.cart-drawer {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: none;
    transition: none;
}

.cart-drawer.open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
}

@media (max-width: 480px) {
    .cart-drawer,
    .cart-drawer.open {
        transform: none;
    }
}

/* Storefront v108: professional checkout flow. */
body.checkout-page {
    --checkout-green: #174f38;
    --checkout-green-dark: #103a29;
    --checkout-gold: #d5b46f;
    --checkout-ink: #17231e;
    --checkout-muted: #66736d;
    --checkout-line: #dfe5df;
    background: #f3f6f2;
    color: var(--checkout-ink);
}

.checkout-page .narrow-storefront {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    padding: 28px 0 72px;
}

.checkout-hero-premium {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    gap: 32px;
    align-items: center;
    margin: 0 0 28px;
    padding: 32px 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: var(--checkout-green);
    box-shadow: 0 18px 44px rgba(16, 58, 41, 0.14);
    color: #fff;
}

.checkout-hero-copy {
    min-width: 0;
}

.checkout-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f0dca9;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-eyebrow .store-ui-icon {
    width: 17px;
    height: 17px;
}

.checkout-hero-premium h1 {
    max-width: 680px;
    margin: 10px 0 8px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: 0;
}

.checkout-hero-premium p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.6;
}

.checkout-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-progress li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.58);
}

.checkout-progress li:first-child {
    border-left: 0;
}

.checkout-progress li > b {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 12px;
}

.checkout-progress li > span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.checkout-progress small,
.checkout-progress strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-progress small {
    font-size: 9px;
    text-transform: uppercase;
}

.checkout-progress strong {
    font-size: 11px;
    font-weight: 750;
}

.checkout-progress .is-complete,
.checkout-progress .is-active {
    color: #fff;
}

.checkout-progress .is-complete > b {
    border-color: var(--checkout-gold);
    background: var(--checkout-gold);
    color: var(--checkout-green-dark);
}

.checkout-progress .is-active > b {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.checkout-page .checkout-grid,
.checkout-page .checkout-choice-grid {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: 28px;
}

.checkout-page .checkout-cart,
.checkout-page .checkout-customer {
    border: 1px solid var(--checkout-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(22, 48, 37, 0.08);
}

.checkout-page .checkout-cart {
    top: 140px;
    padding: 22px;
}

.checkout-page .checkout-customer {
    padding: 0;
}

.checkout-panel-head {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 13px;
    padding: 24px 26px 22px;
    border-bottom: 1px solid var(--checkout-line);
}

.checkout-summary-head {
    padding: 0 0 18px;
}

.checkout-panel-icon,
.checkout-choice-icon,
.checkout-section-title > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 6px;
    background: #eaf2ec;
    color: var(--checkout-green);
}

.checkout-panel-icon .store-ui-icon,
.checkout-choice-icon .store-ui-icon,
.checkout-section-title > span .store-ui-icon {
    width: 20px;
    height: 20px;
}

.checkout-panel-head > div {
    min-width: 0;
    flex: 1;
}

.checkout-panel-head small {
    color: #7a867f;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-panel-head h2 {
    margin: 3px 0 0;
    color: var(--checkout-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.1;
}

.checkout-panel-head p {
    margin: 7px 0 0;
    color: var(--checkout-muted);
    font-size: 13px;
    line-height: 1.5;
}

.checkout-item-count {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 4px;
    padding: 6px 9px;
    border: 1px solid #dce6df;
    border-radius: 5px;
    background: #f5f8f5;
    color: var(--checkout-muted);
    font-size: 11px;
    white-space: nowrap;
}

.checkout-item-count b {
    color: var(--checkout-green);
}

.checkout-summary-card .cart-lines {
    max-height: 410px;
    margin-top: 10px;
    overflow-y: auto;
}

.checkout-page .empty-cart {
    min-height: 112px;
    display: grid;
    place-items: center;
    border-color: #cfd9d1;
    border-radius: 6px;
    background: #f8faf8;
    color: #718078;
    text-align: center;
}

.checkout-page .store-cart-line {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 13px 0;
    border-bottom-color: #e6ebe7;
}

.checkout-page .store-cart-line img {
    width: 62px;
    height: 62px;
    border-radius: 6px;
}

.checkout-page .store-cart-line strong {
    color: var(--checkout-ink);
    font-size: 13px;
    line-height: 1.35;
}

.checkout-page .store-cart-line small {
    margin-top: 4px;
    color: var(--checkout-muted);
    font-size: 11px;
}

.checkout-page .qty-tools button {
    min-width: 30px;
    height: 30px;
    border-radius: 4px;
    background: #fff;
}

.checkout-page .qty-tools button[data-store-remove] {
    border-color: #efd8d1;
    border-radius: 4px;
    background: #fff7f4;
}

.checkout-page .cart-total {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--checkout-line);
    color: var(--checkout-ink);
    font-size: 15px;
}

.checkout-page .cart-total strong {
    color: var(--checkout-green);
    font-size: 22px;
}

.checkout-page .checkout-button {
    min-height: 48px;
    border-radius: 6px;
    box-shadow: none;
}

.checkout-page .checkout-continue-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    border: 1px solid #ced9d1;
    background: #fff;
    color: var(--checkout-green);
}

.checkout-continue-button .store-ui-icon {
    width: 17px;
    height: 17px;
}

.checkout-assurance {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--checkout-line);
}

.checkout-assurance > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #edf4ef;
    color: var(--checkout-green);
}

.checkout-assurance .store-ui-icon {
    width: 17px;
    height: 17px;
}

.checkout-assurance p,
.checkout-assurance strong,
.checkout-assurance small {
    display: block;
    margin: 0;
}

.checkout-assurance strong {
    color: var(--checkout-ink);
    font-size: 12px;
}

.checkout-assurance small {
    margin-top: 2px;
    color: var(--checkout-muted);
    font-size: 10px;
    line-height: 1.4;
}

.checkout-page .checkout-choice-stack {
    gap: 14px;
}

.checkout-page .checkout-choice-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 34px;
    min-height: 154px;
    align-items: center;
    gap: 18px;
    padding: 24px;
    overflow: visible;
    border: 1px solid var(--checkout-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(22, 48, 37, 0.07);
    color: var(--checkout-ink);
    transform: none;
}

.checkout-page .checkout-choice-card::after {
    content: none;
}

.checkout-page .checkout-choice-card:hover {
    border-color: #9fb7a7;
    box-shadow: 0 18px 42px rgba(22, 48, 37, 0.11);
    transform: translateY(-2px);
}

.checkout-choice-card > div {
    display: grid;
    gap: 5px;
}

.checkout-choice-card > div small {
    color: #77837d;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-choice-card > div strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.05;
}

.checkout-choice-card > div p {
    margin: 3px 0 0;
    color: var(--checkout-muted);
    font-size: 13px;
    line-height: 1.5;
}

.checkout-choice-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #d7e1da;
    border-radius: 50%;
    font-size: 17px;
}

.checkout-page .choice-register {
    border-color: var(--checkout-green);
    background: var(--checkout-green);
    color: #fff;
}

.checkout-page .choice-register .checkout-choice-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #f1dca9;
}

.checkout-page .choice-register > div small,
.checkout-page .choice-register > div p {
    color: rgba(255, 255, 255, 0.72);
}

.checkout-page .choice-register .checkout-choice-arrow {
    border-color: rgba(255, 255, 255, 0.24);
}

.checkout-form-section {
    padding: 24px 26px;
    border-bottom: 1px solid var(--checkout-line);
}

.checkout-section-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.checkout-section-title > span {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.checkout-section-title > span .store-ui-icon {
    width: 18px;
    height: 18px;
}

.checkout-section-title h3,
.checkout-section-title p {
    margin: 0;
}

.checkout-section-title h3 {
    color: var(--checkout-ink);
    font-size: 15px;
}

.checkout-section-title p {
    margin-top: 3px;
    color: var(--checkout-muted);
    font-size: 11px;
    line-height: 1.45;
}

.checkout-details-card .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.checkout-details-card label,
.checkout-coupon {
    display: grid;
    gap: 7px;
    color: #46544d;
    font-size: 11px;
    font-weight: 750;
}

.checkout-details-card input,
.checkout-details-card select,
.checkout-details-card textarea,
.checkout-coupon input {
    width: 100%;
    border: 1px solid #ccd7cf;
    border-radius: 6px;
    background: #fff;
    color: var(--checkout-ink);
    box-shadow: none;
    font: inherit;
}

.checkout-details-card input,
.checkout-details-card select,
.checkout-coupon input {
    min-height: 48px;
    padding: 10px 12px;
}

.checkout-details-card textarea {
    min-height: 96px;
    padding: 12px;
    resize: vertical;
}

.checkout-details-card input[readonly] {
    background: #f2f5f2;
    color: #6f7b74;
}

.checkout-details-card input:focus,
.checkout-details-card select:focus,
.checkout-details-card textarea:focus,
.checkout-coupon input:focus {
    border-color: var(--checkout-green);
    outline: 3px solid rgba(23, 79, 56, 0.11);
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.payment-method-option {
    display: block;
    min-width: 0;
    cursor: pointer;
}

.payment-method-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.payment-method-option > span {
    display: grid;
    min-height: 112px;
    align-content: start;
    gap: 6px;
    padding: 15px;
    border: 1px solid #d4ddd6;
    border-radius: 6px;
    background: #fff;
}

.payment-method-option .store-ui-icon {
    width: 21px;
    height: 21px;
    margin-bottom: 3px;
    color: var(--checkout-green);
}

.payment-method-option strong,
.payment-method-option small {
    display: block;
}

.payment-method-option strong {
    color: var(--checkout-ink);
    font-size: 12px;
}

.payment-method-option small {
    color: var(--checkout-muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
}

.payment-method-option input:checked + span {
    border-color: var(--checkout-green);
    background: #edf4ef;
    box-shadow: inset 0 0 0 1px var(--checkout-green);
}

.payment-method-option input:focus-visible + span {
    outline: 3px solid rgba(23, 79, 56, 0.15);
}

.checkout-coupon {
    max-width: 320px;
    margin-top: 15px;
}

.checkout-notes-section {
    border-bottom: 0;
}

.checkout-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 26px;
    border-top: 1px solid var(--checkout-line);
    background: #f7f9f7;
    border-radius: 0 0 8px 8px;
}

.checkout-submit-bar > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: var(--checkout-green);
}

.checkout-submit-bar > div > .store-ui-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.checkout-submit-bar span,
.checkout-submit-bar strong,
.checkout-submit-bar small {
    display: block;
}

.checkout-submit-bar strong {
    color: var(--checkout-ink);
    font-size: 12px;
}

.checkout-submit-bar small {
    margin-top: 2px;
    color: var(--checkout-muted);
    font-size: 10px;
}

.checkout-submit-bar .checkout-button {
    width: auto;
    min-width: 210px;
    margin: 0;
    padding: 12px 20px;
    background: var(--checkout-green);
}

.checkout-submit-bar .checkout-button .store-ui-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 1040px) {
    .checkout-hero-premium {
        grid-template-columns: 1fr;
    }

    .checkout-page .checkout-grid,
    .checkout-page .checkout-choice-grid {
        grid-template-columns: 1fr;
    }

    .checkout-page .checkout-cart {
        position: static;
    }
}

@media (max-width: 700px) {
    .checkout-page .narrow-storefront {
        width: min(100% - 24px, 1240px);
        padding-top: 16px;
    }

    .checkout-hero-premium {
        gap: 22px;
        padding: 24px 18px;
    }

    .checkout-hero-premium h1 {
        font-size: 34px;
    }

    .checkout-hero-premium p {
        font-size: 13px;
    }

    .checkout-progress li {
        display: grid;
        justify-items: center;
        gap: 6px;
        padding: 7px 5px;
        text-align: center;
    }

    .checkout-progress li > span {
        justify-items: center;
    }

    .checkout-progress strong {
        font-size: 9px;
    }

    .checkout-page .checkout-grid,
    .checkout-page .checkout-choice-grid {
        gap: 16px;
    }

    .checkout-page .checkout-cart {
        padding: 17px;
    }

    .checkout-panel-head,
    .checkout-form-section,
    .checkout-submit-bar {
        padding-right: 17px;
        padding-left: 17px;
    }

    .checkout-page .checkout-choice-card {
        grid-template-columns: 48px minmax(0, 1fr) 30px;
        min-height: 132px;
        gap: 12px;
        padding: 18px;
    }

    .checkout-choice-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .checkout-choice-card > div strong {
        font-size: 23px;
    }

    .checkout-choice-card > div p {
        font-size: 11px;
    }

    .checkout-details-card .form-grid,
    .payment-method-grid {
        grid-template-columns: 1fr;
    }

    .payment-method-option > span {
        min-height: 86px;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: center;
    }

    .payment-method-option .store-ui-icon {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .checkout-submit-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .checkout-submit-bar .checkout-button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .checkout-hero-premium h1 {
        font-size: 30px;
    }

    .checkout-progress small {
        display: none;
    }

    .checkout-page .store-cart-line {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .checkout-page .store-cart-line img {
        width: 52px;
        height: 52px;
    }

    .checkout-page .store-cart-line .qty-tools {
        grid-column: 2;
        justify-content: flex-start;
    }

    .checkout-panel-head h2 {
        font-size: 22px;
    }

    .checkout-item-count {
        padding-inline: 7px;
    }
}

/* Storefront v109: visual category shelf, configurable product grid and image viewer. */
.storefront-premium #urunler.store-section {
    background: transparent;
}

.storefront-premium #urunler .section-title {
    margin-bottom: 24px;
}

.storefront-premium .category-pills {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 168px;
    gap: 12px;
    margin: 0 0 28px;
    padding: 2px 2px 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-color: #aebcb3 #eef2ee;
    scrollbar-width: thin;
}

.storefront-premium .category-pills button {
    position: relative;
    display: grid;
    width: 168px;
    height: 148px;
    min-height: 148px;
    grid-template-rows: 100px 48px;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce3dd;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 48, 36, 0.07);
    color: #2e4038;
    scroll-snap-align: start;
}

.storefront-premium .category-pills button:hover {
    border-color: #91aa9a;
    box-shadow: 0 14px 32px rgba(20, 48, 36, 0.11);
    transform: translateY(-2px);
}

.storefront-premium .category-pills button img,
.storefront-premium .category-pills button i {
    display: grid;
    width: 100%;
    height: 100px;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: #e6eee8;
    color: var(--store-evergreen);
    object-fit: cover;
}

.storefront-premium .category-pills button i {
    background: var(--store-evergreen);
    color: #f0dca9;
}

.storefront-premium .category-pills button i .store-ui-icon {
    width: 34px;
    height: 34px;
}

.storefront-premium .category-pills button > span {
    display: -webkit-box;
    align-self: center;
    padding: 0 11px;
    overflow: hidden;
    color: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-premium .category-pills button.active {
    border-color: var(--store-evergreen);
    background: #fff;
    box-shadow: 0 0 0 2px var(--store-evergreen), 0 14px 32px rgba(20, 48, 36, 0.12);
    color: var(--store-evergreen);
}

.storefront-premium .category-pills button.active img {
    filter: saturate(1.05) contrast(1.03);
}

.storefront-premium .category-pills button.active i {
    background: var(--store-evergreen);
    color: #f0dca9;
}

.store-category-sections {
    display: grid;
    gap: 28px;
}

.store-category-section {
    display: grid;
    gap: 14px;
    scroll-margin-top: 18px;
}

.store-category-section.is-hidden {
    display: none;
}

.store-category-heading {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(83, 49, 25, 0.16);
    border-radius: 7px;
    background:
        linear-gradient(135deg, rgba(255, 248, 230, 0.98), rgba(249, 238, 213, 0.92)),
        repeating-linear-gradient(90deg, rgba(91, 57, 31, 0.04) 0 1px, transparent 1px 28px);
    box-shadow: 0 16px 38px rgba(59, 33, 19, 0.09);
    padding: 10px;
}

.store-category-heading img {
    width: 82px;
    height: 64px;
    border-radius: 7px;
    object-fit: cover;
    background: #ead9b9;
}

.store-category-heading div {
    min-width: 0;
}

.store-category-heading span {
    display: block;
    color: #7a5126;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.store-category-heading h3 {
    overflow: hidden;
    margin: 4px 0 0;
    color: var(--store-evergreen);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
    text-overflow: ellipsis;
}

.store-category-heading strong {
    justify-self: end;
    border-radius: 999px;
    background: rgba(18, 61, 37, 0.1);
    color: var(--store-evergreen);
    font-size: 12px;
    font-weight: 800;
    padding: 9px 12px;
    white-space: nowrap;
}

.storefront-premium .store-products {
    grid-template-columns: repeat(var(--store-product-columns, 5), minmax(0, 1fr));
    gap: 14px;
}

.storefront-premium .store-product {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #dfe5df;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 48, 36, 0.07);
}

.storefront-premium .store-product:hover {
    border-color: #a8bcae;
    box-shadow: 0 17px 38px rgba(20, 48, 36, 0.11);
    transform: translateY(-3px);
}

.storefront-premium .store-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9eeea;
}

.store-product-image-button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.storefront-premium .store-product-media .store-product-image-button img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    transition: transform 180ms ease;
}

.store-product-image-button:hover img,
.store-product-image-button:focus-visible img {
    transform: scale(1.035);
}

.store-product-image-button:focus-visible {
    outline: 3px solid var(--store-evergreen);
    outline-offset: -3px;
}

.store-product-zoom {
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(8, 25, 19, 0.76);
    color: #fff;
    opacity: 0;
    transition: opacity 150ms ease;
}

.store-product-zoom .store-ui-icon {
    width: 15px;
    height: 15px;
}

.store-product-image-button:hover .store-product-zoom,
.store-product-image-button:focus-visible .store-product-zoom {
    opacity: 1;
}

.storefront-premium .store-product-media figcaption {
    top: 9px;
    left: 9px;
    max-width: calc(100% - 58px);
    padding: 6px 8px;
    overflow: hidden;
    border-radius: 4px;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-premium .store-product > div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.storefront-premium .store-product > div > small {
    max-width: 100%;
    padding: 5px 7px;
    overflow: hidden;
    border-radius: 4px;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-premium .store-product h3 {
    display: -webkit-box;
    min-height: 39px;
    margin: 9px 0 6px;
    overflow: hidden;
    color: var(--store-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.15;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-premium .store-product p {
    display: -webkit-box;
    min-height: 34px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #6b7871;
    font-size: 10px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-premium .product-buy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: auto;
}

.storefront-premium .product-buy > strong {
    min-width: 0;
    width: auto;
    justify-content: flex-start;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--store-evergreen);
    font-size: 18px;
}

.storefront-premium .store-add-button {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 5px;
    font-size: 10px;
}

.storefront-premium .store-add-button .store-ui-icon {
    width: 15px;
    height: 15px;
}

.store-empty-state {
    border: 1px dashed rgba(18, 61, 37, 0.22);
    border-radius: 7px;
    background: rgba(255, 248, 230, 0.86);
    color: #6b7871;
    font-weight: 800;
    padding: 22px;
    text-align: center;
}

.store-scroll-top {
    position: fixed;
    z-index: 75;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 248, 230, 0.28);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--store-evergreen), #315f2f);
    color: #fff8de;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(18, 61, 37, 0.26);
}

.store-scroll-top .store-ui-icon {
    width: 20px;
    height: 20px;
    transform: rotate(90deg);
}

.store-scroll-top:hover,
.store-scroll-top:focus-visible {
    outline: 3px solid rgba(216, 149, 46, 0.28);
}

body.product-image-is-open {
    overflow: hidden;
}

.qr-menu-modern {
    --qr-ink: #172117;
    --qr-muted: #64705f;
    --qr-green: #123d25;
    --qr-leaf: #2e6c3b;
    --qr-gold: #d8952e;
    --qr-paper: #fff8e8;
    --qr-cream: #f4ead4;
    --qr-line: rgba(78, 54, 31, 0.16);
    background:
        linear-gradient(180deg, rgba(18, 61, 37, 0.12), transparent 260px),
        repeating-linear-gradient(90deg, rgba(82, 55, 29, 0.035) 0 1px, transparent 1px 38px),
        var(--qr-cream);
    color: var(--qr-ink);
}

.qr-menu-modern .qr-menu-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    padding: 34px 20px;
    background:
        linear-gradient(90deg, rgba(14, 42, 27, 0.94), rgba(14, 42, 27, 0.74) 52%, rgba(14, 42, 27, 0.18)),
        var(--qr-hero-image) center / cover no-repeat;
    box-shadow: none;
}

.qr-menu-modern .qr-menu-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(244, 234, 212, 0.98));
    pointer-events: none;
}

.qr-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(1180px, 100%);
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 auto 22px;
    border: 1px solid rgba(255, 248, 232, 0.22);
    border-radius: 8px;
    background: rgba(8, 28, 18, 0.28);
    color: #fff8e8;
    padding: 10px 12px;
    backdrop-filter: blur(16px);
}

.qr-topbar strong {
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-topbar span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: rgba(255, 248, 232, 0.13);
    color: rgba(255, 248, 232, 0.86);
    font-size: 0.82rem;
    font-weight: 900;
    padding: 8px 10px;
}

.qr-topbar .store-ui-icon {
    width: 16px;
    height: 16px;
}

.qr-menu-modern .qr-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    min-height: 350px;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 28px;
}

.qr-menu-modern.qr-waiter-disabled .qr-hero-inner {
    grid-template-columns: minmax(0, 820px);
}

.qr-menu-modern.qr-waiter-disabled .qr-hero-copy {
    max-width: 820px;
}

.qr-menu-modern .qr-hero-copy {
    align-self: end;
    padding-bottom: 12px;
}

.qr-menu-modern .brand-pill {
    width: fit-content;
    border: 1px solid rgba(255, 248, 232, 0.28);
    background: rgba(255, 248, 232, 0.14);
    color: #fff8e8;
    backdrop-filter: blur(10px);
}

.qr-menu-modern .qr-menu-hero h1 {
    max-width: 820px;
    margin: 18px 0 14px;
    color: #fff8e8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.25rem;
    line-height: 0.98;
    letter-spacing: 0;
    text-shadow: 0 14px 38px rgba(0, 0, 0, 0.32);
}

.qr-menu-modern .qr-menu-hero p {
    max-width: 680px;
    color: rgba(255, 248, 232, 0.88);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.7;
}

.qr-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.qr-hero-facts span {
    display: inline-grid;
    grid-template-columns: 24px auto;
    grid-template-rows: auto auto;
    gap: 0 9px;
    min-width: 128px;
    align-items: center;
    border: 1px solid rgba(255, 248, 232, 0.24);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.12);
    color: #fff8e8;
    padding: 10px 12px;
    backdrop-filter: blur(12px);
}

.qr-hero-facts .store-ui-icon {
    grid-row: 1 / span 2;
    width: 22px;
    height: 22px;
}

.qr-hero-facts strong {
    font-size: 1.02rem;
    line-height: 1;
}

.qr-hero-facts small {
    color: rgba(255, 248, 232, 0.7);
    font-size: 0.72rem;
    font-weight: 900;
}

.qr-menu-modern .qr-waiter-card {
    align-self: end;
    border: 1px solid rgba(255, 248, 232, 0.24);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.16);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
    padding: 14px;
}

.qr-menu-modern .qr-waiter-card label {
    display: grid;
    gap: 6px;
}

.qr-menu-modern .qr-waiter-card label span {
    color: rgba(255, 248, 232, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
}

.qr-menu-modern .qr-waiter-card input {
    min-height: 46px;
    border: 1px solid rgba(255, 248, 232, 0.24);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.94);
    color: var(--qr-ink);
    box-shadow: none;
}

.qr-menu-modern .qr-waiter-card .primary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--qr-gold), #f0b84f);
    color: #1d2b19;
    box-shadow: 0 14px 30px rgba(216, 149, 46, 0.28);
}

.qr-menu-modern .qr-waiter-card .store-ui-icon {
    width: 18px;
    height: 18px;
}

.qr-menu-modern .qr-menu {
    width: min(1180px, 100%);
    gap: 18px;
    padding: 18px 18px 44px;
}

.qr-menu-modern .qr-menu-toolbar {
    position: relative;
    z-index: 5;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
    gap: 14px;
    margin-top: -48px;
    border: 1px solid var(--qr-line);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.96);
    box-shadow: 0 18px 42px rgba(59, 33, 19, 0.14);
    padding: 14px;
}

.qr-menu-modern .qr-menu-toolbar span {
    color: #7a5126;
    font-size: 0.72rem;
    letter-spacing: 0;
}

.qr-menu-modern .qr-menu-toolbar strong {
    color: var(--qr-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    letter-spacing: 0;
}

.qr-search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    border: 1px solid rgba(78, 54, 31, 0.18);
    border-radius: 8px;
    background: #fffdf7;
    padding: 0 13px;
}

.qr-search-box .store-ui-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: var(--qr-green);
}

.qr-menu-modern .qr-search-box input {
    min-height: 48px;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.qr-menu-modern .qr-category-bar {
    position: relative;
    top: auto;
    z-index: 15;
    display: grid;
    grid-auto-columns: 168px;
    grid-auto-flow: column;
    gap: 10px;
    margin: 0;
    padding: 2px 2px 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.qr-menu-modern .qr-category-bar button {
    position: relative;
    display: grid;
    min-height: 126px;
    grid-template-rows: 72px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--qr-line);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.95);
    color: var(--qr-ink);
    box-shadow: 0 12px 26px rgba(59, 33, 19, 0.09);
    padding: 0;
    scroll-snap-align: start;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.qr-menu-modern .qr-category-bar button:hover {
    border-color: rgba(216, 149, 46, 0.42);
    box-shadow: 0 16px 32px rgba(59, 33, 19, 0.14);
    transform: translateY(-2px);
}

.qr-menu-modern .qr-category-bar button img,
.qr-menu-modern .qr-category-bar button i {
    width: 100%;
    height: 72px;
    object-fit: cover;
    background: #ead9b9;
    color: var(--qr-green);
}

.qr-menu-modern .qr-category-bar button i {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff0c7, #d9edc9);
}

.qr-menu-modern .qr-category-bar button i .store-ui-icon {
    width: 28px;
    height: 28px;
}

.qr-menu-modern .qr-category-bar button span {
    align-self: center;
    overflow: hidden;
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.18;
    padding: 9px 32px 9px 10px;
    text-align: left;
    white-space: normal;
}

.qr-menu-modern .qr-category-bar button b {
    position: absolute;
    right: 8px;
    bottom: 8px;
    min-width: 24px;
    height: 24px;
    background: rgba(18, 61, 37, 0.08);
    color: var(--qr-green);
}

.qr-menu-modern .qr-category-bar button.active {
    border-color: rgba(18, 61, 37, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 248, 232, 0.98), rgba(255, 244, 221, 0.98));
    color: var(--qr-green);
    box-shadow: 0 14px 34px rgba(18, 61, 37, 0.18);
    outline: 2px solid rgba(18, 61, 37, 0.18);
}

.qr-menu-modern .qr-category-bar button.active b {
    background: var(--qr-green);
    color: #fff8e8;
}

.qr-category-sections {
    display: grid;
    gap: 22px;
}

.qr-category-section {
    display: grid;
    gap: 12px;
    scroll-margin-top: 18px;
}

.qr-category-section.is-hidden {
    display: none;
}

.qr-category-heading {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--qr-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 244, 221, 0.94)),
        repeating-linear-gradient(90deg, rgba(82, 55, 29, 0.04) 0 1px, transparent 1px 24px);
    box-shadow: 0 16px 34px rgba(59, 33, 19, 0.1);
    padding: 10px;
}

.qr-category-heading img {
    width: 74px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
    background: #ead9b9;
}

.qr-category-heading div {
    min-width: 0;
}

.qr-category-heading span {
    display: block;
    color: #7a5126;
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
}

.qr-category-heading h2 {
    overflow: hidden;
    margin: 3px 0 0;
    color: var(--qr-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.05;
    text-overflow: ellipsis;
}

.qr-category-heading strong {
    justify-self: end;
    border-radius: 999px;
    background: rgba(18, 61, 37, 0.1);
    color: var(--qr-green);
    font-size: 0.82rem;
    padding: 8px 10px;
    white-space: nowrap;
}

.qr-menu-modern .qr-products {
    grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
    gap: 14px;
}

.qr-menu-modern .qr-product-card {
    overflow: hidden;
    border: 1px solid var(--qr-line);
    border-radius: 8px;
    background: rgba(255, 250, 238, 0.97);
    box-shadow: 0 16px 36px rgba(59, 33, 19, 0.1);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.qr-menu-modern .qr-product-card:hover {
    border-color: rgba(216, 149, 46, 0.36);
    box-shadow: 0 22px 44px rgba(59, 33, 19, 0.16);
    transform: translateY(-2px);
}

.qr-menu-modern .qr-product-media {
    margin: 0;
    background: #ead9b9;
}

.qr-menu-modern .qr-product-media button {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    padding: 0;
}

.qr-menu-modern .qr-product-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.24s ease;
}

.qr-menu-modern .qr-product-card:hover .qr-product-media img {
    transform: scale(1.035);
}

.qr-menu-modern .qr-product-media span {
    position: absolute;
    right: 9px;
    bottom: 9px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.9);
    color: var(--qr-green);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.qr-menu-modern .qr-product-media .store-ui-icon {
    width: 17px;
    height: 17px;
}

.qr-menu-modern .qr-product-card div {
    gap: 7px;
    padding: 12px;
}

.qr-menu-modern .qr-product-card div > span {
    border-radius: 8px;
    background: rgba(216, 149, 46, 0.14);
    color: #6b3d1f;
    font-size: 0.66rem;
    padding: 5px 8px;
}

.qr-menu-modern .qr-product-card h2 {
    display: -webkit-box;
    min-height: 40px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--qr-ink);
    font-size: 1rem;
    line-height: 1.22;
}

.qr-menu-modern .qr-product-card p {
    -webkit-line-clamp: 2;
    color: var(--qr-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.qr-menu-modern .qr-product-card strong {
    width: auto;
    margin-top: 2px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--qr-green), var(--qr-leaf));
    color: #fff8e8;
    font-size: 0.95rem;
    text-align: center;
    padding: 9px 10px;
}

.qr-menu-modern .qr-empty-state {
    border-color: rgba(18, 61, 37, 0.24);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.88);
}

.qr-scroll-top {
    position: fixed;
    z-index: 70;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 248, 232, 0.28);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--qr-green), var(--qr-leaf));
    color: #fff8e8;
    cursor: pointer;
    font-size: 1.35rem;
    font-weight: 950;
    box-shadow: 0 16px 36px rgba(18, 61, 37, 0.28);
}

.qr-scroll-top:hover,
.qr-scroll-top:focus-visible {
    background: linear-gradient(135deg, #1d5a32, var(--qr-green));
    outline: 3px solid rgba(216, 149, 46, 0.28);
}

@media (max-width: 960px) {
    .qr-menu-modern .qr-menu-hero {
        min-height: auto;
    }

    .qr-menu-modern .qr-hero-inner {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .qr-menu-modern .qr-menu-toolbar {
        margin-top: -32px;
    }
}

@media (max-width: 720px) {
    .qr-menu-modern .qr-menu-hero {
        padding: 12px 12px 46px;
        background:
            linear-gradient(180deg, rgba(14, 42, 27, 0.86), rgba(14, 42, 27, 0.72)),
            var(--qr-hero-image) center / cover no-repeat;
    }

    .qr-topbar {
        min-height: 46px;
        margin-bottom: 18px;
        padding: 8px;
    }

    .qr-topbar strong {
        font-size: 0.95rem;
    }

    .qr-topbar span {
        font-size: 0.76rem;
        padding: 7px 9px;
    }

    .qr-menu-modern .qr-hero-inner {
        gap: 18px;
    }

    .qr-menu-modern .qr-hero-copy {
        align-self: start;
        padding-bottom: 0;
    }

    .qr-menu-modern .qr-menu-hero h1 {
        margin: 14px 0 10px;
        font-size: 2.35rem;
        line-height: 1.02;
    }

    .qr-menu-modern .qr-menu-hero p {
        font-size: 0.9rem;
        line-height: 1.48;
    }

    .qr-hero-facts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-top: 15px;
    }

    .qr-hero-facts span {
        min-width: 0;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
        padding: 8px 6px;
        text-align: center;
    }

    .qr-hero-facts .store-ui-icon {
        grid-row: auto;
        width: 20px;
        height: 20px;
    }

    .qr-menu-modern .qr-waiter-card {
        padding: 12px;
    }

    .qr-menu-modern .qr-menu {
        gap: 13px;
        padding: 12px 10px 34px;
    }

    .qr-menu-modern .qr-menu-toolbar {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: -40px;
        padding: 12px;
    }

    .qr-menu-modern .qr-menu-toolbar strong {
        font-size: 1.3rem;
    }

    .qr-menu-modern .qr-category-bar {
        grid-auto-columns: 142px;
        margin: 0 -10px;
        padding: 2px 10px 10px;
    }

    .qr-menu-modern .qr-category-bar button {
        min-height: 112px;
        grid-template-rows: 64px minmax(0, 1fr);
    }

    .qr-menu-modern .qr-category-bar button img,
    .qr-menu-modern .qr-category-bar button i {
        height: 64px;
    }

    .qr-menu-modern .qr-category-bar button:hover,
    .qr-menu-modern .qr-product-card:hover {
        transform: none;
    }

    .qr-menu-modern .qr-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .qr-category-sections {
        gap: 18px;
    }

    .qr-category-heading {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 9px;
        padding: 8px;
    }

    .qr-category-heading img {
        width: 58px;
        height: 50px;
    }

    .qr-category-heading h2 {
        font-size: 1.25rem;
    }

    .qr-category-heading strong {
        grid-column: 1 / -1;
        justify-self: stretch;
        text-align: center;
    }

    .qr-menu-modern .qr-product-card div {
        gap: 6px;
        padding: 9px;
    }

    .qr-menu-modern .qr-product-card div > span {
        font-size: 0.6rem;
        padding: 4px 6px;
    }

    .qr-menu-modern .qr-product-card h2 {
        min-height: 34px;
        font-size: 0.86rem;
    }

    .qr-menu-modern .qr-product-card p {
        display: none;
    }

    .qr-menu-modern .qr-product-card strong {
        font-size: 0.86rem;
        padding: 8px 7px;
    }

    .qr-scroll-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

@media (max-width: 380px) {
    .qr-menu-modern .qr-products {
        gap: 8px;
    }

    .qr-menu-modern .qr-product-card h2 {
        font-size: 0.82rem;
    }

    .qr-menu-modern .qr-product-card strong {
        font-size: 0.8rem;
    }
}

.product-image-lightbox[hidden] {
    display: none;
}

.product-image-lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(5, 16, 12, 0.88);
}

.product-image-lightbox-content {
    display: grid;
    width: min(920px, 100%);
    max-height: calc(100dvh - 56px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.product-image-lightbox-content > img {
    width: 100%;
    max-height: calc(100dvh - 150px);
    object-fit: contain;
    background: #101814;
}

.product-image-lightbox-content > div {
    padding: 16px 20px 18px;
}

.product-image-lightbox-content small {
    color: var(--store-evergreen);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-image-lightbox-content h2 {
    margin: 4px 0 0;
    color: var(--store-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
}

.product-image-lightbox-close {
    position: fixed;
    z-index: 1;
    top: 20px;
    right: 20px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(5, 16, 12, 0.78);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.product-image-lightbox-close:hover,
.product-image-lightbox-close:focus-visible {
    background: #fff;
    color: var(--store-evergreen);
    outline: none;
}

@media (max-width: 1200px) {
    .storefront-premium .store-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .storefront-premium .store-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .storefront-premium .category-pills {
        grid-auto-columns: 142px;
        gap: 9px;
        margin-bottom: 20px;
    }

    .storefront-premium .category-pills button {
        width: 142px;
        height: 132px;
        min-height: 132px;
        grid-template-rows: 88px 44px;
    }

    .storefront-premium .category-pills button img,
    .storefront-premium .category-pills button i {
        height: 88px;
    }

    .storefront-premium .store-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .store-category-sections {
        gap: 20px;
    }

    .store-category-heading {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 10px;
        padding: 8px;
    }

    .store-category-heading img {
        width: 62px;
        height: 54px;
    }

    .store-category-heading h3 {
        font-size: 22px;
    }

    .store-category-heading strong {
        grid-column: 1 / -1;
        justify-self: stretch;
        text-align: center;
    }

    .storefront-premium .store-product-media {
        aspect-ratio: 4 / 3;
    }

    .storefront-premium .store-product > div {
        padding: 11px;
    }

    .storefront-premium .store-product h3 {
        min-height: 36px;
        font-size: 15px;
    }

    .storefront-premium .store-product p {
        display: none;
        min-height: 0;
    }

    .storefront-premium .product-buy > strong {
        font-size: 16px;
    }

    .store-product-zoom {
        width: 29px;
        height: 29px;
        opacity: 1;
    }

    .store-scroll-top {
        left: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }

    .product-image-lightbox {
        padding: 14px;
    }

    .product-image-lightbox-content {
        max-height: calc(100dvh - 28px);
    }

    .product-image-lightbox-content > img {
        max-height: calc(100dvh - 110px);
    }

    .product-image-lightbox-close {
        top: 18px;
        right: 18px;
    }
}

@media (max-width: 380px) {
    .storefront-premium .store-product > div > small {
        display: none;
    }

    .storefront-premium .store-product h3 {
        margin-top: 4px;
        font-size: 14px;
    }

    .storefront-premium .store-add-button {
        min-height: 40px;
        font-size: 9px;
    }
}

@media print {
    .sidebar,
    .topbar,
    .no-print,
    .ghost,
    .primary,
    .secondary,
    .danger,
    form {
        display: none !important;
    }

    .print-button {
        display: none !important;
    }

    .receipt {
        width: 72mm;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .app {
        display: block;
        padding: 0;
    }

    .panel,
    .table-card {
        box-shadow: none;
        break-inside: avoid;
    }

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

    .printable-report {
        border: 0;
        padding: 0;
    }
}

/* POS v110: visual category shelf for fast product selection. */
@media (max-width: 900px) {
    .pos-product-toolbar-head {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .pos-category-tabs--visual {
        grid-auto-columns: minmax(142px, 172px);
    }

    .pos-category-tabs--visual button {
        min-height: 72px;
        border-radius: 16px;
        padding: 8px;
    }

    .pos-category-tabs--visual button img,
    .pos-category-tabs--visual button i {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .pos-category-tabs--visual button strong {
        font-size: 0.8rem;
    }

    .pos-category-tabs--visual button b {
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        font-size: 0.66rem;
    }

    .pos-category-heading {
        border-radius: 18px;
        padding: 10px;
    }

    .pos-category-heading img {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        border-radius: 13px;
    }
}

@media (max-width: 540px) {
    .pos-product-toolbar-head h2,
    .pos-product-toolbar-head p {
        display: none;
    }

    .pos-category-tabs--visual {
        grid-auto-columns: minmax(128px, 148px);
        gap: 8px;
    }

    .pos-category-tabs--visual button {
        gap: 7px;
    }

    .pos-category-tabs--visual button img,
    .pos-category-tabs--visual button i {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }
}

.admin-body .pos-product-tile .pos-product-favorite-toggle,
.pos-sale-form.has-pinned-cart .pos-product-tile .pos-product-favorite-toggle {
    display: grid;
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
}
