/* Foodzaa professional theme */
:root {
  --bg: #f7f5f2;
  --bg-soft: #f3f1ee;
  --surface: #ffffff;
  --surface-2: #fff7f0;
  --accent: #e4582e;
  --accent-2: #f2b14c;
  --text: #10141c;
  --text-soft: #5a6572;
  --stroke: rgba(16, 20, 28, 0.08);
  --radius: 18px;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 8px 18px rgba(15, 23, 42, 0.06);
  --container: clamp(16px, 3vw, 64px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, #fff2e6 0%, transparent 60%),
    radial-gradient(1000px 700px at 90% 0%, #fff7ee 0%, transparent 55%),
    linear-gradient(180deg, #f7f5f2 0%, #fbfaf8 65%, #ffffff 100%);
  min-height: 100vh;
}

.page {
  max-width: 100%;
  margin: 0;
  padding: 24px var(--container) 72px;
  position: relative;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px 24px;
  color: var(--text);
  padding: 8px 0 10px;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 28px;
  letter-spacing: 0.5px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 100px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: rgba(16, 20, 28, 0.7);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(16, 20, 28, 0.06);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(242, 177, 76, 0.9);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost,
.cart {
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
}

.ghost:hover,
.cart:hover {
  border-color: rgba(16, 20, 28, 0.2);
  transform: translateY(-1px);
}

.cart span {
  background: var(--accent-2);
  color: #111;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.deals-strip {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.deals-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-soft);
  font-weight: 700;
}

.marquee {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fff;
}

.marquee-track {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  width: max-content;
  animation: scroll 26s linear infinite;
}

.deal-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 20, 28, 0.05);
  font-size: 13px;
  white-space: nowrap;
}

.deal-pill img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.deal-pill span {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 36px;
  align-items: center;
  animation: rise 0.8s ease-out;
}

.hero-text h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(32px, 4vw, 54px);
  margin: 12px 0 16px;
  color: var(--text);
}

.hero-text .sub {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 13px;
}

.hero-meta-strip span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 20, 28, 0.06);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent-2);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.primary,
.outline {
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
}

.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(228, 88, 46, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(228, 88, 46, 0.4);
}

.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(16, 20, 28, 0.2);
}

.hero-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(16, 20, 28, 0.06);
}

.hero-card h2 {
  font-family: "Fraunces", serif;
  margin-top: 8px;
}

.hero-card p {
  color: var(--text-soft);
  line-height: 1.6;
}

.hero-badge {
  display: inline-flex;
  background: #0f1a24;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
}

.section {
  margin-top: 48px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 20, 28, 0.06);
}

.section h2 {
  font-family: "Fraunces", serif;
  margin: 0;
}

.menu-sections {
  display: grid;
  gap: 28px;
}

.stat-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat-card {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  color: var(--text);
  display: grid;
  gap: 6px;
  text-align: center;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  color: var(--text-soft);
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: #fff5eb;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(228, 88, 46, 0.12);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: "Fraunces", serif;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.menu-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

#menu-search {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-family: "Space Grotesk", sans-serif;
  background: #fff;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 1px solid var(--stroke);
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.filter-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  position: relative;
  background: #fff;
  animation: rise 0.8s ease-out;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.price {
  font-weight: 600;
}

.banner,
.top-deal-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  gap: 24px;
}

.top-deal-banner {
  background: linear-gradient(135deg, #fff4ec 0%, #fff8f3 45%, #fff 100%);
  border: 1px solid rgba(255, 122, 77, 0.18);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 28px;
}

.top-deal-content h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  margin: 0;
}

.top-deal-content p {
  margin: 6px 0 0;
  color: #4b5563;
}

.top-deal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.top-deal-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-deal-media img {
  width: 100%;
  max-width: 300px;
  height: 180px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.banner {
  background: linear-gradient(120deg, rgba(228, 88, 46, 0.12), rgba(242, 177, 76, 0.18));
}

.cta {
  margin-top: 48px;
}

.cta-card {
  background: linear-gradient(120deg, rgba(228, 88, 46, 0.16), rgba(16, 20, 28, 0.06));
  border-radius: 22px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 20, 28, 0.06);
}

.cta-card h2 {
  font-family: "Fraunces", serif;
  margin: 0 0 10px;
}

.cta-card p {
  margin: 0;
  color: var(--text-soft);
}

.cart-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.site-footer {
  margin-top: 56px;
  color: var(--text-soft);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.site-footer h3,
.site-footer h4 {
  color: var(--text);
  margin-bottom: 8px;
}

.socials a {
  display: inline-block;
  margin-right: 10px;
  color: var(--text-soft);
  text-decoration: none;
}

.cart-list {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fff;
}

.cart-summary,
.summary {
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: #fff;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 18px;
}

.message {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-soft);
}

.order-notice {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff3cd;
  color: #7a4b00;
  border: 1px solid #f5c77d;
  margin-bottom: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.order-notice button {
  border: 1px solid rgba(122, 75, 0, 0.3);
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  color: inherit;
}

/* Admin */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: #eef1f6;
}

.admin-body,
body.admin-body {
  background: #eef1f6;
  color: var(--text);
}

.admin-sidebar {
  background: #ffffff;
  color: var(--text);
  padding: 24px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.admin-brand {
  font-family: "Fraunces", serif;
  font-size: 20px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.admin-brand img {
  max-width: 170px;
  height: auto;
  display: block;
}

.admin-menu {
  display: grid;
  gap: 10px;
}

.admin-menu a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: rgba(228, 88, 46, 0.12);
  color: var(--text);
}

.admin-main {
  padding: 28px 32px;
  color: var(--text);
}

.admin-main a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stroke);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--stroke);
  font-size: 14px;
  color: var(--text);
}

.admin-table th {
  background: #f4f6fb;
  font-weight: 600;
}

.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  color: var(--text);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: #fff;
}

.admin-book-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 360px;
  gap: 20px;
}

.admin-book-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
}

.admin-book-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-book-toolbar input {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  min-width: 220px;
}

.admin-book-products {
  display: grid;
  gap: 12px;
  max-height: 540px;
  overflow: auto;
}

.admin-book-product {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #f9fafb;
}

.admin-book-product img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.admin-book-info {
  display: grid;
  gap: 2px;
}

.admin-book-info span {
  color: var(--text-soft);
  font-size: 12px;
}

.admin-book-info small {
  color: var(--text-soft);
  font-size: 12px;
}

.admin-book-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.admin-book-items {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.admin-book-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #f9fafb;
}

.admin-book-item small {
  color: var(--text-soft);
}

.admin-book-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-book-qty button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: #fff;
  cursor: pointer;
}

.admin-book-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 18px;
}

.admin-book-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.admin-book-actions {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eef1f6;
  color: var(--text);
}

.auth-card {
  background: #ffffff;
  color: var(--text);
  padding: 26px;
  border-radius: 18px;
  width: min(420px, 90%);
  box-shadow: var(--shadow-lg);
}

.checkout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 320px;
  gap: 20px;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.checkout-form input,
.checkout-form textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  font-family: "Space Grotesk", sans-serif;
}

.help-text {
  font-size: 12px;
  color: var(--text-soft);
}

.pill {
  padding: 4px 10px;
  background: rgba(228, 88, 46, 0.12);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .header-actions {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .checkout {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-book-grid {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: relative;
    height: auto;
  }
  .top-deal-media {
    justify-content: flex-start;
  }
  .top-deal-media img {
    max-width: 100%;
    height: 200px;
  }
}

@media (max-width: 700px) {
  .hero-actions {
    flex-direction: column;
  }
  .section {
    padding: 20px;
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
  }
  .hero {
    margin-top: 24px;
  }
  .marquee-track {
    animation-duration: 34s;
  }
}

body.dark {
  --bg: #0f1218;
  --bg-soft: #151923;
  --surface: #171c26;
  --surface-2: #1d2430;
  --accent: #f0734a;
  --accent-2: #f4c16f;
  --text: #f4f6fb;
  --text-soft: #b6c0cf;
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 14px 30px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.22);
}

body.dark {
  background: radial-gradient(1200px 800px at 10% -10%, rgba(240, 115, 74, 0.2) 0%, transparent 60%),
    radial-gradient(1000px 700px at 90% 0%, rgba(244, 193, 111, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, #0f1218 0%, #111827 65%, #0b0f14 100%);
  color: var(--text);
}

body.dark .ghost,
body.dark .cart,
body.dark .filter-chip,
body.dark #menu-search {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

body.dark .site-header,
body.dark .section,
body.dark .hero-card,
body.dark .card,
body.dark .stat-card,
body.dark .cart-item,
body.dark .cart-summary,
body.dark .summary,
body.dark .admin-sidebar,
body.dark .admin-main,
body.dark .admin-table,
body.dark .admin-card,
body.dark .admin-form input,
body.dark .admin-form select,
body.dark .admin-form textarea,
body.dark .checkout-form input,
body.dark .checkout-form textarea {
  background: var(--surface);
  color: var(--text);
  border-color: var(--stroke);
}

body.dark .top-deal-banner,
body.dark .banner,
body.dark .cta-card {
  background: linear-gradient(135deg, rgba(240, 115, 74, 0.18), rgba(23, 28, 38, 0.65));
  border-color: rgba(240, 115, 74, 0.25);
}

body.dark .nav-links a,
body.dark .link,
body.dark .admin-main a {
  color: var(--accent-2);
}

body.dark .deal-pill {
  background: rgba(255, 255, 255, 0.06);
}

body.dark .card {
  border: 1px solid rgba(240, 115, 74, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(240, 115, 74, 0.08), 0 0 28px rgba(240, 115, 74, 0.16);
}

body.dark .card:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(240, 115, 74, 0.18), 0 0 36px rgba(244, 193, 111, 0.28);
}

body.dark .deal-pill {
  border: 1px solid rgba(244, 193, 111, 0.22);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3), 0 0 18px rgba(244, 193, 111, 0.18);
}

body.dark .admin-book-card,
body.dark .admin-book-product,
body.dark .admin-book-item {
  background: rgba(20, 26, 36, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark .admin-book-qty button {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

body.dark .admin-book-toolbar input {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--stroke);
}

body.dark .marquee {
  background: rgba(255, 255, 255, 0.04);
}

body.dark .card p,
body.dark .hero-text .sub,
body.dark .stat-label,
body.dark .feature-card p,
body.dark .top-deal-content p,
body.dark .site-footer {
  color: var(--text-soft);
}

body.dark .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(240, 115, 74, 0.25);
}


.option-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 16, 0.65);
  z-index: 1000;
  padding: 16px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}

.option-modal {
  width: min(560px, 94vw);
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(16, 20, 28, 0.08);
}

.option-modal-title {
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
}

.option-modal-sub {
  margin: 0 0 10px;
  color: var(--text-soft);
}

.option-modal-price {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--text);
}

.option-modal-warning {
  margin: 0 0 10px;
  color: #b91c1c;
  font-size: 13px;
}

.option-group {
  margin: 12px 0;
}

.option-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
}

.option-group-head small {
  color: var(--text-soft);
}

.option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(16, 20, 28, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 6px;
  gap: 8px;
  background: #fff;
}

.option-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.option-row input {
  width: 16px;
  height: 16px;
}

.option-price {
  color: var(--text);
  font-weight: 600;
}

.option-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

body.dark .option-modal {
  background: #161b24;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f4f6fb;
}

body.dark .option-modal-sub,
body.dark .option-group-head small,
body.dark .option-modal-warning {
  color: #c8d1df;
}

body.dark .option-row {
  background: #1b2230;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark .option-price {
  color: #f4f6fb;
}


/* Dark mode header polish */
body.dark .site-header {
  background: rgba(16, 20, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  backdrop-filter: blur(10px);
}

body.dark .site-header .nav-links a,
body.dark .site-header .delivery-pill,
body.dark .site-header .ghost,
body.dark .site-header .cart {
  color: var(--text);
}


.hero-card {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 18px;
  align-items: center;
}

.hero-card-media {
  background: rgba(16, 20, 28, 0.04);
  border-radius: 16px;
  padding: 8px;
  display: grid;
  place-items: center;
}

.hero-card-media img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-card-content h2 {
  margin: 8px 0 10px;
}

@media (max-width: 720px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
  .hero-card-media img {
    height: 160px;
  }
}


.hero-feature {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.hero-feature-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.hero-feature-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.hero-feature-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

.hero-feature-body h2 {
  margin: 10px 0 8px;
}

.hero-feature-body p {
  margin: 0 0 12px;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .hero-feature {
    grid-template-columns: 1fr;
  }

  .hero-feature-media img {
    height: 200px;
  }
}


.hero-duo {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.hero-copy {
  background: var(--surface);
}

.hero-deals {
  background: var(--surface);
}

.hero-deals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hero-deals-nav {
  display: flex;
  gap: 8px;
}

.hero-deals-nav .ghost {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0;
}

.hero-deal-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
}

.hero-deal-media {
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
}

.hero-deal-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.hero-deal-body p {
  color: var(--text-soft);
  margin: 0 0 12px;
}

@media (max-width: 900px) {
  .hero-deal-card {
    grid-template-columns: 1fr;
  }
  .hero-deal-media img {
    height: 180px;
  }
}


.hero-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.hero-feature-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.hero-feature-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.hero-feature-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

.hero-feature-body h2 {
  margin: 10px 0 8px;
}

.hero-feature-body p {
  margin: 0 0 12px;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .hero-feature-media img {
    height: 200px;
  }
}


.admin-card-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 6px;
}

.admin-card-link span {
  font-size: 12px;
  color: var(--text-soft);
}

.admin-chart {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px;
}

.admin-chart svg {
  width: 100%;
  height: 200px;
  display: block;
}

.admin-form {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.admin-form textarea {
  min-height: 90px;
}


/* Admin forms refinement */
.admin-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.admin-form > label,
.admin-form > div {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.admin-form > label {
  font-weight: 600;
  color: var(--text);
}

.admin-form > label input,
.admin-form > label select,
.admin-form > label textarea {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(16, 20, 28, 0.12);
  background: #fff;
}

.admin-form textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.admin-form button.primary {
  grid-column: span 12;
  justify-self: end;
  padding: 12px 24px;
}

@media (max-width: 1100px) {
  .admin-form > label,
  .admin-form > div {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .admin-form > label,
  .admin-form > div {
    grid-column: span 12;
  }
  .admin-form button.primary {
    justify-self: stretch;
  }
}


.admin-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.admin-card {
  width: 100%;
}


.export-form {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.export-form button.primary {
  grid-column: span 2;
  justify-self: start;
}

@media (max-width: 720px) {
  .export-form button.primary {
    grid-column: span 1;
    justify-self: stretch;
  }
}


.admin-search {
  margin: 12px 0 8px;
}

.admin-search input {
  width: min(420px, 100%);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-family: "Space Grotesk", sans-serif;
  background: #fff;
}


.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 18px;
}

.order-filter {
  display: flex;
  gap: 10px;
  align-items: center;
}

.order-filter select {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #fff;
}

.order-items-inline td {
  background: #fafbff;
}

.order-items {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--stroke);
}


.toggle-items {
  padding: 6px 12px;
  border-radius: 999px;
}
