/**
 * Skedadel storefront — enterprise UI system (--main_color from layouts.master)
 */

:root {
  --sd-brand-orange: #f78426;
  --sd-brand-black: #0b0f14;
  --sd-brand-peach: #ffb685;
  --sd-brand-gray: #6b7280;
  --sd-brand-border: #e5e7eb;
  --sd-font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sd-ink: #111827;
  --sd-ink-soft: #374151;
  --sd-muted: #6b7280;
  --sd-surface: #ffffff;
  --sd-page: #f3f4f6;
  --sd-radius: 0.5rem;
  --sd-radius-sm: 0.375rem;
  --sd-radius-md: 0.5rem;
  --sd-radius-lg: 0.75rem;
  --sd-radius-xl: 1rem;
  --sd-shadow: 0 1px 3px rgba(15, 23, 42, 0.055);
  --sd-shadow-md: 0 10px 28px rgba(15, 23, 42, 0.065);
  --sd-shadow-lg: 0 18px 44px rgba(15, 23, 42, 0.085);
  --sd-shadow-xl: 0 26px 64px rgba(15, 23, 42, 0.1);
  /* Tailwind v2 does not emit arbitrary z-[1030]; keep layering here */
  --sd-z-nav: 1030;
  --sd-z-nav-dropdown: 1060;
  --sd-z-drawer: 1040;
  --sd-z-scroll-top: 1010;
  /* Fixed .navbar-v2 + padded wordmark — clears bar on all breakpoints */
  --sd-nav-offset: calc(6.75rem + env(safe-area-inset-top, 0px));
  --sd-console-sidebar-width: 16.5rem;
  /* Console UI — neutral enterprise sans (no extra font download) */
  --sd-font-console: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --sd-console-focus-ring: color-mix(in srgb, var(--main_color) 55%, #2563eb 45%);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  :root {
    --sd-console-focus-ring: #2563eb;
  }
}

html.sd-storefront-html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sd-nav-offset);
}

body.sd-storefront {
  padding-top: var(--sd-nav-offset);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #f3f4f8;
  background-image:
    radial-gradient(ellipse 115% 72% at 92% -10%, color-mix(in srgb, var(--main_color) 13%, transparent), transparent 58%),
    radial-gradient(ellipse 85% 52% at -8% 108%, rgba(15, 23, 42, 0.045), transparent 52%),
    linear-gradient(188deg, #fcfcfe 0%, #f5f6fa 44%, #eaecef 100%);
  background-attachment: fixed;
  color: var(--sd-ink);
  font-feature-settings: 'kern' 1, 'liga' 1;
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  body {
    background-color: #f3f4f8;
    background-image:
      radial-gradient(ellipse 115% 72% at 92% -10%, rgba(247, 132, 38, 0.1), transparent 58%),
      radial-gradient(ellipse 85% 52% at -8% 108%, rgba(15, 23, 42, 0.045), transparent 52%),
      linear-gradient(188deg, #fcfcfe 0%, #f5f6fa 44%, #eaecef 100%);
    background-attachment: fixed;
  }
}

/* Brand utilities — align with admin theme color */
.bg-green {
  background-color: var(--main_color) !important;
}

.text-green {
  color: var(--main_color) !important;
}

.border-green {
  border-color: var(--main_color) !important;
}

/* Top nav — frosted glass, premium depth */
.navbar-v2 {
  z-index: var(--sd-z-nav);
  background: rgba(255, 255, 255, 0.88) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 10px 40px -18px rgba(15, 23, 42, 0.16);
  border-bottom: 1px solid rgba(15, 23, 42, 0.065);
}

.navbar-v2 .dropdown-menu {
  z-index: var(--sd-z-nav-dropdown);
}

/* Mobile drawer above navbar */
nav.side-bar {
  z-index: var(--sd-z-drawer) !important;
}

/* Scroll-to-top — matches primary actions (flat, restrained shadow) */
#top.sd-scroll-top {
  z-index: var(--sd-z-scroll-top);
  border-radius: var(--sd-radius-sm);
  box-shadow: var(--sd-shadow-lg);
  background: var(--main_color);
  border: 1px solid color-mix(in srgb, var(--main_color) 78%, #1f2937);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  #top.sd-scroll-top {
    border-color: rgba(17, 24, 39, 0.12);
  }
}

/* Single inner row: brand + desktop links (avoid full-width brand squeezing links off-screen) */
.sd-nav-shell {
  min-height: 3.25rem;
}

.navbar-v2 .navbar-nav .nav-link {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  color: var(--sd-ink-soft);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--sd-radius-sm);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.navbar-v2 .navbar-nav .nav-link:hover,
.navbar-v2 .navbar-nav .nav-link:focus-visible {
  color: var(--sd-ink);
  background-color: rgba(15, 23, 42, 0.035);
}

.navbar-v2 .navbar-nav .nav-link:focus:not(:focus-visible) {
  outline: none;
}

@media (min-width: 1024px) {
  .navbar-v2 .navbar-nav .nav-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

/* Primary nav — stroke SVG icons (replaces Font Awesome for clarity) */
.sd-nav-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.sd-nav-icon-svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke-width: 1.65;
  vector-effect: non-scaling-stroke;
}

.sd-nav-icon-svg--sm {
  width: 1.0625rem;
  height: 1.0625rem;
  stroke-width: 1.85;
}

.sd-nav-link-icon--heart .sd-nav-icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.sd-nav-chevron {
  display: inline-flex;
  align-items: center;
}

.sd-nav-chevron .sd-nav-icon-svg {
  width: 0.9375rem;
  height: 0.9375rem;
}

.navbar-v2 .navbar-nav .nav-link:hover .sd-nav-icon-svg,
.navbar-v2 .navbar-nav .nav-link:focus-visible .sd-nav-icon-svg {
  color: var(--main_color);
}

nav.side-bar .sd-side-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

nav.side-bar .sd-side-nav-icon .sd-nav-icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.7;
  opacity: 0.95;
}

/* Brand marks — bare assets (no tile, border, or halo) */
.navbar-brand .sd-nav-brand-mark-wrap,
.navbar-brand .sd-nav-wordmark-wrap {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.navbar-brand img,
.navbar-brand .sd-nav-brand-mark-wrap img,
.navbar-brand .sd-nav-wordmark-wrap img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none;
}

.sd-nav-brand-mark {
  box-shadow: none;
}

.sd-nav-brand-wordmark {
  filter: none;
  max-width: 14rem;
}

.sd-nav-wordmark-wrap .sd-nav-brand-wordmark {
  filter: none;
  height: 3.25rem;
  width: auto;
}

@media (min-width: 768px) {
  .sd-nav-wordmark-wrap .sd-nav-brand-wordmark {
    height: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .sd-nav-wordmark-wrap .sd-nav-brand-wordmark {
    height: 4.25rem;
  }
}

@media (min-width: 640px) {
  .sd-nav-brand-wordmark {
    max-width: 17rem;
  }
}

@media (min-width: 1024px) {
  .sd-nav-brand-wordmark {
    max-width: 22rem;
  }
}

/* Tailwind 2 does not emit arbitrary max-width utilities — keep layout without JIT brackets */
@media (max-width: 767px) {
  .navbar-v2 .navbar-brand.sd-nav-brand-mobile-cap {
    max-width: calc(100% - 5.5rem);
  }
}

.sd-nav-user-name-truncate {
  max-width: 10rem;
}

.sd-error-fill-min-h {
  min-height: calc(100vh - 4rem);
}

/* Storefront HTTP error page (errors::minimal) */
.sd-error-page-card {
  width: 100%;
  max-width: 26rem;
  padding: 2rem 1.5rem;
  border-radius: var(--sd-radius-lg);
  border: 1px solid var(--sd-brand-border);
  background: #ffffff;
  box-shadow: var(--sd-shadow-md);
}

.sd-error-page-code {
  margin: 0 0 0.75rem;
  font-size: clamp(2.75rem, 10vw, 4.25rem);
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--sd-ink);
}

.sd-error-page-message {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--sd-ink-soft);
}

.sd-nav-icon-btn:focus-visible {
  outline: 2px solid var(--main_color);
  outline-offset: 2px;
}

.sd-nav-link-icon {
  display: inline-flex;
  width: 1.35rem;
  justify-content: center;
  color: var(--sd-muted);
  font-size: 0.95rem;
}

#nav-user-dropdown-mobile:focus-visible,
.sd-nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--main_color);
  outline-offset: 2px;
}

.navbar-v2 .nav-link:hover .sd-nav-link-icon,
.navbar-v2 .nav-link:focus .sd-nav-link-icon {
  color: var(--main_color);
}

.navbar-v2 .sd-nav-dropdown-toggle::after {
  display: none !important;
}

.navbar-v2 .dropdown-item.sd-dropdown-icon-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-v2 .dropdown-item.sd-dropdown-icon-row i.fa-fw {
  flex-shrink: 0;
}

/* Sidebar accent */
nav.side-bar .top {
  background-color: var(--main_color) !important;
  text-shadow: none;
}

nav.side-bar .top.sd-side-bar-top {
  height: auto;
  min-height: 5.5rem;
  justify-content: flex-start;
  padding-left: 1rem;
  padding-right: 2.5rem;
  text-align: left;
}

.sd-side-bar-brand-img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

nav.side-bar .links ul li {
  border-bottom-color: rgba(148, 163, 184, 0.38) !important;
}

nav.side-bar .links ul li a {
  display: flex;
  align-items: center;
  padding-left: 1rem;
}

.sd-side-nav-icon {
  display: inline-flex;
  width: 1.75rem;
  flex-shrink: 0;
  justify-content: center;
  margin-right: 0.5rem;
  color: #64748b;
}

nav.side-bar .links ul li a:hover .sd-side-nav-icon,
nav.side-bar .links ul li a.active .sd-side-nav-icon {
  color: inherit;
}

nav.side-bar .links ul li a.active,
nav.side-bar .links ul li a:hover {
  color: var(--main_color) !important;
  border-left-color: var(--main_color) !important;
}

.top-dropdown-menu {
  border: 1px solid var(--sd-brand-border) !important;
  border-top: 2px solid var(--main_color) !important;
  border-radius: var(--sd-radius-sm);
  box-shadow: var(--sd-shadow-lg);
  overflow: hidden;
}

.top-dropdown-menu .dropdown-item:hover {
  border-left-color: var(--main_color) !important;
  color: var(--main_color) !important;
}

/* Flash strip — premium feel */
.sd-flash {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
}

.sd-flash--info {
  background: #eff6ff;
  color: #1e3a5f;
  border-bottom-color: #bfdbfe;
}

.sd-flash--warn {
  background: #fffbeb;
  color: #78350f;
  border-bottom-color: #fde68a;
}

.sd-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: var(--sd-radius);
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: var(--sd-shadow);
}

/* Auth shell */
.sd-auth-wrap {
  position: relative;
  min-height: calc(100vh - 8rem);
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.sd-auth-wrap::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, color-mix(in srgb, var(--main_color) 18%, transparent), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.sd-auth-wrap::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--main_color) 6%, transparent), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.sd-auth-card {
  position: relative;
  z-index: 1;
  border-radius: var(--sd-radius-lg);
  box-shadow: var(--sd-shadow-md);
  border: 1px solid var(--sd-brand-border);
  background: var(--sd-surface);
}

.sd-auth-card input:focus {
  border-color: var(--main_color) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--main_color) 22%, transparent);
  outline: none;
}

.sd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 1.25rem;
  border-radius: var(--sd-radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--main_color) 90%, #111827),
    var(--main_color)
  );
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--main_color) 75%, rgba(0, 0, 0, 0.15));
  cursor: pointer;
  transition: opacity 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  box-shadow:
    var(--sd-shadow),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.sd-btn-primary:hover {
  opacity: 0.97;
  transform: translateY(-1px);
  box-shadow: var(--sd-shadow-md);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-btn-primary {
    background: var(--main_color);
    border-color: rgba(0, 0, 0, 0.08);
  }
}

.sd-btn-primary.sd-btn--inline {
  width: auto;
  display: inline-flex;
}

.sd-icon-tile {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--sd-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: none;
  background: var(--main_color);
  border: 1px solid color-mix(in srgb, var(--main_color) 75%, #000);
}

/* Section title accent — matches popular-categories bar */
.sd-section-accent-bar {
  display: block;
  height: 3px;
  width: 5rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  background: var(--main_color);
  opacity: 1;
}

.sd-hero-search-submit {
  color: var(--main_color);
}

/* Listing / search chrome — always tracks --main_color */
.sd-section-accent-bar--wide {
  width: 10rem;
}

.sd-accent-link {
  color: var(--main_color);
}
.sd-accent-link:hover {
  color: var(--main_color);
  filter: brightness(0.9);
}

.sd-text-accent {
  color: var(--main_color);
}

.sd-search-submit {
  flex-shrink: 0;
  width: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main_color);
  color: #fff;
  border: none;
  cursor: pointer;
}
.sd-search-submit:hover {
  filter: brightness(1.04);
}

/* Pill chips (“Total n”, View all) — gradient + lift */
.sd-pill-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--main_color) 92%, #111827),
    var(--main_color)
  );
  color: #fff !important;
  border-radius: var(--sd-radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  box-shadow: var(--sd-shadow);
  border: 1px solid color-mix(in srgb, var(--main_color) 82%, #000);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}
.sd-pill-solid:hover {
  color: #fff !important;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -18px color-mix(in srgb, var(--main_color) 65%, #000);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-pill-solid {
    background: var(--main_color);
    border-color: rgba(0, 0, 0, 0.08);
  }
  .sd-pill-solid:hover {
    box-shadow: 0 14px 36px -18px rgba(247, 132, 38, 0.45);
  }
}

/* Checkout / panel section titles */
.sd-panel-header {
  width: 100%;
  background-color: var(--sd-ink);
  color: #fff !important;
  letter-spacing: 0.02em;
}

.sd-btn-accent-fill {
  background-color: var(--main_color) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.sd-btn-accent-fill:hover {
  opacity: 0.94;
  color: #fff !important;
}

/* Footer wordmark — logo floats cleanly on dark footer */
.sd-footer-wordmark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.sd-footer-wordmark-wrap img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none;
}

/* Category / listing cards */
.sd-card-hover {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sd-card-hover:hover {
  transform: none;
  box-shadow: var(--sd-shadow-md);
  border-color: #d1d5db !important;
}

/* Glass panel (hero CTAs) */
.sd-glass {
  background: rgba(17, 24, 39, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--sd-radius-lg);
  box-shadow: var(--sd-shadow-lg);
}

/* Contact page accent bar */
.sd-accent-top {
  height: 3px;
  border-radius: 2px;
  background: var(--main_color);
}

.sd-contact-hero {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, color-mix(in srgb, var(--main_color) 14%, transparent), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, var(--sd-page) 100%);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-contact-hero {
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(247, 132, 38, 0.12), transparent 55%),
      linear-gradient(180deg, #f8fafc 0%, var(--sd-page) 100%);
  }
}

/* Footer — restrained separation */
footer.body-font,
footer.sd-footer {
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer — premium dark stack */
footer.sd-footer {
  background: linear-gradient(165deg, #07090e 0%, #12161f 42%, #0a0d12 100%);
  border-top-color: rgba(255, 255, 255, 0.07);
}

footer.sd-footer .text-gray-200 {
  color: rgba(248, 250, 252, 0.82) !important;
}

.sd-footer-heading {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.sd-footer-link-list li {
  margin-bottom: 0.35rem;
}

.sd-footer-link {
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.72) !important;
  text-decoration: none !important;
  transition: color 0.18s ease, transform 0.18s ease;
}

.sd-footer-link:hover {
  color: #ffffff !important;
  transform: translateX(2px);
}

.sd-footer-bar {
  background: rgba(0, 0, 0, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.sd-footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: -0.25rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a !important;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--sd-radius);
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.45);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.sd-footer-lang-btn:hover {
  background: #ffffff;
  box-shadow: 0 8px 26px -12px rgba(0, 0, 0, 0.55);
}

/* Home / listing section typography */
.sd-section-title {
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.sd-section-lede {
  letter-spacing: 0.01em;
}

.sd-food-panel {
  background: linear-gradient(188deg, #fdfdfd 0%, #f5f6f9 55%, #eef0f4 100%) !important;
  border-left: 1px solid rgba(15, 23, 42, 0.05);
}

/* Promo strip on home */
.sd-promo-banner {
  border-radius: var(--sd-radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    var(--sd-shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

/* Category carousel strip */
.sd-section-soft {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, color-mix(in srgb, var(--main_color) 8%, transparent), transparent 55%),
    linear-gradient(185deg, #fafbfd 0%, #f4f5f9 45%, #eceef3 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-section-soft {
    background:
      radial-gradient(ellipse 90% 60% at 50% 0%, rgba(247, 132, 38, 0.07), transparent 55%),
      linear-gradient(185deg, #fafbfd 0%, #f4f5f9 45%, #eceef3 100%);
  }
}

.sd-card-popular {
  border-radius: var(--sd-radius-lg) !important;
  box-shadow: var(--sd-shadow);
  border: 1px solid var(--sd-brand-border) !important;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    border-color 0.2s ease !important;
}

a.nav-link .sd-card-popular:hover,
.sd-card-popular:hover {
  transform: translateY(-5px);
  box-shadow:
    0 16px 40px -28px rgba(15, 23, 42, 0.45),
    0 28px 64px -36px rgba(15, 23, 42, 0.2) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

.sd-category-count-badge {
  border-radius: var(--sd-radius-sm);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--main_color) 88%, #111827),
    var(--main_color)
  );
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--main_color) 55%, transparent);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-category-count-badge {
    background: linear-gradient(135deg, #ea780f, var(--main_color));
    box-shadow: 0 4px 14px -4px rgba(247, 132, 38, 0.45);
  }
}

/* Rider recruitment band (welcome) */
.sd-rider-footer img {
  transform: scale(1.02);
}

.sd-rider-footer .sd-glass {
  border-radius: var(--sd-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 64px -32px rgba(0, 0, 0, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

/* Hero inline search */
.banner-search-input {
  border-radius: var(--sd-radius-lg) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow:
    0 12px 36px -24px rgba(15, 23, 42, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.75) inset !important;
}

.sd-hero-search-submit {
  border-radius: var(--sd-radius-sm) !important;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.sd-hero-search-submit:hover {
  background-color: rgba(247, 132, 38, 0.1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .sd-footer-link:hover {
    transform: none;
  }

  .sd-card-popular:hover {
    transform: none;
  }

  .sd-pill-solid:hover {
    transform: none;
  }

  .sd-rider-footer img {
    transform: none;
  }
}

/* Mobile restaurant page: fixed cart bar + safe area (notch devices) */
.sd-mobile-cart-bar {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -1px 0 var(--sd-brand-border), var(--sd-shadow-lg);
}

/* Restaurant menu: allow modifier popover to extend past card (avoid overflow:hidden clip) */
.sd-menu-table-wrap {
  overflow: visible;
}

.sd-menu-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Keep table readable on small screens without squashing columns */
.sd-menu-table-min {
  min-width: 520px;
}

/* Fixed nav (~4rem) + sticky category chips — scrollIntoView lands below chrome */
.sd-menu-modifier-panel-inner {
  scroll-margin-top: 6.75rem;
}

/* Full-width modifier row (below dish) — avoids overlapping price column */
.sd-menu-modifier-panel-row td {
  overflow: visible;
  vertical-align: top;
}

.table-striped tbody tr.sd-menu-modifier-panel-row > td {
  background-color: #f9fafb !important;
}

.sd-menu-add-trigger.sd-menu-add-trigger--idle:hover {
  background-color: var(--main_color) !important;
  color: #fff !important;
  border-color: var(--main_color) !important;
}

.sd-menu-add-trigger.sd-menu-add-trigger--open:hover {
  background-color: rgba(254, 226, 226, 0.95) !important;
}

/* -------------------------------------------------------------------------- */
/* Restaurant page — premium menu, tabs, modal, cart                         */
/* -------------------------------------------------------------------------- */

.sd-hero-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--sd-radius-md);
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 28px -14px rgba(0, 0, 0, 0.55);
}

.sd-hero-dir-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--sd-radius-lg);
  box-shadow:
    0 14px 40px -22px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  cursor: pointer;
}

.sd-hero-dir-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow:
    0 20px 48px -28px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.sd-menu-page-title {
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* Tabs — segmented control */
.sd-restaurant-tabs#myTab {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 0;
  border-radius: var(--sd-radius-lg);
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 10px 36px -28px rgba(15, 23, 42, 0.22);
}

.sd-restaurant-tabs#myTab li {
  margin: 0;
}

.sd-restaurant-tabs#myTab li .nav-link {
  margin: 0 !important;
  border: none !important;
  border-radius: var(--sd-radius-md) !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sd-ink-soft) !important;
  background: transparent !important;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sd-restaurant-tabs#myTab li .nav-link:hover:not(.active) {
  background: rgba(255, 255, 255, 0.85) !important;
  color: var(--sd-ink) !important;
}

.sd-restaurant-tabs#myTab li .nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--main_color) 88%, #111827),
    var(--main_color)
  ) !important;
  box-shadow:
    0 8px 22px -14px color-mix(in srgb, var(--main_color) 55%, #000),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-restaurant-tabs#myTab li .nav-link.active {
    background: var(--main_color) !important;
    box-shadow: 0 8px 22px -14px rgba(247, 132, 38, 0.45);
  }
}

/* Sticky jump links */
.sd-menu-jump-nav {
  border-radius: var(--sd-radius-lg);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 12px 36px -30px rgba(15, 23, 42, 0.35);
}

.sd-menu-section-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  color: var(--sd-ink-soft) !important;
  border-radius: var(--sd-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.65);
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.sd-menu-section-chip:hover {
  color: #ffffff !important;
  border-color: transparent;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--main_color) 90%, #111827),
    var(--main_color)
  );
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -18px color-mix(in srgb, var(--main_color) 55%, #000);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-menu-section-chip:hover {
    background: var(--main_color);
    box-shadow: 0 10px 26px -18px rgba(247, 132, 38, 0.4);
  }
}

.sd-menu-category-title {
  position: relative;
  letter-spacing: -0.03em;
  border-bottom: none !important;
  padding-bottom: 0.65rem !important;
}

.sd-menu-category-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.25rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--main_color),
    color-mix(in srgb, var(--main_color) 35%, transparent)
  );
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-menu-category-title::after {
    background: linear-gradient(90deg, var(--main_color), rgba(247, 132, 38, 0.25));
  }
}

/* Menu table “card” */
.sd-restaurant-page .sd-menu-table-wrap {
  border-radius: var(--sd-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(185deg, #ffffff 0%, #fafbfc 55%, #f4f5f8 100%);
  box-shadow:
    0 16px 44px -34px rgba(15, 23, 42, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.sd-restaurant-page .sd-menu-table-wrap .table {
  margin-bottom: 0;
}

.sd-restaurant-page .sd-menu-table-wrap thead th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sd-muted) !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  padding: 1rem 0.75rem !important;
  vertical-align: middle;
}

.sd-restaurant-page .sd-menu-table-wrap tbody td {
  border-color: rgba(15, 23, 42, 0.055) !important;
  vertical-align: middle;
}

.sd-restaurant-page .sd-menu-table-wrap table.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(248, 250, 252, 0.55);
}

.sd-restaurant-page .sd-menu-table-wrap tbody tr {
  transition: background-color 0.16s ease;
}

.sd-restaurant-page .sd-menu-table-wrap tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.92) !important;
}

.sd-menu-food-thumb {
  border-radius: var(--sd-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 8px 22px -14px rgba(15, 23, 42, 0.35);
}

/* Add row buttons */
.sd-menu-add-trigger {
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.sd-menu-add-trigger--idle {
  color: var(--main_color) !important;
  border-color: color-mix(in srgb, var(--main_color) 42%, rgba(15, 23, 42, 0.15)) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.35);
}

.sd-menu-add-trigger--idle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--main_color) 45%, rgba(15, 23, 42, 0.35));
}

.sd-menu-add-trigger--open {
  color: #b91c1c !important;
  border-color: rgba(248, 113, 113, 0.65) !important;
  background: linear-gradient(180deg, #fff5f5 0%, #fef2f2 100%) !important;
  box-shadow: 0 6px 20px -12px rgba(185, 28, 28, 0.35);
}

.sd-menu-add-trigger--open:hover {
  background: linear-gradient(180deg, #ffe4e6 0%, #fecdd3 100%) !important;
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-menu-add-trigger--idle {
    border-color: rgba(247, 132, 38, 0.45) !important;
  }
}

/* Configure modal */
.sd-add-item-modal-backdrop {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.sd-add-item-modal-dialog {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow:
    0 28px 72px -36px rgba(15, 23, 42, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.65) inset !important;
}

.sd-add-item-modal-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.sd-modal-close-btn {
  border-radius: var(--sd-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.95);
  color: var(--sd-ink-soft);
  box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.35);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sd-modal-close-btn:hover {
  background: #ffffff;
  color: var(--sd-ink);
  transform: scale(1.04);
}

.sd-add-item-modal-body .form-control {
  border-radius: var(--sd-radius-md) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

/* Order summary sidebar */
.sd-checkout-summary {
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  box-shadow:
    0 18px 48px -36px rgba(15, 23, 42, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.75) inset !important;
  background: linear-gradient(185deg, #ffffff 0%, #fafbfc 100%) !important;
}

.sd-checkout-summary-hd {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

/* Reviews */
.sd-review-summary-card {
  border-radius: var(--sd-radius-xl);
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px -28px rgba(15, 23, 42, 0.65);
}

.sd-review-card {
  border-radius: var(--sd-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: var(--sd-surface);
  box-shadow: 0 12px 36px -32px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

/* Share chips */
.sd-share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: var(--sd-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.sd-share-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -20px rgba(15, 23, 42, 0.35);
}

.sd-share-chip--fb {
  color: #1d4ed8 !important;
}
.sd-share-chip--fb:hover {
  color: #ffffff !important;
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.sd-share-chip--ig {
  color: #db2777 !important;
}
.sd-share-chip--ig:hover {
  color: #ffffff !important;
  background: #db2777;
  border-color: #db2777;
}

.sd-share-chip--tw {
  color: #0ea5e9 !important;
}
.sd-share-chip--tw:hover {
  color: #ffffff !important;
  background: #0ea5e9;
  border-color: #0ea5e9;
}

.sd-mobile-cart-secondary {
  border-radius: var(--sd-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: var(--sd-ink);
  box-shadow: 0 6px 18px -14px rgba(15, 23, 42, 0.35);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sd-mobile-cart-secondary:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .sd-hero-dir-btn:hover,
  .sd-menu-section-chip:hover,
  .sd-menu-add-trigger--idle:hover,
  .sd-share-chip:hover,
  .sd-modal-close-btn:hover,
  .sd-btn-primary:hover {
    transform: none;
  }
}

.sd-restaurant-page .badge.bg-green {
  border-radius: var(--sd-radius-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.625rem !important;
  box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.35);
}

/* Home hero carousel */
.sd-hero-banner-root {
  min-height: 470px;
}

.sd-hero-banner-skeleton {
  height: 470px;
  box-sizing: border-box;
  background: linear-gradient(110deg, #e2e8f0 0%, #f1f5f9 45%, #e2e8f0 90%);
  background-size: 200% 100%;
  animation: sd-hero-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes sd-hero-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.index-banner-vueper {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.vueperslides {
  border-radius: 0 0 var(--sd-radius-xl) var(--sd-radius-xl);
  overflow: hidden;
  box-shadow:
    var(--sd-shadow-lg),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-top: none;
}

.vueperslides__inner {
  border-radius: inherit;
}

/* Hero slide content: readable on photo backgrounds */
.sd-hero-slide-panel {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 12px 40px -24px rgba(15, 23, 42, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  border-radius: var(--sd-radius-lg);
}

.sd-hero-slide-panel .banner-search-input {
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--sd-brand-border);
}

/* Listing cards — depth + calm motion */
.sd-listing-card {
  border-radius: var(--sd-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: var(--sd-surface);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 36px -28px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, 0.11);
  box-shadow:
    0 12px 32px -22px rgba(15, 23, 42, 0.35),
    0 22px 56px -34px rgba(15, 23, 42, 0.18);
}

@media (max-width: 767px) {
  .sd-hero-banner-root {
    min-height: min(52vh, 380px);
  }

  .sd-hero-banner-skeleton {
    height: min(52vh, 380px);
  }

  .index-banner-vueper .vueperslides.vueperslides--fixed-height {
    height: min(52vh, 380px) !important;
  }
}

/* Admin / merchant console — enterprise left sidebar */
.sd-console-layout {
  min-height: 100vh;
  position: relative;
  font-family: var(--sd-font-console);
  font-size: 0.9375rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Non-production banner (staging / local / CI) */
.sd-console-environment-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.6rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
}

.sd-console-environment-banner__tag {
  opacity: 0.92;
}

.sd-console-environment-banner__env {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sd-console-environment-banner__sep {
  opacity: 0.45;
  font-weight: 400;
}

.sd-console-environment-banner__hint {
  font-weight: 500;
  opacity: 0.95;
}

.sd-console-environment-banner--local {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e3a8a;
  border-color: #bfdbfe;
}

.sd-console-environment-banner--staging {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  border-color: #fcd34d;
}

.sd-console-environment-banner--sandbox {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #334155;
  border-color: #cbd5e1;
}

.sd-console-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sd-console-sidebar-width);
  z-index: 50;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.sd-console-sidebar__brand {
  padding: 1.125rem 1rem 1rem;
  border-bottom: 1px solid var(--sd-brand-border);
}

.sd-console-sidebar__brand-link {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--sd-ink);
  text-decoration: none !important;
  letter-spacing: -0.02em;
}

.sd-console-sidebar__brand-link:hover {
  color: var(--main_color);
}

.sd-console-sidebar__brand-meta {
  margin: 0.25rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sd-muted);
}

.sd-console-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.sd-console-sidebar__section {
  padding: 1rem 0.75rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sd-muted);
}

.sd-console-sidebar__nav-split {
  margin: 0.625rem 0.75rem 0.25rem;
  border-top: 1px solid var(--sd-brand-border);
}

.sd-console-nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.125rem;
  border-radius: var(--sd-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sd-ink-soft);
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sd-console-nav-link:hover {
  background: #f3f4f6;
  color: var(--sd-ink);
}

.sd-console-nav-link.is-active {
  background: color-mix(in srgb, var(--main_color) 12%, #ffffff);
  color: var(--sd-ink);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--main_color);
}

.sd-console-nav-link__icon {
  width: 1.25rem;
  text-align: center;
  opacity: 0.85;
}

.sd-console-sidebar__footer {
  padding: 1rem;
  border-top: 1px solid var(--sd-brand-border);
  background: #f1f5f9;
}

.sd-console-sidebar__user {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sd-ink);
  margin: 0 0 0.5rem;
}

.sd-console-sidebar__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.sd-console-sidebar__footer-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sd-muted);
  text-decoration: none !important;
}

.sd-console-sidebar__footer-link:hover {
  color: var(--sd-ink);
}

.sd-console-sidebar__footer-link--danger {
  color: #b91c1c !important;
}

.sd-console-sidebar__footer-link--danger:hover {
  color: #991b1b !important;
}

.sd-console-layout__frame {
  min-height: 100vh;
  margin-left: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .sd-console-layout__frame {
    margin-left: var(--sd-console-sidebar-width);
  }
}

.sd-console-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--sd-brand-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.sd-console-topbar__title {
  flex: 1;
  min-width: 0;
}

.sd-console-sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--sd-radius-sm);
  border: 1px solid var(--sd-brand-border);
  background: #fff;
  color: var(--sd-ink);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.sd-console-sidebar-toggle:hover {
  background: #f9fafb;
}

.sd-console-sidebar-backdrop {
  display: none;
}

.sd-console-main {
  flex: 1;
}

@media (prefers-reduced-motion: reduce) {
  .sd-console-sidebar {
    transition: none !important;
  }
}

/* Keyboard focus — WCAG-friendly ring inside consoles */
.sd-console-layout *:focus {
  outline: none;
}

.sd-console-layout *:focus-visible {
  outline: 2px solid var(--sd-console-focus-ring);
  outline-offset: 2px;
}

.sd-console-layout .btn:focus-visible,
.sd-console-layout .sd-console-sidebar-toggle:focus-visible {
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .sd-console-sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: var(--sd-shadow-xl);
  }

  .sd-console-layout.sd-console-sidebar-open .sd-console-sidebar {
    transform: translateX(0);
  }

  .sd-console-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 45;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(15, 23, 42, 0.45);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .sd-console-layout.sd-console-sidebar-open .sd-console-sidebar-backdrop {
    display: block;
  }
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-console-nav-link.is-active {
    background: rgba(247, 132, 38, 0.12);
  }

  .sd-console-subnav-link.is-active {
    background: rgba(247, 132, 38, 0.14);
    border-color: rgba(247, 132, 38, 0.35);
  }
}

/* Platform admin — secondary tabs when editing a store */
.sd-console-subnav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: var(--sd-radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sd-ink-soft);
  background: #f3f4f6;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sd-console-subnav-link:hover {
  background: #e5e7eb;
  color: var(--sd-ink);
}

.sd-console-subnav-link.is-active {
  background: color-mix(in srgb, var(--main_color) 14%, #ffffff);
  color: var(--sd-ink);
  font-weight: 600;
  border-color: color-mix(in srgb, var(--main_color) 38%, #e5e7eb);
}

.sd-console-stat-card {
  border: 1px solid var(--sd-brand-border);
  border-radius: var(--sd-radius-lg);
  padding: 1rem 1.25rem;
  background: #ffffff;
  box-shadow: var(--sd-shadow);
}

a.sd-console-stat-card.sd-console-stat-card--interactive:hover {
  border-color: #d1d5db;
  box-shadow: var(--sd-shadow-md);
}

.sd-console-panel {
  border: 1px solid var(--sd-brand-border);
  border-radius: var(--sd-radius-lg);
  background: #ffffff;
  box-shadow: var(--sd-shadow);
}

/* Data tables — calmer enterprise density */
.sd-console-panel .table {
  margin-bottom: 0;
}

.sd-console-panel .table thead th {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: var(--sd-muted);
  border-bottom-width: 1px;
  background-color: #f9fafb;
  vertical-align: middle;
  white-space: nowrap;
}

.sd-console-panel .table tbody td {
  vertical-align: middle;
}

.sd-console-panel .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(248, 250, 252, 0.85);
}

/* Heading inside a console panel (detail pages, forms) */
.sd-console-panel-title {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sd-muted);
}

/* Admin dashboard — capability matrix (enterprise parity messaging) */
.sd-console-cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sd-console-cap-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--sd-brand-border);
}

.sd-console-cap-row:first-child {
  border-top: none;
  padding-top: 0;
}

.sd-console-cap-row__status {
  flex-shrink: 0;
  padding-top: 0.15rem;
  font-size: 1rem;
  line-height: 1;
}

.sd-console-cap-row__body {
  min-width: 0;
}

.sd-console-cap-row__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--sd-ink);
  margin-bottom: 0.2rem;
}

.sd-console-cap-row__text {
  font-size: 0.875rem;
  color: var(--sd-ink-soft);
  line-height: 1.45;
}

.sd-console-cap-row__hint {
  font-size: 0.8125rem;
  color: #b45309;
  margin-top: 0.35rem !important;
  line-height: 1.4;
}

/* Admin / vendor console — inline flash + validation */
.sd-console-flash {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.8125rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--sd-radius-lg);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: var(--sd-shadow);
}

.sd-console-flash__icon {
  flex-shrink: 0;
  width: 1.125rem;
  text-align: center;
  margin-top: 0.125rem;
  opacity: 0.88;
}

.sd-console-flash--info {
  background: #eff6ff;
  color: #1e3a5f;
  border-color: #bfdbfe;
}

.sd-console-flash--warn {
  background: #fffbeb;
  color: #78350f;
  border-color: #fde68a;
}

.sd-console-flash--success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.sd-console-flash--danger {
  background: #fef2f2;
  color: #7f1d1d;
  border-color: #fecaca;
}

.sd-console-flash ul li + li {
  margin-top: 0.2rem;
}

/* Secrets shown once (webhooks / API keys) */
.sd-console-secret-pre {
  font-size: 0.75rem;
  line-height: 1.45;
  padding: 0.5rem 0.75rem;
  border-radius: var(--sd-radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  overflow-x: auto;
  word-break: break-all;
  white-space: pre-wrap;
}

/* Admin pagination — avoid horizontal overflow on narrow screens */
.sd-admin-shell .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0;
}

/* Storefront Bootstrap pagination (foods, categories, cuisines) */
ul.pagination {
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

/* Admin: toolbar + table actions on narrow screens */
@media (max-width: 639px) {
  .sd-admin-shell .sd-admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .sd-admin-shell .sd-admin-toolbar .btn {
    width: 100%;
    text-align: center;
  }

  .sd-admin-shell table.table tbody td.text-right.whitespace-nowrap {
    white-space: normal !important;
  }

  .sd-admin-shell table.table tbody td.text-right .btn-sm {
    display: inline-block;
    margin: 0.2rem 0.35rem 0.2rem 0;
    vertical-align: middle;
  }

  .sd-admin-shell table.table tbody td.text-right form.inline-block {
    display: inline-block;
    margin: 0.2rem 0.35rem 0 0;
    vertical-align: top;
  }

  .sd-admin-shell .overflow-x-auto table.table {
    font-size: 0.8125rem;
  }
}

/* Fallback when color-mix unsupported — brand orange */
@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-auth-wrap::before {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(247, 132, 38, 0.12), transparent 72%);
  }
  .sd-btn-primary {
    background: var(--main_color);
    box-shadow: var(--sd-shadow);
  }
}

.sd-font-display {
  font-family: var(--sd-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Enterprise section headings (home / listings use Tailwind text-3xl/4xl) */
body.sd-storefront main h2.text-black,
body.sd-storefront main h2.text-gray-900 {
  letter-spacing: -0.025em;
  font-weight: 700;
}

body.sd-storefront main .container {
  max-width: 80rem;
}

/* Checkout / review flows — neutral backdrop (replaces SVG watermark) */
main.sd-checkout-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(243, 244, 246, 0.95) 0%, rgba(249, 250, 251, 0.65) 42%, transparent 78%);
}

.sd-checkout-panel {
  border-radius: var(--sd-radius-lg);
  border: 1px solid var(--sd-brand-border);
  box-shadow: var(--sd-shadow);
  overflow: hidden;
}

.sd-checkout-summary {
  border: 1px solid var(--sd-brand-border) !important;
  box-shadow: var(--sd-shadow);
  border-radius: var(--sd-radius-lg);
  background: var(--sd-surface);
}

.sd-checkout-summary-hd {
  border-bottom: 1px solid var(--sd-brand-border) !important;
  background: #f9fafb !important;
}

.sd-order-confirm-card {
  border-radius: var(--sd-radius-lg);
  border: 1px solid var(--sd-brand-border);
  box-shadow: var(--sd-shadow-lg);
  min-height: 500px;
  overflow: hidden;
}

.sd-order-fail-card {
  border-radius: var(--sd-radius-lg);
  border: 1px solid var(--sd-brand-border);
  box-shadow: var(--sd-shadow-lg);
  min-height: 400px;
}

.sd-order-confirm-footer {
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  background: var(--main_color);
}

.sd-btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border-radius: var(--sd-radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--sd-brand-border);
  background: var(--sd-surface);
  color: var(--sd-ink) !important;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sd-btn-secondary-outline:hover {
  border-color: #d1d5db;
  background-color: #f9fafb;
  color: var(--sd-ink) !important;
}

/* Help / FAQ topic tiles */
.sd-help-topic-card {
  border-radius: var(--sd-radius-lg);
  border: 1px solid var(--sd-brand-border);
  box-shadow: var(--sd-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sd-help-topic-card:hover {
  border-color: #d1d5db;
  box-shadow: var(--sd-shadow-md);
}

/* Restaurant menu — add-to-order modal (above sticky nav --sd-z-nav: 1030) */
.sd-add-item-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(17, 24, 39, 0.45);
  padding: 0;
}

@media (min-width: 640px) {
  .sd-add-item-modal-backdrop {
    align-items: center;
    padding: 1rem;
  }
}

.sd-add-item-modal-dialog {
  width: 100%;
  max-width: 28rem;
  max-height: min(90vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--sd-surface);
  border-radius: var(--sd-radius-lg) var(--sd-radius-lg) 0 0;
  box-shadow: var(--sd-shadow-xl);
  border: 1px solid var(--sd-brand-border);
  border-bottom: none;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
}

@media (min-width: 640px) {
  .sd-add-item-modal-dialog {
    border-radius: var(--sd-radius-lg);
    border-bottom: 1px solid var(--sd-brand-border);
    max-height: 85vh;
  }
}

.sd-add-item-modal-body {
  -webkit-overflow-scrolling: touch;
}

.sd-modal-fade-enter-active,
.sd-modal-fade-leave-active {
  transition: opacity 0.2s ease;
}

.sd-modal-fade-enter-active .sd-add-item-modal-dialog,
.sd-modal-fade-leave-active .sd-add-item-modal-dialog {
  transition: transform 0.22s ease;
}

.sd-modal-fade-enter,
.sd-modal-fade-leave-to {
  opacity: 0;
}

.sd-modal-fade-enter .sd-add-item-modal-dialog,
.sd-modal-fade-leave-to .sd-add-item-modal-dialog {
  transform: translateY(16px);
}

@media (min-width: 640px) {
  .sd-modal-fade-enter .sd-add-item-modal-dialog,
  .sd-modal-fade-leave-to .sd-add-item-modal-dialog {
    transform: translateY(10px) scale(0.98);
  }
}

/* Login / register tab strip (inside sd-auth-card on master layout) */
.sd-auth-tabs-shell .nav.nav-pills {
  border-bottom: 1px solid var(--sd-brand-border);
  gap: 0.25rem;
}

.sd-auth-tabs-shell .nav.nav-pills .nav-link {
  border-radius: var(--sd-radius-sm) var(--sd-radius-sm) 0 0;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--sd-ink-soft);
}

.sd-auth-tabs-shell .nav.nav-pills .nav-link:not(.active):hover {
  background: #f9fafb;
  color: var(--sd-ink);
}

/* Storefront inner pages: breadcrumb + page title + search bar */
.sd-storefront-page-toolbar {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

@media (min-width: 768px) {
  .sd-storefront-page-toolbar {
    padding-top: 1.85rem;
    padding-bottom: 1.85rem;
  }
}

.sd-storefront-page-toolbar > .container {
  gap: 1rem;
}

@media (min-width: 768px) {
  .sd-storefront-page-toolbar > .container {
    gap: 1.5rem;
  }
}

.sd-toolbar-search {
  min-height: 3rem;
  align-items: stretch;
}

.sd-toolbar-search input[type='search'],
.sd-toolbar-search input[type='text'] {
  min-height: 3rem;
}

/* Restaurant grid cards: description clamp; body must not clip Delivery / Take away */
.sd-listing-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  line-height: 1.35;
}

.sd-listing-card__meta {
  flex-shrink: 0;
  align-items: flex-end;
  gap: 0.35rem;
}

.sd-listing-card__meta-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  white-space: nowrap;
  line-height: 1.25;
}

/* Horizontal food cards on Foods / category listings — avoid clipping footer row */
.sd-food-listing-row {
  min-height: 12.5rem;
}

@media (min-width: 640px) {
  .sd-food-listing-row {
    min-height: 11rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Premium storefront polish — listings, hero, typography, toasts             */
/* -------------------------------------------------------------------------- */

body.sd-storefront {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: 0.01em;
}

.sd-storefront h1,
.sd-storefront h2,
.sd-storefront h3,
.sd-storefront .navbar-brand,
.sd-storefront .sd-font-display {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: -0.02em;
}

.sd-listing-card.sd-listing-card--elevated {
  border-radius: var(--sd-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: var(--sd-surface);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 44px -28px rgba(15, 23, 42, 0.35);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.sd-listing-card.sd-listing-card--elevated:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow:
    0 10px 28px -18px rgba(15, 23, 42, 0.35),
    0 28px 64px -36px rgba(15, 23, 42, 0.28);
}

.sd-listing-card.sd-listing-card--elevated .sd-listing-card__media img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-listing-card.sd-listing-card--elevated:hover .sd-listing-card__media img {
  transform: scale(1.04);
}

.sd-storefront-page-toolbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.92) 100%);
  border-bottom-color: rgba(15, 23, 42, 0.055) !important;
  box-shadow: 0 12px 36px -32px rgba(15, 23, 42, 0.2);
}

.sd-search-submit {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--main_color) 92%, #111827) 0%,
    var(--main_color) 100%
  );
  color: #fff !important;
  border: none;
  min-width: 3rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.sd-search-submit:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-search-submit {
    background: var(--main_color);
  }
}

/* Restaurant detail hero */
.sd-restaurant-hero {
  overflow: hidden;
}

.sd-restaurant-hero__img {
  transform: scale(1.02);
}

.sd-restaurant-hero__scrim {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.45) 0%,
    rgba(15, 23, 42, 0.72) 88%,
    rgba(15, 23, 42, 0.82) 100%
  );
  opacity: 1;
}

/* vue-notification — calmer, premium toasts */
.vue-notification-group {
  font-family: 'DM Sans', system-ui, sans-serif;
}

.vue-notification-wrapper .notification-title {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.45) !important;
  margin-bottom: 0.15rem !important;
}

.vue-notification-wrapper .notification-title:empty {
  display: none !important;
}

.vue-notification-wrapper .notification-content {
  font-size: 0.9375rem !important;
  line-height: 1.45 !important;
  color: #111827 !important;
}

.vue-notification-wrapper {
  border-radius: var(--sd-radius-lg) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 18px 48px -28px rgba(15, 23, 42, 0.45) !important;
}

/* Store badges — softer premium pills */
footer.body-font a.nav-link.rounded.bg-white {
  border-radius: var(--sd-radius-lg) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 28px -16px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

footer.body-font a.nav-link.rounded.bg-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -18px rgba(0, 0, 0, 0.42);
}

@media (prefers-reduced-motion: reduce) {
  .sd-listing-card:hover {
    transform: none;
  }

  .sd-listing-card.sd-listing-card--elevated:hover {
    transform: none;
  }

  .sd-listing-card.sd-listing-card--elevated:hover .sd-listing-card__media img {
    transform: none;
  }

  footer.body-font a.nav-link.rounded.bg-white:hover {
    transform: none;
  }

  .navbar-v2 {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
  }
}

/* ==========================================================================
   Cross-page storefront polish — heroes, food panels, FAQ, auth, listings
   ========================================================================== */

body.sd-storefront header.sd-storefront-page-toolbar.bg-gray-100,
body.sd-storefront header.sd-storefront-page-toolbar.bg-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.92) 100%) !important;
}

body.sd-storefront .sd-toolbar-search.bg-white {
  border-radius: var(--sd-radius-lg) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow:
    0 10px 32px -26px rgba(15, 23, 42, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

body.sd-storefront .sd-page-intro {
  color: var(--sd-ink-soft);
  line-height: 1.55;
  max-width: 42rem;
}

body.sd-storefront .sd-section-title {
  font-family: var(--sd-font-display);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

body.sd-storefront .sd-toolbar-lede {
  font-family: var(--sd-font-display);
  letter-spacing: -0.03em;
}

/* Horizontal food cards — premium inner panel */
.sd-food-panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
  border-left: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.sd-storefront .sd-food-rating-pill {
  border-radius: var(--sd-radius-md);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body.sd-storefront .sd-food-listing-row > div:first-child img {
  border-radius: var(--sd-radius-md) 0 0 var(--sd-radius-md);
}

/* Marketing heroes — Help, Wishlist */
.sd-marketing-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: min(65vh, 36rem);
  overflow: hidden;
  color: #fff;
}

.sd-marketing-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.sd-marketing-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(15, 23, 42, 0.42) 48%,
    rgba(15, 23, 42, 0.28) 100%
  );
}

.sd-marketing-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: min(65vh, 36rem);
}

.sd-marketing-hero__title {
  font-family: var(--sd-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.sd-marketing-hero__lede {
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.sd-marketing-hero .sd-toolbar-search {
  margin-top: 1.5rem;
}

/* Help topic tiles */
body.sd-storefront .sd-help-topic-card {
  border-radius: var(--sd-radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(185deg, #ffffff 0%, #fafbfc 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 44px -30px rgba(15, 23, 42, 0.28);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

body.sd-storefront .sd-help-topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 23, 42, 0.11);
  box-shadow:
    0 10px 28px -18px rgba(15, 23, 42, 0.3),
    0 28px 64px -36px rgba(15, 23, 42, 0.22);
}

/* FAQ accordion shell */
.sd-faq-articles-wrap {
  border-radius: var(--sd-radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 22px 48px -32px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.sd-faq-toggle {
  border-radius: var(--sd-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sd-faq-toggle:hover {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 28px -20px rgba(15, 23, 42, 0.25);
}

.article:has(.sd-faq-desc:not(.hidden)) .sd-faq-toggle {
  border-color: color-mix(in srgb, var(--main_color) 38%, rgba(15, 23, 42, 0.12));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--main_color) 22%, transparent);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .article:has(.sd-faq-desc:not(.hidden)) .sd-faq-toggle {
    border-color: rgba(247, 132, 38, 0.45);
    box-shadow: 0 0 0 1px rgba(247, 132, 38, 0.2);
  }
}

/* Auth */
.sd-auth-wrap {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

body.sd-storefront .sd-auth-card {
  border-radius: var(--sd-radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(185deg, #ffffff 0%, #fafbfc 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 28px 64px -36px rgba(15, 23, 42, 0.35);
}

/* Merchant / long storefront forms */
body.sd-storefront form.sd-storefront-form-panel {
  border-radius: var(--sd-radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(185deg, #ffffff 0%, #fafbfc 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 24px 56px -34px rgba(15, 23, 42, 0.32);
}

/* Listing cuisine pill on restaurant cards */
.sd-listing-cuisine-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.45);
}

/* Bootstrap pagination — storefront */
body.sd-storefront .pagination .page-link {
  border-radius: var(--sd-radius-md);
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--sd-ink);
}

body.sd-storefront .pagination .page-item.active .page-link {
  background: var(--main_color);
  border-color: var(--main_color);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  body.sd-storefront .sd-help-topic-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Enterprise QSR shell — premium chain-grade storefront
   ========================================================================== */

body.sd-storefront {
  background-color: #f3f4f8;
  background-image:
    radial-gradient(ellipse 120% 55% at 100% -8%, color-mix(in srgb, var(--main_color) 11%, transparent), transparent 52%),
    radial-gradient(ellipse 90% 45% at -10% 105%, rgba(15, 23, 42, 0.04), transparent 55%),
    linear-gradient(188deg, #fcfcfd 0%, #f4f5f8 42%, #e9ebf0 100%);
  background-attachment: fixed;
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  body.sd-storefront {
    background-image:
      radial-gradient(ellipse 120% 55% at 100% -8%, rgba(247, 132, 38, 0.09), transparent 52%),
      radial-gradient(ellipse 90% 45% at -10% 105%, rgba(15, 23, 42, 0.04), transparent 55%),
      linear-gradient(188deg, #fcfcfd 0%, #f4f5f8 42%, #e9ebf0 100%);
  }
}

/* Brand accent rail + refined nav stack
   Do NOT set position here — nav uses Tailwind `.fixed`; skedadel-ui loads last and would override it. */
.navbar-v2 {
  padding-top: 3px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 14px 44px -20px rgba(15, 23, 42, 0.18);
}

.navbar-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    var(--main_color) 0%,
    color-mix(in srgb, var(--main_color) 55%, #0f172a) 52%,
    color-mix(in srgb, var(--main_color) 35%, #1e293b) 100%
  );
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .navbar-v2::before {
    background: linear-gradient(90deg, var(--main_color) 0%, #c2410c 50%, #334155 100%);
  }
}

body.sd-storefront .sd-nav-shell {
  min-height: 3.5rem;
}

/* Section eyebrow — enterprise caps label */
.sd-enterprise-kicker {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--main_color) 72%, #334155);
}

.sd-enterprise-kicker--on-light {
  color: color-mix(in srgb, var(--main_color) 78%, #475569);
}

.sd-enterprise-kicker--on-dark {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.16em;
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .sd-enterprise-kicker {
    color: #b45309;
  }

  .sd-enterprise-kicker--on-light {
    color: #9a3412;
  }
}

/* Home hero carousel */
body.sd-storefront .index-banner-vueper.sd-hero-banner-root .vueperslides {
  border-radius: 0 0 var(--sd-radius-xl) var(--sd-radius-xl);
  overflow: hidden;
  box-shadow:
    0 28px 56px -34px rgba(15, 23, 42, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

@media (max-width: 767px) {
  body.sd-storefront .index-banner-vueper.sd-hero-banner-root .vueperslides {
    border-radius: 0 0 var(--sd-radius-lg) var(--sd-radius-lg);
  }
}

@media (min-width: 768px) {
  body.sd-storefront .sd-enterprise-vuepers.vueperslides--fixed-height {
    height: 540px !important;
  }
}

body.sd-storefront .index-banner-vueper .vueperslides__parallax-wrapper,
body.sd-storefront .index-banner-vueper .vueperslide {
  border-radius: inherit;
}

body.sd-storefront .index-banner-vueper .vueperslides__arrow {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 28px -16px rgba(15, 23, 42, 0.45) !important;
  color: var(--sd-ink) !important;
}

body.sd-storefront .index-banner-vueper .vueperslides__arrow:hover {
  background: #ffffff !important;
}

/* Hero glass panel */
.sd-hero-slide-panel--enterprise {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--sd-radius-xl);
  box-shadow:
    0 24px 56px -36px rgba(15, 23, 42, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.sd-hero-search-bar.banner-search-input {
  padding: 0.25rem !important;
}

.sd-hero-search-btn.sd-search-submit {
  border-radius: var(--sd-radius-md) !important;
  min-width: 3.25rem;
}

/* Restaurant listing image footer bar */
.sd-listing-card__media-overlay {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.25) 38%,
    rgba(15, 23, 42, 0.88) 100%
  ) !important;
}

/* Closed pill — chain apps */
.sd-badge-closed {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: var(--sd-radius-sm);
  background: linear-gradient(145deg, #dc2626, #b91c1c);
  color: #fff !important;
  box-shadow: 0 6px 18px -8px rgba(220, 38, 38, 0.65);
}

/* Promo banner scrim */
.sd-promo-banner__scrim {
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.78) 0%,
    rgba(15, 23, 42, 0.42) 45%,
    rgba(15, 23, 42, 0.12) 100%
  );
}

.sd-promo-banner--enterprise {
  box-shadow:
    0 28px 64px -36px rgba(15, 23, 42, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

/* Larger primary pill for hero CTAs */
.sd-pill-solid--lg {
  font-size: 0.9375rem !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* Category tiles — sharper enterprise cards */
.sd-card-popular {
  border-radius: var(--sd-radius-xl) !important;
}

body.sd-storefront .sd-section-soft {
  background:
    radial-gradient(ellipse 95% 58% at 50% -5%, color-mix(in srgb, var(--main_color) 10%, transparent), transparent 58%),
    linear-gradient(185deg, #fbfbfc 0%, #f3f4f8 48%, #e8eaef 100%);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  body.sd-storefront .sd-section-soft {
    background:
      radial-gradient(ellipse 95% 58% at 50% -5%, rgba(247, 132, 38, 0.09), transparent 58%),
      linear-gradient(185deg, #fbfbfc 0%, #f3f4f8 48%, #e8eaef 100%);
  }
}

/* Footer — deeper enterprise stack */
footer.sd-footer {
  background: linear-gradient(168deg, #020617 0%, #0f172a 38%, #020617 100%);
}

@media (prefers-reduced-motion: reduce) {
  body.sd-storefront .index-banner-vueper .vueperslides__arrow:hover {
    background: rgba(255, 255, 255, 0.94) !important;
  }
}

/* Homepage category carousel — horizontal strip, room for Slick arrows */
body.sd-storefront .sd-category-carousel-shell {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

@media (min-width: 768px) {
  body.sd-storefront .sd-category-carousel-shell {
    padding-left: 3.25rem;
    padding-right: 3.25rem;
  }
}

body.sd-storefront .sd-category-slider.slick-initialized .slick-track {
  display: flex !important;
  align-items: stretch;
}

body.sd-storefront .sd-category-slider.slick-initialized .slick-slide {
  height: auto;
}

body.sd-storefront .sd-category-slider.slick-initialized .slick-slide > div {
  height: 100%;
}

body.sd-storefront .sd-category-tile.sd-card-popular {
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.2s ease;
}

body.sd-storefront .sd-category-tile.sd-card-popular:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--main_color) 35%, rgba(15, 23, 42, 0.08));
  box-shadow:
    0 18px 44px -28px rgba(15, 23, 42, 0.35),
    0 0 0 1px color-mix(in srgb, var(--main_color) 18%, transparent);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  body.sd-storefront .sd-category-tile.sd-card-popular:hover {
    border-color: rgba(247, 132, 38, 0.35);
    box-shadow:
      0 18px 44px -28px rgba(15, 23, 42, 0.35),
      0 0 0 1px rgba(247, 132, 38, 0.18);
  }
}

body.sd-storefront .sd-category-slider .slick-prev,
body.sd-storefront .sd-category-slider .slick-next {
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
}

@media (prefers-reduced-motion: reduce) {
  body.sd-storefront .sd-category-tile.sd-card-popular:hover {
    transform: none;
  }
}

/* ==========================================================================
   Premium storefront UX — focus, motion, footer polish (cache v54)
   ========================================================================== */

body.sd-storefront ::selection {
  background: color-mix(in srgb, var(--main_color) 30%, transparent);
  color: var(--sd-ink);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  body.sd-storefront ::selection {
    background: rgba(247, 132, 38, 0.28);
  }
}

body.sd-storefront a:focus-visible,
body.sd-storefront button:focus-visible,
body.sd-storefront input:focus-visible,
body.sd-storefront select:focus-visible,
body.sd-storefront textarea:focus-visible,
body.sd-storefront .btn:focus-visible,
body.sd-storefront .dropdown-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--main_color) 88%, #ffffff);
  outline-offset: 3px;
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  body.sd-storefront a:focus-visible,
  body.sd-storefront button:focus-visible,
  body.sd-storefront input:focus-visible {
    outline-color: var(--main_color);
  }
}

.navbar-v2 .navbar-nav .nav-link:focus-visible {
  outline-offset: 4px;
}

body.sd-storefront .sd-pill-solid:focus-visible {
  outline-offset: 3px;
}

body.sd-storefront .banner-search-input:focus-within {
  border-color: color-mix(in srgb, var(--main_color) 42%, var(--sd-brand-border));
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.04),
    0 0 0 3px color-mix(in srgb, var(--main_color) 28%, transparent);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  body.sd-storefront .banner-search-input:focus-within {
    border-color: rgba(247, 132, 38, 0.45);
    box-shadow:
      inset 0 1px 2px rgba(15, 23, 42, 0.04),
      0 0 0 3px rgba(247, 132, 38, 0.22);
  }
}

body.sd-storefront .sd-footer-brand-hit:focus-visible {
  outline-offset: 6px;
}

body.sd-storefront footer.sd-footer .sd-footer-store-btn.nav-link {
  border-radius: var(--sd-radius-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 10px 30px -18px rgba(0, 0, 0, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

body.sd-storefront footer.sd-footer .sd-footer-store-btn.nav-link:hover:not(.pointer-events-none) {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    0 18px 44px -22px rgba(0, 0, 0, 0.72),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

body.sd-storefront footer.sd-footer .sd-footer-partner-link {
  display: inline-flex;
  align-items: center;
  color: rgba(248, 250, 252, 0.82);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  margin: -0.25rem;
  border-radius: var(--sd-radius-md);
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

body.sd-storefront footer.sd-footer .sd-footer-partner-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.sd-storefront footer.sd-footer .dropdown-menu {
  border-radius: var(--sd-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 18px 48px -28px rgba(15, 23, 42, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  padding: 0.35rem;
}

body.sd-storefront footer.sd-footer .dropdown-item {
  border-radius: var(--sd-radius-md);
  transition: background-color 0.15s ease;
}

body.sd-storefront footer.sd-footer .dropdown-item:hover {
  background: rgba(15, 23, 42, 0.05);
}

body.sd-storefront .sd-section-lede {
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  body.sd-storefront footer.sd-footer .sd-footer-store-btn.nav-link:hover {
    transform: none;
  }

  body.sd-storefront .sd-listing-card:hover {
    transform: none;
  }
}
