:root {
  --ink: #241915;
  --muted: #6f625e;
  --paper: #fffaf3;
  --panel: #ffffff;
  --tomato: #c93425;
  --tomato-dark: #98291f;
  --basil: #2e6e49;
  --cheese: #f7c85b;
  --line: #eadfd1;
  --shadow: 0 18px 45px rgba(57, 34, 23, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.closed-banner {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  color: #fff;
  background: var(--tomato-dark);
  font-weight: 800;
  text-align: center;
}

.closed-banner.hidden {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 250, 243, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--tomato);
  font-weight: 800;
  border: 3px solid var(--cheese);
}

.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(21, 11, 8, .82), rgba(21, 11, 8, .42) 44%, rgba(21, 11, 8, .12));
}

.hero-content {
  position: relative;
  max-width: 700px;
  padding: 110px clamp(20px, 6vw, 84px) 180px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--tomato);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow { color: var(--cheese); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 14px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.tagline {
  max-width: 640px;
  font-size: clamp(21px, 3vw, 34px);
  line-height: 1.14;
  font-weight: 800;
}

.hero-actions, .admin-actions, .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--tomato);
}

.button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.1);
}

.button.ghost-light {
  border-color: var(--line);
  background: transparent;
}

.button.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

.button.full { width: 100%; }

.hidden {
  display: none !important;
}

.map-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--tomato);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
}

.hero-panel {
  position: absolute;
  left: clamp(20px, 6vw, 84px);
  right: clamp(20px, 6vw, 84px);
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.25);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 18px;
  background: rgba(255,250,243,.95);
  color: var(--ink);
}

.hero-panel strong {
  display: block;
  font-size: 27px;
  line-height: 1;
}

.hero-panel span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 78px clamp(20px, 6vw, 84px);
}

.intro, .section-head, .delivery, .contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  gap: 32px;
  align-items: end;
}

.section-head {
  margin-bottom: 30px;
}

.section-head p, .intro p, .delivery p {
  color: var(--muted);
}

.pizza-grid {
  display: block;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.menu-tab {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.menu-tab.active {
  color: #fff;
  border-color: var(--tomato);
  background: var(--tomato);
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
}

.menu-panel-head {
  margin-bottom: 18px;
}

.menu-panel-head p {
  color: var(--muted);
  font-weight: 800;
}

.pizza-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promotion-panel,
.promotion-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf3;
  overflow: hidden;
}

.promotion-panel img,
.promotion-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.promotion-empty,
.promotion-preview span {
  padding: 28px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

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

.site-gallery img,
.gallery-admin-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.gallery-admin-list {
  grid-column: 1 / -1;
}

.gallery-admin-list > span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 900;
}

.gallery-admin-note {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff4d7;
  color: #6f3b14;
}

.gallery-admin-item {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.gallery-admin-item.pending {
  border-color: #d9a441;
  background: #fffaf0;
}

.pizza-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(57, 34, 23, .08);
}

.pizza-photo {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #eadfd1;
}

.pizza-body {
  padding: 18px;
}

.pizza-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
}

.pizza-title span:last-child {
  color: var(--tomato);
}

.pizza-body p {
  color: var(--muted);
  margin-bottom: 0;
}

.order-band, .admin-section {
  background: #fff2e2;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .6fr);
  gap: 24px;
  align-items: start;
}

.form-panel, .side-panel, .contact-form, .review-form, .client-login {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-panel.closed {
  position: relative;
}

.form-panel.closed::after {
  content: "Commandes fermées temporairement";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background: rgba(36, 25, 21, .78);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.form-panel, .contact-form, .review-form, .client-login {
  padding: 22px;
}

.side-panel {
  padding: 24px;
}

.event-panel {
  margin-bottom: 46px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  color: #fff;
}

.event-panel h3 {
  margin-bottom: 14px;
}

.event-visuals {
  display: grid;
  gap: 12px;
}

.event-visuals img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #000;
}

.event-visuals img:first-child {
  aspect-ratio: 1;
  object-fit: cover;
}

.event-visuals img:last-child {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.event-panel + h3 {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

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

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input.invalid {
  border-color: var(--tomato);
  box-shadow: 0 0 0 3px rgba(201, 52, 37, .14);
}

.wide { grid-column: 1 / -1; }

input, textarea, select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d9c9b8;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.pizza-picker {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.picker-group {
  display: grid;
  gap: 10px;
}

.picker-group h3 {
  margin: 12px 0 2px;
  font-size: 18px;
}

.pizza-row {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf3;
}

.pizza-row strong, .pizza-row span {
  display: block;
}

.pizza-row span {
  color: var(--muted);
  font-size: 13px;
}

.pizza-row small {
  display: block;
  margin-top: 6px;
  color: var(--basil);
  font-size: 12px;
  font-weight: 900;
}

.pizza-row.out-of-stock {
  opacity: .58;
  background: #f4f0ea;
}

.pizza-row.out-of-stock small {
  color: var(--tomato);
}

.pizza-row input {
  text-align: center;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--basil);
}

.client-section {
  background: #fbf5ed;
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.client-orders {
  display: grid;
  gap: 14px;
}

.client-order-card,
.client-empty,
.loyalty-client-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.client-order-card header,
.client-order-footer,
.loyalty-client-card header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.invoice-waiting {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.client-order-card header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--basil);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.client-order-lines {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  color: var(--muted);
  font-weight: 800;
}

.tracking-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.tracking-step {
  position: relative;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf5ed;
}

.tracking-step span {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.tracking-step strong,
.tracking-step small {
  display: block;
}

.tracking-step strong {
  font-size: 13px;
}

.tracking-step small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.tracking-step.done {
  border-color: rgba(45, 101, 54, .35);
  background: #edf7ed;
}

.tracking-step.done span,
.tracking-step.active span {
  color: #fff;
  background: var(--basil);
}

.tracking-step.active {
  border-color: var(--basil);
  box-shadow: 0 0 0 3px rgba(45, 101, 54, .12);
}

.tracking-step.pending {
  opacity: .68;
}

.client-empty {
  color: var(--muted);
  font-weight: 900;
}

.loyalty-client-card {
  border-color: rgba(45, 101, 54, .28);
  background: #f5fff5;
}

.loyalty-client-card header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.loyalty-progress {
  height: 12px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfeadd;
}

.loyalty-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--basil);
}

.loyalty-client-card p {
  color: var(--muted);
  font-weight: 800;
}

.loyalty-codes {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.loyalty-codes span,
.loyalty-code-chip {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--tomato);
  font-size: 12px;
  font-weight: 900;
}

.loyalty-discount {
  color: var(--basil);
  font-size: 12px;
  font-weight: 900;
}

.loyalty-code-chip {
  margin: 0 6px 6px 0;
}

.order-total strong {
  font-size: 30px;
}

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--basil);
  font-weight: 800;
}

.order-success-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 25, 21, .54);
}

.order-success-box {
  position: relative;
  display: grid;
  width: 12cm;
  height: 8cm;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  place-items: center;
  padding: 28px;
  border: 3px solid var(--tomato);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 24px 70px rgba(36, 25, 21, .28);
  text-align: center;
}

.order-success-box h2 {
  margin-bottom: 12px;
  color: var(--tomato);
  font-size: 28px;
}

.order-success-box p {
  max-width: 34ch;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.payment-info {
  margin: -2px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(46, 110, 73, .24);
  border-radius: 8px;
  color: var(--basil);
  background: rgba(46, 110, 73, .08);
  font-size: 14px;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  padding-left: 19px;
  margin: 0;
}

.delivery {
  align-items: center;
}

.zones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.zones span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  font-size: 13px;
}

.map-card {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(36,25,21,.05) 1px, transparent 1px),
    linear-gradient(rgba(36,25,21,.05) 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
  overflow: hidden;
}

.map-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.map-ring.outer {
  width: 280px;
  height: 280px;
  background: rgba(201,52,37,.12);
  border: 2px solid rgba(201,52,37,.26);
}

.map-ring.middle {
  width: 190px;
  height: 190px;
  background: rgba(247,200,91,.22);
  border: 2px solid rgba(247,200,91,.55);
}

.map-ring.center {
  width: 112px;
  height: 112px;
  color: #fff;
  background: var(--tomato);
  font-weight: 800;
}

.contact-band {
  align-items: start;
  background: #fbf5ed;
}

.reviews-section {
  background: #fffaf3;
}

.legal-section {
  background: #fbf5ed;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-grid h3 {
  margin-bottom: 10px;
}

.legal-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.rating-field {
  padding: 0;
  border: 0;
}

.rating-field legend {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating label {
  min-height: auto;
  color: #d8c9b8;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--cheese);
}

.reviews-list {
  display: grid;
  gap: 14px;
}

.review-card,
.review-empty {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.review-head span {
  color: var(--cheese);
  font-size: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-card p,
.review-empty {
  color: var(--muted);
  font-weight: 800;
}

.phone,
.email {
  font-size: 22px;
  font-weight: 900;
}

.socials a {
  padding: 10px 13px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.access-plan {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding: 18px;
  border-left: 5px solid var(--tomato);
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(220px, 380px) auto;
  gap: 12px;
  align-items: end;
  max-width: 620px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-login.locked,
.admin-content.locked {
  display: none;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-tab {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.admin-tab.active {
  color: #fff;
  border-color: var(--tomato);
  background: var(--tomato);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-closure,
.admin-dates,
.admin-promotion {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-dates {
  grid-template-columns: minmax(220px, 1fr) minmax(180px, .7fr) auto minmax(180px, .7fr) auto;
}

.admin-closure h3,
.admin-closure p,
.admin-dates h3,
.admin-dates p,
.admin-promotion h3,
.admin-promotion p {
  margin-bottom: 0;
}

.admin-closure p,
.admin-dates p,
.admin-promotion p {
  color: var(--muted);
  font-weight: 800;
}

.admin-promotion .promotion-preview {
  grid-column: 1 / -1;
}

.admin-promotion > .form-note {
  grid-column: 1 / -1;
  margin: 0;
}

.stock-save-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.stock-save-actions .form-note {
  margin: 0;
}

.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.admin-closure.closed p {
  color: var(--tomato);
}

.blocked-dates-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.blocked-dates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
}

.blocked-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf3;
  font-weight: 800;
}

.blocked-date-chip button {
  border: 0;
  color: #fff;
  background: var(--tomato);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.admin-content .admin-actions {
  justify-content: flex-end;
  margin-bottom: 18px;
}

.stats-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stock-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stock-head h3,
.stock-head p {
  margin-bottom: 0;
}

.stock-head p {
  color: var(--muted);
  font-weight: 800;
}

.stock-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.stock-layout section {
  min-width: 0;
}

.stock-layout h3 {
  margin-bottom: 10px;
}

.stock-table-wrap table {
  min-width: 520px;
}

.stock-input {
  max-width: 110px;
  min-height: 38px;
}

.stats-details section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(57, 34, 23, .08);
}

.bar-list {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  gap: 6px;
}

.bar-row span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1e4d5;
}

.bar-fill {
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
  background: var(--tomato);
}

.deliveries-section {
  grid-column: 1 / -1;
}

.delivery-list {
  display: grid;
  gap: 10px;
}

.delivery-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf3;
}

.delivery-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-pizza-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.payment-admin {
  display: grid;
  gap: 8px;
  min-width: 110px;
}

.paid-badge,
.unpaid-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.paid-badge {
  background: var(--basil);
}

.unpaid-badge {
  background: var(--tomato);
}

.qr-orders-list {
  display: grid;
  gap: 14px;
}

.qr-order-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(57, 34, 23, .08);
}

.qr-order-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.qr-order-card p {
  color: var(--muted);
  font-weight: 800;
}

.qr-pizza-list {
  display: grid;
  gap: 10px;
}

.qr-pizza-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf3;
}

.qr-pizza-row img {
  width: 64px;
  height: 64px;
}

.stats-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stats-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stats-grid strong {
  display: block;
  margin-top: 7px;
  font-size: 26px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th, td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #fffaf3;
  font-size: 13px;
}

td {
  color: var(--muted);
}

td strong {
  color: var(--ink);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 6vw, 84px);
  color: #fff;
  background: var(--ink);
}

@media (max-width: 920px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .hero { min-height: 760px; }
  .hero-panel, .pizza-grid-inner, .site-gallery, .gallery-admin-list, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro, .section-head, .delivery, .contact-band, .order-layout, .client-layout, .reviews-layout, .legal-grid, .stats-details, .stock-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 56px 18px; }
  .hero-content { padding: 84px 18px 260px; }
  .hero-panel {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
  }
  .pizza-grid-inner, .site-gallery, .gallery-admin-list, .stats-grid, .form-grid { grid-template-columns: 1fr; }
  .pizza-row { grid-template-columns: 1fr 78px; }
  .tracking-steps { grid-template-columns: 1fr; }
  .admin-actions { width: 100%; }
  .admin-actions .button { flex: 1; }
  .admin-login { grid-template-columns: 1fr; }
  .admin-closure, .admin-dates { grid-template-columns: 1fr; }
  .stock-head { align-items: stretch; flex-direction: column; }
  .closed-banner { flex-direction: column; }
}
