/* Santty Foods — 100% Faithful to Foto 2 */
:root {
  --bg-black: #020704;
  --bg-card: #06130b;
  --neon-green: #20f044;
  --mint-green: #2ff97e;
  --border-card: rgba(34, 197, 94, 0.22);
  --text-white: #ffffff;
  --text-muted: #85988d;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
}

body.foods-page-body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-black);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 75, 36, 0.25) 0%, transparent 45%),
    linear-gradient(180deg, #020704 0%, #030a06 100%);
  color: var(--text-white);
  font-family: var(--font-sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Centered Mobile Viewport Frame (Exact Replica of Foto 2) */
.app-viewport-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 0 12px 90px;
  min-height: 100vh;
  position: relative;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 7, 4, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(34, 197, 94, 0.12);
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.crown-glow-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.8px solid var(--neon-green);
  background: radial-gradient(circle, #083317 0%, #031409 100%);
  box-shadow: 0 0 14px rgba(32, 240, 68, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-crown-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(32, 240, 68, 0.6));
}

.brand-nametag {
  display: flex;
  flex-direction: column;
}

.header-wordmark-img {
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  object-position: left;
}

.studio-hair-sub {
  color: #d6e2d8;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  margin-top: 1px;
}

.header-menu-button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(5, 20, 11, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.menu-bar {
  width: 17px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
}

.header-dropdown-menu {
  display: none;
  position: absolute;
  top: 56px;
  right: 0;
  background: #05180e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
  z-index: 60;
}

.header-dropdown-menu.open {
  display: flex;
}

.header-dropdown-menu a {
  color: #e1ede4;
  text-decoration: none;
  font-size: 0.84rem;
  padding: 8px 12px;
  border-radius: 8px;
}

.header-dropdown-menu a:hover {
  background: #092817;
  color: var(--neon-green);
}

/* Hero Section */
.hero-experience-banner {
  position: relative;
  min-height: 215px;
  padding: 20px 0 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  background-image: 
    linear-gradient(90deg, rgba(2, 7, 4, 0.98) 0%, rgba(2, 7, 4, 0.85) 54%, rgba(2, 7, 4, 0.32) 100%),
    url('/assets/foods/hero-chair-bg.jpg');
  background-position: right top;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 12px;
}

.hero-content-col {
  flex: 1;
  min-width: 0;
  z-index: 2;
}

.hero-tag-cardapio {
  display: inline-block;
  color: var(--neon-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  margin-bottom: 5px;
  text-shadow: 0 0 8px rgba(32, 240, 68, 0.45);
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 8px;
  color: #ffffff;
}

.hero-italic-green {
  font-style: italic;
  font-weight: 500;
  color: var(--neon-green);
  display: block;
  text-shadow: 0 0 14px rgba(32, 240, 68, 0.45);
}

.hero-description {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0;
  max-width: 250px;
}

/* Floating Glass Seal Badge (Exact match to Foto 2) */
.hero-glass-seal {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: radial-gradient(circle, rgba(6, 26, 14, 0.85) 0%, rgba(2, 11, 6, 0.95) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  padding: 6px;
  box-shadow: 0 0 16px rgba(10, 45, 22, 0.55);
  z-index: 2;
  margin-top: 4px;
}

.seal-crown-wrap {
  width: 28px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.seal-crown-icon {
  width: 22px;
  height: 16px;
  filter: drop-shadow(0 0 4px rgba(32, 240, 68, 0.7));
}

.seal-words {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.seal-words span {
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  color: #e2ede4;
}

.seal-green-line {
  width: 16px;
  height: 1.5px;
  background-color: var(--neon-green);
  border-radius: 1px;
  margin-top: 2.5px;
  box-shadow: 0 0 4px var(--neon-green);
}

/* Category Pills Filter (2 Clean Rows as in Foto 2) */
.categories-filter-section {
  margin-bottom: 14px;
}

.pills-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.filter-pill {
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(5, 18, 10, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #dbe7df;
  padding: 7px 11px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill .pill-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.filter-pill:hover {
  border-color: var(--neon-green);
  color: #ffffff;
  background: rgba(8, 30, 16, 0.9);
}

.filter-pill.active {
  background: linear-gradient(135deg, #13b544 0%, #0d7f30 100%);
  border-color: #2ff97e;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(32, 240, 68, 0.35);
}

/* Product Catalog (Strictly 2 Columns) */
.products-catalog-section {
  margin-bottom: 24px;
}

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

/* Individual Product Card */
.food-card-box {
  background: linear-gradient(180deg, #07150d 0%, #040e08 100%);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.food-card-box:hover {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 4px 18px rgba(32, 240, 68, 0.12);
}

.food-card-box:active,
.food-card-box.card-click-pop {
  transform: scale(0.97);
  border-color: var(--neon-green);
}

.btn-plus-order.btn-pulse-active {
  animation: plusPulse 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes plusPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); background: var(--neon-green); color: #020704; box-shadow: 0 0 14px rgba(32, 240, 68, 0.7); }
  100% { transform: scale(1); }
}

.product-thumb-holder {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: #0a1f13;
  overflow: hidden;
  position: relative;
}

/* Out of Stock & Paused Styles */
.food-card-box.out-of-stock {
  opacity: 0.65;
}

.out-of-stock-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220, 38, 38, 0.92);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.btn-plus-order:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.orders-paused-banner {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.product-actual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-meta-holder {
  padding: 9px 10px 11px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-main-heading {
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  margin: 0;
  word-break: break-word;
}

.product-size-label {
  font-size: 0.71rem;
  color: var(--text-muted);
  margin: 1px 0 0;
}

.product-cat-tag {
  font-size: 0.67rem;
  color: #61796b;
  margin: 1px 0 6px;
}

.product-price-action-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.product-price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mint-green);
  letter-spacing: -0.01em;
}

.btn-plus-order {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #052413;
  border: 1.5px solid var(--neon-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
  box-shadow: 0 0 6px rgba(32, 240, 68, 0.2);
  flex-shrink: 0;
}

.btn-plus-order svg {
  width: 16px;
  height: 16px;
}

.btn-plus-order:hover {
  background: var(--neon-green);
  color: #020704;
  box-shadow: 0 0 10px rgba(32, 240, 68, 0.45);
  transform: scale(1.06);
}

.btn-plus-order:active {
  transform: scale(0.92);
}

/* Special Coffee Promo Card (Beside Brigadeiro in Column 2) */
.special-coffee-card {
  background: linear-gradient(135deg, #07150d 0%, #040e08 100%);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  height: 100%;
  min-height: 165px;
  position: relative;
}

.coffee-card-copy {
  flex: 1;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

.coffee-crown-img {
  width: 20px;
  height: 14px;
  margin-bottom: 5px;
  filter: drop-shadow(0 0 3px rgba(32, 240, 68, 0.6));
}

.coffee-card-motto {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  color: #d3dfd7;
  margin: 0 0 5px;
}

.coffee-accent-bar {
  width: 18px;
  height: 1.5px;
  background-color: var(--neon-green);
  border-radius: 1px;
}

.coffee-card-photo {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.coffee-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sticky Bottom WhatsApp Button */
.sticky-footer-bar {
  position: fixed;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 420px;
  z-index: 80;
}

.btn-whatsapp-order {
  width: 100%;
  height: 52px;
  border-radius: 30px;
  border: 0;
  background: linear-gradient(90deg, #18e663 0%, #36f77e 100%);
  box-shadow: 0 8px 25px rgba(24, 230, 99, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 8px;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.btn-whatsapp-order:hover {
  filter: brightness(1.06);
}

.whatsapp-circle-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #021a0c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-btn-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: #02190c;
  flex: 1;
  text-align: center;
  padding: 0 6px;
  white-space: nowrap;
}

.whatsapp-badge {
  background: #02190c;
  color: #2ff97e;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  margin-right: 5px;
}

.whatsapp-arrow-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(2, 25, 12, 0.25);
  padding-left: 10px;
  color: #02190c;
  flex-shrink: 0;
}

/* Flyout Cart Drawer (Hidden by default, never displaces layout) */
[hidden],
.cart-backdrop[hidden],
.cart-flyout-drawer[hidden] {
  display: none !important;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 95;
}

.cart-flyout-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 420px);
  background: #041209;
  border-left: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
  z-index: 96;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  overflow-y: auto;
}

.flyout-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(34, 197, 94, 0.18);
  padding-bottom: 12px;
}

.flyout-kicker {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--neon-green);
}

.flyout-header h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin: 4px 0 0;
  color: #ffffff;
}

.flyout-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: #072212;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flyout-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.flyout-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #081d11;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
}

.flyout-item-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #0a1f13;
}

.flyout-item-meta {
  flex: 1;
  min-width: 0;
}

.flyout-item-meta b {
  display: block;
  font-size: 0.83rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flyout-item-meta small {
  color: var(--mint-green);
  font-size: 0.78rem;
  font-weight: 700;
}

.flyout-qty-ctrls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flyout-qty-ctrls button {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: #052614;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

.flyout-qty-ctrls span {
  font-size: 0.84rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

.flyout-empty-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.83rem;
  padding: 24px 10px;
  border: 1px dashed rgba(34, 197, 94, 0.2);
  border-radius: 12px;
}

.flyout-order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.flyout-order-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: #c9ded0;
}

.flyout-order-form input,
.flyout-order-form textarea {
  background: #071c10;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  padding: 10px 11px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.flyout-order-form input:focus,
.flyout-order-form textarea:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 8px rgba(32, 240, 68, 0.25);
}

.flyout-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(34, 197, 94, 0.2);
  padding-top: 10px;
  font-size: 1rem;
}

.flyout-subtotal-row strong {
  font-size: 1.3rem;
  color: var(--mint-green);
}

.flyout-notice {
  font-size: 0.74rem;
  color: #7b9484;
  line-height: 1.4;
  margin: 0;
}

.flyout-submit-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(90deg, #18e663 0%, #36f77e 100%);
  color: #021a0c;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(24, 230, 99, 0.35);
}

.flyout-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.flyout-status {
  font-size: 0.8rem;
  text-align: center;
  min-height: 16px;
  color: var(--mint-green);
}

/* ========================================================
   SANTTY FOODS ADMIN PANEL STYLES (/painel/foods/)
   ======================================================== */
.foods-admin {
  background: #020a06;
  color: #f8f6f0;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  margin: 0;
  padding: 0;
}

.foods-admin * {
  box-sizing: border-box;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 250px;
  flex-shrink: 0;
  background: linear-gradient(155deg, #021c0f, #031009 70%);
  border-right: 1px solid #17452a;
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
}

.admin-brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0 auto 28px;
  text-decoration: none;
}

.admin-brand .foods-crown {
  width: 65px;
  height: 65px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(32, 240, 68, 0.45));
}

.admin-brand .foods-wordmark {
  width: 158px;
  height: 60px;
  max-width: 158px;
  object-fit: contain;
  object-position: center;
  margin-top: 4px;
}

.admin-brand small {
  font-size: 0.68rem;
  letter-spacing: 0.36em;
  color: #76ffae;
  margin-top: -4px;
  font-weight: 700;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.admin-nav button {
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  color: #d8e3da;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-nav button span {
  font-size: 1.25rem;
  min-width: 22px;
  text-align: center;
}

.admin-nav button:hover {
  background: #0b2415;
  color: #ffffff;
}

.admin-nav button.active {
  border-color: #20f044;
  background: linear-gradient(100deg, #0d6b34, #034020);
  box-shadow: inset 0 0 20px rgba(32, 240, 68, 0.15);
  color: #ffffff;
  font-weight: 600;
}

.admin-nav i {
  font-size: 0.75rem;
  font-style: normal;
  background: #0c7236;
  color: #fff;
  padding: 3px 7px;
  border-radius: 15px;
  margin-left: auto;
}

.admin-side-footer {
  margin-top: auto;
}

.back-to-panel {
  font-size: 0.83rem;
  color: #76ffae;
  display: block;
  padding: 10px 4px;
  text-decoration: none;
}

.back-to-panel:hover {
  text-decoration: underline;
}

.sync-note {
  border: 1px solid #11773b;
  background: #042512;
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
}

.sync-note b {
  display: block;
  margin-bottom: 6px;
  color: #20f044;
  font-size: 0.85rem;
}

.sync-note span {
  color: #a9b8b0;
  font-size: 0.77rem;
  line-height: 1.45;
  display: block;
}

.admin-body {
  flex: 1;
  min-width: 0;
  padding: 26px clamp(18px, 2.5vw, 40px) 45px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.admin-header .mobile-menu-button {
  display: none;
  background: #07150d;
  border: 1px solid #234d35;
  border-radius: 10px;
  color: #fff;
  font-size: 1.3rem;
  padding: 8px 12px;
  cursor: pointer;
}

.admin-title h1 {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  margin: 5px 0 6px;
  color: #ffffff;
}

.admin-title p {
  font-size: 0.85rem;
  color: #b9c4ba;
  margin: 0;
}

.admin-kicker {
  color: #76ffae;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 750;
}

.admin-header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 0.84rem;
}

.admin-header-actions > a {
  border: 1px solid #234d35;
  padding: 11px 16px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: 0.15s;
}

.admin-header-actions > a:hover {
  border-color: #20f044;
  color: #20f044;
}

.admin-sync {
  border: 1px solid #0e5a2c;
  background: #02200e;
  padding: 11px 16px;
  border-radius: 12px;
  color: #76ffae;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-sync b {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #20f044;
  border-radius: 50%;
  box-shadow: 0 0 6px #20f044;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.metric-card {
  border: 1px solid #175b36;
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(120deg, #032214, #05110c);
}

.metric-card small {
  color: #acbcb0;
  font-size: 0.8rem;
}

.metric-card strong {
  display: block;
  font-size: 1.6rem;
  margin: 8px 0;
  color: #ffffff;
}

.metric-card span {
  font-size: 0.76rem;
  color: #76ffae;
}

.metric-card.warning {
  border-color: #785525;
  background: linear-gradient(110deg, #241c08, #101209);
}

.metric-card.warning span {
  color: #eac470;
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}

.admin-work-main {
  min-width: 0;
}

.admin-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.admin-tabs button {
  background: #08120d;
  color: #c6d2ca;
  border: 1px solid #263e30;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}

.admin-tabs button:hover {
  border-color: #20f044;
  color: #76ffae;
}

.admin-tabs button.active {
  background: linear-gradient(120deg, #13ad43, #075524);
  border-color: #20f044;
  color: #fff;
  font-weight: 600;
}

.tools-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.tools-row .search-wrap {
  flex: 1;
  background: #091912;
  border: 1px solid #2b5040;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.tools-row .search-wrap span {
  font-size: 1.2rem;
  color: #8bb99b;
}

.tools-row .search-wrap input {
  background: none;
  border: 0;
  color: #fff;
  width: 100%;
  padding: 11px 0;
  outline: none;
  font-size: 0.85rem;
  font-family: inherit;
}

.solid-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  background: linear-gradient(95deg, #18df56, #40fb81);
  padding: 11px 16px;
  color: #001a0d;
  border: 0;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.solid-cta:hover {
  filter: brightness(1.1);
}

.outline-btn {
  border: 1px solid #305543;
  background: #09160f;
  color: #f4fcf6;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  font-family: inherit;
}

.outline-btn:hover {
  border-color: #3bd974;
}

.outline-btn.small {
  font-size: 0.72rem;
  padding: 6px 10px;
}

.workspace-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 22px 0 14px;
}

.workspace-title h2 {
  margin: 0 0 3px;
  font-size: 1.15rem;
  color: #ffffff;
}

.workspace-title small {
  font-size: 0.78rem;
  color: #a9b8b0;
}

.workspace-title select {
  border: 1px solid #234d35;
  background: #0c1a12;
  color: #e5f1e6;
  padding: 8px 12px;
  border-radius: 9px;
  font-family: inherit;
  outline: none;
}

.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-product-card {
  border: 1px solid #284837;
  background: #08140f;
  border-radius: 14px;
  overflow: hidden;
}

.admin-product-photo {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  display: block;
  background: linear-gradient(150deg, #123c24, #030e07);
}

.admin-product-body {
  padding: 12px;
}

.admin-product-body > strong {
  display: block;
  color: #f5faf5;
  font-size: 0.88rem;
  line-height: 1.35;
  height: 2.7em;
  overflow: hidden;
}

.admin-product-body .price {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #38f58a;
  margin: 6px 0 4px;
}

.stock-label {
  font-size: 0.74rem;
  color: #c0cdc3;
  display: block;
}

.stock-label.low {
  color: #efc174;
}

.admin-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  align-items: center;
  margin-top: 8px;
}

.switch-active {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #c5d2c5;
}

.switch-active input {
  accent-color: #25db64;
}

.admin-card-actions {
  border-top: 1px solid #233b2b;
  display: flex;
  margin-top: 10px;
}

.admin-card-actions button {
  flex: 1;
  min-width: 0;
  border: 0;
  border-right: 1px solid #21372c;
  background: transparent;
  color: #dce9dd;
  padding: 9px 4px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
}

.admin-card-actions button:hover {
  color: #3bff8d;
  background: rgba(34, 197, 94, 0.1);
}

.admin-card-actions button:last-child {
  border-right: 0;
}

/* Quick Order Sidebar */
.quick-order {
  height: max-content;
  position: sticky;
  top: 20px;
  border: 1px solid #0a7b3c;
  border-radius: 17px;
  background: #04150c;
  padding: 18px;
}

.quick-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.quick-title > div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quick-title span {
  font-size: 1.4rem;
  color: #20f044;
}

.quick-title h2 {
  font-size: 1.05rem;
  margin: 0;
  color: #ffffff;
}

.quick-order label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: #d4e5d6;
  margin-bottom: 12px;
}

.quick-order input {
  width: 100%;
  padding: 10px 12px;
  background: #0c2116;
  border: 1px solid #375b44;
  border-radius: 9px;
  color: #fff;
  font-family: inherit;
  outline: none;
}

.quick-cart {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}

.quick-cart > p {
  font-size: 0.82rem;
  color: #a9b8b0;
  text-align: center;
  padding: 15px 0;
  margin: 0;
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #264c31;
  padding: 8px;
  border-radius: 10px;
  background: #081d11;
}

.quick-item img {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
}

.quick-item .item-meta {
  flex: 1;
  min-width: 0;
}

.quick-item .item-meta b {
  font-size: 0.74rem;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #ffffff;
}

.quick-item .item-meta span {
  color: #76ffae;
  font-size: 0.73rem;
  font-weight: 700;
}

.quick-item .qty-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.quick-item .qty-buttons button {
  width: 22px;
  height: 23px;
  border-radius: 6px;
  border: 1px solid #39734f;
  background: #062517;
  color: #fff;
  cursor: pointer;
  font-size: 0.75rem;
}

.quick-totals {
  border-top: 1px solid #284b37;
  padding: 10px 0;
}

.quick-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.83rem;
  color: #d8e3da;
}

.discount-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 6px 0 !important;
}

.discount-row input {
  width: 95px !important;
  padding: 6px 8px !important;
}

.quick-total {
  border-top: 1px solid #284b37;
  margin-top: 8px;
  padding-top: 12px !important;
  font-size: 1rem !important;
  font-weight: 850;
}

.quick-total strong {
  font-size: 1.3rem;
  color: #76ffae;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 10px 0 14px;
}

.payment-methods button {
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 10px 4px;
  border: 1px solid #395240;
  background: #0b1811;
  border-radius: 9px;
  color: #e3e9e3;
  cursor: pointer;
  font-family: inherit;
}

.payment-methods button.selected {
  border-color: #20f044;
  background: #065928;
  color: #fff;
  font-weight: 700;
}

.quick-finalize {
  width: 100%;
}

.integrated-hint {
  font-size: 0.76rem;
  line-height: 1.45;
  border: 1px solid #135b33;
  background: #051e10;
  border-radius: 12px;
  color: #addfbd;
  padding: 10px;
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* Modals & Dialogs */
.food-modal {
  width: min(680px, calc(100% - 26px));
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  margin: 5vh auto;
  background: #071810;
  border: 1px solid #357347;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8);
}

.food-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.food-modal-head h2 {
  font-size: 1.35rem;
  margin: 0;
  color: #ffffff;
}

.icon-close {
  font-size: 1.5rem;
  background: #0f281b;
  border: 1px solid #234d35;
  color: white;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.82rem;
  color: #d4e5d6;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  padding: 10px 12px;
  background: #0c2116;
  border: 1px solid #375b44;
  border-radius: 9px;
  color: #fff;
  font-family: inherit;
  outline: none;
}

.modal-form .full {
  grid-column: 1 / -1;
}

.modal-form .action-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  grid-column: 1 / -1;
  margin-top: 8px;
}

.admin-locked {
  max-width: 580px;
  margin: 50px auto;
  text-align: center;
  border: 1px solid #22633b;
  border-radius: 20px;
  padding: 40px 24px;
  background: #07170d;
}

.admin-locked h2 {
  color: #ffffff;
  margin: 10px 0;
}

.admin-locked p {
  color: #a9b8b0;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.locked-icon {
  font-size: 2.8rem;
  color: #20f044;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0f4023;
  border: 1px solid #3dff81;
  padding: 14px 18px;
  border-radius: 12px;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  z-index: 99;
  display: none;
  font-size: 0.88rem;
}

.toast.show {
  display: block;
}

.toast.error {
  border-color: #da6d4b;
  background: #4a211a;
}

/* Responsive Admin */
@media (max-width: 1080px) {
  .admin-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-workspace {
    grid-template-columns: 1fr;
  }
  .quick-order {
    position: static;
  }
  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    position: fixed;
    z-index: 90;
    transform: translateX(-110%);
    transition: transform 0.2s ease;
    box-shadow: 0 0 35px rgba(0,0,0,0.8);
    width: 250px;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-header .mobile-menu-button {
    display: block;
  }
  .admin-header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .admin-sync {
    display: none;
  }
  .modal-form {
    grid-template-columns: 1fr;
  }
}

/* Product Photo Selector Gallery in Admin Modal */
.photo-gallery-section {
  grid-column: 1 / -1;
  background: #051a0f;
  border: 1px solid #1f4f31;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-title-box b {
  color: #2ff97e;
  font-size: 0.88rem;
  display: block;
}

.gallery-title-box small {
  color: #a0b6a7;
  font-size: 0.74rem;
}

.gallery-filter-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.gallery-chip {
  background: #082415;
  border: 1px solid #285539;
  color: #d6e2d9;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.gallery-chip:hover {
  border-color: #20f044;
  color: #ffffff;
}

.gallery-chip.active {
  background: #139c3e;
  border-color: #20f044;
  color: #ffffff;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 2px;
}

.gallery-item-thumb {
  background: #081d11;
  border: 1.5px solid #234d35;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px;
  text-align: center;
  transition: transform 0.15s, border-color 0.15s;
  user-select: none;
}

.gallery-item-thumb:hover {
  transform: translateY(-2px);
  border-color: #20f044;
}

.gallery-item-thumb.selected {
  border-color: #20f044;
  background: #0b321a;
  box-shadow: 0 0 10px rgba(32, 240, 68, 0.45);
}

.gallery-thumb-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #0a1f13;
}

.gallery-thumb-name {
  font-size: 0.65rem;
  color: #e2ede5;
  margin-top: 4px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.selected-preview-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #03140a;
  border: 1px solid #164627;
  border-radius: 10px;
}

.selected-preview-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #20f044;
}

.selected-preview-meta {
  flex: 1;
  min-width: 0;
}

.selected-preview-meta b {
  font-size: 0.78rem;
  color: #2ff97e;
  display: block;
}

.selected-preview-meta span {
  font-size: 0.7rem;
  color: #9cb5a5;
  word-break: break-all;
}

