﻿/* Verdant & Co. demo — layout from the grocery design, fonts added for the PHP port. */
:root {
  --font-sans: "Instrument Sans", "Inter", sans-serif;
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
}
:root {
  --paper: oklch(0.956 0.015 83);
  --ink: oklch(0.265 0.027 156);
  --leaf: oklch(0.385 0.061 158);
  --tomato: oklch(0.647 0.174 38);
  --saffron: oklch(0.804 0.144 78);
  --sage: oklch(0.805 0.041 128);
  --admin: oklch(0.186 0.017 156);
  --admin-surface: oklch(0.231 0.021 153);
  --admin-text: oklch(0.936 0.013 89);
  --admin-muted: oklch(0.653 0.022 140);
  --background: var(--paper);
  --foreground: var(--ink);
  --card: oklch(0.981 0.009 85);
  --primary: var(--leaf);
  --primary-foreground: var(--paper);
  --secondary: oklch(0.923 0.023 107);
  --muted: oklch(0.916 0.014 83);
  --muted-foreground: oklch(0.514 0.025 151);
  --accent: oklch(0.91 0.032 120);
  --border: oklch(0.859 0.019 104);
  --shadow-panel: 0 18px 50px oklch(0.2 0.03 150 / 0.1);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.13' filter='url(%23n)'/%3E%3C/svg%3E");
}
* {
  box-sizing: border-box;
  border-color: var(--border);
  letter-spacing: 0;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 14px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
input,
select,
textarea {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
input[type="checkbox"] {
  accent-color: var(--leaf);
}
input[type="range"] {
  accent-color: var(--leaf);
  padding: 0;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
}
::selection {
  background: var(--sage);
  color: var(--ink);
}
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.07;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}
.mono {
  font-family: var(--font-mono);
}
.muted {
  color: var(--muted-foreground);
}
.grain {
  position: relative;
  isolation: isolate;
}
.grain:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.32;
  pointer-events: none;
  z-index: -1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 25px var(--font-display);
  white-space: nowrap;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.brand small {
  font: 10px var(--font-sans);
  display: block;
  margin-top: 4px;
}
.icon-btn {
  flex-shrink: 0;
}
.rule {
  border-top: 1px solid var(--border);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 10px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.section-heading h2 {
  font: 500 36px var(--font-display);
}
.section-heading p {
  margin-top: 8px;
  color: var(--muted-foreground);
}
.badge {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--secondary);
  white-space: nowrap;
}
.badge.warn {
  background: color-mix(in oklab, var(--saffron) 20%, transparent);
  color: var(--saffron);
}
.badge.danger {
  background: color-mix(in oklab, var(--tomato) 16%, transparent);
  color: var(--tomato);
}
.badge.good {
  background: color-mix(in oklab, var(--sage) 15%, transparent);
  color: var(--sage);
}
.empty {
  padding: 70px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.empty h3 {
  font: 500 28px var(--font-display);
}
.skeleton {
  background: var(--muted);
  animation: pulse 1.8s infinite;
  border-radius: 4px;
  height: 200px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-footer {
  display: flex;
  justify-content: end;
  gap: 10px;
  padding-top: 20px;
}
.metric-label {
  color: var(--muted-foreground);
  font-size: 12px;
}
.section-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.page-intro {
  margin-bottom: 28px;
}
.page-intro h1 {
  font: 500 36px var(--font-display);
}
.page-intro p {
  color: var(--muted-foreground);
  margin-top: 8px;
}
.breadcrumbs {
  display: flex;
  gap: 9px;
  font-size: 11px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.toolbar input {
  min-width: 200px;
}
.toolbar .push {
  margin-inline-start: auto;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: start;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--muted-foreground);
  padding: 14px 16px;
  border-block: 1px solid var(--border);
  text-align: start;
  white-space: nowrap;
}
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
td .product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.product-cell img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
}
.product-cell small {
  display: block;
  color: var(--muted-foreground);
  font: 9px var(--font-mono);
  margin-top: 4px;
}
.data-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.data-panel-head {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.data-panel-head h3 {
  font-weight: 500;
  font-size: 15px;
}
.data-panel-body {
  padding: 20px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.list-row:last-child {
  border: none;
}
.list-row .push {
  margin-inline-start: auto;
}
.list-row p {
  font-size: 12px;
}
.list-row small {
  font-size: 10px;
  color: var(--muted-foreground);
  display: block;
  margin-top: 5px;
}
.list-row img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.crate {
  display: flex;
  align-items: center;
  gap: 9px;
}
.crate-bar {
  display: flex;
  gap: 2px;
  width: 40px;
  height: 16px;
  border-bottom: 2px solid var(--muted-foreground);
  padding: 2px;
}
.crate-bar i {
  flex: 1;
  background: var(--border);
}
.crate-bar i.filled {
  background: var(--sage);
}
.freshness {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted-foreground);
}
.freshness svg {
  color: var(--leaf);
}
.freshness-meter {
  height: 3px;
  background: var(--border);
  margin-top: 13px;
}
.freshness-meter span {
  display: block;
  height: 3px;
  width: 83%;
  background: var(--sage);
}
/* The two worlds */
.gateway {
  min-height: 100dvh;
  padding: 32px 5.3% 20px;
  overflow: hidden;
}
.gateway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.gateway-header .brand {
  font-size: 27px;
}
.gateway-header .eyebrow {
  color: var(--muted-foreground);
}
.gateway-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 37px 0 30px;
}
.gateway-intro h1 {
  font: 500 45px var(--font-display);
  line-height: 1.1;
}
.gateway-intro h1 em {
  font-weight: 400;
  color: var(--leaf);
}
.gateway-intro p {
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.8;
  max-width: 240px;
}
.gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.gateway-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
  padding: 30px 30px 24px;
  overflow: hidden;
  transition:
    transform 0.4s,
    opacity 0.4s;
  background: var(--card);
  position: relative;
}
.gateway-card:before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  width: 75px;
  height: 75px;
  background: var(--paper);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  z-index: 2;
}
.gateway-grid:has(.gateway-card:hover) .gateway-card:not(:hover) {
  opacity: 0.7;
}
.gateway-card:hover {
  transform: translateY(-5px);
}
.gateway-card.dark-preview {
  background: var(--admin);
  color: var(--admin-text);
  border-color: var(--admin);
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}
.card-number {
  font: 10px var(--font-mono);
  color: var(--muted-foreground);
}
.dark-preview .card-number {
  color: var(--admin-muted);
}
.card-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
}
.gateway-card h2 {
  font: 500 38px var(--font-display);
}
.gateway-card .card-description {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-top: 10px;
  max-width: 340px;
}
.dark-preview .card-description {
  color: var(--admin-muted);
}
.mini-window {
  margin-top: 27px;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  height: 279px;
  background: var(--paper);
  box-shadow: var(--shadow-panel);
  pointer-events: none;
  user-select: none;
}
.window-bar {
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  font: 7px var(--font-mono);
  color: var(--muted-foreground);
  background: var(--card);
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage);
}
.mini-shop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  font-size: 6px;
}
.mini-shop-nav .brand {
  font-size: 13px;
  gap: 5px;
}
.mini-shop-nav .brand-symbol {
  width: 17px;
  height: 17px;
}
.mini-shop-nav .brand-symbol svg {
  width: 10px;
}
.mini-shop-hero {
  height: 145px;
  position: relative;
  overflow: hidden;
  background: var(--leaf);
  color: var(--paper);
  padding: 19px;
}
.mini-shop-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.7);
}
.mini-shop-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--leaf), transparent);
}
.mini-shop-copy {
  position: relative;
  z-index: 1;
}
.mini-shop-copy h3 {
  font: 500 27px var(--font-display);
  max-width: 230px;
}
.mini-shop-copy .eyebrow {
  font-size: 5px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
  padding: 7px 10px;
  background: var(--paper);
  color: var(--leaf);
  font-size: 6px;
}
.mini-produce {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
}
.mini-produce h4 {
  font: 500 14px var(--font-display);
}
.mini-produce-images {
  display: flex;
  gap: 8px;
}
.mini-produce-images img {
  width: 38px;
  height: 34px;
  object-fit: cover;
  border-radius: 3px;
}
.mini-label {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--muted-foreground);
}
.mini-label svg {
  width: 11px;
}
.dark-preview .mini-label {
  color: var(--admin-muted);
}
.gateway-cta {
  margin-top: 24px;
  width: 100%;
  height: 47px !important;
  justify-content: space-between !important;
  border-radius: 3px !important;
  font-size: 12px !important;
}
.gateway-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  font-size: 10px;
  color: var(--muted-foreground);
}
.gateway-footer .demo-note {
  display: flex;
  align-items: center;
  gap: 7px;
}
.gateway-footer .demo-note .status-dot {
  background: var(--tomato);
}
.mini-admin {
  background: var(--admin-surface);
  border-color: color-mix(in oklab, var(--sage) 20%, transparent);
}
.mini-admin .window-bar {
  background: var(--admin);
  color: var(--admin-muted);
  border-color: color-mix(in oklab, var(--sage) 16%, transparent);
}
.mini-admin-layout {
  display: flex;
  height: 252px;
}
.mini-sidebar {
  width: 78px;
  flex-shrink: 0;
  background: var(--admin);
  padding: 15px 8px;
  color: var(--admin-muted);
  font-size: 6px;
}
.mini-sidebar .brand {
  font-size: 10px;
  color: var(--admin-text);
  gap: 4px;
  margin-bottom: 20px;
}
.mini-sidebar .brand-symbol {
  width: 14px;
  height: 14px;
}
.mini-sidebar .brand-symbol svg {
  width: 9px;
}
.mini-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 5px;
  margin-bottom: 4px;
}
.mini-nav-item.active {
  color: var(--sage);
  background: color-mix(in oklab, var(--sage) 10%, transparent);
}
.mini-nav-item svg {
  width: 8px;
  height: 8px;
}
.mini-dashboard {
  padding: 15px;
  flex: 1;
  min-width: 0;
}
.mini-dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 6px;
  color: var(--admin-muted);
}
.mini-dashboard h3 {
  font: 500 14px var(--font-display);
  color: var(--admin-text);
  margin-bottom: 4px;
}
.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 13px;
}
.mini-kpi {
  border: 1px solid color-mix(in oklab, var(--sage) 14%, transparent);
  padding: 8px;
  border-radius: 3px;
  font-size: 5px;
  color: var(--admin-muted);
}
.mini-kpi strong {
  display: block;
  font: 500 13px var(--font-mono);
  color: var(--admin-text);
  margin: 6px 0;
}
.mini-kpi small {
  font-size: 5px;
  color: var(--sage);
}
.mini-chart {
  border: 1px solid color-mix(in oklab, var(--sage) 14%, transparent);
  margin-top: 9px;
  padding: 9px;
  border-radius: 3px;
}
.mini-chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
  color: var(--admin-text);
}
.mini-chart svg {
  display: block;
  width: 100%;
  height: 69px;
}
.mini-chart text {
  fill: var(--admin-muted);
  font: 5px var(--font-mono);
}
.mini-feed {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 6px;
  margin-top: 9px;
  color: var(--admin-muted);
}
.mini-feed .status-dot {
  background: var(--sage);
  height: 4px;
  width: 4px;
}
.origin-seal {
  position: absolute;
  width: 77px;
  height: 77px;
  inset-inline-end: 13px;
  inset-block-end: 10px;
  border: 1px dashed var(--paper);
  border-radius: 50%;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  z-index: 2;
  font-size: 7px;
  gap: 4px;
}
.origin-seal svg {
  width: 15px;
}
.gateway-caption {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 8px;
  align-items: center;
}
.gateway-caption span {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* Storefront */
.shop-shell {
  min-height: 100dvh;
}
.announcement {
  background: var(--leaf);
  color: var(--paper);
  font-size: 10px;
  text-align: center;
  padding: 9px;
  letter-spacing: 1px;
}
.shop-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 17px 4.5%;
  display: flex;
  align-items: center;
  gap: 30px;
}
.shop-header .brand {
  font-size: 24px;
}
.shop-search {
  position: relative;
  margin-inline: auto;
  flex: 1;
  max-width: 380px;
}
.shop-search input {
  width: 100%;
  background: transparent;
  padding-inline-start: 38px;
  font-size: 12px;
}
.shop-search > svg {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  width: 15px;
  height: 15px;
  color: var(--muted-foreground);
}
.suggestions {
  position: absolute;
  inset-inline: 0;
  top: 47px;
  z-index: 35;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-panel);
  border-radius: 4px;
  padding: 8px;
}
.suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  width: 100%;
  justify-content: start !important;
  height: auto !important;
}
.suggestion img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.delivery-chip {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}
.delivery-chip small {
  display: block;
  font-size: 8px;
  color: var(--muted-foreground);
  margin-bottom: 3px;
}
.cart-icon {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -4px;
  inset-inline-end: -3px;
  background: var(--tomato);
  color: var(--paper);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font: 9px var(--font-mono);
  display: grid;
  place-items: center;
}
.shop-main {
  padding: 35px 4.5% 70px;
}
.shop-hero {
  height: 490px;
  position: relative;
  background: var(--leaf);
  color: var(--paper);
  overflow: hidden;
  margin-bottom: 40px;
}
.shop-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  position: absolute;
  inset: 0;
}
.shop-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--ink) 90%, transparent) 0%,
    color-mix(in oklab, var(--ink) 45%, transparent) 55%,
    transparent
  );
}
.shop-hero-content {
  position: relative;
  z-index: 1;
  padding: 57px 5%;
  max-width: 580px;
}
.shop-hero h1 {
  font: 500 67px var(--font-display);
  line-height: 1.03;
  margin: 21px 0;
}
.shop-hero h1 em {
  color: var(--sage);
  font-weight: 400;
}
.shop-hero-content p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 310px;
  margin-bottom: 26px;
}
.shop-hero .origin-seal {
  width: 120px;
  height: 120px;
  inset-inline-end: 40px;
  inset-block-end: 37px;
  font-size: 10px;
}
.shop-hero .origin-seal svg {
  width: 28px;
  height: 28px;
}
.hero-foot {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 26px;
  font-size: 9px;
}
.category-rail {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  margin: 35px 0 55px;
}
.category-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  height: auto !important;
  padding: 14px 5px !important;
  font-size: 11px !important;
}
.category-item .category-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--secondary);
}
.category-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.2;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--card);
  position: relative;
  min-width: 0;
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 0 100%);
  border-bottom: 1px solid var(--border);
}
.product-photo {
  height: 225px;
  position: relative;
  overflow: hidden;
  background: var(--secondary);
}
.product-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-photo > img {
  transform: scale(1.04);
}
.product-wish {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  background: var(--paper) !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
}
.product-wish.active {
  color: var(--tomato);
}
.product-wish.active svg { fill: currentColor; }
.product-photo .product-tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: 9px;
  background: var(--paper);
  padding: 5px 8px;
}
.product-photo .low-tag {
  background: var(--tomato);
  color: var(--paper);
}
.product-origin {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  border: 1px dashed var(--paper);
  background: color-mix(in oklab, var(--leaf) 82%, transparent);
  color: var(--paper);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 7px;
  gap: 4px;
  transform: rotate(-12deg);
}
.product-origin span {
  font-size: 6px;
}
.product-card:hover .product-origin {
  animation: seal-turn 15s linear infinite;
}
.product-details {
  padding: 17px;
}
.product-details .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted-foreground);
}
.product-details h3 {
  font: 500 19px var(--font-display);
  margin: 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
}
.product-price {
  font: 13px var(--font-mono);
}
.product-price small {
  font: 9px var(--font-sans);
  color: var(--muted-foreground);
}
.add-btn {
  border-radius: 50% !important;
  background: var(--leaf) !important;
  color: var(--paper) !important;
  width: 30px !important;
  height: 30px !important;
}
.quick-view {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  opacity: 0;
  background: var(--paper) !important;
  font-size: 9px !important;
  height: 27px !important;
  transition: opacity 0.2s;
}
.product-card:hover .quick-view,
.quick-view:focus {
  opacity: 1;
}
.product-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 66px) / 4);
  gap: 22px;
  overflow: auto;
  scrollbar-width: none;
}
.marquee {
  margin: 50px -4.95% 45px;
  padding: 17px 0;
  background: var(--saffron);
  color: var(--ink);
  overflow: hidden;
  font: 500 20px var(--font-display);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: marquee 35s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 40px;
}
.marquee-track svg {
  width: 18px;
}
.promo-band {
  background: var(--secondary);
  padding: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 55px;
  border-top: 1px solid var(--leaf);
  border-bottom: 1px solid var(--leaf);
}
.promo-band h2 {
  font: 500 32px var(--font-display);
  margin: 8px 0;
}
.promo-band p {
  font-size: 12px;
  color: var(--muted-foreground);
}
.bundle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--leaf);
  color: var(--paper);
  margin-bottom: 60px;
  overflow: hidden;
}
.bundle-photo {
  height: 350px;
  width: 100%;
  object-fit: cover;
}
.bundle-copy {
  padding: 45px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 18px;
}
.bundle-copy h2 {
  font: 500 40px var(--font-display);
}
.bundle-copy p {
  line-height: 1.8;
  font-size: 12px;
  opacity: 0.8;
}
.why-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-top: 65px;
  padding-block: 40px;
  border-block: 1px solid var(--border);
}
.why-section h2 {
  font: 500 40px var(--font-display);
}
.why-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-points svg {
  width: 26px;
  height: 26px;
  margin-bottom: 20px;
  stroke-width: 1.2;
}
.why-points h3 {
  font: 500 20px var(--font-display);
  margin-bottom: 10px;
}
.why-points p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted-foreground);
}
.shop-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 45px 4.5% 20px;
}
.newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 35px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 20%, transparent);
}
.newsletter h2 {
  font: 500 30px var(--font-display);
}
.newsletter p {
  font-size: 11px;
  color: var(--sage);
  margin-top: 8px;
}
.newsletter form {
  display: flex;
  gap: 8px;
}
.newsletter input {
  background: transparent;
  color: var(--paper);
  border-color: var(--sage);
  width: 240px;
}
.footer-end {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  padding-top: 30px;
}
.footer-end .brand {
  font-size: 27px;
}
.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 11px;
}
.footer-fine {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  font-size: 9px;
  color: var(--sage);
}
.mobile-tabs {
  display: none;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 35px;
}
.filters {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.filter-group h3 {
  font-size: 12px;
  font-weight: 600;
}
.filter-group label {
  flex-direction: row;
  align-items: center;
  font-size: 11px;
  font-weight: 400;
}
.catalog-products .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.catalog-products .product-photo {
  height: 210px;
}
.product-grid.list {
  grid-template-columns: 1fr;
}
.list .product-card {
  display: flex;
}
.list .product-photo {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}
.list .product-details {
  flex: 1;
}
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.product-gallery > img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.gallery-thumbs img {
  width: 75px;
  height: 70px;
  object-fit: cover;
}
.detail-copy {
  padding-top: 15px;
}
.detail-copy h1 {
  font: 500 48px var(--font-display);
  margin: 15px 0;
}
.detail-copy .detail-price {
  font: 24px var(--font-mono);
  margin-block: 22px;
}
.detail-copy p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted-foreground);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  height: 38px;
}
.qty span {
  font: 12px var(--font-mono);
  width: 30px;
  text-align: center;
}
.detail-actions {
  display: flex;
  gap: 12px;
  margin-block: 30px;
}
.detail-tabs {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.detail-tabs .selected {
  border-bottom: 2px solid var(--leaf);
  border-radius: 0;
}
.basket-item {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.basket-item img {
  width: 74px;
  height: 80px;
  object-fit: cover;
  border-radius: 3px;
}
.basket-item-body {
  flex: 1;
  min-width: 0;
}
.basket-item h3 {
  font: 500 18px var(--font-display);
  margin-bottom: 5px;
}
.basket-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.basket-summary {
  margin-top: 25px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 12px;
}
.summary-line.total {
  font-size: 18px;
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-top: 18px;
}
.promo-input {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.promo-input input {
  width: 100%;
  font-size: 12px;
}
.delivery-progress {
  margin-bottom: 15px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.delivery-progress progress {
  width: 100%;
  height: 4px;
  accent-color: var(--leaf);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  max-width: 1000px;
  margin: auto;
}
.checkout-steps {
  display: flex;
  gap: 20px;
  padding-block: 20px;
  margin-bottom: 25px;
  border-block: 1px solid var(--border);
}
.checkout-steps span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-foreground);
  font-size: 11px;
}
.checkout-steps .active {
  color: var(--leaf);
  font-weight: 600;
}
.step-circle {
  width: 21px;
  height: 21px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 10px var(--font-mono);
}
.checkout-steps .active .step-circle {
  background: var(--leaf);
  color: var(--paper);
}
.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.slot-selected {
  border-color: var(--leaf) !important;
  background: var(--secondary) !important;
}
.fake-notice {
  background: var(--secondary);
  padding: 14px;
  font-size: 11px;
  line-height: 1.8;
  border-inline-start: 2px solid var(--saffron);
}
.order-confirm {
  max-width: 750px;
  margin: auto;
  padding: 40px 0;
  text-align: center;
}
.order-confirm h1 {
  font: 500 48px var(--font-display);
  margin: 20px 0;
}
.order-confirm > p {
  color: var(--muted-foreground);
  line-height: 1.8;
}
.confirmation-check {
  width: 64px;
  height: 64px;
  border: 1px solid var(--leaf);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: auto;
  color: var(--leaf);
}
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 50px 0;
  text-align: center;
}
.timeline:before {
  content: "";
  position: absolute;
  top: 18px;
  inset-inline: 12%;
  height: 1px;
  background: var(--border);
}
.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  font-size: 10px;
}
.timeline-icon {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  z-index: 1;
}
.timeline-step.current .timeline-icon {
  background: var(--leaf);
  color: var(--paper);
}
/* Kitchen pass */
.admin-shell {
  --background: var(--admin);
  --foreground: var(--admin-text);
  --card: var(--admin-surface);
  --muted: oklch(0.267 0.022 150);
  --muted-foreground: var(--admin-muted);
  --border: oklch(0.32 0.019 151);
  --primary: var(--sage);
  --primary-foreground: var(--ink);
  --secondary: oklch(0.28 0.025 150);
  --accent: oklch(0.3 0.03 150);
  background: var(--background);
  color: var(--foreground);
  min-height: 100dvh;
  display: flex;
}
.admin-shell.light {
  --background: var(--paper);
  --foreground: var(--ink);
  --card: oklch(0.981 0.009 85);
  --muted: oklch(0.916 0.014 83);
  --muted-foreground: oklch(0.514 0.025 151);
  --border: oklch(0.859 0.019 104);
  --secondary: oklch(0.923 0.023 107);
  --accent: oklch(0.91 0.032 120);
}
.admin-sidebar {
  width: 224px;
  background: var(--background);
  border-inline-end: 1px solid var(--border);
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
  transition: width 0.2s;
}
.admin-sidebar .brand {
  font-size: 22px;
  gap: 8px;
}
.admin-sidebar .brand-symbol {
  width: 28px;
  height: 28px;
  color: var(--sage);
}
.workspace-label {
  font: 8px var(--font-mono);
  color: var(--muted-foreground);
  margin: 8px 0 34px;
  padding-inline-start: 36px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.nav-group-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted-foreground);
  margin: 17px 10px 10px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted-foreground);
  border-radius: 4px;
}
.admin-nav a.active {
  background: var(--secondary);
  color: var(--sage);
}
.admin-nav svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}
.admin-nav .nav-count {
  margin-inline-start: auto;
  font: 8px var(--font-mono);
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--saffron);
  color: var(--ink);
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 17px;
}
.sidebar-bottom .user {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 17px;
}
.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--sage);
  font: 10px var(--font-mono);
}
.user p {
  font-size: 11px;
}
.user small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: var(--muted-foreground);
}
.sidebar-bottom a {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-foreground);
}
.admin-body {
  margin-inline-start: 224px;
  flex: 1;
  min-width: 0;
  transition: margin 0.2s;
}
.admin-topbar {
  height: 71px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  background: var(--background);
  position: sticky;
  top: 0;
  z-index: 25;
}
.topbar-title {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-foreground);
}
.topbar-title span {
  color: var(--foreground);
}
.admin-topbar-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.command-trigger {
  display: flex;
  gap: 25px;
  color: var(--muted-foreground);
  font-size: 10px !important;
}
.command-trigger kbd {
  font: 8px var(--font-mono);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 5px;
}
.admin-topbar .icon-btn svg {
  width: 15px;
}
.admin-content {
  padding: 33px 35px 50px;
  max-width: 1700px;
  margin: auto;
}
.admin-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.admin-page-header h1 {
  font: 500 32px var(--font-display);
}
.admin-page-header p {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 9px;
}
.admin-page-header .eyebrow {
  font-size: 8px;
  color: var(--sage);
  margin-bottom: 8px;
}
.admin-header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.admin-shell .badge.good {
  color: var(--sage);
}
.admin-shell.light .badge.good {
  color: var(--leaf);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 24px;
}
.kpi {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 20px;
  overflow: hidden;
}
.kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted-foreground);
}
.kpi-head svg {
  width: 14px;
  height: 14px;
}
.kpi strong {
  display: block;
  font: 500 27px var(--font-mono);
  margin: 15px 0 12px;
}
.kpi-foot {
  font-size: 9px;
  color: var(--muted-foreground);
}
.kpi-foot span {
  color: var(--sage);
  margin-inline-end: 5px;
}
.kpi-spark {
  position: absolute;
  inset-inline-end: 12px;
  bottom: 16px;
  width: 55px;
  height: 22px;
  opacity: 0.8;
}
.dashboard-charts {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.chart-container {
  height: 235px;
  width: 100%;
  padding: 0 10px 10px;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 9px;
  margin: 8px 0 15px;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.chart-legend i {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.chart-legend span:nth-child(2) i {
  background: var(--saffron);
}
.chart-legend span:nth-child(3) i {
  background: var(--tomato);
}
.dashboard-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.dashboard-bottom .data-panel-body {
  padding-top: 0;
}
.mini-action {
  height: 25px !important;
  padding-inline: 8px !important;
  font-size: 9px !important;
}
.feed-icon {
  width: 29px;
  height: 29px;
  background: var(--secondary);
  color: var(--sage);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.feed-icon svg {
  width: 13px;
}
.range-buttons {
  display: flex;
  gap: 2px;
}
.range-buttons .selected {
  background: var(--secondary);
  color: var(--sage);
}
.inventory-stats {
  display: flex;
  gap: 30px;
  padding: 18px 0;
  margin-bottom: 22px;
  border-block: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted-foreground);
}
.inventory-stats strong {
  font: 17px var(--font-mono);
  color: var(--foreground);
  margin-inline-end: 7px;
}
.inventory-table .stock-input {
  width: 56px;
  font: 11px var(--font-mono);
  padding: 6px 8px;
  background: transparent;
}
.inventory-table td {
  padding-block: 12px;
}
.inventory-table .row-actions {
  display: flex;
  gap: 2px;
}
.bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--secondary);
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 11px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-size: 10px;
  color: var(--muted-foreground);
}
.kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
  overflow: auto;
}
.kanban-column {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 12px;
  min-height: 450px;
}
.kanban-column h3 {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  margin: 3px 0 16px;
}
.kanban-order {
  background: var(--background);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 4px;
  margin-bottom: 10px;
  cursor: grab;
}
.kanban-order h4 {
  font: 11px var(--font-mono);
  margin-bottom: 12px;
}
.kanban-order p {
  font-size: 11px;
  margin-bottom: 7px;
}
.kanban-order small {
  font-size: 9px;
  color: var(--muted-foreground);
}
.kanban-order strong {
  display: block;
  font: 12px var(--font-mono);
  margin-top: 13px;
}
.supplier-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 25px;
  border-radius: 5px;
}
.supplier-card .supplier-icon {
  width: 45px;
  height: 45px;
  background: var(--secondary);
  display: grid;
  place-items: center;
  color: var(--sage);
  margin-bottom: 20px;
  border-radius: 50%;
}
.supplier-card h3 {
  font: 500 23px var(--font-display);
}
.supplier-card p {
  color: var(--muted-foreground);
  font-size: 11px;
  margin: 8px 0;
}
.supplier-card .supplier-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 20px 0;
}
.settings-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 25px;
  max-width: 1000px;
}
.theme-popup {
  position: fixed;
  right: 30px;
  top: 66px;
  width: 280px;
  z-index: 50;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 5px;
  box-shadow: var(--shadow-panel);
}
.theme-popup h3 {
  margin-bottom: 15px;
}
.command-list {
  max-height: 400px;
  overflow: auto;
}
.command-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.command-list a:hover {
  background: var(--secondary);
}
.command-search {
  width: 100%;
  margin-bottom: 15px;
}
.product-drawer-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}
.drawer-margin {
  font: 15px var(--font-mono);
  color: var(--leaf);
  background: var(--secondary);
  padding: 14px;
  border-radius: 4px;
}
.order-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-block: 22px;
}
.order-detail-meta p {
  font-size: 12px;
  line-height: 1.8;
}
.order-detail-meta small {
  display: block;
  font-size: 9px;
  color: var(--muted-foreground);
  margin-bottom: 6px;
}
.history-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.history-row small {
  margin-inline-start: auto;
  font-size: 10px;
  color: var(--muted-foreground);
}
.admin-sidebar.collapsed {
  width: 76px;
}
.collapsed .brand-text,
.collapsed .workspace-label,
.collapsed .nav-group-label,
.collapsed .nav-label,
.collapsed .nav-count,
.collapsed .user-info,
.collapsed .gateway-label {
  display: none;
}
.collapsed .brand {
  justify-content: center;
}
.collapsed .admin-nav a {
  justify-content: center;
  padding-inline: 0;
}
.collapsed .sidebar-bottom .user {
  justify-content: center;
}
.admin-body.sidebar-collapsed {
  margin-inline-start: 76px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes seal-turn {
  to {
    transform: rotate(348deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
@keyframes fly {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translate(100px, -180px);
    opacity: 0;
  }
}
.fly-dot {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--tomato);
  animation: fly 0.7s ease-in forwards;
}
.page-enter {
  animation: page-in 0.4s ease-out;
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .gateway {
    max-width: 1640px;
    margin: auto;
    padding-top: 45px;
  }
  .gateway-intro {
    margin-top: 50px;
  }
  .gateway-card {
    padding: 36px;
  }
  .mini-window {
    height: 330px;
  }
  .mini-admin-layout {
    height: 303px;
  }
  .mini-shop-hero {
    height: 195px;
  }
  .mini-chart svg {
    height: 110px;
  }
  .gateway-card h2 {
    font-size: 44px;
  }
  .gateway-grid {
    gap: 32px;
  }
}
@media (max-width: 1100px) {
  .gateway {
    padding: 25px 4% 20px;
  }
  .gateway-card {
    padding: 24px 20px;
  }
  .mini-sidebar {
    width: 66px;
  }
  .mini-dashboard {
    padding: 12px;
  }
  .mini-kpi {
    padding: 6px;
  }
  .mini-kpi strong {
    font-size: 11px;
  }
  .shop-header {
    gap: 15px;
  }
  .delivery-chip {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-scroll {
    grid-auto-columns: calc((100% - 44px) / 3);
  }
  .admin-sidebar {
    width: 190px;
    padding-inline: 12px;
  }
  .admin-body {
    margin-inline-start: 190px;
  }
  .admin-content {
    padding: 28px 22px;
  }
  .admin-topbar {
    padding-inline: 22px;
  }
  .kpi-grid {
    gap: 10px;
  }
  .kpi {
    padding: 15px;
  }
  .kpi strong {
    font-size: 23px;
  }
  .dashboard-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-bottom > :last-child {
    grid-column: 1/-1;
  }
  .three-cols {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-layout {
    grid-template-columns: 170px 1fr;
    gap: 25px;
  }
  .catalog-products .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail {
    gap: 35px;
  }
  .why-section {
    gap: 25px;
  }
  .why-points {
    gap: 18px;
  }
}
@media (max-width: 767px) {
  .gateway {
    padding: 22px 20px;
  }
  .gateway-header {
    padding-bottom: 20px;
  }
  .gateway-header .brand {
    font-size: 22px;
  }
  .gateway-header > .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .gateway-intro {
    margin: 28px 0 24px;
  }
  .gateway-intro h1 {
    font-size: 34px;
  }
  .gateway-intro > p {
    display: none;
  }
  .gateway-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gateway-card {
    padding: 24px;
    min-height: 480px;
  }
  .gateway-card h2 {
    font-size: 34px;
  }
  .gateway-card .card-description {
    font-size: 11px;
  }
  .mini-window {
    height: 245px;
    margin-top: 22px;
  }
  .mini-shop-hero {
    height: 124px;
  }
  .mini-admin-layout {
    height: 218px;
  }
  .mini-chart svg {
    height: 53px;
  }
  .gateway-card:before {
    width: 55px;
    height: 55px;
  }
  .gateway-cta {
    margin-top: 20px;
  }
  .gateway-footer {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
  }
  .gateway-footer > span {
    font-size: 8px;
  }
  .shop-header {
    padding: 13px 20px;
    gap: 10px;
  }
  .shop-header .brand {
    font-size: 21px;
  }
  .shop-header .brand-symbol {
    width: 27px;
    height: 27px;
  }
  .shop-search {
    display: none;
  }
  .header-actions {
    margin-inline-start: auto;
    gap: 5px;
  }
  .shop-main {
    padding: 20px 20px 40px;
  }
  .shop-hero {
    height: 480px;
    margin-bottom: 25px;
  }
  .shop-hero-content {
    padding: 37px 25px;
  }
  .shop-hero h1 {
    font-size: 49px;
  }
  .shop-hero-content p {
    font-size: 12px;
    max-width: 270px;
  }
  .shop-hero .origin-seal {
    width: 82px;
    height: 82px;
    inset-inline-end: 20px;
    inset-block-end: 20px;
    font-size: 8px;
  }
  .shop-hero .origin-seal svg {
    width: 20px;
  }
  .category-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 20px 0 35px;
  }
  .category-item {
    font-size: 9px !important;
    gap: 8px !important;
  }
  .category-item .category-icon {
    width: 45px;
    height: 45px;
  }
  .category-icon svg {
    width: 22px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section-link {
    font-size: 10px;
  }
  .product-scroll {
    grid-auto-columns: 73%;
    gap: 15px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .product-photo {
    height: 160px;
  }
  .product-details {
    padding: 13px;
  }
  .product-details h3 {
    font-size: 17px;
  }
  .product-origin {
    width: 48px;
    height: 48px;
    font-size: 6px;
  }
  .product-origin span {
    font-size: 5px;
  }
  .product-photo .product-tag {
    font-size: 7px;
    padding: 4px 6px;
    inset-inline-start: 8px;
    top: 8px;
  }
  .product-price {
    font-size: 11px;
  }
  .product-price small {
    font-size: 8px;
  }
  .quick-view {
    display: none;
  }
  .marquee {
    margin: 35px -20px;
    padding: 14px 0;
    font-size: 18px;
  }
  .promo-band {
    padding: 25px 20px;
    align-items: start;
    flex-direction: column;
    margin-bottom: 35px;
  }
  .promo-band h2 {
    font-size: 28px;
  }
  .bundle {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
  .bundle-photo {
    height: 230px;
  }
  .bundle-copy {
    padding: 28px;
  }
  .bundle-copy h2 {
    font-size: 34px;
  }
  .why-section {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .why-section h2 {
    font-size: 32px;
  }
  .why-points {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .why-points > div {
    display: grid;
    grid-template-columns: 35px 1fr;
    column-gap: 12px;
  }
  .why-points svg {
    grid-row: span 2;
    margin: 0;
  }
  .why-points h3 {
    margin-bottom: 5px;
  }
  .shop-footer {
    padding: 30px 20px 80px;
  }
  .newsletter {
    flex-direction: column;
    align-items: start;
    gap: 22px;
  }
  .newsletter form {
    width: 100%;
  }
  .newsletter input {
    width: 100%;
    min-width: 0;
  }
  .newsletter h2 {
    font-size: 26px;
  }
  .footer-end {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 17px;
  }
  .footer-fine {
    gap: 20px;
    align-items: start;
    font-size: 8px;
  }
  .mobile-tabs {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 40;
    background: var(--paper);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom));
  }
  .mobile-tabs a,
  .mobile-tabs button {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 8px;
    height: auto;
    background: transparent;
  }
  .mobile-tabs svg {
    width: 18px;
    height: 18px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
  .filter-group {
    gap: 8px;
  }
  .filter-group:nth-child(n + 3) {
    display: none;
  }
  .catalog-products .product-photo {
    height: 150px;
  }
  .catalog-products .product-grid {
    gap: 12px;
  }
  .toolbar {
    gap: 7px;
  }
  .toolbar input {
    min-width: 130px;
    flex: 1;
  }
  .toolbar .push {
    margin-inline-start: 0;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .product-gallery > img {
    height: 340px;
  }
  .detail-copy h1 {
    font-size: 37px;
  }
  .detail-copy {
    padding-top: 10px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .checkout-steps {
    gap: 13px;
  }
  .checkout-layout aside {
    border-top: 1px solid var(--border);
    padding-top: 20px;
  }
  .order-confirm h1 {
    font-size: 36px;
  }
  .timeline-step {
    font-size: 8px;
  }
  .field-grid {
    gap: 12px;
  }
  .admin-sidebar {
    width: 76px;
    padding: 22px 10px;
  }
  .admin-sidebar .brand-text,
  .admin-sidebar .workspace-label,
  .admin-sidebar .nav-group-label,
  .admin-sidebar .nav-label,
  .admin-sidebar .nav-count,
  .admin-sidebar .user-info,
  .admin-sidebar .gateway-label {
    display: none;
  }
  .admin-sidebar .brand {
    justify-content: center;
    margin-bottom: 27px;
  }
  .admin-sidebar .admin-nav a {
    justify-content: center;
    padding-inline: 0;
  }
  .admin-body {
    margin-inline-start: 76px;
  }
  .admin-sidebar .sidebar-bottom .user {
    justify-content: center;
  }
  .admin-content {
    padding: 22px 17px 40px;
  }
  .admin-topbar {
    height: 62px;
    padding: 0 12px;
  }
  .topbar-title {
    font-size: 9px;
    gap: 5px;
  }
  .topbar-title > span:first-child {
    display: none;
  }
  .admin-topbar-actions {
    gap: 2px;
  }
  .command-trigger {
    padding: 0 !important;
    gap: 0 !important;
    width: 30px;
  }
  .command-trigger span,
  .command-trigger kbd {
    display: none;
  }
  .admin-topbar .avatar {
    display: none;
  }
  .admin-page-header {
    align-items: start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 22px;
  }
  .admin-page-header h1 {
    font-size: 27px;
  }
  .admin-page-header p {
    font-size: 10px;
    line-height: 1.6;
  }
  .admin-header-actions {
    flex-wrap: wrap;
    gap: 7px;
  }
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .kpi {
    padding: 13px;
  }
  .kpi strong {
    font-size: 20px;
  }
  .kpi-head {
    font-size: 8px;
  }
  .kpi-foot {
    font-size: 7px;
  }
  .kpi-spark {
    width: 35px;
    height: 15px;
    right: 8px;
    bottom: 12px;
  }
  .dashboard-charts,
  .dashboard-bottom,
  .two-cols,
  .three-cols,
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-bottom > :last-child {
    grid-column: auto;
  }
  .data-panel-head {
    padding: 15px;
  }
  .data-panel-head h3 {
    font-size: 12px;
  }
  .chart-container {
    height: 210px;
    padding-inline: 0;
  }
  .admin-shell .toolbar input {
    width: 100%;
    min-width: 0;
  }
  .inventory-stats {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .inventory-stats strong {
    font-size: 15px;
  }
  .bulk-bar {
    flex-wrap: wrap;
  }
  .pagination {
    gap: 10px;
    font-size: 9px;
  }
  .pagination > span {
    max-width: 80px;
  }
  .admin-shell .field-grid {
    grid-template-columns: 1fr;
  }
  .supplier-card {
    padding: 20px;
  }
  .theme-popup {
    right: 15px;
    max-width: calc(100vw - 100px);
  }
  .list .product-photo {
    width: 110px;
    height: 160px;
  }
  .product-detail .detail-actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .admin-sidebar,
  .admin-topbar,
  .shop-header,
  .shop-footer,
  button,
  [data-radix-popper-content-wrapper] {
    display: none !important;
  }
  .admin-body {
    margin: 0;
  }
  .admin-shell {
    background: var(--paper);
    color: var(--ink);
  }
  [role="dialog"] {
    position: static !important;
    transform: none !important;
    max-width: none !important;
    box-shadow: none !important;
  }
}
.verdant-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0.15 0.02 150 / 0.65);
  z-index: 80;
  backdrop-filter: blur(3px);
  animation: page-in 0.2s ease-out;
}
.verdant-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 81;
  width: calc(100% - 32px);
  max-width: 600px;
  max-height: 90dvh;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-panel);
  --background: var(--paper);
  --foreground: var(--ink);
  --card: oklch(0.981 0.009 85);
  --muted-foreground: oklch(0.514 0.025 151);
  --border: oklch(0.859 0.019 104);
  --secondary: oklch(0.923 0.023 107);
  --primary: var(--leaf);
  --primary-foreground: var(--paper);
  --accent: oklch(0.91 0.032 120);
}
.verdant-drawer {
  inset-block: 0;
  inset-inline-end: 0;
  inset-inline-start: auto;
  transform: none;
  width: min(520px, 100%);
  max-width: none;
  max-height: 100dvh;
  border-radius: 0;
  border-inline-start: 1px solid var(--border);
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}
.modal-heading [data-radix-dialog-title] {
  font-size: 29px;
}
.food-fallback {
  background: var(--secondary);
  color: var(--leaf);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 80px;
  font: 16px var(--font-display);
}
.hand-underline {
  position: relative;
}
.hand-underline:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -6px;
  inset-inline: 0;
  height: 7px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-2deg);
}
.product-photo > a {
  display: block;
  width: 100%;
  height: 100%;
}
.product-photo > a img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-photo > a img {
  transform: scale(1.04);
}
.notification-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--saffron);
  position: absolute;
  top: 6px;
  inset-inline-end: 7px;
}
.donut-wrap {
  position: relative;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
  gap: 7px;
}
.donut-center small {
  font-size: 7px;
  color: var(--muted-foreground);
  letter-spacing: 1px;
}
.donut-center strong {
  font: 16px var(--font-mono);
}
.chart-tooltip {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 4px;
  font-size: 10px;
}
.chart-tooltip strong {
  display: block;
  margin-top: 7px;
  font: 13px var(--font-mono);
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--sage);
}
.live-indicator i {
  width: 5px;
  height: 5px;
  background: var(--sage);
  border-radius: 50%;
}
.expiry-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  padding: 18px 22px;
  background: var(--card);
  border-radius: 4px;
}
.expiry-strip > svg {
  color: var(--saffron);
  flex-shrink: 0;
}
.expiry-strip strong {
  font-size: 11px;
  font-weight: 500;
}
.expiry-strip p {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 5px;
}
[cmdk-group-heading] {
  font-size: 10px;
  text-transform: uppercase;
  padding: 12px;
  color: var(--muted-foreground);
}
[cmdk-item][data-selected="true"] {
  background: var(--secondary);
}
@media (max-width: 767px) {
  .expiry-strip {
    flex-wrap: wrap;
    padding: 15px;
    gap: 10px;
  }
  .expiry-strip > div {
    flex: 1;
  }
  .expiry-strip p {
    line-height: 1.6;
  }
  .expiry-strip > a {
    margin-inline-start: 28px;
  }
}
.upload-label {
  position: relative;
  border: 1px dashed var(--border);
  padding: 12px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  cursor: pointer;
}
.upload-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.expiry-row {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.expiry-row:last-child {
  border: none;
}
.expiry-row > img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 3px;
}
.expiry-row h3 {
  font-size: 13px;
  font-weight: 500;
}
.expiry-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--saffron);
  width: 85px;
  flex-shrink: 0;
  font: 11px var(--font-mono);
}
.category-admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}
.category-admin-image {
  height: 140px;
  position: relative;
}
.category-admin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-admin-number {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  padding: 5px 8px;
}
@media (max-width: 767px) {
  .expiry-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .expiry-date {
    width: 100%;
    font-size: 10px;
  }
  .expiry-row > img {
    width: 38px;
    height: 38px;
  }
  .expiry-row > span {
    width: 100%;
    font-size: 10px;
    padding-inline-start: 48px;
  }
  .expiry-row > div:last-child {
    margin-inline-start: 48px;
  }
  .expiry-row h3 {
    font-size: 12px;
  }
  .verdant-modal {
    padding: 22px;
  }
  .verdant-drawer {
    width: 100%;
  }
  .modal-heading [data-radix-dialog-title] {
    font-size: 25px;
  }
  .admin-shell .settings-layout .data-panel {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .mini-shop-copy h3 {
    font-size: 23px;
    max-width: 190px;
  }
  .mini-shop-hero .origin-seal {
    width: 55px;
    height: 55px;
    font-size: 5px;
    inset-inline-end: 9px;
    inset-block-end: 12px;
    gap: 2px;
  }
  .mini-shop-hero {
    padding: 15px;
  }
  .mini-shop-copy .eyebrow {
    font-size: 5px;
    margin-bottom: 5px;
  }
  .mini-cta {
    margin-top: 7px;
    padding: 5px 8px;
  }
  .mini-shop-nav .brand {
    font-size: 11px;
  }
  .mini-shop-nav {
    padding: 10px;
  }
  .mini-sidebar .brand {
    font-size: 8px;
    gap: 2px;
  }
  .mini-sidebar .brand-symbol {
    width: 11px;
    height: 11px;
  }
  .mini-sidebar .brand-symbol svg {
    width: 7px;
  }
  .mini-sidebar {
    width: 57px;
    padding: 13px 6px;
  }
  .mini-dashboard h3 {
    font-size: 11px;
  }
  .mini-dashboard-heading > span {
    display: none;
  }
}
@media (max-width: 767px) {
  .shop-hero .origin-seal {
    inset-block-end: 88px;
    inset-inline-end: 15px;
    width: 64px;
    height: 64px;
    font-size: 6px;
    gap: 3px;
  }
  .shop-hero .origin-seal svg {
    width: 14px;
    height: 14px;
  }
  .shop-hero-content {
    padding-inline: 25px;
  }
  .shop-hero-content p {
    max-width: 240px;
  }
  .hero-foot {
    font-size: 8px;
    gap: 10px;
  }
  .mini-shop-hero .origin-seal {
    background: color-mix(in oklab, var(--leaf) 90%, transparent);
  }
}
@media(max-width:767px){.shop-hero>.origin-seal{display:none}.hero-foot{margin-top:20px}}

.vd-sitebar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  background: #1b2a22;
  color: #f6f1e7;
  font: 500 12px "Instrument Sans", "Inter", sans-serif;
}
.vd-sitebar a { color: #f2b134; }
.vd-app button,
.vd-app .as-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  background: var(--leaf);
  color: var(--paper);
  border-radius: 4px;
  min-height: 36px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
}
.vd-app button.ghost,
.vd-app a.ghost { background: transparent; color: inherit; }
.vd-app button.outline,
.vd-app a.outline { background: transparent; color: inherit; border-color: var(--border); }
.vd-app button.paper,
.vd-app a.paper { background: var(--paper); color: var(--leaf); }
.vd-app button.saffron,
.vd-app a.saffron { background: var(--saffron); color: var(--ink); }
.vd-app button.link,
.vd-app a.link { background: none; color: inherit; min-height: 0; padding: 0; border: 0; }
.vd-app button.icon,
.vd-app a.icon { width: 36px; height: 36px; min-height: 36px; padding: 0; background: transparent; color: inherit; }
.vd-app button.sm,
.vd-app a.sm { min-height: 30px; padding: 4px 10px; font-size: 12px; }
.vd-app button.lg,
.vd-app a.lg { min-height: 48px; padding: 12px 20px; font-size: 16px; }
.vd-app button:disabled { opacity: 0.45; cursor: not-allowed; }
.vd-app svg.i { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.vd-app .brand-symbol svg.i { width: 18px; height: 18px; }
.vd-toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: 6px;
  font: 500 13px "Instrument Sans", "Inter", sans-serif;
  max-width: min(460px, calc(100% - 32px));
  box-shadow: var(--shadow-panel);
}
.vd-toast.bad { background: var(--tomato); }
.vd-bars { display: flex; align-items: flex-end; gap: 8px; height: 180px; padding: 8px 8px 0; }
.vd-bars span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; font-size: 10px; color: var(--muted-foreground); }
.vd-bars i { display: block; width: 100%; background: var(--sage); border-radius: 3px 3px 0 0; min-height: 4px; }
.vd-app .w-full { width: 100%; }
.vd-app .mt { margin-top: 16px; }
.vd-app label.row { flex-direction: row; align-items: center; gap: 8px; }
.heart-on { color: var(--tomato); }

#vd-toast-live {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 130;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
#vd-toast-live .vd-toast {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  pointer-events: auto;
}
#vd-overlay.vd-still .verdant-overlay,
#vd-overlay.vd-still .verdant-modal {
  animation: none;
}
.vd-app .category-icon svg.i { width: 26px; height: 26px; }
@media (max-width: 767px) {
  .vd-app .category-icon svg.i { width: 22px; height: 22px; }
}
.vd-app button:focus-visible,
.vd-app a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.task-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: var(--card); color: inherit; text-decoration: none;
  border: 1px solid var(--border); border-radius: 5px; padding: 18px; min-height: 118px;
}
.task-card strong { font: 500 34px var(--font-display); line-height: 1; }
.task-card span { font-size: 14px; }
.status-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.status-tabs .on { background: var(--secondary); color: var(--leaf); }
.stock-cell { display: flex; align-items: center; gap: 8px; }
.vd-app button.stock-open {
  background: var(--secondary); color: inherit; border: 1px solid var(--border);
  border-radius: 6px; min-height: 44px; padding: 8px 12px; width: 100%;
  justify-content: flex-start; font-size: 15px;
}
.vd-app .row-menu button {
  background: transparent; color: inherit; border: 0; width: 100%;
  justify-content: flex-start; min-height: 32px;
}
.stock-pop, .row-menu {
  width: 240px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--border); border-radius: 6px; padding: 12px;
  box-shadow: var(--shadow-panel);
}
.row-menu { width: 180px; display: flex; flex-direction: column; gap: 4px; padding: 8px; }
.chip-row { display: flex; gap: 6px; margin: 8px 0; }
.field-error { color: var(--tomato); font-size: 12px; margin: 4px 0 0; }
.photo-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 4px; background: var(--secondary); }
.inline-add { display: flex; gap: 8px; align-items: center; }
.inline-add input { flex: 1; }
.prod-cards { display: none; }
.order-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-row .row-actions { position: relative; }
.filter-banner { margin: 0 0 12px; }
.qty-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; width: 88px; }
.home-chart .vd-bars { height: 168px; }
.revenue-total { font: 500 34px var(--font-display); line-height: 1; margin-top: 4px; color: var(--foreground); }
.vd-bars b { font: 500 11px var(--font-mono); color: var(--foreground); white-space: nowrap; }
.cat-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cat-card { background: var(--card); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.cat-card.open { grid-column: 1 / -1; }
.vd-app button.cat-face {
  background: transparent; color: inherit; border: 0; width: 100%;
  min-height: 112px; padding: 18px; display: flex; align-items: center;
  justify-content: flex-start; gap: 14px; text-align: start; border-radius: 0;
}
.vd-app button.cat-face img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.vd-app button.cat-face h3 { font: 500 26px var(--font-display); }
.vd-app button.cat-face p { color: var(--muted-foreground); font-size: 13px; margin-top: 2px; }
.face-count { font: 500 34px var(--font-display); min-width: 48px; color: var(--saffron); line-height: 1; }
.cat-card.open .shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; padding: 0 14px 14px; }
.shelf-item { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 5px; }
@media (max-width: 767px) {
  .cat-board { grid-template-columns: 1fr 1fr; }
  .cat-card.open .shelf { grid-template-columns: 1fr; }
}
.vd-flash { animation: vd-flash 1.4s ease; }
@keyframes vd-flash { from { background: oklch(0.92 0.06 95); } to { background: transparent; } }
#vd-toast-live .vd-toast a,
#vd-toast-live .vd-toast button {
  color: inherit; margin-left: 10px; text-decoration: underline;
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
}
.product-cell { display: flex; align-items: center; gap: 12px; }
@media (max-width: 767px) {
  .task-grid { grid-template-columns: 1fr; }
  .prod-table { display: none; }
  .prod-cards { display: grid; gap: 12px; }
  .prod-card { background: var(--card); border: 1px solid var(--border); border-radius: 5px; padding: 12px; display: grid; gap: 8px; }
  .order-row { flex-direction: column; align-items: stretch; }
  .row-actions { flex-wrap: wrap; }
  .vd-app button.vd-cart { bottom: 78px; }
  .shop-footer { padding-bottom: 150px; }
}
.vd-sitebar { display: none; }
.gateway { padding-inline-start: max(72px, 5.3%); }
.shop-header { padding-inline-start: max(72px, 4.5%); }
.admin-sidebar > a:first-child { margin-top: 46px; }
.shop-footer { padding-bottom: 96px; }
a.vd-back {
  position: fixed; top: 14px; left: 14px; z-index: 70;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px oklch(0.2 0.03 150 / 0.18);
  text-decoration: none;
}
a.vd-back svg { width: 18px; height: 18px; }
.vd-app button.vd-cart {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 56px; height: 56px; min-height: 56px; padding: 0;
  border-radius: 50%; background: var(--leaf); color: var(--paper);
  box-shadow: 0 10px 24px oklch(0.2 0.03 150 / 0.28);
}
.vd-app button.vd-cart[hidden] { display: none; }
.vd-app button.vd-cart svg { width: 22px; height: 22px; }
.vd-cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 99px; background: var(--tomato); color: var(--paper);
  font: 600 11px var(--font-mono); display: grid; place-items: center;
}
.vd-cart-count[hidden] { display: none; }
.crud-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.vd-app button.main-act,
.vd-app a.main-act,
.form-footer button[type="submit"] {
  min-height: 48px; padding: 12px 20px; font-size: 16px; font-weight: 600;
  background: var(--saffron); color: var(--ink); border-radius: 6px;
}
.card-actions { display: flex; gap: 8px; align-items: center; position: relative; }
.card-actions .main-act { flex: 1; }
.cat-card.open .shelf > .main-act { grid-column: 1 / -1; min-height: 48px; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.item-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 6px;
  padding: 14px; display: grid; gap: 8px; align-content: start;
  color: inherit; text-decoration: none;
}
.item-card h3 { font: 500 22px var(--font-display); }
.item-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.item-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.group-label { font: 500 22px var(--font-display); margin: 4px 0 10px; }
.settings-board { margin-bottom: 16px; }
.crud-card strong { font: 500 22px var(--font-display); display: block; }
.admin-header-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) {
  .item-grid, .crud-cards { grid-template-columns: 1fr; }
}
.crud-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 5px;
  padding: 12px; display: grid; gap: 6px;
}
.basket-drawer { display: flex; flex-direction: column; padding: 0; }
.basket-drawer .modal-heading { margin: 0; padding: 18px 18px 8px; }
.basket-scroll { flex: 1; min-height: 0; overflow: auto; padding: 0 18px 12px; }
.basket-foot { border-top: 1px solid var(--border); padding: 14px 18px 18px; background: var(--paper); }
.basket-item-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.basket-item { align-items: flex-start; }
.basket-item img { width: 64px; height: 64px; }
