:root {
  --paper: #07060f;
  --paper-2: #2a1840;
  --white: #140c22;
  --ink: #f7f3ff;
  --muted: #c7b4de;
  --line: rgba(255, 43, 214, 0.38);
  --tomato: #ff2bd6;
  --tomato-dark: #ff7ae4;
  --pine: #3d7bff;
  --pine-2: #19d3ff;
  --gold: #ffe14a;
  --good: #3dff9a;
  --warn: #ffe14a;
  --bad: #ff8aa0;
  --shadow: 0 16px 40px rgba(255, 43, 214, 0.16);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0% -8%, rgba(255, 43, 214, 0.28), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(61, 123, 255, 0.32), transparent 40%),
    radial-gradient(ellipse at 70% 100%, rgba(122, 44, 255, 0.22), transparent 36%),
    var(--paper);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: Outfit, "Segoe UI", sans-serif; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: white;
  padding: 8px 12px;
  z-index: 30;
}
.skip:focus { left: 12px; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tomato);
  margin-bottom: 6px;
}
.muted { color: var(--muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar {
  background: linear-gradient(90deg, #1a0a2e, #3d1a78 42%, #123a8a);
  color: #f7f3ff;
  font-size: 0.86rem;
}
.topbar-inner, .header-inner, .footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.topbar-inner { min-height: 36px; }
.topbar .is-open::before,
.topbar .is-closed::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background: #3dff9a;
  box-shadow: 0 0 8px #3dff9a;
}
.topbar .is-closed::before { background: var(--gold); }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 6, 15, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 43, 214, 0.35);
}
.header-inner { min-height: 92px; position: relative; }
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 0.8;
}
.brand-crown { color: #ff2bd6; display: flex; filter: drop-shadow(0 0 6px #ff2bd6); }
.brand-crown svg { width: 28px; height: 16px; }
.brand-num {
  font-family: Anton, Impact, sans-serif;
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #d7e4f8 34%, #6d88b5 52%, #f7fbff 72%, #93abc9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 #14243d);
}
.brand-script {
  font-family: Yellowtail, cursive;
  font-size: 1.7rem;
  color: #ff2bd6;
  text-shadow: 0 0 12px rgba(255, 43, 214, 0.85);
  margin-top: 1px;
}
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--tomato-dark); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: linear-gradient(90deg, #ff2bd6, #7a2cff);
  color: white;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(255, 43, 214, 0.45);
}
.cart-link strong {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #07101f;
  color: #2ee7ff;
  font-size: 0.8rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  padding: 48px 0 12px;
}
.hero-watermark {
  position: absolute;
  margin: 0;
  top: 8px;
  left: -6px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(6.5rem, 16vw, 12.5rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 43, 214, 0.35);
  pointer-events: none;
}
.hero-copy, .hero-panel { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.7rem); max-width: 11ch; }
.lead { margin-top: 16px; max-width: 38ch; font-size: 1.12rem; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts span, .chip, .pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.hero-panel {
  background: linear-gradient(160deg, rgba(61, 123, 255, 0.28), rgba(20, 8, 36, 0.92) 42%);
  color: #f7f3ff;
  border: 1px solid rgba(61, 123, 255, 0.7);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 0 32px rgba(61, 123, 255, 0.28), inset 0 0 24px rgba(255, 43, 214, 0.08);
}
.hero-panel .kicker { color: var(--gold); }
.mini {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  padding: 12px 0;
  border-top: 1px solid rgba(246, 241, 232, 0.16);
}
.mini strong { font-weight: 600; }
.mini b { color: var(--gold); font-weight: 650; white-space: nowrap; }

.search, .filters {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.search input, .filters input, .filters select, .field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}
.search input { border-radius: 999px; padding-left: 18px; }
.field textarea { min-height: 110px; resize: vertical; }
.field label, .check { display: block; font-weight: 650; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.hint { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 6px; font-weight: 400; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.field .check input[type="checkbox"] {
  width: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  appearance: auto;
}

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: #241033;
  color: white;
  font-weight: 700;
}
.btn.btn-primary, .search button { background: linear-gradient(90deg, #ff2bd6, #ff4ad8); color: white; box-shadow: 0 0 16px rgba(255, 43, 214, 0.4); }
.btn.btn-primary:hover, .search button:hover { background: linear-gradient(90deg, #ff4ad8, #ff7ae4); }
.btn.btn-pine { background: linear-gradient(90deg, #2f6bff, #19d3ff); color: #041226; }
.btn.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-small { padding: 8px 12px; font-size: 0.92rem; }
.btn[disabled], button:disabled { opacity: 0.55; cursor: not-allowed; }
.search button { border: 0; border-radius: 999px; padding: 0 18px; font-weight: 700; cursor: pointer; }

.section { padding: 34px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cats { display: flex; gap: 8px; overflow: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.cats a {
  scroll-snap-align: start;
  text-decoration: none;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
}
.cats a[aria-current="page"] { background: #ff2bd6; color: white; border-color: #ff2bd6; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card {
  background: rgba(16, 8, 28, 0.92);
  border: 1px solid color-mix(in srgb, var(--tone, #ff2bd6) 75%, white);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 0 22px color-mix(in srgb, var(--tone, #ff2bd6) 28%, transparent);
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--tone, #f3e3c3);
  display: grid;
  place-items: center;
  text-decoration: none;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-fallback { font-family: Anton, Impact, sans-serif; font-size: 4rem; color: white; text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--tomato);
  color: white;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 700;
}
.badge-off { background: var(--ink); }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.35rem; }
.card-body h3 a { text-decoration: none; }
.desc { color: var(--muted); font-size: 0.95rem; }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { display: flex; flex-direction: column; }
.price s { color: var(--muted); font-size: 0.86rem; }
.price strong { font-size: 1.12rem; }
.add-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, #3d7bff, #7a2cff);
  color: white;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(61, 123, 255, 0.55);
}
.add-btn.is-off { background: var(--paper-2); color: var(--muted); display: grid; place-items: center; }
.add-form { margin: 0; }

.steps, .split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
.step-list, .panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
}
.step { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ff2bd6;
  color: white;
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.6);
}
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }

.catalog-head { padding-top: 28px; }
.filters { margin: 16px 0 18px; align-items: center; }
.filters .grow { flex: 1; }

.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  padding: 28px 0 10px;
}
.product-gallery { display: grid; gap: 12px; }
.product-media {
  border-radius: 28px;
  min-height: 320px;
  background: var(--tone, #f3e3c3);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.product-fallback { font-family: Anton, Impact, sans-serif; font-size: 7rem; color: white; text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); }
.product-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.product-thumb {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--paper-2);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb.is-active, .product-thumb:hover {
  border-color: #ff2bd6;
  box-shadow: 0 0 0 2px rgba(255, 43, 214, 0.35);
}
.product h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 8px 0; }
.crumb { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
.crumb a { color: var(--pine); }
.qty { display: flex; gap: 10px; align-items: center; margin: 16px 0; flex-wrap: wrap; }
.qty input, .line input[type="number"] {
  width: 76px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 10px;
  color-scheme: dark;
}
.qty .btn { white-space: nowrap; flex: 0 0 auto; }

.cart-layout, .checkout { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 22px; align-items: start; padding-top: 24px; }
.summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  position: sticky;
  top: 92px;
}
.summary h2 { font-size: 1.7rem; margin-bottom: 8px; }
.summary-row, .line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.line form { display: flex; gap: 6px; align-items: center; margin: 0; }
.line input[type="number"] { width: 64px; padding: 8px 6px; }
.total { font-family: Anton, Impact, sans-serif; font-size: 1.8rem; letter-spacing: 0.02em; }
.warn { color: var(--bad); font-size: 0.9rem; }

.choice-row, .pay-list { display: grid; gap: 8px; }
.choice, .pay-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
}
.pay-option small, .choice small { display: block; color: var(--muted); font-weight: 400; }
.pay-option.is-disabled { opacity: 0.62; }
.pay-option strong, .choice strong { display: block; }

.timeline { list-style: none; display: flex; gap: 8px; overflow: auto; padding: 4px 0 12px; }
.timeline li {
  min-width: 120px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  color: var(--muted);
}
.timeline li.is-done { background: rgba(61, 255, 154, 0.16); color: #b8ffd9; border-color: #3dff9a; }
.timeline li.is-current { background: #ff2bd6; color: white; border-color: #ff2bd6; box-shadow: 0 0 16px rgba(255, 43, 214, 0.45); }
.pix-box, .order-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
}
.pix-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; }
#pix-qr, [data-pix-qr] { width: 220px; height: 220px; background: white; border-radius: 16px; overflow: hidden; }
#pix-qr img, #pix-qr canvas, [data-pix-qr] img, [data-pix-qr] canvas { width: 220px !important; height: 220px !important; }
.pix-text { width: 100%; font-size: 0.82rem; }

.alert { border-radius: 16px; padding: 12px 14px; margin: 16px 0; }
.alert.ok { background: rgba(61, 255, 154, 0.14); color: #b8ffd9; }
.alert.err { background: rgba(255, 77, 106, 0.16); color: #ffd0d8; }
.alert ul { padding-left: 18px; }
.empty { padding: 28px; background: var(--white); border: 1px dashed var(--line); border-radius: 20px; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 18px 0 8px; }

.footer { margin-top: 40px; background: #05040a; color: #f7f3ff; padding: 32px 0 18px; border-top: 1px solid rgba(255, 43, 214, 0.4); }
.footer .kicker { color: var(--gold); }
.footer a { color: #f7d9ff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; }
.footer-grid p { margin: 4px 0; }
.footer-base { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 43, 214, 0.25); color: #c7b4de; font-size: 0.9rem; }
.mobile-cart {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 25;
  background: linear-gradient(90deg, #ff2bd6, #7a2cff);
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 14px 16px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #ff2bd6;
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
  z-index: 40;
}

.page-narrow { width: min(760px, calc(100% - 32px)); margin: 28px auto; }
.prose h2 { font-size: 1.8rem; margin: 22px 0 8px; }
.prose p, .prose li { margin: 8px 0; }
.prose ul { padding-left: 18px; }

.login-body {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(20px, 4vw, 40px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255, 43, 214, 0.28), transparent 42%),
    radial-gradient(ellipse at 88% 12%, rgba(61, 123, 255, 0.34), transparent 40%),
    radial-gradient(ellipse at 70% 92%, rgba(122, 44, 255, 0.22), transparent 38%),
    #06040d;
}
.login-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  animation: login-float 10s ease-in-out infinite;
}
.login-glow-a { width: 280px; height: 280px; left: -60px; top: 12%; background: rgba(255, 43, 214, 0.45); }
.login-glow-b { width: 340px; height: 340px; right: -80px; top: -40px; background: rgba(61, 123, 255, 0.4); animation-delay: -3s; }
.login-glow-c { width: 260px; height: 260px; right: 18%; bottom: -70px; background: rgba(122, 44, 255, 0.35); animation-delay: -6s; }
@keyframes login-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.05); }
}
.login-shell {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}
.login-brand { padding: 8px 8px 8px 4px; }
.login-brand .brand { align-items: flex-start; margin-bottom: 22px; }
.login-brand .brand-num { font-size: clamp(2.8rem, 6vw, 4.2rem); }
.login-brand .brand-script { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.login-brand .brand-crown svg { width: 42px; height: 24px; }
.login-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: #19d3ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.login-brand h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.login-lead {
  margin: 14px 0 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}
.login-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 36px;
  background: linear-gradient(165deg, rgba(28, 14, 48, 0.72), rgba(10, 8, 22, 0.55));
  border: 1px solid rgba(255, 43, 214, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}
.login-panel-title {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff7ae4;
}
.login-panel .field { margin-bottom: 12px; }
.login-panel .field input {
  width: 100%;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background: rgba(7, 6, 15, 0.55);
  border-radius: 999px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.login-panel .field input:focus {
  border-color: #ff2bd6;
  box-shadow: 0 0 0 4px rgba(255, 43, 214, 0.16);
  background: rgba(12, 8, 24, 0.85);
}
.login-submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
  font-size: 1rem;
}
.login-back {
  display: inline-flex;
  align-self: center;
  margin-top: 14px;
  color: #c7b4de;
  text-decoration: none;
  font-weight: 600;
}
.login-back:hover { color: #19d3ff; }
.login-panel .alert { margin-bottom: 10px; border-radius: 18px; }

.admin { background: var(--paper); overflow-x: clip; }
.admin-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 43, 214, 0.28), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(61, 123, 255, 0.22), transparent 40%),
    #09060f;
  color: #f7f3ff;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(255, 43, 214, 0.4);
}
.sidebar-top { display: contents; }
.admin-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 43, 214, 0.55);
  background: rgba(255, 43, 214, 0.12);
  color: #f7f3ff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}
.sidebar .brand { margin: 8px auto 0; }
.sidebar .brand-num { font-size: 2.5rem; }
.sidebar .brand-script { font-size: 2.15rem; }
.sidebar .brand-crown svg { width: 36px; height: 20px; }
.side-links { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.side-link {
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 14px;
  font-weight: 650;
  color: rgba(247, 243, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.side-link:hover {
  background: rgba(255, 43, 214, 0.14);
  color: white;
  transform: translateX(2px);
}
.side-link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(255, 43, 214, 0.28), rgba(61, 123, 255, 0.18));
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 43, 214, 0.35);
}
.side-ico {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: #19d3ff;
  flex: 0 0 auto;
}
.side-link[aria-current="page"] .side-ico {
  background: rgba(255, 43, 214, 0.22);
  color: #ff7ae4;
}
.side-ico svg { width: 16px; height: 16px; display: block; }
.side-mobile-foot { display: none; }
.side-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 43, 214, 0.22);
}
.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.16), rgba(61, 123, 255, 0.12)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 43, 214, 0.28);
}
.side-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: Anton, Impact, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: white;
  background: linear-gradient(135deg, #ff2bd6, #3d7bff);
  box-shadow: 0 0 16px rgba(255, 43, 214, 0.35);
  flex: 0 0 auto;
}
.side-user-copy { min-width: 0; display: grid; gap: 2px; }
.side-user-copy strong {
  display: block;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-user-copy small {
  color: #19d3ff;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.side-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-chip {
  text-decoration: none;
  text-align: center;
  padding: 10px 8px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #19d3ff;
  background: rgba(25, 211, 255, 0.1);
  border: 1px solid rgba(25, 211, 255, 0.35);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.side-chip:hover {
  background: rgba(25, 211, 255, 0.18);
  color: white;
}
.side-chip.is-exit {
  color: #ff9ec8;
  background: rgba(255, 43, 214, 0.1);
  border-color: rgba(255, 43, 214, 0.35);
}
.side-chip.is-exit:hover {
  background: rgba(255, 43, 214, 0.22);
  color: white;
}
.admin-main { padding: 28px 28px 48px; min-width: 0; }
.admin-main h1 { font-size: clamp(1.7rem, 3vw, 2.8rem); margin-bottom: 6px; }
.product-edit-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.product-edit-lead { margin-top: 4px; max-width: 42ch; }
.product-edit {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}
.product-edit .panel {
  background:
    linear-gradient(180deg, rgba(255, 43, 214, 0.05), transparent 40%),
    rgba(16, 8, 28, 0.92);
  border: 1px solid rgba(255, 43, 214, 0.28);
  border-radius: 26px;
  box-shadow: 0 0 28px rgba(255, 43, 214, 0.08);
}
.product-edit-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}
.product-edit-section-head h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  margin: 0;
}
.gallery-count {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #19d3ff;
  background: rgba(25, 211, 255, 0.1);
  border: 1px solid rgba(25, 211, 255, 0.28);
}
.gallery-hint {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
}
.gallery-limit { margin-top: 12px; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.media-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 43, 214, 0.18), transparent 50%),
    #12081c;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.media-tile:hover img { transform: scale(1.04); }
.media-tile.is-cover {
  border-color: rgba(255, 43, 214, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 43, 214, 0.45),
    0 12px 28px rgba(255, 43, 214, 0.18);
}
.media-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(90deg, #ff2bd6, #ff4ad8);
  box-shadow: 0 0 14px rgba(255, 43, 214, 0.45);
}
.media-actions {
  position: absolute;
  inset: auto 8px 8px 8px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.media-tile:hover .media-actions,
.media-tile:focus-within .media-actions {
  opacity: 1;
  transform: translateY(0);
}
.media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 6, 15, 0.82));
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}
.media-tile:hover::after,
.media-tile:focus-within::after { opacity: 1; }
.media-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 750;
  cursor: pointer;
  color: #101018;
  background: rgba(255, 255, 255, 0.92);
}
.media-btn.is-danger {
  color: white;
  background: rgba(255, 70, 110, 0.92);
}
.media-add {
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  cursor: pointer;
  border-style: dashed;
  border-color: rgba(255, 43, 214, 0.45);
  background:
    linear-gradient(160deg, rgba(255, 43, 214, 0.1), rgba(61, 123, 255, 0.08)),
    rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.media-add:hover {
  border-color: #ff2bd6;
  background:
    linear-gradient(160deg, rgba(255, 43, 214, 0.18), rgba(61, 123, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}
.media-add input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.media-add-ico {
  width: 42px;
  height: 42px;
  margin: 0 auto 4px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: #ff7ae4;
  background: rgba(255, 43, 214, 0.16);
  border: 1px solid rgba(255, 43, 214, 0.35);
}
.media-add strong { color: white; font-size: 0.95rem; }
.media-add small { color: var(--muted); font-size: 0.72rem; }
.media-tile.is-pending {
  border-color: rgba(25, 211, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(25, 211, 255, 0.28);
}
.media-badge.is-pending {
  background: linear-gradient(90deg, #19d3ff, #3d7bff);
  box-shadow: 0 0 14px rgba(25, 211, 255, 0.4);
}
.media-add[hidden],
.gallery-limit[hidden] {
  display: none !important;
}
@media (hover: none) {
  .media-actions {
    opacity: 1;
    transform: none;
  }
  .media-tile::after { opacity: 1; }
}
.product-edit-flags .field-label {
  display: block;
  font-weight: 650;
  margin-bottom: 10px;
}
.product-edit-flags .flag-list {
  display: grid;
  gap: 10px;
}
.product-edit-flags .flag-row {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.08), transparent 55%),
    rgba(10, 6, 18, 0.9);
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.product-edit-flags .flag-row:hover {
  border-color: rgba(255, 43, 214, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.product-edit-flags .flag-row:has(.flag-input:checked) {
  border-color: rgba(255, 43, 214, 0.75);
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.18), rgba(61, 123, 255, 0.08)),
    rgba(16, 8, 28, 0.95);
  box-shadow:
    0 0 0 1px rgba(255, 43, 214, 0.22),
    0 0 22px rgba(255, 43, 214, 0.16);
}
.product-edit-flags .flag-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.product-edit-flags .flag-copy strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 750;
  color: #f7f3ff;
  line-height: 1.2;
}
.product-edit-flags .flag-copy small {
  color: rgba(247, 243, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.3;
}
.product-edit-flags .flag-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.product-edit-flags .flag-switch {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-edit-flags .flag-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #e8e4f4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}
.product-edit-flags .flag-row:has(.flag-input:checked) .flag-switch {
  background: linear-gradient(90deg, #ff2bd6, #ff5ae0);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 16px rgba(255, 43, 214, 0.45);
}
.product-edit-flags .flag-row:has(.flag-input:checked) .flag-knob {
  transform: translateX(22px);
  background: #fff;
}
.product-edit-flags .flag-input:focus-visible + .flag-switch {
  outline: 2px solid #19d3ff;
  outline-offset: 3px;
}
.product-edit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 43, 214, 0.18);
}
.equipe-layout { margin-top: 16px; }
.equipe-list { display: grid; gap: 10px; }
.equipe-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.22);
  background: rgba(255, 255, 255, 0.03);
}
.equipe-card.is-active {
  border-color: rgba(255, 43, 214, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.25);
}
.equipe-card-copy { min-width: 0; display: grid; gap: 2px; }
.equipe-card-copy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.equipe-card-copy small { color: var(--muted); }
.equipe-role {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #19d3ff;
  background: rgba(25, 211, 255, 0.12);
}
.equipe-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.role-help {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(25, 211, 255, 0.06);
  border: 1px solid rgba(25, 211, 255, 0.18);
  color: var(--muted);
  font-size: 0.88rem;
}
.role-help strong { color: #f7f3ff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.stat, .panel-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.stat b { display: block; font-family: Anton, Impact, sans-serif; font-size: 1.7rem; margin-top: 4px; letter-spacing: 0.02em; }
.bars { display: flex; align-items: end; gap: 8px; height: 160px; margin-top: 12px; padding-bottom: 26px; }
.bar { flex: 1; background: linear-gradient(180deg, #ff2bd6, #3d7bff); border-radius: 10px 10px 4px 4px; min-height: 6px; position: relative; }
.bar span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 0.75rem; color: var(--muted); }
.table-wrap { overflow: auto; -webkit-overflow-scrolling: touch; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.table-wrap table { min-width: 640px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; vertical-align: middle; }
th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
td { border-top: 1px solid var(--line); }
.thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.pill { padding: 4px 8px; font-size: 0.8rem; font-weight: 700; }
.pill { color: #140816; }
.pill.recebido { background: #ffe14a; }
.pill.confirmado, .pill.pago { background: #3dff9a; }
.pill.preparando { background: #ff7ad8; }
.pill.saiu_entrega, .pill.pendente { background: #7ecbff; }
.pill.entregue { background: #3dff9a; }
.pill.cancelado, .pill.recusado { background: #ff8aa0; }
.pill.na_entrega { background: #ffe14a; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.checklist { display: grid; gap: 8px; margin: 12px 0 18px; }
.checklist li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; align-items: start; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 8px 0 16px; flex-wrap: wrap; }
.toolbar > div { min-width: 0; flex: 1 1 auto; }
.toolbar .btn, .toolbar .actions { flex: 0 0 auto; }
.stock-low { color: #ff8aa0; font-weight: 700; }
.sale-line { display: grid; grid-template-columns: 1fr 88px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.sale-line input { width: 88px; text-align: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 10px 8px; }
.sale-total { font-family: Anton, Impact, sans-serif; font-size: 2rem; letter-spacing: 0.02em; margin: 0 0 12px; }
.product-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.product-admin-card {
  background: rgba(16, 8, 28, 0.92);
  border: 1px solid color-mix(in srgb, var(--tone, #ff2bd6) 55%, transparent);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 22px color-mix(in srgb, var(--tone, #ff2bd6) 18%, transparent);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-admin-media {
  position: relative;
  aspect-ratio: 1.15 / 1;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tone, #ff2bd6) 70%, #140c22), #140c22);
  display: grid;
  place-items: center;
}
.product-admin-media img { width: 100%; height: 100%; object-fit: cover; }
.product-admin-media > span:not(.badge) {
  font-family: Anton, Impact, sans-serif;
  font-size: 4rem;
  color: white;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.product-admin-media .badge { position: absolute; left: 10px; top: 10px; z-index: 2; }
.product-admin-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-admin-body h2 { font-size: 1.15rem; margin: 0; line-height: 1.2; }
.product-admin-body h2 a { text-decoration: none; }
.product-admin-meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.product-admin-meta s { color: var(--muted); font-size: 0.85rem; margin-right: 4px; }
.menu { position: absolute; top: 10px; right: 10px; z-index: 3; }
.admin-list {
  margin-top: 8px;
  border: 1px solid rgba(255, 43, 214, 0.28);
  border-radius: 22px;
  overflow: visible;
  background: rgba(16, 8, 28, 0.92);
}
.admin-list-head,
.admin-list-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) 0.8fr 0.55fr 0.7fr 52px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}
.admin-list-head {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 43, 214, 0.18);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 22px 22px 0 0;
}
.admin-list-row {
  position: relative;
  border-top: 1px solid rgba(255, 43, 214, 0.14);
  transition: background 0.18s ease;
  z-index: 1;
}
.admin-list-row:first-of-type { border-top: 0; }
.admin-list-row:last-child { border-radius: 0 0 22px 22px; }
.admin-list-row:hover,
.admin-list-row:has(.menu.is-menu-open) {
  background: rgba(255, 43, 214, 0.06);
  z-index: 5;
}
.admin-list-row.is-off { opacity: 0.72; }
.admin-list-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.admin-list-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-family: Anton, Impact, sans-serif;
  font-size: 1.15rem;
  color: white;
  background: linear-gradient(135deg, #ff2bd6, #3d7bff);
  box-shadow: 0 0 16px rgba(255, 43, 214, 0.28);
}
.admin-list-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.admin-list-copy strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-list-copy small {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-list-meta,
.admin-list-status {
  color: rgba(247, 243, 255, 0.88);
  font-weight: 650;
}
.admin-list-actions {
  display: flex;
  justify-content: flex-end;
}
.admin-list-actions .menu {
  position: relative;
  top: auto;
  right: auto;
  z-index: 6;
}
.admin-list-actions .menu-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 43, 214, 0.35);
}
.category-form {
  margin: 0 0 18px;
  background:
    linear-gradient(180deg, rgba(255, 43, 214, 0.05), transparent 40%),
    rgba(16, 8, 28, 0.92);
  border: 1px solid rgba(255, 43, 214, 0.28);
  border-radius: 26px;
  box-shadow: 0 0 28px rgba(255, 43, 214, 0.08);
}
.settings { margin-top: 8px; }
.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background: rgba(16, 8, 28, 0.92);
}
.settings-tab {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(247, 243, 255, 0.72);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.settings-tab:hover {
  color: white;
  background: rgba(255, 43, 214, 0.12);
}
.settings-tab[aria-selected="true"] {
  color: white;
  background: linear-gradient(90deg, rgba(255, 43, 214, 0.28), rgba(61, 123, 255, 0.18));
  border-color: rgba(255, 43, 214, 0.45);
  box-shadow: 0 0 16px rgba(255, 43, 214, 0.18);
}
.settings-panel[hidden] { display: none !important; }
.settings-panel {
  margin: 0 0 14px;
}
.settings-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 43, 214, 0.1), rgba(61, 123, 255, 0.06)),
    rgba(16, 8, 28, 0.92);
}
.settings-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.settings-panel-head h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  margin: 0;
}
.settings-panel-head .muted { margin-top: 4px; max-width: 46ch; }
.settings-subcard {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(25, 211, 255, 0.2);
  background: rgba(25, 211, 255, 0.05);
}
.settings-subcard-head h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}
.settings-subcard-head { margin-bottom: 12px; }
.hours-table {
  display: grid;
  gap: 8px;
}
.hours-table-head {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) 1fr 1fr 0.7fr;
  gap: 12px;
  padding: 0 14px 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hours-card {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) 1fr 1fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 43, 214, 0.22);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}
.hours-card.is-on {
  border-color: rgba(255, 43, 214, 0.45);
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.hours-card.is-off { opacity: 0.72; }
.hours-day-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  font-weight: 700;
}
.hours-day-toggle .flag-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.hours-day-toggle .flag-switch {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hours-day-toggle .flag-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #e8e4f4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}
.hours-day-toggle:has(.flag-input:checked) .flag-switch {
  background: linear-gradient(90deg, #ff2bd6, #ff5ae0);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(255, 43, 214, 0.4);
}
.hours-day-toggle:has(.flag-input:checked) .flag-knob {
  transform: translateX(18px);
}
.hours-day-name { font-size: 0.95rem; }
.hours-time { min-width: 0; }
.hours-input {
  width: 100%;
  border: 1px solid rgba(255, 43, 214, 0.35);
  background: rgba(7, 6, 15, 0.75);
  color: #f7f3ff;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-weight: 650;
}
.hours-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.hours-status {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  min-width: 78px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hours-card.is-on .hours-status {
  color: #101018;
  background: #3dff9a;
}
.hours-card.is-off .hours-status {
  color: #ffd0dc;
  background: rgba(255, 138, 160, 0.18);
  border: 1px solid rgba(255, 138, 160, 0.35);
}
.settings-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.settings-stat {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 43, 214, 0.08), transparent 50%),
    rgba(255, 255, 255, 0.03);
}
.settings-stat label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
.settings-input-affix {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 43, 214, 0.35);
  border-radius: 14px;
  background: rgba(7, 6, 15, 0.75);
  overflow: hidden;
}
.settings-input-affix span {
  flex: 0 0 auto;
  padding: 0 12px;
  color: #19d3ff;
  font-weight: 800;
  font-size: 0.85rem;
  border-right: 1px solid rgba(255, 43, 214, 0.22);
}
.settings-input-affix input {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.settings-stat .hint { margin-top: 8px; }
.settings-area-add {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 43, 214, 0.45);
  background: rgba(255, 43, 214, 0.06);
}
.settings-area-add .btn {
  height: 46px;
  padding-inline: 18px;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.area-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background: rgba(255, 255, 255, 0.03);
}
.area-card-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.area-card-fee {
  font-family: Anton, Impact, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #19d3ff;
}
.area-card .menu {
  position: relative;
  top: auto;
  right: auto;
}
.settings-empty {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 43, 214, 0.35);
  color: var(--muted);
  text-align: center;
}
.orders-filters {
  margin: 8px 0 16px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background: rgba(16, 8, 28, 0.92);
}
.orders-list {
  display: grid;
  gap: 10px;
}
.order-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 43, 214, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.07), transparent 45%),
    rgba(16, 8, 28, 0.92);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.order-card:hover {
  border-color: rgba(255, 43, 214, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.order-card-main {
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.order-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.order-code {
  font-family: Anton, Impact, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #f7f3ff;
}
.order-channel {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #19d3ff;
  background: rgba(25, 211, 255, 0.12);
  border: 1px solid rgba(25, 211, 255, 0.28);
}
.order-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.order-card-grid > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.order-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.order-card-grid strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-card-grid small {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-total {
  font-family: Anton, Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #19d3ff;
}
.order-card-actions {
  display: flex;
  align-items: center;
}
.menu-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 6, 15, 0.72);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  font: inherit;
  line-height: 1;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.menu-toggle::before {
  content: "⋮";
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: #f7f3ff;
}
.menu-toggle span { display: none; }
.menu-toggle:focus,
.menu-toggle:focus-visible {
  outline: none;
  border-color: #ff2bd6;
  box-shadow: 0 0 0 2px rgba(18, 10, 31, 0.95), 0 0 0 4px rgba(255, 43, 214, 0.7);
}
.menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  border-radius: 16px;
  background: #120a1f;
  border: 1px solid rgba(255, 43, 214, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 80;
}
.menu-panel.is-fixed {
  position: fixed;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
}
.menu-panel[hidden] { display: none !important; }
.menu-panel a,
.menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #f7f3ff;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.menu-panel a:hover,
.menu-panel button:hover { background: rgba(255, 43, 214, 0.16); }
.menu-panel .is-danger { color: #ff8aa0; }
.menu-panel form { margin: 0; }
.menu.is-menu-open .menu-panel { display: flex; }
.menu.is-menu-open .menu-toggle {
  border-color: #ff2bd6;
  box-shadow: 0 0 0 2px rgba(18, 10, 31, 0.95), 0 0 0 4px rgba(255, 43, 214, 0.55);
}
.admin .filters { flex-wrap: wrap; }
.admin .filters .grow { min-width: min(100%, 220px); }
.admin .filters select, .admin .filters input, .admin .filters button { width: auto; }
.admin .panel { overflow: hidden; }

::placeholder { color: #8d7aa3; }
select option { background: #140c22; color: #f7f3ff; }
:focus-visible { outline: 3px solid #ff2bd6; outline-offset: 2px; }

@media (max-width: 1100px) {
  .admin-shell { grid-template-columns: 200px 1fr; }
  .sidebar .brand-num { font-size: 2.1rem; }
  .sidebar .brand-script { font-size: 1.8rem; }
}
@media (max-width: 980px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid, .two, .steps, .split, .pix-grid, .product-edit { grid-template-columns: 1fr; }
  .equipe-card {
    grid-template-columns: auto 1fr;
  }
  .equipe-card-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .equipe-card-actions .btn,
  .equipe-card-actions form { flex: 1; }
  .equipe-card-actions .btn { width: 100%; }
  .admin-list-head { display: none; }
  .admin-list-row {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
  }
  .admin-list-main { grid-column: 1 / 2; }
  .admin-list-actions { grid-column: 2 / 3; grid-row: 1; align-self: start; }
  .admin-list-meta,
  .admin-list-status {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 2px;
    font-size: 0.9rem;
  }
  .admin-list-meta::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .settings-tabs { gap: 6px; }
  .settings-tab { padding: 9px 12px; font-size: 0.9rem; }
  .settings-panel-head { flex-direction: column; }
  .hours-table-head { display: none; }
  .hours-card {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hours-day-toggle { grid-column: 1 / -1; }
  .hours-status { justify-self: start; }
  .settings-stat-grid { grid-template-columns: 1fr; }
  .settings-area-add { grid-template-columns: 1fr; }
  .settings-area-add .btn { width: 100%; }
  .order-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .order-card-grid { grid-template-columns: 1fr; }
  .order-card-actions { justify-content: stretch; }
  .order-card-actions .btn { width: 100%; }
}
@media (max-width: 860px) {
  .topbar-inner span:last-child { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; }
  .hero, .product, .cart-layout, .checkout, .form-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .header-inner { gap: 10px; }
  .brand-num { font-size: 1.35rem; }
  .brand-script { font-size: 1.25rem; }
  .header-inner { min-height: 78px; }
  .admin-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 0;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: auto !important;
    min-height: 0 !important;
    max-height: none;
    z-index: 30;
    padding: 10px 12px;
    gap: 0 !important;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 43, 214, 0.4);
    flex: none;
  }
  .sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .sidebar .brand { margin: 0; align-items: flex-start; }
  .sidebar .brand-num { font-size: 1.35rem; }
  .sidebar .brand-script { font-size: 1.2rem; }
  .sidebar .brand-crown svg { width: 22px; height: 12px; }
  .admin-menu-toggle { display: inline-flex; }
  .side-links {
    display: none;
    flex: none !important;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 43, 214, 0.28);
  }
  .side-links.is-open { display: flex; }
  .side-link { padding: 12px; }
  .side-mobile-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 43, 214, 0.28);
  }
  .side-foot { display: none !important; }
  .admin-main { padding: 16px 14px 40px; min-height: 0; }
  .admin-main h1 { font-size: clamp(1.55rem, 8vw, 2.1rem); }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat b { font-size: 1.35rem; }
  .bars { height: 130px; gap: 5px; }
  .bar span { font-size: 0.68rem; }
  .toolbar { align-items: flex-start; }
  .toolbar .btn, .toolbar .actions { width: 100%; }
  .toolbar .actions { display: flex; flex-wrap: wrap; }
  .toolbar .actions .btn { flex: 1 1 auto; }
  .admin .filters { flex-direction: column; align-items: stretch; }
  .admin .filters .grow,
  .admin .filters select,
  .admin .filters input,
  .admin .filters button { width: 100%; }
  .table-wrap { margin-inline: -2px; border-radius: 14px; }
  .table-wrap table { min-width: 560px; }
  th, td { padding: 10px 8px; font-size: 0.92rem; }
  .thumb { width: 40px; height: 40px; }
  .actions { gap: 8px; }
  .actions .btn { flex: 1 1 auto; }
  .product-admin-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .product-admin-body h2 { font-size: 1.05rem; }
  .sale-line { grid-template-columns: minmax(0, 1fr) 76px; gap: 8px; }
  .sale-line > div { min-width: 0; }
  .sale-line input { width: 76px; min-height: 44px; padding: 10px 4px; }
  .sale-total { font-size: 1.7rem; }
  .panel, .panel-block { padding: 14px; }
  .admin .btn { width: auto; max-width: 100%; }
  .admin form > .btn,
  .admin .panel-block > .btn,
  .admin .panel > .btn { width: 100%; }
  .login-body { padding: 18px 14px 28px; }
  .login-shell { grid-template-columns: 1fr; gap: 18px; width: min(440px, 100%); }
  .login-brand { text-align: center; padding: 0; }
  .login-brand .brand { align-items: center; margin: 0 auto 14px; }
  .login-brand .brand-num { font-size: 2.2rem; }
  .login-brand .brand-script { font-size: 1.9rem; }
  .login-brand h1 { font-size: 2rem; }
  .login-lead { margin-left: auto; margin-right: auto; }
  .login-panel { border-radius: 30px; padding: 20px; }
  .login-glow-a, .login-glow-b, .login-glow-c { opacity: 0.45; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .admin-main { padding: 14px 12px 36px; }
}
@media (min-width: 861px) {
  .mobile-cart { display: none !important; }
  body.has-cart { padding-bottom: 0; }
}
@media (max-width: 860px) {
  body.has-cart { padding-bottom: 84px; }
}
@media print {
  .sidebar, .topbar, .header, .footer, .mobile-cart, .no-print, .toast { display: none !important; }
  .admin-shell { display: block; }
  .admin-main { padding: 0; }
  body { background: white; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
