/* =============================================
   Chef Dorothy -- Design System & Stylesheet
   Bodoni Moda + Jost | Cream & Gold | Editorial
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500&family=Jost:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* --- Custom Properties --- */
:root {
  --cd-cream:      #FFFBF5;
  --cd-cream-dark: #F5EDE3;
  --cd-charcoal:   #1C1917;
  --cd-text:       #292524;
  --cd-text-light: #78716C;
  --cd-gold:       #CA8A04;
  --cd-gold-deep:  #A16207;
  --cd-sage:       #5F7A61;
  --cd-sage-light: #8BA38D;
  --cd-border:     #E7E5E4;

  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;

  --max-width:    1200px;
  --section-pad:  clamp(3rem, 8vw, 6rem);
  --gap:          clamp(1rem, 3vw, 2rem);

  --radius:       4px;
  --radius-lg:    4px;
  --shadow:       0 2px 12px rgba(28, 25, 23, 0.06);
  --shadow-lg:    0 8px 32px rgba(28, 25, 23, 0.10);
  --transition:   0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cd-text);
  background: var(--cd-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cd-charcoal);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cd-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  color: var(--cd-charcoal);
  border-left: 3px solid var(--cd-gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.text-light { color: var(--cd-text-light); }
.text-gold  { color: var(--cd-gold); }
.text-sage  { color: var(--cd-sage); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding: var(--section-pad) 0;
}

.section--cream { background: var(--cd-cream); }
.section--alt   { background: var(--cd-cream-dark); }
.section--dark  {
  background: var(--cd-charcoal);
  color: var(--cd-cream);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--cd-cream); }
.section--dark .eyebrow { color: var(--cd-gold); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.section-header p {
  margin-top: 1rem;
  color: var(--cd-text-light);
  font-size: 1.05rem;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__content { order: 1; }
  .split--wide { grid-template-columns: 55% 1fr; }
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: var(--cd-gold);
  color: #fff;
}
.btn--gold:hover {
  background: var(--cd-gold-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--outline {
  border: 1.5px solid var(--cd-charcoal);
  color: var(--cd-charcoal);
  background: transparent;
}
.btn--outline:hover {
  background: var(--cd-charcoal);
  color: var(--cd-cream);
}

.btn--outline-light {
  border: 1.5px solid var(--cd-cream);
  color: var(--cd-cream);
  background: transparent;
}
.btn--outline-light:hover {
  background: var(--cd-cream);
  color: var(--cd-charcoal);
}

.btn--sage {
  background: var(--cd-sage);
  color: #fff;
}
.btn--sage:hover {
  background: #4d6650;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(255, 251, 245, 0.97);
  box-shadow: 0 1px 0 var(--cd-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cd-charcoal);
  letter-spacing: 0.02em;
}

.nav--transparent .nav__logo { color: #fff; }
.nav--scrolled .nav__logo { color: var(--cd-charcoal); }

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cd-text);
  position: relative;
  transition: color var(--transition);
}

.nav--transparent .nav__links a { color: rgba(255,255,255,0.9); }
.nav--scrolled .nav__links a { color: var(--cd-text); }

.nav__links a:hover { color: var(--cd-gold); }

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--cd-gold);
  transition: width var(--transition);
}
.nav__links a:hover::after { width: 100%; }

.nav__sign-in {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.6rem 1rem;
  border: 1px solid var(--cd-gold);
  color: var(--cd-gold);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav--transparent .nav__sign-in { border-color: var(--cd-gold); color: var(--cd-gold); }
.nav__sign-in:hover,
.nav--transparent .nav__sign-in:hover { background: var(--cd-gold); color: #fff; }
.nav__sign-in::after { display: none; }

.nav__cta {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.25rem;
  background: var(--cd-gold);
  color: #fff;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav__cta:hover { background: var(--cd-gold-deep); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cd-charcoal);
  transition: all var(--transition);
}

.nav--transparent .nav__hamburger span { background: #fff; }
.nav--scrolled .nav__hamburger span { background: var(--cd-charcoal); }

.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--cd-cream);
  z-index: 999;
  padding: 100px 2rem 2rem;
  transition: right 0.4s ease;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.mobile-menu.open { right: 0; }

.mobile-menu a {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cd-border);
  color: var(--cd-text);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--cd-gold); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 25, 23, 0.75) 0%,
    rgba(28, 25, 23, 0.3) 40%,
    rgba(28, 25, 23, 0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: #fff;
}

.hero__content .eyebrow {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.hero__content h1 {
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

/* Page hero (shorter) */
.hero--page {
  min-height: 50vh;
  padding-top: 72px;
  align-items: center;
  text-align: center;
}

.hero--page .hero__content {
  max-width: 720px;
  margin: 0 auto;
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__img img {
  transform: scale(1.05);
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.6);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover .card__overlay { opacity: 1; }

.card__overlay p {
  color: #fff;
  font-size: 0.95rem;
}

.card__body {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.card__body h3 {
  margin-bottom: 0.5rem;
}

.card__body p {
  color: var(--cd-text-light);
  font-size: 0.95rem;
}

/* Service card */
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img { transform: scale(1.05); }

.service-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 1.5rem;
  background: linear-gradient(to top, rgba(28,25,23,0.85), transparent);
  color: #fff;
}

.service-card__content h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-card__content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.service-card__link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cd-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition);
}

.service-card:hover .service-card__link { gap: 0.75rem; }

/* --- Dish Carousel --- */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0 1rem;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .carousel__item { flex: 0 0 320px; }
}

.dish-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dish-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}

.dish-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-card__body {
  padding: 1.25rem;
}

.dish-card__body h4 {
  margin-bottom: 0.25rem;
}

.dish-card__body p {
  font-size: 0.9rem;
  color: var(--cd-text-light);
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  text-align: center;
  padding: 1.5rem;
  counter-increment: step;
}

.step__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--cd-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.step h4 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--cd-text-light);
  font-size: 0.95rem;
}

/* --- Testimonials --- */
.testimonial {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.testimonial__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--cd-charcoal);
  margin-bottom: 1.25rem;
}

.testimonial__author {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cd-text-light);
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.cta-banner h2 {
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 251, 245, 0.75);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* --- Stats Strip --- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--cd-gold);
  display: block;
}

.stat__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cd-text-light);
  margin-top: 0.25rem;
}

/* --- Gallery --- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gallery-filter {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1.5px solid var(--cd-border);
  color: var(--cd-text-light);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-filter:hover,
.gallery-filter.active {
  border-color: var(--cd-gold);
  color: var(--cd-gold);
  background: rgba(202, 138, 4, 0.05);
}

.gallery-grid {
  columns: 2;
  column-gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid { columns: 3; }
}

@media (min-width: 1024px) {
  .gallery-grid { columns: 4; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.5);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(28, 25, 23, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  border: none;
  transition: background var(--transition);
}

.lightbox__close:hover { background: rgba(255,255,255,0.2); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  border: none;
  transition: background var(--transition);
}

.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

/* --- Forms --- */
.form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cd-text-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--cd-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--cd-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cd-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* --- Menu Page --- */
.menu-header {
  background: var(--cd-cream-dark);
  padding: 2rem 0;
  text-align: center;
  border-bottom: 1px solid var(--cd-border);
}

.menu-header__deadline {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cd-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 0;
}

.menu-filter {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1.5px solid var(--cd-border);
  color: var(--cd-text-light);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.menu-filter:hover,
.menu-filter.active {
  border-color: var(--cd-gold);
  color: var(--cd-gold);
  background: rgba(202, 138, 4, 0.05);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Meal card */
.meal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.meal-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.meal-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meal-card__tags {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.dietary-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  background: var(--cd-sage-light);
  color: #fff;
}

.meal-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.meal-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.meal-card__desc {
  font-size: 0.9rem;
  color: var(--cd-text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.meal-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.meal-card__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cd-charcoal);
}

.meal-card__add {
  width: 100%;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--cd-gold);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

.meal-card__add:hover { background: var(--cd-gold-deep); }

/* Meal card without image */
.meal-card--no-img {
  border-top: 3px solid var(--cd-gold);
}

.meal-card--no-img .meal-card__body {
  padding: 1.5rem;
}

.meal-card--no-img .meal-card__tags {
  position: static;
  margin-bottom: 0.75rem;
}

.meal-card--no-img .dietary-tag {
  background: var(--cd-cream-dark);
  color: var(--cd-text);
}

/* Cart */
/* --- Menu Layout --- */
.menu-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .menu-layout {
    grid-template-columns: 1fr 340px;
  }
}

/* --- Cart Sidebar --- */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 1010;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--cd-border);
}

.cart-sidebar__header h3 {
  font-size: 1.15rem;
  margin: 0;
}

.cart-sidebar__close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--cd-text-light);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color var(--transition);
}

.cart-sidebar__close:hover { color: var(--cd-text); }

.cart-empty {
  color: var(--cd-text-light);
  font-size: 0.9rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cd-border);
  font-size: 0.9rem;
}

.cart-item__name {
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--cd-border);
  border-radius: var(--radius);
  background: var(--cd-cream);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.cart-qty-btn:hover {
  border-color: var(--cd-gold);
  color: var(--cd-gold);
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--cd-text-light);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color var(--transition);
  padding: 0;
  margin-top: 0.25rem;
}

.cart-item__remove:hover { color: #dc2626; }

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--cd-border);
  display: none;
}

.cart-footer.visible { display: block; }

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* --- Cart Overlay --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1005;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- Cart Bar (mobile) --- */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--cd-charcoal);
  color: var(--cd-cream);
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 900;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cart-bar.visible { transform: translateY(0); }

.cart-bar__info {
  font-size: 0.9rem;
}

.cart-bar__info strong {
  color: var(--cd-gold);
}

.cart-bar__checkout {
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--cd-gold);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

.cart-bar__checkout:hover { background: var(--cd-gold-deep); }

/* --- Desktop: sidebar is inline, not drawer --- */
@media (min-width: 1024px) {
  .cart-sidebar {
    position: sticky;
    top: 88px;
    height: auto;
    max-height: calc(100vh - 100px);
    max-width: none;
    width: auto;
    transform: none;
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
    z-index: auto;
  }

  .cart-sidebar__close { display: none; }

  .cart-overlay { display: none; }

  .cart-bar { display: none; }
}

/* Pickup / Delivery selector */
.fulfillment {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cd-border);
}

.fulfillment__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

.fulfillment__option {
  padding: 0.75rem;
  border: 1.5px solid var(--cd-border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.fulfillment__option.selected {
  border-color: var(--cd-gold);
  background: rgba(202, 138, 4, 0.05);
  color: var(--cd-gold);
}

.pickup-locations {
  margin-top: 0.75rem;
}

.pickup-location {
  padding: 0.6rem;
  border: 1.5px solid var(--cd-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.pickup-location.selected {
  border-color: var(--cd-sage);
  background: rgba(95, 122, 97, 0.05);
}

/* --- Footer --- */
.footer {
  background: var(--cd-charcoal);
  color: rgba(255, 251, 245, 0.7);
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cd-cream);
  margin-bottom: 0.75rem;
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cd-cream);
  margin-bottom: 1rem;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  color: rgba(255, 251, 245, 0.7);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--cd-gold); }

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 251, 245, 0.2);
  color: rgba(255, 251, 245, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  border-color: var(--cd-gold);
  color: var(--cd-gold);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 251, 245, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer__bottom a {
  color: rgba(255, 251, 245, 0.5);
  transition: color var(--transition);
}

.footer__bottom a:hover { color: var(--cd-gold); }

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy.loaded { opacity: 1; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Cart Qty Buttons --- */
.cart-qty-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--cd-border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--cd-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cart-qty-btn:hover {
  border-color: var(--cd-gold);
  color: var(--cd-gold);
}

/* old cart-item/layout rules removed -- now in cart sidebar section above */

/* --- Included List (catering) --- */
.included-list {
  list-style: none;
  padding: 0;
}

.included-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cd-border);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.included-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cd-gold);
  flex-shrink: 0;
}

/* --- Grain Texture Overlay --- */
.section--cream::before,
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.section--cream,
.section--alt {
  position: relative;
}

/* --- Marquee Ticker --- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--cd-charcoal);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(202, 138, 4, 0.2);
  border-bottom: 1px solid rgba(202, 138, 4, 0.2);
}

.marquee__track {
  display: inline-flex;
  animation: marquee-scroll 25s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 251, 245, 0.5);
  padding: 0 2rem;
}

.marquee__track .marquee__sep {
  color: var(--cd-gold);
  font-style: normal;
  font-size: 0.6em;
  vertical-align: middle;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Full-Bleed Image Divider --- */
.image-divider {
  position: relative;
  height: clamp(250px, 35vw, 400px);
  overflow: hidden;
}

.image-divider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}

.image-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 25, 23, 0.15) 0%,
    rgba(28, 25, 23, 0.05) 50%,
    rgba(28, 25, 23, 0.15) 100%
  );
  pointer-events: none;
}

/* --- Editorial Ornament --- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--cd-gold);
  opacity: 0.4;
}

.ornament__diamond {
  width: 6px;
  height: 6px;
  background: var(--cd-gold);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* --- Decorative Testimonial --- */
.testimonial--decorated {
  position: relative;
  padding-top: 3.5rem;
}

.testimonial--decorated::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--cd-gold);
  opacity: 0.15;
  pointer-events: none;
}

/* --- Asymmetric Split --- */
@media (min-width: 768px) {
  .split--offset {
    grid-template-columns: 45% 1fr;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .split--offset .split__media {
    position: relative;
    margin-top: -2rem;
    margin-bottom: -2rem;
  }

  .split--offset .split__media img {
    box-shadow: var(--shadow-lg);
  }
}

/* --- Slide-In Animations --- */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.36s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.48s; }

/* --- Richer Hover Effects --- */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.15);
  z-index: 0;
  transition: background 0.5s ease;
}

.service-card:hover::after {
  background: rgba(28, 25, 23, 0.05);
}

.dish-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.dish-card__img img {
  transition: transform 0.6s ease;
}

.dish-card:hover .dish-card__img img {
  transform: scale(1.08);
}

/* Gallery item richer hover */
.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  background: linear-gradient(to top, rgba(28, 25, 23, 0.7) 0%, transparent 60%);
  transition: opacity 0.4s ease;
}

/* --- Account / Auth --- */
.auth-message {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Checkout Page --- */
.checkout-section {
  background: #fff;
  border: 1px solid var(--cd-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.checkout-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.checkout-section__header h3 { margin: 0; }

.checkout-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.checkout-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--cd-border);
  font-size: 0.9rem;
}

.checkout-line-item:last-child { border-bottom: none; }

.checkout-line-item__name {
  font-weight: 500;
}

.checkout-line-item__qty {
  color: var(--cd-text-light);
  margin-left: 0.5rem;
  font-size: 0.85rem;
}

.checkout-line-item__price {
  font-weight: 500;
  white-space: nowrap;
}

.checkout-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1.5px solid var(--cd-border);
}

.checkout-section--total {
  background: var(--cd-cream-dark);
  border-color: var(--cd-gold);
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.checkout-total span:last-child {
  color: var(--cd-gold-deep);
}

/* --- Order Cards --- */
.order-card {
  background: #fff;
  border: 1px solid var(--cd-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: box-shadow var(--transition);
}

.order-card:hover {
  box-shadow: var(--shadow);
}

.order-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.order-card__date {
  font-weight: 500;
  font-size: 0.95rem;
}

.order-card__status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-left: 0.75rem;
}

.order-status--paid {
  background: #F0FDF4;
  color: #166534;
}

.order-status--other {
  background: #FEF3C7;
  color: #92400E;
}

.order-card__total {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cd-gold-deep);
}

.order-card__items {
  font-size: 0.9rem;
  color: var(--cd-text-light);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.order-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--cd-text-light);
  text-transform: capitalize;
}

/* =============================================
   Admin Dashboard
   ============================================= */

/* Stats Row */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-stat {
  background: #fff;
  border: 1px solid var(--cd-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}
.admin-stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--cd-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.admin-stat__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cd-charcoal);
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--cd-border);
  margin-bottom: 1.5rem;
}
.admin-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cd-text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.admin-tab:hover { color: var(--cd-text); }
.admin-tab.active {
  color: var(--cd-gold);
  border-bottom-color: var(--cd-gold);
}

/* Panels */
.admin-panel {
  background: #fff;
  border: 1px solid var(--cd-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.admin-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.admin-panel__header h3 { margin: 0; }

/* Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cd-text-light);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--cd-border);
}
.admin-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #f5f5f4;
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-date { font-weight: 500; }
.admin-time { font-size: 0.8rem; color: var(--cd-text-light); }
.admin-items-cell { max-width: 200px; font-size: 0.85rem; color: var(--cd-text-light); }

/* Status Select */
.admin-select {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  border: 1.5px solid var(--cd-border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.admin-status-select {
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--cd-border);
  cursor: pointer;
  font-weight: 500;
}
.admin-status--paid { color: #CA8A04; background: #FEFCE8; border-color: #FDE68A; }
.admin-status--preparing { color: #2563EB; background: #EFF6FF; border-color: #BFDBFE; }
.admin-status--ready { color: #16A34A; background: #F0FDF4; border-color: #BBF7D0; }
.admin-status--completed { color: var(--cd-text-light); background: #F5F5F4; border-color: var(--cd-border); }

/* Order Cards */
.admin-order-card {
  background: #fff;
  border: 1px solid var(--cd-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.admin-order__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f5f5f4;
}
.admin-order__total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.admin-order__customer,
.admin-order__fulfillment {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.admin-order__detail {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.admin-order__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cd-text-light);
  font-weight: 500;
}
.admin-order__items {
  margin-bottom: 0.75rem;
}
.admin-order__item {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #fafaf9;
}
.admin-order__item:last-child { border-bottom: none; }
.admin-order__notes {
  background: #FEFCE8;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
}
.admin-order__notes p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-style: italic;
}

/* Menu Items List */
.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f5f5f4;
}
.admin-menu-item:last-child { border-bottom: none; }
.admin-menu-item__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cd-cream-dark);
}
.admin-menu-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-menu-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.admin-menu-item__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Small buttons */
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--xs { padding: 0.3rem 0.6rem; font-size: 0.75rem; }
.admin-delete-btn { color: #dc2626; border-color: #FECACA; }
.admin-delete-btn:hover { background: #FEF2F2; }

/* Toggle */
.admin-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.8rem;
}
.admin-toggle input { cursor: pointer; }
.admin-toggle__label { color: var(--cd-text-light); }

/* Week Toggle (Past Orders) */
.admin-week-group {
  margin-bottom: 0.5rem;
}
.admin-week-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--cd-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.15s;
}
.admin-week-toggle:hover {
  background: var(--cd-cream);
}
.admin-week-toggle__label {
  font-weight: 600;
  font-size: 0.95rem;
}
.admin-week-toggle__meta {
  display: block;
  font-size: 0.8rem;
  color: var(--cd-text-light);
  margin-top: 0.15rem;
}
.admin-week-toggle__arrow {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cd-text-light);
  width: 1.5rem;
  text-align: center;
}
.admin-week-orders {
  padding-top: 0.75rem;
}

/* Form Wrap */
.admin-form-wrap {
  background: var(--cd-cream);
  border: 1px solid var(--cd-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-table { font-size: 0.8rem; }
  .admin-table th:nth-child(3),
  .admin-table td:nth-child(3) { display: none; }
  .admin-menu-item { flex-wrap: wrap; }
  .admin-menu-item__actions { width: 100%; justify-content: flex-end; }
  .admin-tabs { overflow-x: auto; }
  .admin-tab { white-space: nowrap; padding: 0.75rem 1rem; }
}

@media (max-width: 480px) {
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .admin-stat { padding: 1rem; }
  .admin-stat__value { font-size: 1.4rem; }
  .admin-table th:nth-child(5),
  .admin-table td:nth-child(5) { display: none; }
}

/* --- Print --- */
@media print {
  .nav, .footer, .mobile-menu, .mobile-overlay, .lightbox, .cart-bar, .marquee, .image-divider { display: none; }
  body { background: #fff; color: #000; }
}
