/* ============ LSE Shop ============ */
:root {
  --primary: #1f4e9c;
  --primary-dark: color-mix(in srgb, var(--primary) 78%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 9%, #fff);
  --primary-ring: color-mix(in srgb, var(--primary) 25%, transparent);
  --bg: #f5f7fb;
  --card: #fff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e4e8f0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 40px rgba(15, 23, 42, .10);
  --danger: #dc2626;
  --success: #15803d;
  --warn: #b45309;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }
main { padding: 20px 0 64px; }
.stack > * + * { margin-top: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); font-size: 1.05rem; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-mark {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: -.02em;
}
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 10px 16px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px var(--primary-ring); transition: transform .15s, background .15s;
}
.cart-btn:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--primary);
  font-size: .78rem; font-weight: 800; display: grid; place-items: center;
}

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
  background: var(--primary); color: #fff; box-shadow: 0 4px 14px var(--primary-ring);
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .875rem; border-radius: 10px; box-shadow: none; }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); box-shadow: none; }
.btn-secondary:hover { background: var(--primary-soft); border-color: var(--primary-ring); }
.btn-ghost { background: transparent; color: var(--muted); box-shadow: none; }
.btn-ghost:hover { background: var(--primary-soft); color: var(--text); }
.btn-danger { background: var(--danger); box-shadow: none; }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: var(--success); box-shadow: none; }
.btn-success:hover { background: #166534; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; font-size: .875rem; }
.link-btn:hover { color: var(--danger); text-decoration: underline; }

/* ---------- carduri ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card + .card { margin-top: 18px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-title h2, .card-title h3 { margin: 0; }

/* ---------- alerte ---------- */
.flashes { margin-bottom: 18px; display: grid; gap: 10px; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; border: 1px solid; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.alert-success, .alert-cart { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.alert-info { background: var(--primary-soft); border-color: var(--primary-ring); color: var(--primary-dark); }
.alert-warn { background: #fffbeb; border-color: #fde68a; color: #78350f; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff; margin-bottom: 28px;
  background: radial-gradient(1200px 400px at 90% -10%, color-mix(in srgb, var(--primary) 55%, #7dd3fc) 0%, transparent 60%),
              linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: var(--shadow-lg);
}
.hero-banner { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; min-height: 140px; }
.hero-body { padding: 26px 22px 28px; }
.hero.has-banner { background: var(--card); color: var(--text); }
.hero h1 { margin-bottom: 10px; }
.hero p { opacity: .92; max-width: 640px; white-space: pre-line; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  font-size: .875rem; font-weight: 600; background: rgba(255, 255, 255, .16); color: inherit;
  border: 1px solid rgba(255, 255, 255, .25);
}
.hero.has-banner .chip { background: var(--primary-soft); color: var(--primary-dark); border-color: var(--primary-ring); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }
.chip.closed .dot { background: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .25); }

.closed-banner {
  display: flex; gap: 12px; align-items: center; padding: 16px 18px; margin-bottom: 22px;
  border-radius: var(--radius); background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; font-weight: 600;
}

/* ---------- grilă produse ---------- */
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 14px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.product-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; color: var(--text); transition: box-shadow .2s, transform .2s;
}
.product-card:hover { text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card .thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--primary-soft); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .info { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.product-card .name { font-weight: 600; font-size: .98rem; }
.product-card .price { font-weight: 800; color: var(--primary); }
.no-img { width: 100%; height: 100%; display: grid; place-items: center; color: var(--primary); opacity: .5; font-weight: 700; }

/* ---------- pagina produs ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.product-layout { display: grid; gap: 22px; }
@media (min-width: 860px) { .product-layout { grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-main:hover img { transform: scale(1.04); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 68px; height: 68px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--card); }
.thumbs button.active { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-panel .price-lg { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.description { color: #334155; white-space: pre-line; }
.option-group { margin: 18px 0; border: 0; padding: 0; }
.option-group legend, .label { font-weight: 600; margin-bottom: 8px; padding: 0; display: flex; justify-content: space-between; width: 100%; align-items: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-grid; place-items: center; min-width: 56px; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--card); font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.pill input:hover + span { border-color: var(--primary); }
.pill input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px var(--primary-ring); }
.pill input:focus-visible + span { outline: 3px solid var(--primary-ring); outline-offset: 2px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 14px; background: var(--card); overflow: hidden; }
.qty button { width: 46px; height: 46px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--text); }
.qty button:hover { background: var(--primary-soft); }
.qty input { width: 48px; height: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 38px; height: 38px; }
.qty.sm input { width: 38px; height: 38px; }
.add-row { display: flex; gap: 12px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.add-row .btn { flex: 1; min-width: 200px; }

/* ---------- modal ---------- */
dialog.modal { border: 0; padding: 0; border-radius: var(--radius); max-width: min(720px, 94vw); width: 100%; box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; }
.modal-body { padding: 16px; }
.modal-body img { width: 100%; height: auto; border-radius: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--bg); cursor: pointer; font-size: 1.3rem; line-height: 1; }

/* ---------- coș ---------- */
.two-col { display: grid; gap: 20px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 360px; align-items: start; } .sticky { position: sticky; top: 84px; } }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-line:first-child { padding-top: 0; }
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-line img, .cart-line .ph { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--primary-soft); }
.cart-line .top { display: flex; justify-content: space-between; gap: 10px; }
.cart-line .name { font-weight: 600; color: var(--text); }
.cart-line .controls { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; flex-wrap: wrap; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-row.total { font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 8px; }
.empty { text-align: center; padding: 48px 20px; }
.empty .icon { font-size: 2.6rem; margin-bottom: 8px; }
.mini-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .94rem; }
.mini-line:last-of-type { border-bottom: 0; }

/* ---------- formulare ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password],
.field input[type=number], .field input[type=datetime-local], .field input[type=search], .field textarea, .field select, select.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px;
  font: inherit; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-ring);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .86rem; margin-top: 5px; font-weight: 500; }
.field input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; }
.field input[type=color] { width: 64px; height: 44px; border: 1.5px solid var(--border); border-radius: 10px; padding: 3px; background: #fff; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- confirmare ---------- */
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: var(--success); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 14px; }
.big-number { font-size: 1.8rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.pay-box { background: var(--primary-soft); border: 1px solid var(--primary-ring); border-radius: var(--radius); padding: 18px; }
.pay-box p:last-child { margin-bottom: 0; }
.copy-box { display: flex; gap: 8px; align-items: stretch; margin-top: 8px; }
.copy-box code { flex: 1; display: flex; align-items: center; padding: 12px 14px; background: #fff; border: 1.5px dashed var(--primary); border-radius: 12px; font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: 1rem; word-break: break-word; }

/* ---------- footer ---------- */
.site-footer { padding: 28px 0 40px; color: var(--muted); font-size: .875rem; text-align: center; }

/* ================= ADMIN ================= */
.admin-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.admin-header .container { display: flex; align-items: center; gap: 14px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.admin-nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .94rem; }
.admin-nav a:hover { background: var(--bg); color: var(--text); text-decoration: none; }
.admin-nav a.active { background: var(--primary-soft); color: var(--primary); }
.admin .container { max-width: 1240px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { font-size: 1.6rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(6, 1fr); } }
.stat { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px 16px; color: var(--text); }
a.stat:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.stat .n { font-size: 1.4rem; font-weight: 800; }
.stat .l { color: var(--muted); font-size: .82rem; font-weight: 500; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .input { min-height: 44px; width: auto; flex: 1; min-width: 200px; }
.toolbar select.input { flex: 0 1 200px; min-width: 150px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfe; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tfoot td { font-weight: 800; border-top: 2px solid var(--border); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge-noua { background: #eff6ff; color: #1d4ed8; }
.badge-platita { background: #dcfce7; color: #166534; }
.badge-predata { background: #f1f5f9; color: #334155; }
.badge-anulata { background: #fee2e2; color: #991b1b; }
.badge-warn { background: #fef3c7; color: #92400e; }
.badge-muted { background: #f1f5f9; color: var(--muted); }
.admin-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--primary-soft); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.img-tile { border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card); }
.img-tile.main { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.img-tile img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.img-tile .bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; gap: 6px; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.dl dt { color: var(--muted); font-weight: 500; }
.dl dd { margin: 0; font-weight: 600; word-break: break-word; }
.summary-matrix th, .summary-matrix td { text-align: center; }
.summary-matrix th:first-child, .summary-matrix td:first-child { text-align: left; }
.vars { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: var(--bg); padding: 2px 6px; border-radius: 6px; }
.section-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 400px; }
.error-box { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; border-radius: 12px; padding: 12px 14px; font-size: .9rem; word-break: break-word; }

/* ---------- predare ---------- */
.code-row { display: flex; gap: 10px; flex-wrap: wrap; }
.code-input {
  flex: 1; min-width: 200px; min-height: 60px !important; font-family: ui-monospace, Consolas, monospace !important;
  font-size: 1.8rem !important; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; text-align: center;
}
.code-input::placeholder { letter-spacing: .1em; font-weight: 500; font-size: 1.2rem; }
.handover-result { border: 2px solid var(--border); }
.handover-result.ok { border-color: #86efac; }
.handover-result.bad { border-color: #fecaca; }
.handover-items { display: grid; gap: 8px; margin-top: 12px; }
.handover-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 1.05rem; }
.qty-badge { min-width: 44px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; }
.pickup-code { font-family: ui-monospace, Consolas, monospace; font-weight: 800; letter-spacing: .15em; font-size: 1.1rem; color: var(--primary); }

/* ---------- câmp important (email la finalizare) ---------- */
.field.important { background: var(--primary-soft); border: 1.5px solid var(--primary-ring); border-radius: 14px; padding: 14px; }
.important-note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: .9rem; line-height: 1.45; color: var(--primary-dark); }
.important-note .tag { flex: none; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-top: 1px; }

/* ---------- logo ---------- */
.brand-logo { flex: none; display: block; height: 40px; width: auto; max-width: 140px; object-fit: contain; border-radius: 10px; }

/* ---------- ștergere comandă ---------- */
.danger-zone { border: 1.5px solid #fecaca; }
.danger-zone summary { cursor: pointer; color: #991b1b; }
.danger-zone[open] summary { margin-bottom: 4px; }

/* secțiunile cu ancoră nu mai intră sub meniul fix */
[id] { scroll-margin-top: 84px; }

/* ---------- mentenanță ---------- */
.maintenance-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(900px 500px at 50% -10%, var(--primary-soft) 0%, transparent 70%), var(--bg);
}
.maintenance-card { width: min(520px, 100%); text-align: center; background: var(--card); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 40px 28px; }
.maintenance-logo { height: 88px; width: auto; max-width: 220px; margin: 0 auto 8px; border-radius: 18px; object-fit: contain; }
.maintenance-mark { width: 72px; height: 72px; font-size: 1.3rem; border-radius: 18px; margin: 0 auto 8px; }
.maintenance-icon { font-size: 2rem; margin: 6px 0 2px; }
.maintenance-card h1 { font-size: 1.7rem; margin-bottom: 10px; }
.maintenance-text { white-space: pre-line; color: #334155; font-size: 1.05rem; }
.maintenance-bar {
  position: sticky; top: 0; z-index: 40; background: #f59e0b; color: #1f1300; font-weight: 600; font-size: .92rem;
  padding: 10px 16px; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; text-align: center;
}
.maintenance-bar a { color: #1f1300; text-decoration: underline; }
.maintenance-bar + .site-header { top: 41px; }
.maintenance-toggle { display: inline-flex; gap: 6px; align-items: center; }
.maintenance-toggle .badge { cursor: pointer; border: 0; font: inherit; font-size: .78rem; font-weight: 700; }
