:root {
  --ink: #242628;
  --secondary: #62666a;
  --muted: #72767a;
  --line: #babdc154;
  --page: #eff0f1;
  --fill: #e9eaec;
  --green: #335a4c;
  --accent: #303235;
  --glass: rgba(255, 255, 255, .46);
  --glass-blur: blur(18px) saturate(180%);
  --glass-border: rgba(255, 255, 255, .94);
  --glass-shadow: inset 0 1px 1px #fffffff2, inset 0 -1px 1px #ffffff70, 0 4px 14px #1e283b12, 0 1px 2px #25345008;
  --spring: cubic-bezier(.2, 1.15, .3, 1);
  --mobile-nav-width: min(342px, calc(100vw - 40px));
  background: var(--page);
}

body { min-width: 280px; background: var(--page); }
#app { position: relative; isolation: isolate; min-height: 100dvh; }
.glass-scenery { position: fixed; z-index: -1; inset: 0; width: 100%; height: 100dvh; overflow: hidden; pointer-events: none; }
.glass-scenery img { width: 100%; height: 100%; object-fit: contain; opacity: .14; }
#control-glass-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.navigation-glass-base, .navigation-lens { display: none; }
button, a { touch-action: manipulation; }
button { transition: background .18s, box-shadow .18s, transform .22s var(--spring); }
button:active:not(:disabled) { transform: scale(.97); }
button:disabled { opacity: .45; }
.ui-icon { width: 20px; height: 20px; flex: none; object-fit: contain; }
button:focus-visible, a:focus-visible { outline-color: #85898e; }
input:focus, textarea:focus, select:focus { outline-color: #a8acb1; }
.primary .ui-icon { filter: invert(1); }
.primary, .secondary, .danger-button { min-height: 46px; border-radius: 999px; padding: 11px 20px; }
.primary { background: linear-gradient(150deg, #454747cf, #232526eb); border: 1px solid #ffffff70; box-shadow: inset 0 1px 1px #ffffff66, inset 0 -1px 1px #00000024, 0 4px 12px #2426281c; backdrop-filter: blur(14px) saturate(125%); -webkit-backdrop-filter: blur(14px) saturate(125%); }
.primary:hover:not(:disabled) { background: #303233e8; }
.secondary, .icon-button, .glass-control {
  background: linear-gradient(145deg, #ffffff80, #ffffff26);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.icon-button { width: 44px; height: 44px; }
.icon-button img { width: 20px; height: 20px; }
.compact-button { width: 36px; height: 36px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.text-button .ui-icon { width: 17px; height: 17px; }

.site-header {
  height: 86px;
  padding: 0 36px;
  background: linear-gradient(130deg, #ffffffa3, #ffffff52);
  border-bottom: 1px solid #ffffffe6;
  box-shadow: inset 0 -1px 0 #ffffffa8, 0 4px 22px #3345640b;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.brand { gap: 12px; }
.brand img { width: 52px; height: 52px; }
.brand-name { font-size: 24px; }
.brand-subtitle { font-size: 10px; margin-top: 3px; color: #737d75; }
.main-nav { gap: 4px; padding: 5px; border: 1px solid #ffffffe0; background: #ffffff38; border-radius: 999px; box-shadow: inset 0 1px 2px #fff, inset 0 -1px 2px #ffffff75, 0 4px 14px #2a385b0f; }
.main-nav .nav-link { border-radius: 999px; min-width: 100px; justify-content: center; }
.main-nav .nav-link.active { color: var(--accent); background: linear-gradient(140deg, #ffffffb3, #ffffff3b); box-shadow: var(--glass-shadow); border: 1px solid #ffffffe0; }
.main-nav .nav-link.active img { filter: grayscale(1) brightness(.55); }
.page-container { max-width: 1520px; padding: 32px 36px 60px; }
.page-heading { margin-bottom: 30px; }
.page-heading h1 { font-size: 27px; }
.page-heading p { display: flex; align-items: center; gap: 5px; margin-top: 7px; }
.page-heading p .ui-icon { width: 14px; height: 14px; opacity: .65; }
.menu-count { display: flex; align-items: baseline; gap: 6px; font-size: 24px; font-weight: 600; color: #4d5662; }
.menu-count small { font-size: 12px; font-weight: 400; color: var(--secondary); }
.demo-banner { background: #f6f7f8ab; color: #6b6f74; border-bottom: 1px solid #ffffff8c; }
.menu-layout { grid-template-columns: 144px minmax(0, 1fr) 300px; gap: 30px; }
.category-list { top: 110px; gap: 7px; padding: 8px; border-right: 1px solid #ffffff75; background: #ffffff14; }
.category-button { min-height: 50px; border-radius: 7px; }
.category-button.active { background: linear-gradient(135deg, #ffffffa6, #ffffff2e); color: var(--accent); border: 1px solid #ffffffe8; box-shadow: var(--glass-shadow); }
.category-button.active::before { background: var(--accent); }
.catalog-toolbar { gap: 12px; }
.catalog-search { display: flex; align-items: center; gap: 8px; width: 230px; height: 44px; padding: 0 13px; background: linear-gradient(145deg, #ffffff80, #ffffff2e); border: 1px solid #ffffffda; border-radius: 999px; box-shadow: var(--glass-shadow); backdrop-filter: blur(12px) saturate(150%); -webkit-backdrop-filter: blur(12px) saturate(150%); }
.catalog-search > .ui-icon { width: 17px; height: 17px; opacity: .5; }
.catalog-search .search-field { flex: 1; min-width: 0; width: 100%; height: 40px; border: 0; border-radius: 0; background: transparent; padding: 0; }
.catalog-search:focus-within { outline: 2px solid #a9adb2; outline-offset: 2px; }
.catalog-search input:focus { outline: none; }
.product-grid { gap: 18px; }
.product-card { border: 1px solid #ffffffa8; background: #ffffff70; box-shadow: inset 0 1px 0 #ffffffc4, 0 3px 14px #30415c08; backdrop-filter: blur(10px) saturate(135%); -webkit-backdrop-filter: blur(10px) saturate(135%); }
.product-name { font-size: 16px; }
.product-body { padding: 18px; }
.product-description { color: #717579; }
.product-card.is-inactive .product-photo { opacity: .55; filter: grayscale(.65); }
.product-card.is-inactive .product-name { color: #7f8781; }
.product-unavailable { font-size: 12px; color: #858d87; padding: 8px 0; }
.stepper { gap: 10px; }
.stepper button { width: 36px; height: 36px; background: linear-gradient(135deg, #ffffffc7, #ffffff38); border: 1px solid #fffffff5; box-shadow: var(--glass-shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.stepper button > .ui-icon { width: 18px; height: 18px; filter: none; }
.stepper .minus { background: #ffffff63; border: 1px solid #ffffffbd; box-shadow: inset 0 1px 1px #fff, 0 2px 8px #263b5312; }
.stepper .minus > .ui-icon { filter: none; }
.primary.spec-button { min-height: 36px; border-radius: 999px; color: var(--accent); background: linear-gradient(140deg, #ffffffa6, #ffffff36); border: 1px solid #ffffffe0; box-shadow: var(--glass-shadow); }
.primary.spec-button:hover:not(:disabled) { background: #ffffffa6; }
.cart-panel { top: 112px; border: 1px solid #ffffffed; border-radius: 8px; padding: 18px; background: linear-gradient(145deg, #ffffffab, #ffffff45); box-shadow: var(--glass-shadow); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); }
.cart-heading { min-height: 40px; }
.cart-empty > .ui-icon { width: 36px; height: 36px; opacity: .38; margin: 0 auto 18px; }
.cart-empty > span { display: block; }
.cart-total strong { font-size: 25px; }
.cart-panel > .primary { justify-content: space-between; }
.cart-line { padding: 18px 0; }
.cart-line img:not(.ui-icon) { width: 56px; height: 56px; }
.cart-line .stepper img { width: 15px; height: 15px; }
.cart-lines { scrollbar-width: thin; scrollbar-color: rgba(75, 78, 82, .28) transparent; }

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .category-list, .cart-lines { scrollbar-width: thin; scrollbar-color: rgba(75, 78, 82, .28) transparent; }
  .category-list:hover, .cart-lines:hover { scrollbar-color: rgba(75, 78, 82, .45) transparent; }
  @supports selector(::-webkit-scrollbar) {
    .category-list, .cart-lines, .category-list:hover, .cart-lines:hover { scrollbar-width: auto; scrollbar-color: auto; }
    .category-list::-webkit-scrollbar, .cart-lines::-webkit-scrollbar { width: 10px; height: 10px; }
    .category-list::-webkit-scrollbar-track, .cart-lines::-webkit-scrollbar-track,
    .category-list::-webkit-scrollbar-corner, .cart-lines::-webkit-scrollbar-corner { background: transparent; }
    /* Transparent borders keep a 10px drag target around the slimmer visible thumb. */
    .category-list::-webkit-scrollbar-thumb, .cart-lines::-webkit-scrollbar-thumb { min-height: 40px; border: 3px solid transparent; border-radius: 999px; background: rgba(75, 78, 82, .28); background-clip: padding-box; }
    .category-list:hover::-webkit-scrollbar-thumb, .cart-lines:hover::-webkit-scrollbar-thumb { border-width: 2px; background-color: rgba(75, 78, 82, .45); }
    .category-list::-webkit-scrollbar-thumb:active, .cart-lines::-webkit-scrollbar-thumb:active { border-width: 2px; background-color: rgba(75, 78, 82, .6); }
    .category-list::-webkit-scrollbar-button, .cart-lines::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  }
}

.section-tabs { border: 1px solid #ffffffe0; background: #ffffff36; border-radius: 999px; padding: 5px; box-shadow: inset 0 1px 1px #fff, 0 4px 12px #273b5510; backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); }
.section-tabs button { border-radius: 999px; min-height: 36px; }
.section-tabs button.active { background: linear-gradient(140deg, #ffffffed, #ffffff63); box-shadow: var(--glass-shadow); }
.order-card { border-color: #fffffff0; background: #ffffffa3; box-shadow: var(--glass-shadow); padding: 24px; backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); }
.order-card-heading { margin-bottom: 22px; }
.order-meta { margin: 12px 0; }
.order-items { padding: 12px 0; margin: 20px 0; }
.badge { padding: 5px 10px; border-radius: 999px; }
.badge.good { color: #3e674b; background: #eaf2e9; }
.profile-layout { padding-top: 8px; }
.profile-heading { padding-bottom: 36px; }
.profile-row { min-height: 84px; padding: 12px 0; text-align: left; }
.profile-row > span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; text-align: right; overflow-wrap: anywhere; }
.profile-row > span .ui-icon { width: 16px; height: 16px; opacity: .5; }
.profile-row > span:first-child { justify-content: flex-start; text-align: left; }
@media (min-width: 768px) {
  .profile-layout { max-width: 760px; width: 100%; margin: 0 auto; padding-top: 40px; }
  .profile-heading { padding-bottom: 40px; gap: 18px; }
  .profile-heading > img { width: 68px; height: 68px; }
  .profile-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 76px; }
  .profile-row > .text-button { justify-self: end; }
}
@media (min-width: 1200px) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; }
  .site-header .brand { justify-self: start; }
  .site-header .main-nav { margin-left: 0; justify-self: center; }
  .site-header .header-end { margin-left: 0; justify-self: end; }
}
.admin-nav { gap: 6px; }
.admin-nav a { border-radius: 999px; }
.admin-nav a.active { background: linear-gradient(140deg, #ffffffb3, #ffffff3b); color: var(--accent); border: 1px solid #ffffffde; box-shadow: var(--glass-shadow); }
.stats-row { margin-top: 8px; }
.stat strong { color: var(--ink); }
.route-group { padding: 28px 0; }
.route-group-heading { margin-bottom: 20px; }
.route-group h3 { line-height: 1.6; }
.route-order { padding: 20px 0; }
.route-order-copy p { margin-top: 7px; }
.rider-control { margin-top: 12px; }
.delivery-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin: 20px 0 28px; }
.rider-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.rider-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.rider-tab-count { color: var(--secondary); font-size: 11px; font-variant-numeric: tabular-nums; }
.rider-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.rider-board.single-rider { grid-template-columns: minmax(0, 1fr); }
.route-rider { min-width: 0; border-top: 1px solid #aeb3b96e; }
.rider-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.rider-section-heading h3 { font-size: 18px; }
.rider-section-heading p { margin-top: 6px; color: var(--secondary); font-size: 12px; }
.route-rider .route-group { padding: 20px 0; }
.route-rider .route-group-heading { gap: 12px; margin-bottom: 12px; }
.route-group-heading h4 { margin: 0 0 5px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.route-rider .route-order { flex-wrap: wrap; gap: 12px; }
.route-rider .route-order-copy { flex: 1 1 180px; }
.route-rider .route-order > .secondary { align-self: flex-end; margin-left: auto; }
.rider-empty { padding: 22px 0 30px; font-size: 13px; color: var(--secondary); }
@media (max-width: 1199px) { .rider-board { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .delivery-filters { gap: 14px; margin-bottom: 22px; }
  .rider-tabs { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .rider-tabs button { min-width: 0; padding: 9px 4px; gap: 4px; font-size: 11px; }
  .rider-tab-count { font-size: 10px; }
  .rider-board { gap: 18px; }
}
.inventory-status { text-align: center; }
.inventory-status > .tiny { display: block; margin-top: 4px; }
.inventory-edit .row-actions { align-items: center; }
.inventory-edit .icon-button { width: 36px; height: 36px; }
@media (min-width: 768px) {
  .inventory-table { overflow: visible; }
  .inventory-table thead { position: sticky; top: 86px; z-index: 20; }
  .inventory-table th { background: #f7f8faed; -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%); box-shadow: inset 0 1px 0 #ffffffd9, inset 0 -1px 0 #babdc180; font-size: 12px; font-weight: 550; }
}
.category-form { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.category-form .field { flex: 1; }
.category-manager-list { border-top: 1px solid var(--line); }
.category-manager-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.category-manager-row > span { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.category-manager-actions { display: flex; gap: 6px; flex: none; }
.category-manager-actions .icon-button { width: 34px; height: 34px; }
.category-manager-actions .ui-icon { width: 16px; height: 16px; }
.category-up img { transform: rotate(-90deg); }
.category-down img { transform: rotate(90deg); }
.stock-toggle { display: inline-flex; width: 44px; height: 27px; padding: 3px; border-radius: 999px; background: #dfe5df; vertical-align: middle; border: 1px solid #d6ddd6; }
.stock-toggle span { width: 19px; height: 19px; background: white; border-radius: 50%; box-shadow: 0 1px 3px #18341b30; transition: transform .22s var(--spring); }
.stock-toggle.on { background: #32a56b; border-color: #2d9c63; }
.stock-toggle.on span { transform: translateX(16px); }
.stock-toggle:active:not(:disabled) { transform: none; }

.modal-backdrop {
  background: rgba(31, 40, 57, .2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.dialog-glass-lens { position: fixed; pointer-events: none; z-index: 1; overflow: hidden; border: 1px solid #ffffffc9; background: #ffffff35; box-shadow: 0 22px 65px #16274038; }
.dialog-glass-lens canvas { pointer-events: none !important; filter: blur(6px); opacity: .32 !important; }
.dialog-glass-lens::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 3px 3px #ffffffed, inset 2px 0 2px #ffffffab, inset -2px 0 2px #e4e6e95e, inset 0 -2px 3px #ffffffbd; }
.modal {
  z-index: 2;
  background: linear-gradient(135deg, #ffffffa6, #f5f6f78c 65%, #ffffff9c);
  border: 1px solid #fffffff2;
  border-radius: 24px;
  box-shadow: inset 0 2px 2px #fff, inset 1px 0 2px #ffffffc4, inset 0 -2px 2px #ffffffb3, 0 28px 100px #17253f30;
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  max-height: calc(var(--viewport-height, 100dvh) - 48px);
  animation: none;
}
.modal-header { border-bottom: 1px solid #ffffff9c; padding: 24px 28px; background: #ffffff1c; }
.modal-header h2 { font-weight: 650; }
.modal-close { width: 42px; height: 42px; border-radius: 50%; margin: -6px 0 -6px 0; background: linear-gradient(140deg, #ffffffb0, #ffffff24); border: 1px solid #ffffffed; box-shadow: var(--glass-shadow); }
.modal-body { padding: 26px 28px; }
.modal-footer { background: #ffffff35; border-top: 1px solid #ffffffb3; padding: 18px 28px calc(18px + env(safe-area-inset-bottom)); backdrop-filter: blur(14px) saturate(165%); -webkit-backdrop-filter: blur(14px) saturate(165%); }
.modal-footer > button { min-height: 48px; }
.modal-message { color: #535e57; font-size: 15px; line-height: 1.85; }
.spec-product { padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid #dce4de; gap: 18px; }
.spec-product img { width: 88px; height: 88px; }
.spec-product > div { min-width: 0; }
.spec-product h3 { overflow-wrap: anywhere; }
.spec-group { margin: 24px 0; }
.spec-group-heading { font-size: 14px; margin-bottom: 14px; }
.spec-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spec-option { position: relative; width: 100%; min-height: 54px; padding: 13px 14px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 8px; line-height: 1.65; background: linear-gradient(145deg, #ffffffa6, #ffffff36); border: 1px solid #ffffffe6; box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px #ffffff82, 0 3px 9px #2537520b; font-size: 14px; overflow-wrap: anywhere; }
.spec-option input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.spec-option:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.spec-option.selected, .spec-option:has(input:checked) { color: var(--ink); background: linear-gradient(145deg, #ffffffad, #b5b9bf3b); border-color: #7e8389; box-shadow: inset 0 1px 1px #fff, 0 3px 10px #363b4412; }
.spec-quantity { margin-top: 28px; padding-top: 22px; }
.form-grid { gap: 22px; }
.field { gap: 9px; }
.field input, .field textarea, .field select { border-color: #ffffffed; background: #ffffff7d; min-height: 48px; border-radius: 8px; padding: 12px 14px; box-shadow: inset 0 1px 3px #2639550c, 0 1px 0 #ffffffb3; }
.field label, .field-label { font-size: 13px; }
.radio-card { border-radius: 8px; background: #ffffff82; line-height: 1.6; }
.radio-card:has(input:checked) { background: #c6c9ce6b; border-color: #93989f; }
.spec-editor > .spec-group { border-top: 1px solid #dce4de; padding-top: 22px; margin: 8px 0 0; }
.spec-editor-row { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) 40px; align-items: center; margin-bottom: 10px; }
.spec-editor-row .checkbox-row { margin: 0; align-items: center; }
.spec-editor-row .checkbox-row input { width: 16px; min-height: 16px; }
.spec-editor-row .icon-button { width: 38px; height: 38px; }
.delete-option { background: #f8ebea9c; border-color: #ffffffbd; }
.delete-option .ui-icon { width: 17px; height: 17px; opacity: .65; }
.product-image-control { min-height: 90px; display: flex; align-items: center; gap: 16px; text-align: left; padding: 12px; border: 1px solid #fffffff0; background: #ffffff78; border-radius: 8px; box-shadow: var(--glass-shadow); }
.product-image-control > img:first-child { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.product-image-control > span { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.product-image-control > .ui-icon { width: 16px; height: 16px; opacity: .55; }
.image-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.image-source-options { display: grid; gap: 0; }
.image-source-option { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; text-align: left; padding: 18px 2px; border-bottom: 1px solid #dce5dd; }
.image-source-option > span { flex: 1; }
.image-source-option > .ui-icon:last-child { width: 16px; height: 16px; opacity: .45; }
.image-source-option:last-child { border-bottom: 0; }
.image-choice { padding: 6px; border: 1px solid #dce6dd; border-radius: 8px; background: #ffffff80; min-width: 0; text-align: left; }
.image-choice img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.image-choice span { display: block; padding: 8px 2px 3px; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.image-choice.selected { border-color: #7e8389; box-shadow: 0 0 0 1px #7e8389; }
.export-text { background: transparent; min-height: 320px; }
.success-receipt .success-mark { background: #dfece3; border-color: #bed2c3; }
#toast {
  max-width: min(520px, calc(100vw - 32px));
  background: linear-gradient(135deg, #ffffffc4, #ffffff75);
  border: 1px solid #fffffff2;
  border-radius: 999px;
  padding: 13px 22px;
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.modal button:active:not(:disabled) { transform: none; }
.modal button { transition: background .14s ease, box-shadow .14s ease; }
.modal-body { scrollbar-gutter: stable; }
.policy-modal.from-checkout .modal-body { flex: 1; }
@media (hover: hover) and (pointer: fine) { html { scrollbar-gutter: stable; } }

@media (max-width: 1199px) {
  .menu-layout { grid-template-columns: 130px minmax(0, 1fr); gap: 24px; }
  .cart-mobile-bar { gap: 14px; bottom: 24px; padding: 10px 12px; border-radius: 999px; background: #ffffff59; border: 1px solid #fffffff5; box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); overflow: hidden; }
  .cart-mobile-bar > button { position: relative; z-index: 2; }
  .cart-glass-lens { position: absolute; z-index: 0; inset: 0; border-radius: inherit; pointer-events: none; }
  .cart-mobile-bar > canvas { filter: blur(5px); opacity: .55 !important; pointer-events: none !important; }
  .cart-glass-lens::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: linear-gradient(130deg, #ffffff6b, #ffffff3b); box-shadow: inset 0 2px 2px #fff, inset 0 -2px 2px #ffffffb3; }
  .cart-mobile-bar .primary { gap: 10px; }
  .cart-bag-icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #ffffff57; border: 1px solid #ffffffb8; box-shadow: inset 0 1px 1px #fff; flex: none; }
  .cart-bag-icon > img { width: 23px; height: 23px; }
  .cart-bag-icon > span { position: absolute; right: 0; top: 0; min-width: 19px; height: 19px; padding: 0 4px; background: var(--accent); color: #fff; border: 2px solid #fff; border-radius: 999px; font-size: 10px; line-height: 15px; text-align: center; }
}

@media (max-width: 767px) {
  .site-header { height: calc(72px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 20px 0; }
  .brand img { width: 40px; height: 40px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 21px; }
  .brand-subtitle { font-size: 9px; }
  .header-end { gap: 10px; }
  .store-state { font-size: 10px; }
  .header-end > .icon-button { width: 38px; height: 38px; }
  .demo-banner { font-size: 10px; padding: 6px 12px; }
  .page-container { padding: 26px 20px calc(120px + env(safe-area-inset-bottom)); }
  .page-heading { margin-bottom: 24px; align-items: center; }
  .page-heading h1 { font-size: 25px; line-height: 1.4; }
  .page-heading p { font-size: 11px; }
  .menu-count { font-size: 26px; gap: 5px; }
  .menu-count small { font-size: 10px; }
  .menu-page { padding: 24px 0 calc(176px + env(safe-area-inset-bottom)) !important; }
  .glass-scenery img { opacity: .16; }
  .menu-page > .page-heading, .menu-page > .error-band { margin-left: 20px; margin-right: 20px; }
  .menu-layout { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .category-list { top: calc(90px + env(safe-area-inset-top)); background: transparent; gap: 6px; padding: 7px 5px; max-height: calc(100dvh - 244px); scrollbar-width: none; }
  .category-button { min-height: 58px; padding: 12px 6px; border-radius: 7px; font-size: 12px; text-align: center; }
  .category-button.active { background: linear-gradient(135deg, #ffffffb3, #ffffff38); color: var(--accent); box-shadow: var(--glass-shadow); }
  .category-button.active::before { top: 22px; bottom: 22px; left: 0; }
  .catalog { padding-right: 14px; }
  .catalog-heading { font-size: 17px; }
  .catalog-toolbar { margin-bottom: 4px; gap: 8px; }
  .catalog-search { order: 3; width: 100%; height: 40px; margin: 4px 0 2px; padding: 0 12px; }
  .catalog-search .search-field { height: 38px; font-size: 14px; }
  .product-grid { gap: 0; }
  .product-card { min-height: 178px; padding: 22px 0; border: 0; border-bottom: 1px solid #a5adb933; border-radius: 0; background: #ffffff14; box-shadow: none; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .product-photo { width: 88px; height: 88px; margin-right: 12px; border-radius: 6px; }
  .product-body { padding: 0; min-height: 88px; }
  .product-name { font-size: 14px; line-height: 1.6; font-weight: 650; }
  .product-description { margin-top: 5px; font-size: 11px; line-height: 1.7; color: #5b6470; }
  .product-bottom { min-height: 50px; padding-top: 14px; gap: 8px; }
  .price { font-size: 18px; line-height: 1.5; }
  .price small { font-size: 11px; font-weight: 400; }
  .stock { font-size: 10px; margin-top: 3px; }
  .stepper button { width: 34px; height: 34px; }
  .stepper output { font-size: 13px; }
  .spec-button { min-height: 36px; font-size: 12px; padding: 8px 14px; }
  .cart-mobile-bar { left: 14px; right: 14px; bottom: calc(99px + env(safe-area-inset-bottom)); gap: 10px; padding: 10px 12px; }
  .cart-mobile-bar .primary { min-height: 44px; min-width: 104px; font-size: 13px; padding: 10px 16px; gap: 6px; }
  .cart-mobile-bar .primary > .ui-icon { width: 17px; height: 17px; }
  .cart-bar-summary strong { font-size: 22px; line-height: 1.3; }
  .cart-bar-summary span { font-size: 10px; margin-top: 3px; }
  .cart-bag-icon { width: 40px; height: 40px; }
  .navigation-glass-base {
    display: flex;
    position: fixed;
    z-index: 55;
    height: 70px;
    width: var(--mobile-nav-width);
    left: 0;
    right: 0;
    bottom: calc(14px + env(safe-area-inset-bottom));
    margin: 0 auto;
    padding: 6px;
    border: 1px solid #fffffff0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .26);
    box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px #ffffffba, 0 7px 26px #26334e24;
    -webkit-backdrop-filter: blur(14px) saturate(190%);
    backdrop-filter: blur(14px) saturate(190%);
    overflow: hidden;
  }
  .navigation-glass-base canvas { pointer-events: none !important; filter: blur(7px); opacity: .44 !important; }
  .navigation-glass-base[data-renderer="gpu"] { background: #ffffff30 !important; backdrop-filter: blur(16px) saturate(180%) !important; -webkit-backdrop-filter: blur(16px) saturate(180%) !important; }
  .navigation-glass-base::after { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; background: linear-gradient(130deg, #ffffff52, #ffffff26); box-shadow: inset 0 0 0 1px #ffffffb3, inset 0 1px 1px #fff, inset 0 -1px 1px #ffffffc7; }
  .mobile-nav { display: flex; position: fixed; z-index: 57; height: 70px; width: var(--mobile-nav-width); left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); margin: 0 auto; padding: 7px; border: 0; border-radius: 999px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .navigation-lens { display: block; position: fixed; z-index: 56; pointer-events: none; top: auto; bottom: calc(20px + env(safe-area-inset-bottom)); left: calc(50% - var(--mobile-nav-width) / 2 + 6px); height: 56px; width: calc((var(--mobile-nav-width) - 12px) / 3); border: 1px solid #fffffff5; border-radius: 999px; transform: translateX(calc(var(--nav-index, 0) * 100%)); background: #ffffff4d; box-shadow: inset 0 2px 2px #fff, inset 0 -2px 2px #ffffffde, 0 3px 10px #27354e1a; transition: transform .45s var(--spring); }
  .mobile-nav .nav-link { position: relative; z-index: 3; min-width: 0; min-height: 0; height: 56px; justify-content: center; padding: 5px 4px; gap: 2px; font-size: 10px; border-radius: 999px; color: #626e63; }
  .mobile-nav .nav-link img { width: 22px; height: 22px; }
  .mobile-nav .nav-link.active { background: transparent; color: var(--accent); box-shadow: none; }
  .mobile-nav .nav-link.active img { filter: grayscale(1) brightness(.55); }
  .navigation-lens { overflow: hidden; }
  .navigation-lens[data-renderer="gpu"] { background: #ffffff29 !important; backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; }
  .navigation-lens::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: linear-gradient(145deg, #ffffff66, #ffffff24); box-shadow: inset 0 2px 2px #fff, inset 1px 0 1px #ffffffb3, inset -1px 0 1px #d6d9df6b, inset 0 -2px 2px #ffffffd6; }
  .navigation-lens canvas { pointer-events: none !important; border-radius: inherit; filter: blur(3px); opacity: .54 !important; }
  .modal-backdrop { padding: 16px; }
  .modal-backdrop:has(.sheet) { padding: 12px 10px calc(10px + env(safe-area-inset-bottom)); }
  .modal { border-radius: 25px; max-height: calc(var(--viewport-height, 100dvh) - 32px); }
  .modal.sheet { max-height: calc(var(--viewport-height, 100dvh) - 28px - env(safe-area-inset-bottom)); border-radius: 26px; }
  .modal.sheet::before { content: ""; position: absolute; z-index: 2; top: 9px; left: calc(50% - 18px); width: 36px; height: 4px; border-radius: 999px; background: #aeb9b2a6; }
  .modal-header { padding: 20px 22px; }
  .modal.sheet .modal-header { padding-top: 26px; }
  .modal-header h2 { font-size: 18px; }
  .modal-body { padding: 24px 22px; }
  .modal-footer { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); }
  .modal-footer > .primary, .modal-footer > .secondary { font-size: 14px; min-height: 48px; }
  .modal-close { width: 40px; height: 40px; }
  .spec-product { gap: 16px; margin-bottom: 22px; padding-bottom: 22px; }
  .spec-product img { width: 78px; height: 78px; }
  .spec-product h3 { font-size: 17px; line-height: 1.65; }
  .spec-options { gap: 10px; }
  .spec-option { font-size: 13px; min-height: 52px; padding: 13px 12px; }
  .spec-group { margin: 24px 0; }
  .spec-quantity { padding-top: 22px; margin-top: 26px; }
  .form-grid { gap: 20px; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .radio-card { min-width: 0; flex-basis: 100%; }
  .order-list { gap: 16px; }
  .order-card { padding: 20px; }
  .order-customer { font-size: 16px; }
  .order-meta { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 9px; font-size: 12px; }
  .order-total strong { font-size: 23px; }
  .profile-heading { padding: 8px 0 32px; }
  .profile-row { min-height: 82px; }
  .profile-row strong { font-size: 14px; }
  .profile-row span { font-size: 12px; }
  .admin-nav { gap: 4px; }
  .admin-nav a { padding: 10px 12px; }
  .stat { padding: 18px 12px 24px; }
  .stat strong { font-size: 28px; }
  .management-top { margin: 24px 0 20px; }
  .inventory-table { overflow: visible; }
  .inventory-table table, .inventory-table tbody { display: block; }
  .inventory-table thead { display: none; }
  .inventory-table tbody { display: grid; gap: 12px; }
  .inventory-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; padding: 16px; border: 1px solid #fffffff0; border-radius: 8px; background: #ffffff9c; box-shadow: inset 0 1px 1px #fff, 0 4px 14px #2439570c; backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
  .inventory-table td { border: 0; padding: 0; min-width: 0; font-size: 13px; }
  .inventory-table .inventory-name { grid-column: 1 / -1; }
  .inventory-table .table-product { min-width: 0; gap: 12px; }
  .inventory-table .table-product img { width: 52px; height: 52px; flex: none; }
  .inventory-table .table-product strong { font-size: 14px; line-height: 1.6; }
  .inventory-table td[data-label]::before { content: attr(data-label); display: block; font-size: 10px; color: var(--secondary); margin-bottom: 5px; }
  .inventory-table .inventory-status { display: flex; align-items: center; gap: 8px; text-align: left; }
  .inventory-table .inventory-status > .tiny { margin: 0; }
  .inventory-edit { text-align: right; grid-column: span 2; }
  .inventory-edit .row-actions { justify-content: flex-end; }
  .inventory-edit .secondary { min-height: 36px; }
  .route-group { padding: 26px 0; }
  .route-group-heading { margin-bottom: 18px; gap: 14px; }
  .route-group h3 { font-size: 17px; overflow-wrap: anywhere; }
  .image-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .category-manager-actions { gap: 3px; }
  .category-manager-actions .icon-button { width: 31px; height: 31px; }
  .image-choice span { font-size: 10px; }
  .export-text { min-height: 280px; font-size: 13px; }
  .keyboard-open #mobile-navigation, .keyboard-open .cart-mobile-bar { visibility: hidden; }
  #toast { top: calc(88px + env(safe-area-inset-top)); padding: 12px 20px; }
}

@media (max-width: 359px) {
  .site-header { padding-left: 14px; padding-right: 14px; }
  .header-end .store-state { display: none; }
  .page-container { padding-left: 16px; padding-right: 16px; }
  .menu-page > .page-heading { margin-left: 16px; margin-right: 16px; }
  .menu-layout { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .category-button { font-size: 11px; }
  .catalog { padding-right: 14px; }
  .product-card { padding: 20px 0; }
  .product-photo { width: 72px; height: 72px; margin-right: 10px; }
  .product-name { font-size: 13px; }
  .product-description { font-size: 10px; }
  .spec-button { font-size: 11px; padding: 8px 12px; }
  .cart-mobile-bar { gap: 8px; }
  .cart-mobile-bar .primary { min-width: 90px; padding: 10px 12px; }
  .cart-bar-summary strong { font-size: 20px; }
  .image-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-body { padding: 22px 18px; }
}

.customer-orders-layout { width: 100%; max-width: 900px; margin: 0 auto; }
.customer-orders-layout .order-list { grid-template-columns: minmax(0, 1fr); }
.date-trigger { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #ffffffed; border-radius: 8px; background: #ffffff73; box-shadow: inset 0 1px 1px #fff, 0 2px 8px #24262808; text-align: left; }
.date-trigger .ui-icon { width: 18px; height: 18px; opacity: .6; }
.date-placeholder { color: var(--muted); }
.date-filter .date-trigger { width: auto; min-width: 150px; min-height: 44px; padding: 10px 12px; }
.calendar-modal { max-width: 380px; }
.calendar-modal .modal-header { padding: 20px 24px; }
.calendar-modal .modal-body { padding: 18px 24px 12px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.calendar-toolbar strong { font-size: 16px; }
.calendar-toolbar .icon-button { width: 34px; height: 34px; }
.calendar-prev .ui-icon { transform: rotate(180deg); }
.calendar-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
.calendar-weekdays { margin-bottom: 10px; }
.calendar-weekdays > span { text-align: center; font-size: 11px; color: var(--secondary); padding: 5px 0; }
.calendar-day, .calendar-empty { aspect-ratio: 1; min-width: 0; width: 100%; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 7px; font-size: 14px; line-height: 1; }
.calendar-day:not(:disabled):hover { background: #ffffff94; border-color: #ffffffd9; }
.calendar-day.selected, .calendar-day.selected:hover { background: #36393de8; color: #fff; border-color: #ffffff82; box-shadow: inset 0 1px 1px #ffffff5e, 0 2px 6px #24262818; }
.calendar-day.is-today:not(.selected) { border-color: #a4a9b0; }
.calendar-day:disabled { opacity: .26; }
.calendar-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 8px; }
.calendar-bottom > span { font-size: 12px; color: var(--secondary); }
.payment-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.payment-field legend { padding: 0; margin-bottom: 10px; }
.payment-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.payment-choice { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 15px 14px; border: 1px solid #ffffffd9; border-radius: 8px; background: #ffffff54; cursor: pointer; }
.payment-choice input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.payment-choice-copy { min-width: 0; display: grid; gap: 6px; }
.payment-choice-copy strong { font-size: 14px; font-weight: 550; }
.payment-choice-copy small { font-size: 11px; color: var(--secondary); line-height: 1.6; }
.choice-marker { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 1px solid #b9bec4; border-radius: 4px; background: #ffffff66; }
.choice-marker .ui-icon { width: 12px; height: 12px; opacity: 0; filter: invert(1); }
.payment-choice:has(input:checked) { border-color: #858b92; background: #ffffff87; box-shadow: inset 0 1px 1px #fff, 0 2px 8px #24262808; }
.payment-choice:has(input:checked) .choice-marker { background: #36393d; border-color: #36393d; }
.payment-choice:has(input:checked) .choice-marker .ui-icon { opacity: 1; }
.payment-choice:has(input:focus-visible), .check-control:has(input:focus-visible) { outline: 2px solid #969da6; outline-offset: 3px; }
.deposit-note { margin-top: 13px; font-size: 12px; color: var(--secondary); line-height: 1.85; }
.deposit-note strong { color: var(--ink); font-weight: 600; }
.purchase-ack { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--secondary); font-size: 12px; }
.purchase-ack > span:last-child { min-width: 0; }
.purchase-ack .text-button { padding: 5px 0; min-height: 32px; font-size: inherit; }
.check-control { position: relative; width: 19px; height: 19px; flex: none; border-radius: 4px; }
.check-control input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; margin: 0; opacity: 0; cursor: pointer; }
.check-marker { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 4px; background: #ffffff80; border: 1px solid #adb3bc; pointer-events: none; }
.check-marker .ui-icon { width: 13px; height: 13px; opacity: 0; filter: invert(1); }
.check-control:has(input:checked) .check-marker { background: #36393d; border-color: #36393d; }
.check-control:has(input:checked) .check-marker .ui-icon { opacity: 1; }
.policy-modal { max-width: 640px; }
.policy-section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.policy-section:first-child { padding-top: 0; }
.policy-section:last-child { border-bottom: 0; padding-bottom: 0; }
.policy-section h3 { font-size: 15px; margin-bottom: 13px; }
.policy-section ul { margin: 0; padding-left: 17px; }
.policy-section li { padding-left: 3px; margin-top: 10px; color: var(--secondary); font-size: 13px; line-height: 1.95; }
.policy-section li::marker { color: #8d939c; font-size: 9px; }

#checkout-form .field-validation { min-height: 18px; margin: -3px 0 0; font-size: 12px; line-height: 18px; color: #8c4d48; overflow-wrap: anywhere; }
#checkout-form > .field-validation { margin: 2px 0 0 29px; }
#checkout-form .field.has-error input:not([type="hidden"]), #checkout-form .field.has-error .date-trigger { border-color: #b7857b; background-color: #fff4f033; outline-color: #a76b60; }
#checkout-form .field.has-error input:focus, #checkout-form .field.has-error .date-trigger:focus-visible { outline: 1px solid #a76b60; outline-offset: 2px; }
#checkout-form .purchase-ack.has-error .check-marker { border-color: #b7857b; }
@media (max-width: 767px) {
  .payment-choices { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .payment-choice { min-height: 76px; }
  .customer-orders-layout .filter-row .date-filter { width: 100%; }
  .calendar-modal .modal-body { padding: 18px 20px 12px; }
}

.photo-trigger { display: block; flex: none; padding: 0; border: 0; background: transparent; overflow: hidden; cursor: zoom-in; }
.photo-trigger:focus-visible { outline: 2px solid #858b92; outline-offset: 3px; }
.product-photo-trigger { width: 100%; aspect-ratio: 1; }
.product-photo-trigger .product-photo { display: block; width: 100%; height: 100%; aspect-ratio: auto; float: none; margin: 0; }
.cart-photo-trigger { width: 56px; height: 56px; border-radius: 5px; }
.spec-photo-trigger { width: 88px; height: 88px; border-radius: 6px; }
.photo-backdrop { background: rgba(84, 89, 96, .16); }
.modal.photo-preview-modal { width: max-content; max-width: calc(100vw - 52px); height: auto; max-height: none; padding: 10px; margin-bottom: 36px; overflow: visible; background: #fff !important; color: var(--ink); border: 0; border-radius: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 16px 48px #28334026; animation: none; }
.photo-preview-modal .modal-header { display: block; height: 0; padding: 0; border: 0; background: none; }
.photo-preview-modal .modal-header h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.photo-preview-modal .modal-close { position: absolute; top: -20px; right: -20px; margin: 0; z-index: 2; }
.photo-preview-modal .modal-body { flex: none; display: block; padding: 0; overflow: hidden; border-radius: 6px; scrollbar-gutter: auto; }
.photo-stage { min-height: 0; overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 6px; touch-action: pan-x pan-y pinch-zoom; }
.preview-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; cursor: zoom-in; }
.photo-stage.is-zoomed .preview-image { width: 200%; height: 200%; cursor: zoom-out; }
.photo-preview-modal .modal-footer { position: absolute; left: 50%; bottom: -62px; transform: translateX(-50%); width: max-content; justify-content: center; align-items: center; gap: 2px; padding: 2px 6px; border: 1px solid #ffffffc7; border-radius: 8px; background: #ffffffe6; box-shadow: 0 4px 18px #2833400d; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.photo-preview-modal .modal-footer > button { flex: 0 0 44px; min-height: 44px; }
.photo-preview-modal .icon-button { background: transparent; border: 0; box-shadow: none; border-radius: 6px; }
.photo-preview-modal .icon-button:hover:not(:disabled) { background: #4b4e520a; }
.photo-preview-modal .modal-close { background: #fffffff5; border: 1px solid #e6e6e8; box-shadow: 0 2px 8px #0002; border-radius: 50%; }
.photo-preview-modal .ui-icon { filter: none; }
.photo-preview-modal button:focus-visible { outline: 2px solid #858b92; outline-offset: 3px; }
.photo-previous .ui-icon { transform: rotate(180deg); }
.photo-counter { min-width: 58px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.photo-error { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: var(--secondary); font-size: 14px; }
@media (max-width: 767px) {
  .product-photo-trigger { float: left; width: 88px; height: 88px; aspect-ratio: auto; margin: 0 12px 12px 0; border-radius: 6px; }
  .spec-photo-trigger { width: 80px; height: 80px; }
  .modal.photo-preview-modal { height: auto; padding: 8px; }
  .photo-preview-modal .modal-header, .photo-preview-modal .modal-body { padding: 0; }
}
@media (max-width: 359px) { .product-photo-trigger { width: 72px; height: 72px; margin-right: 10px; } }

[data-optical-glass="true"] { -webkit-backdrop-filter: var(--optical-filter) blur(2px) saturate(150%); backdrop-filter: var(--optical-filter) blur(2px) saturate(150%); }

/* WebKit's regular material remains readable if backdrop compositing is unavailable. */
html[data-glass-backend="css-webkit"] .dialog-glass-lens { display: none; }
html[data-glass-backend="css-webkit"] .modal { background: rgba(248, 249, 250, .98); animation: none; }
html[data-glass-backend="css-webkit"] .navigation-glass-base { background: rgba(250, 251, 252, .76); }
html[data-glass-backend="css-webkit"] .navigation-lens { background: rgba(255, 255, 255, .68); }
html[data-glass-backend="css-webkit"] .cart-mobile-bar { background: rgba(250, 251, 252, .84); }

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .glass-scenery, .dialog-glass-lens { display: none; }
  .site-header, .navigation-glass-base, .cart-mobile-bar, .modal, .modal-footer, #toast, .secondary, .icon-button, .glass-control, .product-card, .order-card, .category-list, .catalog-search, .cart-panel, .inventory-table tr, .spec-option, .section-tabs { background: #fff; background-image: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: #a9b3bf; }
  .category-button.active, .admin-nav a.active, .main-nav .nav-link.active { background: #e7e9ec; border-color: #858b94; }
  .navigation-lens { background: #e7e9ec; border-color: #858b94; }
  .modal-backdrop { background: #17201b66; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .spec-option.selected { background: #e0e3e7; border-color: #707882; }
  .tiny, .stock, .muted { color: #566159; }
  html[data-glass-backend="css-webkit"] .modal, html[data-glass-backend="css-webkit"] .navigation-glass-base, html[data-glass-backend="css-webkit"] .cart-mobile-bar { background: #fff; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .navigation-glass-base, .cart-mobile-bar, .modal, .modal-footer, #toast, .product-card, .order-card { background: #f8fafc; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  button:active:not(:disabled) { transform: none; }
}
@media print {
  #mobile-navigation, .glass-scenery, .menu-collection { display: none; }
  body { background: white; }
}
