/* src/styles.css */
:root {
  --primary: #c53030;
  --accent: #3f0f0f;
  --ink: #2e0f0f;
  --muted: #8b3030;
  --bg: #fff6f5;
  --surface: #fff1f0;
  --surface-strong: #ffe7e6;
  --border: #f1a5a5;
  --nav-bg: #fff1f0;
  --nav-border: #f1a5a5;
  --nav-text: #2e0f0f;
  --brand-gradient:
    linear-gradient(
      145deg,
      #c53030,
      #f87171);
  --hero-gradient:
    linear-gradient(
      110deg,
      #fff1f0,
      #ffe4e1);
  --hero-border: #f1a5a5;
  --card-surface: #fff7f6;
  --card-border: #f1a5a5;
  --pill-soft-bg: #fff9f8;
  --pill-soft-border: #f1a5a5;
  --chip-bg: #fff3f2;
  --shadow-strong: 0 12px 32px -22px rgba(197, 48, 48, 0.45);
  --admin-primary: #c53030;
  --admin-primary-strong: #991b1b;
  --admin-ink: #2e0f0f;
  --admin-muted: #8b3030;
  --admin-surface: #fff;
  --admin-surface-strong: #fff6f5;
  --admin-border: #f1a5a5;
  --admin-ghost-border: #f1a5a5;
  --admin-hero:
    linear-gradient(
      90deg,
      #fff1f0,
      #ffe4e1);
  --admin-pill: #c53030;
  --admin-pill-ghost: #fff3f2;
  --admin-pill-ghost-border: #f1a5a5;
  --admin-card-shadow: 0 6px 18px -10px rgba(47, 12, 12, 0.25);
  --admin-chip-bg: #fff3f2;
  --admin-chip-border: #f1a5a5;
  --admin-success: #22c55e;
  --admin-success-bg: #dcfce7;
  --admin-success-text: #166534;
  --admin-table-zebra: #fff1f0;
  --admin-table-hover: #ffe4e1;
  --admin-soft-stroke: #f1a5a5;
  --admin-upload-bg: #fff6f5;
  --admin-hero-border: #f1a5a5;
  --admin-ink-contrast: #fff;
}
:root.theme-crimson {
  --primary: #c53030;
  --accent: #3f0f0f;
  --ink: #2e0f0f;
  --muted: #8b3030;
  --bg: #fff6f5;
  --surface: #fff1f0;
  --surface-strong: #ffe7e6;
  --border: #f1a5a5;
  --nav-bg: #fff1f0;
  --nav-border: #f1a5a5;
  --nav-text: #2e0f0f;
  --brand-gradient:
    linear-gradient(
      145deg,
      #c53030,
      #f87171);
  --hero-gradient:
    linear-gradient(
      110deg,
      #fff1f0,
      #ffe4e1);
  --hero-border: #f1a5a5;
  --card-surface: #fff7f6;
  --card-border: #f1a5a5;
  --pill-soft-bg: #fff9f8;
  --pill-soft-border: #f1a5a5;
  --chip-bg: #fff3f2;
  --shadow-strong: 0 12px 32px -22px rgba(197, 48, 48, 0.45);
}
:root.theme-rosewood {
  --primary: #8c1d18;
  --accent: #2c0d0c;
  --ink: #240a0a;
  --muted: #7a1f1a;
  --bg: #fff7f5;
  --surface: #fff1ee;
  --surface-strong: #ffe6e1;
  --border: #efb3ae;
  --nav-bg: #fff1ee;
  --nav-border: #efb3ae;
  --nav-text: #240a0a;
  --brand-gradient:
    linear-gradient(
      145deg,
      #8c1d18,
      #d94654);
  --hero-gradient:
    linear-gradient(
      115deg,
      #fff1ee,
      #ffe2dd);
  --hero-border: #efb3ae;
  --card-surface: #fff7f6;
  --card-border: #efb3ae;
  --pill-soft-bg: #fff5f2;
  --pill-soft-border: #efb3ae;
  --chip-bg: #fff1ee;
  --shadow-strong: 0 12px 32px -22px rgba(140, 29, 24, 0.45);
}
:root.theme-ember {
  --primary: #e25a3b;
  --accent: #3c1c12;
  --ink: #2f140e;
  --muted: #9a3c28;
  --bg: #fff6f1;
  --surface: #fff0ea;
  --surface-strong: #ffe3d6;
  --border: #f3c2ac;
  --nav-bg: #fff0ea;
  --nav-border: #f3c2ac;
  --nav-text: #2f140e;
  --brand-gradient:
    linear-gradient(
      145deg,
      #e25a3b,
      #f2994a);
  --hero-gradient:
    linear-gradient(
      115deg,
      #fff0ea,
      #ffe3d6);
  --hero-border: #f3c2ac;
  --card-surface: #fff7f2;
  --card-border: #f3c2ac;
  --pill-soft-bg: #fff5ef;
  --pill-soft-border: #f3c2ac;
  --chip-bg: #fff1ea;
  --shadow-strong: 0 12px 32px -22px rgba(226, 90, 59, 0.4);
}
:root.theme-aqua {
  --primary: #0ea5e9;
  --accent: #0f172a;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #f1f5f9;
  --border: #e2e8f0;
  --nav-bg: #ffffff;
  --nav-border: #e2e8f0;
  --nav-text: #0f172a;
  --brand-gradient:
    linear-gradient(
      145deg,
      #0ea5e9,
      #38bdf8);
  --hero-gradient:
    linear-gradient(
      110deg,
      #e0f2fe,
      #f8fafc);
  --hero-border: #e0f2fe;
  --card-surface: #ffffff;
  --card-border: #e2e8f0;
  --pill-soft-bg: #ffffff;
  --pill-soft-border: #e2e8f0;
  --chip-bg: #f8fafc;
  --shadow-strong: 0 12px 32px -22px rgba(14, 165, 233, 0.45);
}
:root.theme-sunset {
  --primary: #f97316;
  --accent: #231815;
  --ink: #231815;
  --muted: #7c2d12;
  --bg: #fff5eb;
  --surface: #fff7ed;
  --surface-strong: #fff1e6;
  --border: #fed7aa;
  --nav-bg: #fff3e0;
  --nav-border: #fdba74;
  --nav-text: #231815;
  --brand-gradient:
    linear-gradient(
      145deg,
      #fb923c,
      #f97316);
  --hero-gradient:
    linear-gradient(
      120deg,
      #fff7ed,
      #ffedd5);
  --hero-border: #fdba74;
  --card-surface: #fff7ed;
  --card-border: #fed7aa;
  --pill-soft-bg: #fff3e0;
  --pill-soft-border: #fdba74;
  --chip-bg: #fff3e0;
  --shadow-strong: 0 12px 32px -22px rgba(249, 115, 22, 0.45);
}
:root.theme-forest {
  --primary: #22c55e;
  --accent: #102617;
  --ink: #102617;
  --muted: #2f5f3a;
  --bg: #f3fff4;
  --surface: #f8fff5;
  --surface-strong: #eefbee;
  --border: #c4e8c6;
  --nav-bg: #f1fff4;
  --nav-border: #bbf7d0;
  --nav-text: #102617;
  --brand-gradient:
    linear-gradient(
      145deg,
      #22c55e,
      #84cc16);
  --hero-gradient:
    linear-gradient(
      120deg,
      #e8ffe3,
      #f2fff0);
  --hero-border: #9ae6b4;
  --card-surface: #f8fff5;
  --card-border: #c4e8c6;
  --pill-soft-bg: #f1fff4;
  --pill-soft-border: #bbf7d0;
  --chip-bg: #edfff1;
  --shadow-strong: 0 12px 34px -22px rgba(34, 197, 94, 0.35);
}
:root.theme-noir {
  --primary: #8b5cf6;
  --accent: #e2e8f0;
  --ink: #e2e8f0;
  --muted: #cbd5e1;
  --bg: #0b1220;
  --surface: #0f172a;
  --surface-strong: #0b1220;
  --border: #1f2937;
  --nav-bg: #0b1220;
  --nav-border: #1f2937;
  --nav-text: #e2e8f0;
  --brand-gradient:
    linear-gradient(
      145deg,
      #312e81,
      #8b5cf6);
  --hero-gradient:
    linear-gradient(
      140deg,
      #0b1220,
      #111827);
  --hero-border: #1f2937;
  --card-surface: #0f172a;
  --card-border: #1f2937;
  --pill-soft-bg: #111827;
  --pill-soft-border: #334155;
  --chip-bg: #111827;
  --shadow-strong: 0 18px 46px -28px rgba(15, 23, 42, 0.75);
}
:root.theme-berry {
  --primary: #ec4899;
  --accent: #3b0a2f;
  --ink: #3b0a2f;
  --muted: #9d174d;
  --bg: #fff5fb;
  --surface: #fff0f7;
  --surface-strong: #ffe4f1;
  --border: #f9a8d4;
  --nav-bg: #fff0f7;
  --nav-border: #f9a8d4;
  --nav-text: #3b0a2f;
  --brand-gradient:
    linear-gradient(
      145deg,
      #ec4899,
      #a855f7);
  --hero-gradient:
    linear-gradient(
      120deg,
      #ffe4f1,
      #fef2f8);
  --hero-border: #fbcfe8;
  --card-surface: #fff0f7;
  --card-border: #fbcfe8;
  --pill-soft-bg: #fff7fb;
  --pill-soft-border: #fbcfe8;
  --chip-bg: #fff7fb;
  --shadow-strong: 0 14px 32px -22px rgba(236, 72, 153, 0.35);
}
:root.theme-mint {
  --primary: #06b6d4;
  --accent: #0f172a;
  --ink: #0b2a34;
  --muted: #0e7490;
  --bg: #f0fdfa;
  --surface: #ffffff;
  --surface-strong: #ecfeff;
  --border: #bae6fd;
  --nav-bg: #ecfeff;
  --nav-border: #bae6fd;
  --nav-text: #0b2a34;
  --brand-gradient:
    linear-gradient(
      145deg,
      #06b6d4,
      #22d3ee);
  --hero-gradient:
    linear-gradient(
      120deg,
      #e0fbff,
      #f5feff);
  --hero-border: #bae6fd;
  --card-surface: #ffffff;
  --card-border: #bae6fd;
  --pill-soft-bg: #ecfeff;
  --pill-soft-border: #bae6fd;
  --chip-bg: #e0fbff;
  --shadow-strong: 0 12px 34px -22px rgba(6, 182, 212, 0.35);
}
:root.theme-sand {
  --primary: #d97757;
  --accent: #422006;
  --ink: #422006;
  --muted: #7c2d12;
  --bg: #fff8ef;
  --surface: #fff4e8;
  --surface-strong: #ffeddc;
  --border: #fcd9bd;
  --nav-bg: #fff4e8;
  --nav-border: #fcd9bd;
  --nav-text: #422006;
  --brand-gradient:
    linear-gradient(
      145deg,
      #d97757,
      #f8c88c);
  --hero-gradient:
    linear-gradient(
      120deg,
      #fff1e0,
      #ffead3);
  --hero-border: #f7caa0;
  --card-surface: #fff4e8;
  --card-border: #fcd9bd;
  --pill-soft-bg: #fff1e4;
  --pill-soft-border: #fcd9bd;
  --chip-bg: #fff1e4;
  --shadow-strong: 0 12px 32px -22px rgba(217, 119, 87, 0.35);
}
:root.theme-navy {
  --primary: #1d4ed8;
  --accent: #0b1a42;
  --ink: #0b1a42;
  --muted: #334155;
  --bg: #eef2ff;
  --surface: #ffffff;
  --surface-strong: #e0e7ff;
  --border: #c7d2fe;
  --nav-bg: #eef2ff;
  --nav-border: #c7d2fe;
  --nav-text: #0b1a42;
  --brand-gradient:
    linear-gradient(
      145deg,
      #1d4ed8,
      #0ea5e9);
  --hero-gradient:
    linear-gradient(
      120deg,
      #e0e7ff,
      #eef2ff);
  --hero-border: #c7d2fe;
  --card-surface: #ffffff;
  --card-border: #c7d2fe;
  --pill-soft-bg: #eef2ff;
  --pill-soft-border: #c7d2fe;
  --chip-bg: #e0e7ff;
  --shadow-strong: 0 16px 40px -24px rgba(29, 78, 216, 0.35);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}
.nav {
  position: sticky;
  top: 0;
  background: var(--nav-bg);
  color: var(--nav-text);
  border-bottom: 1px solid var(--nav-border);
  z-index: 10;
  padding: 10px 0;
  box-shadow: 0 6px 18px -16px color-mix(in srgb, var(--primary) 38%, transparent);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--nav-text);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--brand-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px -18px color-mix(in srgb, var(--primary) 82%, transparent);
}
.nav__subtitle {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nav__link {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--nav-text);
  text-decoration: none;
  border: 1px solid transparent;
}
.nav__link:hover {
  background: var(--surface-strong);
  border-color: var(--nav-border);
}
.nav__button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: var(--nav-text);
}
.nav__cta {
  box-shadow: 0 12px 32px -20px color-mix(in srgb, var(--primary) 70%, transparent);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 12px;
  background: var(--surface);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 32px -20px color-mix(in srgb, var(--primary) 70%, transparent);
}
.btn.ghost {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface-strong);
}
.btn.danger {
  border-color: #ef4444;
  color: #ef4444;
}
.badge {
  display: inline-block;
  background: var(--chip-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
}
.input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.card {
  background: var(--card-surface);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 28px -20px color-mix(in srgb, var(--primary) 35%, transparent);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -22px color-mix(in srgb, var(--primary) 45%, transparent);
}
.card img {
  width: 85%;
  height: 270px;
  object-fit: cover;
  background: var(--card-border);
}
.card .body {
  padding: 12px;
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.price {
  font-weight: 700;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
.footer {
  margin-top: 40px;
  padding: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.catbar {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 8px 0;
}
.catbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  white-space: nowrap;
  color: var(--ink);
}
.catbtn.active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  color: var(--ink);
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.tr-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 860px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.preview {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}
.hidden {
  display: none;
}
.table-wrap {
  overflow-x: auto;
}
.qty-input {
  max-width: 110px;
}
.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 4px;
  flex-wrap: wrap;
}
.pagination .page-info {
  font-weight: 700;
  color: var(--ink);
}
.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: white;
  border: 1px solid color-mix(in srgb, var(--primary) 70%, white 30%);
  box-shadow: 0 18px 38px -20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.floating-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px -18px color-mix(in srgb, var(--primary) 50%, rgba(0, 0, 0, 0.25));
}
.floating-cart:active {
  transform: translateY(0);
}
.floating-cart__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 20px;
}
.floating-cart__meta {
  line-height: 1.25;
  text-align: left;
}
.floating-cart__count {
  font-weight: 800;
  font-size: 15px;
}
.floating-cart__total {
  font-size: 13px;
  opacity: 0.9;
}
.cart-flyout {
  position: fixed;
  inset: 0;
  z-index: 45;
}
.cart-flyout__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.cart-flyout__panel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: min(420px, 94vw);
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 26px 52px -24px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-flyout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-flyout__title {
  margin: 0;
}
.cart-flyout__body {
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.cart-flyout__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-flyout__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 90%, var(--bg) 10%);
}
.cart-flyout__name {
  font-weight: 700;
}
.cart-flyout__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cart-flyout__line {
  font-weight: 700;
  color: var(--ink);
}
.cart-flyout__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
.cart-flyout__sum {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.admin-login-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 4px;
}
.admin-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-shell.theme-sunset {
  --admin-primary: #f97316;
  --admin-primary-strong: #ea580c;
  --admin-ink: #231815;
  --admin-muted: #7c2d12;
  --admin-surface: #fff7ed;
  --admin-surface-strong: #fff1e6;
  --admin-border: #fed7aa;
  --admin-ghost-border: #fdba74;
  --admin-hero:
    linear-gradient(
      120deg,
      #fff7ed,
      #ffedd5);
  --admin-pill: #f97316;
  --admin-pill-ghost: #fff3e0;
  --admin-pill-ghost-border: #fdba74;
  --admin-card-shadow: 0 12px 32px -22px rgba(249, 115, 22, 0.45);
  --admin-chip-bg: #ffedd5;
  --admin-chip-border: #fdba74;
  --admin-success: #22c55e;
  --admin-success-bg: #ecfdf3;
  --admin-success-text: #166534;
  --admin-table-zebra: #fff6ed;
  --admin-table-hover: #ffeada;
  --admin-soft-stroke: #fdba74;
  --admin-upload-bg: #fff7ed;
  --admin-hero-border: #fdba74;
}
.admin-shell.theme-forest {
  --admin-primary: #22c55e;
  --admin-primary-strong: #15803d;
  --admin-ink: #102617;
  --admin-muted: #2f5f3a;
  --admin-surface: #f8fff5;
  --admin-surface-strong: #eefbee;
  --admin-border: #c4e8c6;
  --admin-ghost-border: #9ae6b4;
  --admin-hero:
    linear-gradient(
      120deg,
      #e8ffe3,
      #f2fff0);
  --admin-pill: #22c55e;
  --admin-pill-ghost: #f1fff4;
  --admin-pill-ghost-border: #9ae6b4;
  --admin-card-shadow: 0 12px 34px -22px rgba(34, 197, 94, 0.35);
  --admin-chip-bg: #edfff1;
  --admin-chip-border: #befae0;
  --admin-success: #22c55e;
  --admin-success-bg: #dcfce7;
  --admin-success-text: #166534;
  --admin-table-zebra: #f3fff4;
  --admin-table-hover: #e5ffed;
  --admin-soft-stroke: #bbf7d0;
  --admin-upload-bg: #f3fff6;
  --admin-hero-border: #9ae6b4;
}
.admin-shell.theme-noir {
  --admin-primary: #8b5cf6;
  --admin-primary-strong: #7c3aed;
  --admin-ink: #e2e8f0;
  --admin-muted: #cbd5e1;
  --admin-surface: #0f172a;
  --admin-surface-strong: #0b1220;
  --admin-border: #1f2937;
  --admin-ghost-border: #334155;
  --admin-hero:
    linear-gradient(
      140deg,
      #0b1220,
      #111827);
  --admin-pill: #8b5cf6;
  --admin-pill-ghost: #111827;
  --admin-pill-ghost-border: #334155;
  --admin-card-shadow: 0 18px 46px -28px rgba(15, 23, 42, 0.75);
  --admin-chip-bg: #111827;
  --admin-chip-border: #334155;
  --admin-success: #22c55e;
  --admin-success-bg: #0f172a;
  --admin-success-text: #4ade80;
  --admin-table-zebra: #0b1626;
  --admin-table-hover: #101c2f;
  --admin-soft-stroke: #233146;
  --admin-upload-bg: #0f172a;
  --admin-hero-border: #1f2937;
  --admin-ink-contrast: #fff;
}
.admin-shell.theme-berry {
  --admin-primary: #ec4899;
  --admin-primary-strong: #db2777;
  --admin-ink: #3b0a2f;
  --admin-muted: #9d174d;
  --admin-surface: #fff0f7;
  --admin-surface-strong: #ffe4f1;
  --admin-border: #fbcfe8;
  --admin-ghost-border: #f9a8d4;
  --admin-hero:
    linear-gradient(
      120deg,
      #ffe4f1,
      #fef2f8);
  --admin-pill: #ec4899;
  --admin-pill-ghost: #fff7fb;
  --admin-pill-ghost-border: #fbcfe8;
  --admin-card-shadow: 0 12px 32px -22px rgba(236, 72, 153, 0.35);
  --admin-chip-bg: #fff7fb;
  --admin-chip-border: #fbcfe8;
  --admin-success: #22c55e;
  --admin-success-bg: #ecfdf3;
  --admin-success-text: #166534;
  --admin-table-zebra: #fff4fa;
  --admin-table-hover: #ffe9f4;
  --admin-soft-stroke: #f9a8d4;
  --admin-upload-bg: #fff0f7;
  --admin-hero-border: #fbcfe8;
}
.admin-shell.theme-mint {
  --admin-primary: #06b6d4;
  --admin-primary-strong: #0ea5e9;
  --admin-ink: #0b2a34;
  --admin-muted: #0e7490;
  --admin-surface: #ffffff;
  --admin-surface-strong: #ecfeff;
  --admin-border: #bae6fd;
  --admin-ghost-border: #bae6fd;
  --admin-hero:
    linear-gradient(
      120deg,
      #e0fbff,
      #f5feff);
  --admin-pill: #06b6d4;
  --admin-pill-ghost: #ecfeff;
  --admin-pill-ghost-border: #bae6fd;
  --admin-card-shadow: 0 12px 34px -22px rgba(6, 182, 212, 0.35);
  --admin-chip-bg: #ecfeff;
  --admin-chip-border: #bae6fd;
  --admin-success: #22c55e;
  --admin-success-bg: #dcfce7;
  --admin-success-text: #166534;
  --admin-table-zebra: #f3fdff;
  --admin-table-hover: #e6fbff;
  --admin-soft-stroke: #bae6fd;
  --admin-upload-bg: #f5feff;
  --admin-hero-border: #bae6fd;
}
.admin-shell.theme-sand {
  --admin-primary: #d97757;
  --admin-primary-strong: #b45309;
  --admin-ink: #422006;
  --admin-muted: #7c2d12;
  --admin-surface: #fff4e8;
  --admin-surface-strong: #ffeddc;
  --admin-border: #fcd9bd;
  --admin-ghost-border: #f7caa0;
  --admin-hero:
    linear-gradient(
      120deg,
      #fff1e0,
      #ffead3);
  --admin-pill: #d97757;
  --admin-pill-ghost: #fff1e4;
  --admin-pill-ghost-border: #fcd9bd;
  --admin-card-shadow: 0 12px 32px -22px rgba(217, 119, 87, 0.35);
  --admin-chip-bg: #fff1e4;
  --admin-chip-border: #fcd9bd;
  --admin-success: #22c55e;
  --admin-success-bg: #ecfdf3;
  --admin-success-text: #166534;
  --admin-table-zebra: #fff8f0;
  --admin-table-hover: #fff0e0;
  --admin-soft-stroke: #fcd9bd;
  --admin-upload-bg: #fff4e8;
  --admin-hero-border: #f7caa0;
}
.admin-shell.theme-navy {
  --admin-primary: #1d4ed8;
  --admin-primary-strong: #1d4ed8;
  --admin-ink: #0b1a42;
  --admin-muted: #334155;
  --admin-surface: #ffffff;
  --admin-surface-strong: #e0e7ff;
  --admin-border: #c7d2fe;
  --admin-ghost-border: #c7d2fe;
  --admin-hero:
    linear-gradient(
      120deg,
      #e0e7ff,
      #eef2ff);
  --admin-pill: #1d4ed8;
  --admin-pill-ghost: #eef2ff;
  --admin-pill-ghost-border: #c7d2fe;
  --admin-card-shadow: 0 16px 40px -24px rgba(29, 78, 216, 0.35);
  --admin-chip-bg: #eef2ff;
  --admin-chip-border: #c7d2fe;
  --admin-success: #22c55e;
  --admin-success-bg: #dcfce7;
  --admin-success-text: #166534;
  --admin-table-zebra: #f4f6ff;
  --admin-table-hover: #e9edff;
  --admin-soft-stroke: #c7d2fe;
  --admin-upload-bg: #eef2ff;
  --admin-hero-border: #c7d2fe;
}
.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  background: var(--admin-hero);
  color: var(--admin-ink);
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--admin-hero-border);
  border-radius: 12px;
  background: var(--admin-surface);
  color: var(--admin-ink);
  font-weight: 700;
  white-space: nowrap;
}
.panel {
  border: 1px solid var(--admin-border);
  background: var(--admin-surface);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--admin-card-shadow);
  color: var(--admin-ink);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--admin-border);
  padding-bottom: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--admin-primary);
  font-weight: 700;
  margin: 0;
}
.muted {
  color: var(--admin-muted);
  margin: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--admin-pill);
  color: var(--admin-ink-contrast);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid transparent;
}
.pill-ghost {
  background: var(--admin-pill-ghost);
  border: 1px solid var(--admin-pill-ghost-border);
  color: var(--admin-ink);
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--admin-chip-bg);
  color: var(--admin-primary);
  font-weight: 700;
  border: 1px solid var(--admin-chip-border);
}
.admin-card {
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.two-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.full-row {
  grid-column: 1 / -1;
}
.upload-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--admin-upload-bg);
  border: 1px dashed var(--admin-soft-stroke);
  border-radius: 12px;
  padding: 12px;
}
.image-chip {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--admin-success-bg);
  color: var(--admin-success-text);
  font-weight: 700;
}
.preview-frame {
  background: var(--admin-upload-bg);
  border: 1px dashed var(--admin-soft-stroke);
  border-radius: 14px;
  padding: 10px;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.preview-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.preview-tile .preview {
  height: 180px;
}
.btn.tiny {
  padding: 6px 10px;
  font-size: 12px;
  width: 100%;
}
.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.btn.wide {
  width: 100%;
  max-width: 220px;
}
.category-add-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.category-add-row .btn {
  white-space: nowrap;
}
.category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.category-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.category-row__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-shell .btn {
  border-color: var(--admin-primary);
  color: var(--admin-primary);
  background: var(--admin-surface);
  box-shadow: none;
}
.admin-shell .btn.primary {
  background: var(--admin-primary);
  color: var(--admin-ink-contrast);
}
.admin-shell .btn.danger {
  border-color: #b91c1c;
  color: #b91c1c;
}
.admin-shell .btn.ghost {
  border-color: var(--admin-ghost-border);
  background: var(--admin-pill-ghost);
  color: var(--admin-ink);
}
.admin-shell .input,
.admin-shell textarea.input {
  border-color: var(--admin-border);
  background: var(--admin-surface);
  color: var(--admin-ink);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  padding: 22px 16px;
}
.hero-cart {
  grid-template-columns: 1fr;
}
.hero-shop {
  background: var(--hero-gradient);
  border: 1px solid var(--hero-border);
  border-radius: 18px;
}
.hero-title {
  font-size: 26px;
  margin: 4px 0 6px;
  font-weight: 800;
}
.hero-copy .muted {
  font-size: 14px;
  line-height: 1.5;
}
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-strong);
}
.hero-panel--wide {
  width: 100%;
  max-width: 100%;
}
.hero-panel-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.hero-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.filter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 20px -18px color-mix(in srgb, var(--primary) 35%, transparent);
}
.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.product-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      var(--card-surface) 0%,
      var(--bg) 100%);
  box-shadow: 0 18px 50px -30px color-mix(in srgb, var(--primary) 38%, transparent);
}
.product-media {
  position: relative;
  padding: 14px 14px 6px;
}
.product-img-frame {
  background: color-mix(in srgb, var(--hero-gradient) 60%, var(--surface));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 90%, var(--primary) 10%);
  box-shadow: 0 16px 45px -34px rgba(15, 23, 42, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.product-card:hover .product-img {
  transform: scale(1.03);
}
.gallery-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.sku-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
.tag {
  position: absolute;
  bottom: 14px;
  left: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  font-weight: 800;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 22px -18px color-mix(in srgb, var(--primary) 45%, transparent);
}
.product-body {
  gap: 12px;
  padding: 12px 14px 16px;
}
.product-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.product-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.product-name {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.product-desc {
  margin-top: 4px;
  line-height: 1.4;
}
.price-block {
  text-align: right;
  min-width: 86px;
}
.unit {
  font-size: 12px;
}
.unit-price {
  font-size: 20px;
  font-weight: 800;
}
.meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 26px -18px color-mix(in srgb, var(--primary) 80%, transparent);
}
.pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--pill-soft-bg);
  border: 1px solid var(--pill-soft-border);
  color: var(--ink);
  font-weight: 700;
}
.smallcaps {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 12px;
}
.hero .action-row {
  margin-top: 6px;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
}
.lightbox__dialog {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border-radius: 16px;
  padding: 18px;
  max-width: 960px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 30px 120px -40px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
  overflow: auto;
}
.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}
.lightbox__media {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.lightbox__media img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}
.lightbox__nav {
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  box-shadow: 0 10px 26px -16px color-mix(in srgb, var(--primary) 80%, transparent);
}
.lightbox__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
}
.lightbox__thumbs img {
  width: 86px;
  height: 64px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.85;
}
.lightbox__thumbs img.active {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: 0 10px 26px -18px color-mix(in srgb, var(--primary) 80%, transparent);
}
.lightbox__info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.lightbox__info h3 {
  margin: 4px 0;
}
@media (max-width: 700px) {
  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar .input {
    width: 100%;
  }
  .cart-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cart-actions .btn {
    width: 100%;
  }
  .table:not(.admin-table) th,
  .table:not(.admin-table) td {
    white-space: nowrap;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-panel-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .product-head {
    flex-direction: column;
  }
  .price-block {
    text-align: left;
  }
  .product-img-frame {
    height: 240px;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
